Skip to content

Commit ba46af7

Browse files
ChrisPulmanrenovate[bot]glennawatson
authored
Remove local DisposeWith use System.Reactive.Disposables.Fluent (#4164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Glenn <5834289+glennawatson@users.noreply.github.com>
1 parent 7776b48 commit ba46af7

17 files changed

+7
-66
lines changed

src/ReactiveUI.AOTTests/AOTCompatibilityTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
7-
using System.Reactive.Linq;
8-
96
namespace ReactiveUI.AOTTests;
107

118
/// <summary>

src/ReactiveUI.AOTTests/AdvancedAOTTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
76
using System.Reactive.Disposables;
8-
using System.Reactive.Linq;
97
using System.Reactive.Subjects;
10-
using Splat;
118

129
namespace ReactiveUI.AOTTests;
1310

src/ReactiveUI.AOTTests/AssemblyInfo.Parallel.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using NUnit.Framework;
7-
86
[assembly: Parallelizable(ParallelScope.Fixtures)]
97
[assembly: LevelOfParallelism(4)]

src/ReactiveUI.AOTTests/ComprehensiveAOTMarkupTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
76
using System.Reactive.Concurrency;
87
using System.Reactive.Disposables;
9-
using System.Reactive.Linq;
108
using System.Reactive.Subjects;
11-
using Splat;
129

1310
namespace ReactiveUI.AOTTests;
1411

src/ReactiveUI.AOTTests/ComprehensiveAOTTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
76
using System.Reactive.Concurrency;
87
using System.Reactive.Disposables;
9-
using System.Reactive.Linq;
108
using System.Reactive.Subjects;
11-
using Splat;
129

1310
namespace ReactiveUI.AOTTests;
1411

src/ReactiveUI.AOTTests/FinalAOTValidationTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
76
using System.Reactive;
87
using System.Reactive.Concurrency;
98
using System.Reactive.Disposables;
10-
using System.Reactive.Linq;
119
using System.Reactive.Subjects;
12-
using Splat;
1310

1411
namespace ReactiveUI.AOTTests;
1512

src/ReactiveUI.AOTTests/GlobalUsings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
global using global::System.Collections.Generic;
1010
global using global::System.Diagnostics.CodeAnalysis;
1111
global using global::System.Linq;
12+
global using global::System.Reactive.Disposables.Fluent;
1213
global using global::System.Reactive.Linq;
13-
global using global::System.Threading;
14-
global using global::System.Threading.Tasks;
14+
global using global::System.Threading.Tasks;

src/ReactiveUI.AOTTests/StringBasedObservationTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
7-
using System.Reactive.Concurrency;
8-
using System.Reactive.Linq;
9-
106
namespace ReactiveUI.AOTTests;
117

128
/// <summary>

src/ReactiveUI.AOTTests/StringBasedSemanticsTests.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Reactive.Linq;
7-
86
namespace ReactiveUI.AOTTests;
97

108
/// <summary>

src/ReactiveUI.AOTTests/TestReactiveObject.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
// The .NET Foundation licenses this file to you under the MIT license.
44
// See the LICENSE file in the project root for full license information.
55

6-
using System.Diagnostics.CodeAnalysis;
7-
using System.Reactive.Linq;
8-
96
namespace ReactiveUI.AOTTests;
107

118
/// <summary>

0 commit comments

Comments
 (0)