Skip to content

Commit 118476b

Browse files
Merge pull request #1661 from dotnet/remove-old-platforms
2 parents e878589 + 1ac8186 commit 118476b

File tree

26 files changed

+54
-388
lines changed

26 files changed

+54
-388
lines changed

Ix.NET/Source/Benchmarks.System.Interactive/Benchmarks.System.Interactive.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<Optimize>true</Optimize>
77
<Configurations>Current Sources;Ix.net 3.1.1;Ix.net 3.2</Configurations>
88
</PropertyGroup>

Ix.NET/Source/Benchmarks.System.Interactive/MinMaxBenchmark.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
namespace Benchmarks.System.Interactive
1111
{
12+
13+
#if !NET6_0_OR_GREATER
14+
1215
[MemoryDiagnoser]
1316
public class MinMaxBenchmark
1417
{
@@ -43,4 +46,5 @@ public void MaxBy()
4346
Volatile.Write(ref _listStore, Enumerable.Range(1, N).MaxBy(v => -v, _comparer));
4447
}
4548
}
49+
#endif
4650
}

Ix.NET/Source/Benchmarks.System.Interactive/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ internal static void Main()
2020
typeof(BufferCountBenchmark),
2121
typeof(IgnoreElementsBenchmark),
2222
typeof(DeferBenchmark),
23-
typeof(RetryBenchmark),
23+
typeof(RetryBenchmark)
24+
#if !NET6_0_OR_GREATER
25+
,
2426
typeof(MinMaxBenchmark)
27+
#endif
2528
});
2629

2730
switcher.Run();

Ix.NET/Source/Directory.Build.targets

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,9 @@
11
<Project>
22

33
<!-- This props all need to be set in targets as they depend on the values set earlier -->
4-
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
5-
<DefineConstants>$(DefineConstants);NO_ARRAY_EMPTY;NO_CODE_COVERAGE_ATTRIBUTE</DefineConstants>
6-
</PropertyGroup>
7-
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.4'">
8-
<DefineConstants>$(DefineConstants);NO_CODE_COVERAGE_ATTRIBUTE</DefineConstants>
9-
</PropertyGroup>
10-
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
11-
<DefineConstants>$(DefineConstants);NO_ARRAY_EMPTY;NO_TASK_FROMEXCEPTION</DefineConstants>
12-
</PropertyGroup>
13-
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1' or '$(TargetFramework)' == 'netstandard2.1' or '$(TargetFramework)' == 'netstandard2.0'">
14-
<DefineConstants>$(DefineConstants);HAS_VALUETUPLE</DefineConstants>
15-
</PropertyGroup>
164

175
<PropertyGroup>
186
<Product>$(AssemblyName) ($(TargetFramework))</Product>
197
</PropertyGroup>
208

21-
<!-- Remove once coverlet supports this built-in -->
22-
<Target Name="CoverletGetPathMap"
23-
DependsOnTargets="InitializeSourceRootMappedPaths"
24-
Returns="@(_LocalTopLevelSourceRoot)"
25-
Condition="'$(DeterministicSourcePaths)' == 'true'">
26-
<ItemGroup>
27-
<_LocalTopLevelSourceRoot Include="@(SourceRoot)" Condition="'%(SourceRoot.NestedRoot)' == ''"/>
28-
</ItemGroup>
29-
</Target>
30-
319
</Project>

Ix.NET/Source/System.Interactive.Async.Providers.Tests/System.Interactive.Async.Providers.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net461;netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net48;net6.0;netcoreapp3.1</TargetFrameworks>
55
<NoWarn>$(NoWarn);CS0618</NoWarn>
66
</PropertyGroup>
77

Ix.NET/Source/System.Interactive.Async.Providers/System.Interactive.Async.Providers.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Interactive Extensions Async Providers Library used to build query providers and express queries over async enumerable sequences.</Description>
55
<AssemblyTitle>Interactive Extensions - Async Providers Library</AssemblyTitle>
6-
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
6+
<TargetFrameworks>net48;netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
77
<PackageTags>Ix;Interactive;Extensions;Enumerable;Asynchronous</PackageTags>
88
</PropertyGroup>
99

Ix.NET/Source/System.Interactive.Async.Tests/System.Interactive.Async.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp2.1;net461;netcoreapp3.1;net6.0</TargetFrameworks>
4+
<TargetFrameworks>net48;net6.0;netcoreapp3.1</TargetFrameworks>
55
<NoWarn>$(NoWarn);CS0618;CS8603;CS8625</NoWarn>
66
</PropertyGroup>
77

Ix.NET/Source/System.Interactive.Async/System.Interactive.Async.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Description>Interactive Extensions Async Library used to express queries over asynchronous enumerable sequences.</Description>
55
<AssemblyTitle>Interactive Extensions - Async Library</AssemblyTitle>
6-
<TargetFrameworks>net461;netstandard2.0;netstandard2.1;netcoreapp3.1</TargetFrameworks>
6+
<TargetFrameworks>net48;netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
77
<PackageTags>Ix;Interactive;Extensions;Enumerable;Asynchronous</PackageTags>
88
</PropertyGroup>
99

Ix.NET/Source/System.Interactive.Providers/Reflection.cs

Lines changed: 0 additions & 55 deletions
This file was deleted.

Ix.NET/Source/System.Interactive.Providers/System.Interactive.Providers.csproj

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
<PropertyGroup>
44
<Description>Interactive Extensions Providers Library used to build query providers and express queries over enumerable sequences.</Description>
55
<AssemblyTitle>Interactive Extensions - Providers Library</AssemblyTitle>
6-
<TargetFrameworks>net45;netstandard1.0;netstandard2.0</TargetFrameworks>
6+
<TargetFrameworks>net48;netstandard2.0;net6.0</TargetFrameworks>
77
<PackageTags>Ix;Interactive;Extensions;Enumerable</PackageTags>
88
</PropertyGroup>
99

10-
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
11-
<DefineConstants>$(DefineConstants);CRIPPLED_REFLECTION</DefineConstants>
12-
</PropertyGroup>
13-
1410
<ItemGroup>
1511
<EmbeddedResource Include="Properties\System.Interactive.Providers.rd.xml" />
1612
</ItemGroup>
@@ -20,8 +16,4 @@
2016
<ReferenceAssemblyProjectReference Include="..\refs\System.Interactive.Providers.Ref\System.Interactive.Providers.Ref.csproj" ReferenceOutputAssembly="false" />
2117
</ItemGroup>
2218

23-
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.0'">
24-
<PackageReference Include="System.Linq.Queryable" Version="4.3.0" />
25-
</ItemGroup>
26-
2719
</Project>

0 commit comments

Comments
 (0)