From f0309fa9ed96bcae10c8322d574d8edd6852f9f2 Mon Sep 17 00:00:00 2001 From: Glenn <5834289+glennawatson@users.noreply.github.com> Date: Sun, 5 Dec 2021 01:07:07 +1100 Subject: [PATCH] Fix Rx operators duplicated in net4 (#3085) Co-authored-by: Chris Pulman --- .../WinformsApiApprovalTests.Winforms.Net4_8.verified.txt | 8 -------- src/ReactiveUI.Winforms/ReactiveUI.Winforms.csproj | 2 +- src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/ReactiveUI.Tests/Platforms/winforms/API/WinformsApiApprovalTests.Winforms.Net4_8.verified.txt b/src/ReactiveUI.Tests/Platforms/winforms/API/WinformsApiApprovalTests.Winforms.Net4_8.verified.txt index f0502deab0..3f24eda752 100644 --- a/src/ReactiveUI.Tests/Platforms/winforms/API/WinformsApiApprovalTests.Winforms.Net4_8.verified.txt +++ b/src/ReactiveUI.Tests/Platforms/winforms/API/WinformsApiApprovalTests.Winforms.Net4_8.verified.txt @@ -106,12 +106,4 @@ namespace ReactiveUI.Winforms public int GetAffinityForObject(System.Type type, string propertyName, bool beforeChanged = false) { } public System.IObservable> GetNotificationForProperty(object sender, System.Linq.Expressions.Expression expression, string propertyName, bool beforeChanged = false, bool suppressWarnings = false) { } } -} -namespace System.Reactive.Concurrency -{ - public class ControlScheduler : System.Reactive.Concurrency.LocalScheduler, System.Reactive.Concurrency.ISchedulerPeriodic { } -} -namespace System.Reactive.Linq -{ - public static class ControlObservable { } } \ No newline at end of file diff --git a/src/ReactiveUI.Winforms/ReactiveUI.Winforms.csproj b/src/ReactiveUI.Winforms/ReactiveUI.Winforms.csproj index ab8f388599..b1260174ce 100644 --- a/src/ReactiveUI.Winforms/ReactiveUI.Winforms.csproj +++ b/src/ReactiveUI.Winforms/ReactiveUI.Winforms.csproj @@ -18,7 +18,7 @@ - + diff --git a/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj b/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj index b34f2554a1..8faf264b4f 100644 --- a/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj +++ b/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj @@ -16,7 +16,7 @@ - +