reactiveui/ReactiveUI

[Bug]: `ObserveOn(IObservable<TSource>, Control)` duplicates in `ReactiveUI.WinForms` and `System.Reactive`

Metadorius opened this issue ยท 1 comments

Describe the bug ๐Ÿž

Error CS0121 : The call is ambiguous between the following methods or properties: 'System.Reactive.Linq.ControlObservable.ObserveOn<TSource>(System.IObservable<TSource>, System.Windows.Forms.Control)' and 'System.Reactive.Linq.ControlObservable.ObserveOn<TSource>(System.IObservable<TSource>, System.Windows.Forms.Control)'

The methods are under the same namespace, and I believe they are the same method just moved to a different NuGet, so one of them has to go.

Step to reproduce

  1. Install ReactiveUI.WinForms and System.Reactive
  2. Try to use ObserveOn(IObservable<TSource>, Control)

Reproduction repository

No response

Expected behavior

The method can be used normally

Screenshots ๐Ÿ–ผ๏ธ

image

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

ReactiveUI 20.1.1, System.Reactive 6.0.1

Additional information โ„น๏ธ

Using .NET Framework 4.8.