Skip to content

Commit 136e43e

Browse files
authored
Update runtime dependency packages to latest from maintenance-packages (#1068)
* Add dotnet-libraries to NuGet.config * Microsoft.Bcl.HashCode 6.0.0-preview.1.24529.4 * System.Buffers 4.6.0-preview.1.24529.4 * System.Memory 4.6.0-preview.1.24529.4 * System.Numerics.Vectors 4.6.0-preview.1.24529.4 * System.Runtime.CompilerServices.Unsafe 6.1.0-preview.1.24529.4 * System.Threading.Tasks.Extensions 4.6.0-preview.1.24529.4 * DependencyPackageProjects * Fix order, remove Bcl.HashCode since it is not a dependency of any other projects. * Fix moving Json * Bring back HashCode
1 parent e797b98 commit 136e43e

File tree

23 files changed

+2675
-0
lines changed

23 files changed

+2675
-0
lines changed

NuGet.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
</fallbackPackageFolders>
66
<packageSources>
77
<clear />
8+
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
89
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
910
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
1011
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />

eng/Build.props

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\Nuget.Commands.6.11.0.csproj" />
3737
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\System.Text.Json.8.0.5.csproj" />
3838
<DependencyPackageProjects Include="$(RepoRoot)src\textOnlyPackages\src\**\Microsoft.NetCore.Platforms.3.1.0.csproj" />
39+
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\Microsoft.Bcl.HashCode.6.0.0-preview.1.24529.4.csproj" />
40+
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\System.Buffers.4.6.0-preview.1.24529.4.csproj" />
41+
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\System.Numerics.Vectors.4.6.0-preview.1.24529.4.csproj" />
42+
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\System.Runtime.CompilerServices.Unsafe.6.1.0-preview.1.24529.4.csproj" />
43+
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\System.Memory.4.6.0-preview.1.24529.4.csproj" />
44+
<DependencyPackageProjects Include="$(RepoRoot)src\referencePackages\src\**\System.Threading.Tasks.Extensions.4.6.0-preview.1.24529.4.csproj" />
3945
</ItemGroup>
4046

4147
<ItemGroup Condition="'$(BuildDependencyPackageProjects)' == 'true'">
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net6.0;netstandard2.0;netstandard2.1</TargetFrameworks>
5+
<AssemblyName>Microsoft.Bcl.HashCode</AssemblyName>
6+
<StrongNameKeyId>Open</StrongNameKeyId>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
8+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
9+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
10+
[assembly: System.Runtime.Versioning.TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")]
11+
[assembly: System.CLSCompliant(true)]
12+
[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.HashCode")]
13+
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
14+
[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)]
15+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
16+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
17+
[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.HashCode")]
18+
[assembly: System.Reflection.AssemblyFileVersion("6.0.24.52904")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("6.0.0-preview.1.24529.4+c217b3e67dea4a77c604440fdf5ee9197565fbee")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.HashCode")]
22+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")]
23+
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
24+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
25+
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")]
26+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
27+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
28+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.HashCode))]
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
8+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
9+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
10+
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
11+
[assembly: System.CLSCompliant(true)]
12+
[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.HashCode")]
13+
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
14+
[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)]
15+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
16+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
17+
[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.HashCode")]
18+
[assembly: System.Reflection.AssemblyFileVersion("6.0.24.52904")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("6.0.0-preview.1.24529.4+c217b3e67dea4a77c604440fdf5ee9197565fbee")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.HashCode")]
22+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")]
23+
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
24+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
25+
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")]
26+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
27+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
28+
namespace System
29+
{
30+
public partial struct HashCode
31+
{
32+
private int _dummyPrimitive;
33+
public void Add<T>(T value, Collections.Generic.IEqualityComparer<T>? comparer) { }
34+
35+
public void Add<T>(T value) { }
36+
37+
public static int Combine<T1>(T1 value1) { throw null; }
38+
39+
public static int Combine<T1, T2>(T1 value1, T2 value2) { throw null; }
40+
41+
public static int Combine<T1, T2, T3>(T1 value1, T2 value2, T3 value3) { throw null; }
42+
43+
public static int Combine<T1, T2, T3, T4>(T1 value1, T2 value2, T3 value3, T4 value4) { throw null; }
44+
45+
public static int Combine<T1, T2, T3, T4, T5>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5) { throw null; }
46+
47+
public static int Combine<T1, T2, T3, T4, T5, T6>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6) { throw null; }
48+
49+
public static int Combine<T1, T2, T3, T4, T5, T6, T7>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7) { throw null; }
50+
51+
public static int Combine<T1, T2, T3, T4, T5, T6, T7, T8>(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8) { throw null; }
52+
53+
[Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes.", true)]
54+
public override bool Equals(object? obj) { throw null; }
55+
56+
[Obsolete("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)]
57+
public override int GetHashCode() { throw null; }
58+
59+
public int ToHashCode() { throw null; }
60+
}
61+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
8+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
9+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
10+
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
11+
[assembly: System.CLSCompliant(true)]
12+
[assembly: System.Reflection.AssemblyDefaultAlias("Microsoft.Bcl.HashCode")]
13+
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
14+
[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)]
15+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
16+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
17+
[assembly: System.Reflection.AssemblyDescription("Microsoft.Bcl.HashCode")]
18+
[assembly: System.Reflection.AssemblyFileVersion("6.0.24.52904")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("6.0.0-preview.1.24529.4+c217b3e67dea4a77c604440fdf5ee9197565fbee")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("Microsoft.Bcl.HashCode")]
22+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")]
23+
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
24+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
25+
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")]
26+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
27+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
28+
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.HashCode))]
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3+
<metadata>
4+
<id>Microsoft.Bcl.HashCode</id>
5+
<version>6.0.0-preview.1.24529.4</version>
6+
<authors>Microsoft</authors>
7+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
8+
<license type="expression">MIT</license>
9+
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
10+
<projectUrl>https://github.com/dotnet/maintenance-packages</projectUrl>
11+
<description>Microsoft.Bcl.HashCode</description>
12+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
13+
<serviceable>true</serviceable>
14+
<repository type="git" url="https://github.com/dotnet/maintenance-packages" commit="c217b3e67dea4a77c604440fdf5ee9197565fbee" />
15+
<dependencies>
16+
<group targetFramework="net6.0" />
17+
<group targetFramework=".NETStandard2.0" />
18+
<group targetFramework=".NETStandard2.1" />
19+
</dependencies>
20+
</metadata>
21+
</package>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<AssemblyName>System.Buffers</AssemblyName>
6+
<StrongNameKeyId>Open</StrongNameKeyId>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
// ------------------------------------------------------------------------------
5+
// Changes to this file must follow the http://aka.ms/api-review process.
6+
// ------------------------------------------------------------------------------
7+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
8+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
9+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
10+
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
11+
[assembly: System.CLSCompliant(true)]
12+
[assembly: System.Reflection.AssemblyDefaultAlias("System.Buffers")]
13+
[assembly: System.Resources.NeutralResourcesLanguage("en-US")]
14+
[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)]
15+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
16+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
17+
[assembly: System.Reflection.AssemblyDescription("System.Buffers")]
18+
[assembly: System.Reflection.AssemblyFileVersion("4.600.24.52904")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("4.6.0-preview.1.24529.4+c217b3e67dea4a77c604440fdf5ee9197565fbee")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("System.Buffers")]
22+
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")]
23+
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")]
24+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
25+
[assembly: System.Reflection.AssemblyVersionAttribute("4.0.3.0")]
26+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
27+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
28+
namespace System.Buffers
29+
{
30+
public abstract partial class ArrayPool<T>
31+
{
32+
public static ArrayPool<T> Shared { get { throw null; } }
33+
34+
public static ArrayPool<T> Create() { throw null; }
35+
36+
public static ArrayPool<T> Create(int maxArrayLength, int maxArraysPerBucket) { throw null; }
37+
38+
public abstract T[] Rent(int minimumLength);
39+
public abstract void Return(T[] array, bool clearArray = false);
40+
}
41+
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
3+
<metadata>
4+
<id>System.Buffers</id>
5+
<version>4.6.0-preview.1.24529.4</version>
6+
<authors>Microsoft</authors>
7+
<requireLicenseAcceptance>true</requireLicenseAcceptance>
8+
<license type="expression">MIT</license>
9+
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
10+
<projectUrl>https://github.com/dotnet/maintenance-packages</projectUrl>
11+
<description>System.Buffers</description>
12+
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
13+
<serviceable>true</serviceable>
14+
<repository type="git" url="https://github.com/dotnet/maintenance-packages" commit="c217b3e67dea4a77c604440fdf5ee9197565fbee" />
15+
<dependencies>
16+
<group targetFramework=".NETStandard2.0" />
17+
</dependencies>
18+
</metadata>
19+
</package>

0 commit comments

Comments
 (0)