Skip to content

Commit 3057101

Browse files
authored
Rename some files compiled for netstandard21 (#118435)
* Apply to `System.Threading.Channels.csproj` (reverting change from 72ee52f#diff-e7466c9e3cc83951ed6013ec85fe49b27aac911eaf0509566f6c53aac70e8797) * Apply to `System.Threading.Tasks.Dataflow.csproj` * Apply to `System.Security.Cryptography.Pkcs.csproj`
1 parent 82f0bd1 commit 3057101

File tree

9 files changed

+6
-6
lines changed

9 files changed

+6
-6
lines changed

src/libraries/System.Security.Cryptography.Pkcs/ref/System.Security.Cryptography.Pkcs.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ItemGroup>
77
<Compile Include="System.Security.Cryptography.Pkcs.cs" Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'" />
88
<Compile Include="System.Security.Cryptography.Pkcs.netframework.cs" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" />
9-
<Compile Include="System.Security.Cryptography.Pkcs.netcoreapp.cs" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
9+
<Compile Include="System.Security.Cryptography.Pkcs.netstandard21.cs" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
1010
</ItemGroup>
1111

1212
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">

src/libraries/System.Threading.Channels/src/System.Threading.Channels.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ System.Threading.Channel&lt;T&gt;</PackageDescription>
6060
</ItemGroup>
6161

6262
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))">
63-
<Compile Include="System\Threading\Channels\ChannelClosedException.netcoreapp.cs" />
63+
<Compile Include="System\Threading\Channels\ChannelClosedException.netstandard21.cs" />
6464
</ItemGroup>
6565

6666
<ItemGroup Condition="!$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))">

src/libraries/System.Threading.Tasks.Dataflow/ref/System.Threading.Tasks.Dataflow.csproj

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

66
<ItemGroup>
77
<Compile Include="System.Threading.Tasks.Dataflow.cs" />
8-
<Compile Include="System.Threading.Tasks.Dataflow.netcoreapp.cs" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
8+
<Compile Include="System.Threading.Tasks.Dataflow.netstandard21.cs" Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
99
</ItemGroup>
1010

1111
<ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'">

src/libraries/System.Threading.Tasks.Dataflow/src/System.Threading.Tasks.Dataflow.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ System.Threading.Tasks.Dataflow.WriteOnceBlock&lt;T&gt;</PackageDescription>
2323

2424
<ItemGroup>
2525
<Compile Include="Base\DataflowBlock.cs" />
26+
<Compile Include="Base\DataflowBlock.netstandard21.cs"
27+
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
2628
<Compile Include="Base\DataflowBlockOptions.cs" />
2729
<Compile Include="Base\DataflowLinkOptions.cs" />
2830
<Compile Include="Base\DataflowMessageHeader.cs" />
2931
<Compile Include="Base\DataflowMessageStatus.cs" />
30-
<Compile Include="Base\DataflowBlock.IAsyncEnumerable.cs"
31-
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
3232
<Compile Include="Base\IDataflowBlock.cs" />
3333
<Compile Include="Base\IPropagatorBlock.cs" />
3434
<Compile Include="Base\IReceivableSourceBlock.cs" />
@@ -42,7 +42,7 @@ System.Threading.Tasks.Dataflow.WriteOnceBlock&lt;T&gt;</PackageDescription>
4242
<Compile Include="Blocks\JoinBlock.cs" />
4343
<Compile Include="Blocks\TransformBlock.cs" />
4444
<Compile Include="Blocks\TransformManyBlock.cs" />
45-
<Compile Include="Blocks\TransformManyBlock.IAsyncEnumerable.cs"
45+
<Compile Include="Blocks\TransformManyBlock.netstandard21.cs"
4646
Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'netstandard2.1'))" />
4747
<Compile Include="Blocks\WriteOnceBlock.cs" />
4848
<Compile Include="Internal\ActionOnDispose.cs" />

0 commit comments

Comments
 (0)