Skip to content

Commit 8b9dbe8

Browse files
[VMR] Codeflow f2353d2-f2353d2
[[ commit created by automation ]]
1 parent f2353d2 commit 8b9dbe8

File tree

7 files changed

+9
-21
lines changed

7 files changed

+9
-21
lines changed

eng/SharedFramework.External.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsOptionsVersion)" />
4444
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Primitives" Version="$(MicrosoftExtensionsPrimitivesVersion)" />
4545
<ExternalAspNetCoreAppReference Include="System.Security.Cryptography.Xml" Version="$(SystemSecurityCryptographyXmlVersion)" />
46-
<ExternalAspNetCoreAppReference Include="System.Threading.AccessControl" Version="$(SystemThreadingAccessControlVersion)" />
4746
<ExternalAspNetCoreAppReference Include="System.Threading.RateLimiting" Version="$(SystemThreadingRateLimitingVersion)" />
4847

4948
<!--

src/Framework/test/TestData.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ static TestData()
158158
"System.Diagnostics.EventLog.Messages",
159159
"System.Security.Cryptography.Pkcs",
160160
"System.Security.Cryptography.Xml",
161-
"System.Threading.AccessControl",
162161
"System.Threading.RateLimiting",
163162
};
164163

@@ -309,7 +308,6 @@ static TestData()
309308
{ "Microsoft.Net.Http.Headers" },
310309
{ "System.Diagnostics.EventLog" },
311310
{ "System.Security.Cryptography.Xml" },
312-
{ "System.Threading.AccessControl" },
313311
{ "System.Threading.RateLimiting" },
314312
};
315313

src/Servers/Kestrel/Core/src/Internal/Http/Http1OutputProducer.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,8 @@ public void Dispose()
419419
{
420420
_pipeWriter.Abort();
421421

422-
if (_fakeMemoryOwner != null)
423-
{
424-
_fakeMemoryOwner.Dispose();
425-
_fakeMemoryOwner = null;
426-
}
422+
_fakeMemoryOwner?.Dispose();
423+
_fakeMemoryOwner = null;
427424

428425
if (_fakeMemory != null)
429426
{

src/Servers/Kestrel/Core/src/Internal/Http2/Http2OutputProducer.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,8 @@ public void Complete()
232232
_pipeWriter.Complete();
233233
}
234234

235-
if (_fakeMemoryOwner != null)
236-
{
237-
_fakeMemoryOwner.Dispose();
238-
_fakeMemoryOwner = null;
239-
}
235+
_fakeMemoryOwner?.Dispose();
236+
_fakeMemoryOwner = null;
240237

241238
if (_fakeMemory != null)
242239
{

src/Servers/Kestrel/Core/src/Internal/Http3/Http3OutputProducer.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,9 @@ public void Complete()
7878

7979
_pipeWriter.Complete();
8080

81-
if (_fakeMemoryOwner != null)
82-
{
83-
_fakeMemoryOwner.Dispose();
84-
_fakeMemoryOwner = null;
85-
}
81+
_fakeMemoryOwner?.Dispose();
82+
_fakeMemoryOwner = null;
83+
8684
if (_fakeMemory != null)
8785
{
8886
ArrayPool<byte>.Shared.Return(_fakeMemory);

src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@
6565
Targets="_VmrBuild" />
6666
<MSBuild Projects="..\..\..\Runtime\Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj"
6767
BuildInParallel="false"
68-
Properties="Platform=x86;TargetRid=win-x86;BaseRid=win-x86;TargetRuntimeIdentifier=win-x86;TargetArchitecture=x86"
68+
Properties="Platform=x86;TargetRid=win-x86;PortableTargetRid=win-x86;TargetRuntimeIdentifier=win-x86;TargetArchitecture=x86"
6969
Targets="_VmrBuild" />
7070
<MSBuild Projects="..\..\..\LoggingBranch\LB.csproj"
7171
BuildInParallel="false"
7272
Properties="Platform=x64;DisableTransitiveFrameworkReferences=true"
7373
Targets="_VmrBuild" />
7474
<MSBuild Projects="..\..\..\LoggingBranch\LB.csproj"
7575
BuildInParallel="false"
76-
Properties="Platform=x86;TargetRid=win-x86;BaseRid=win-x86;TargetRuntimeIdentifier=win-x86;TargetArchitecture=x86;DisableTransitiveFrameworkReferences=true"
76+
Properties="Platform=x86;TargetRid=win-x86;PortableTargetRid=win-x86;TargetRuntimeIdentifier=win-x86;TargetArchitecture=x86;DisableTransitiveFrameworkReferences=true"
7777
Targets="_VmrBuild" />
7878
</Target>
7979

src/Tools/LinkabilityChecker/LinkabilityChecker.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<!-- Packages required to produce a complete dependency graph for the trimmer -->
1717
<Reference Include="System.Configuration.ConfigurationManager" />
1818
<Reference Include="System.Security.Permissions" />
19-
<Reference Include="System.Threading.AccessControl" />
2019
</ItemGroup>
2120
<Target Name="ILLinkTrimProjects" DependsOnTargets="ResolveReferences" AfterTargets="Build" Condition="'$(DotNetBuildSourceOnly)' != 'true' AND '$(SkipTestBuild)' != 'true'">
2221
<PropertyGroup>

0 commit comments

Comments
 (0)