You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@@ -7,11 +7,18 @@
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\src\System.Buffers.csproj" />
|
||||
|
||||
<InboxOnTargetFramework Include="netcoreapp2.0" />
|
||||
<InboxOnTargetFramework Include="$(UAPvNextTFM)" />
|
||||
<!-- this package is part of the implementation closure of NETStandard.Library
|
||||
therefore it cannot reference NETStandard.Library -->
|
||||
<SuppressMetaPackage Include="NETStandard.Library" />
|
||||
|
||||
<!-- Since UAP and .NETCoreApp are package based we still want to enable
|
||||
OOBing libraries that happen to overlap with their framework package.
|
||||
This avoids us having to lock the API in our NuGet packages just
|
||||
to match what shipped inbox: since we can provide a new library
|
||||
we can update it to add API without raising the netstandard version. -->
|
||||
<ValidatePackageSuppression Include="TreatAsOutOfBox">
|
||||
<Value>.NETCoreApp;UAP</Value>
|
||||
</ValidatePackageSuppression>
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
@@ -15,4 +15,4 @@ namespace System.Buffers
|
||||
public abstract T[] Rent(int minimumLength);
|
||||
public abstract void Return(T[] array, bool clearArray = false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -4,13 +4,15 @@
|
||||
<PackageConfigurations>
|
||||
netstandard1.1;
|
||||
netstandard;
|
||||
netcoreapp2.0-Windows_NT;
|
||||
netcoreapp2.0-Unix;
|
||||
uap-Windows_NT;
|
||||
uapaot-Windows_NT;
|
||||
</PackageConfigurations>
|
||||
<BuildConfigurations>
|
||||
$(PackageConfigurations);
|
||||
netcoreapp-Windows_NT;
|
||||
netcoreapp-Unix;
|
||||
uap-Windows_NT;
|
||||
uapaot-Windows_NT;
|
||||
</BuildConfigurations>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
||||
@@ -414,7 +414,6 @@ namespace System.Buffers.ArrayPool.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/corefx/issues/20511", TargetFrameworkMonikers.UapAot)]
|
||||
public static void RentBufferFiresRentedDiagnosticEvent()
|
||||
{
|
||||
ArrayPool<byte> pool = ArrayPool<byte>.Create(maxArrayLength: 16, maxArraysPerBucket: 1);
|
||||
@@ -432,7 +431,6 @@ namespace System.Buffers.ArrayPool.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/corefx/issues/20511", TargetFrameworkMonikers.UapAot)]
|
||||
public static void ReturnBufferFiresDiagnosticEvent()
|
||||
{
|
||||
ArrayPool<byte> pool = ArrayPool<byte>.Create(maxArrayLength: 16, maxArraysPerBucket: 1);
|
||||
@@ -447,7 +445,6 @@ namespace System.Buffers.ArrayPool.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/corefx/issues/20511", TargetFrameworkMonikers.UapAot)]
|
||||
public static void RentingNonExistentBufferFiresAllocatedDiagnosticEvent()
|
||||
{
|
||||
ArrayPool<byte> pool = ArrayPool<byte>.Create(maxArrayLength: 16, maxArraysPerBucket: 1);
|
||||
@@ -455,7 +452,6 @@ namespace System.Buffers.ArrayPool.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/corefx/issues/20511", TargetFrameworkMonikers.UapAot)]
|
||||
public static void RentingBufferOverConfiguredMaximumSizeFiresDiagnosticEvent()
|
||||
{
|
||||
ArrayPool<byte> pool = ArrayPool<byte>.Create(maxArrayLength: 16, maxArraysPerBucket: 1);
|
||||
@@ -463,7 +459,6 @@ namespace System.Buffers.ArrayPool.Tests
|
||||
}
|
||||
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/corefx/issues/20511", TargetFrameworkMonikers.UapAot)]
|
||||
public static void RentingManyBuffersFiresExpectedDiagnosticEvents()
|
||||
{
|
||||
ArrayPool<byte> pool = ArrayPool<byte>.Create(maxArrayLength: 16, maxArraysPerBucket: 10);
|
||||
|
||||
Reference in New Issue
Block a user