Skip to content

Commit 14f8331

Browse files
authored
Add prebuilts for maintenance-packages (#1217)
* System.Memory 4.6.3 * System.Net.WebSockets.WebSocketProtocol 5.1.3 * System.Runtime.CompilerServices.Unsafe 6.1.2 * System.Threading.Tasks.Extensions 4.6.3
1 parent 8066d7d commit 14f8331

File tree

17 files changed

+1655
-0
lines changed

17 files changed

+1655
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
5+
<PackageVersion>4.6.3</PackageVersion>
6+
<AssemblyName>System.Memory</AssemblyName>
7+
<StrongNameKeyId>Open</StrongNameKeyId>
8+
</PropertyGroup>
9+
10+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
11+
<ProjectReference Include="../../system.buffers/4.6.1/System.Buffers.4.6.1.csproj" />
12+
<ProjectReference Include="../../system.numerics.vectors/4.6.1/System.Numerics.Vectors.4.6.1.csproj" />
13+
<ProjectReference Include="../../system.runtime.compilerservices.unsafe/6.1.2/System.Runtime.CompilerServices.Unsafe.6.1.2.csproj" />
14+
</ItemGroup>
15+
16+
</Project>

src/referencePackages/src/system.memory/4.6.3/lib/netstandard2.0/System.Memory.cs

Lines changed: 941 additions & 0 deletions
Large diffs are not rendered by default.

src/referencePackages/src/system.memory/4.6.3/lib/netstandard2.1/_._

Whitespace-only changes.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
3+
<metadata>
4+
<id>System.Memory</id>
5+
<version>4.6.3</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.Memory</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="f62ca0009b038cab4725a720f386623a969d73ad" />
15+
<dependencies>
16+
<group targetFramework=".NETStandard2.0">
17+
<dependency id="System.Buffers" version="4.6.1" exclude="Build,Analyzers" />
18+
<dependency id="System.Numerics.Vectors" version="4.6.1" exclude="Build,Analyzers" />
19+
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.1.2" exclude="Build,Analyzers" />
20+
</group>
21+
<group targetFramework=".NETStandard2.1" />
22+
</dependencies>
23+
</metadata>
24+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks>
5+
<PackageVersion>5.1.3</PackageVersion>
6+
<AssemblyName>System.Net.WebSockets.WebSocketProtocol</AssemblyName>
7+
<StrongNameKeyId>Open</StrongNameKeyId>
8+
</PropertyGroup>
9+
10+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
11+
<ProjectReference Include="../../system.buffers/4.6.1/System.Buffers.4.6.1.csproj" />
12+
<ProjectReference Include="../../system.memory/4.6.3/System.Memory.4.6.3.csproj" />
13+
<ProjectReference Include="../../system.numerics.vectors/4.6.1/System.Numerics.Vectors.4.6.1.csproj" />
14+
<ProjectReference Include="../../system.runtime.compilerservices.unsafe/6.1.2/System.Runtime.CompilerServices.Unsafe.6.1.2.csproj" />
15+
<ProjectReference Include="../../system.threading.tasks.extensions/4.6.3/System.Threading.Tasks.Extensions.4.6.3.csproj" />
16+
</ItemGroup>
17+
18+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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("System.Net.WebSockets.WebSocketProtocol")]
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.Net.WebSockets.WebSocketProtocol")]
18+
[assembly: System.Reflection.AssemblyFileVersion("5.100.325.20307")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("5.1.3+f62ca0009b038cab4725a720f386623a969d73ad")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("System.Net.WebSockets.WebSocketProtocol")]
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("5.1.3.0")]
26+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
27+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
28+
namespace System.Net.WebSockets
29+
{
30+
public static partial class WebSocketProtocol
31+
{
32+
public static WebSocket CreateFromStream(IO.Stream stream, bool isServer, string? subProtocol, TimeSpan keepAliveInterval) { throw null; }
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.Net.WebSockets.WebSocketProtocol")]
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.Net.WebSockets.WebSocketProtocol")]
18+
[assembly: System.Reflection.AssemblyFileVersion("5.100.325.20307")]
19+
[assembly: System.Reflection.AssemblyInformationalVersion("5.1.3+f62ca0009b038cab4725a720f386623a969d73ad")]
20+
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")]
21+
[assembly: System.Reflection.AssemblyTitle("System.Net.WebSockets.WebSocketProtocol")]
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("5.1.3.0")]
26+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
27+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
28+
namespace System.Net.WebSockets
29+
{
30+
public static partial class WebSocketProtocol
31+
{
32+
public static WebSocket CreateFromStream(IO.Stream stream, bool isServer, string? subProtocol, TimeSpan keepAliveInterval) { throw null; }
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
3+
<metadata>
4+
<id>System.Net.WebSockets.WebSocketProtocol</id>
5+
<version>5.1.3</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.Net.WebSockets.WebSocketProtocol</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="f62ca0009b038cab4725a720f386623a969d73ad" />
15+
<dependencies>
16+
<group targetFramework="net6.0" />
17+
<group targetFramework=".NETStandard2.0">
18+
<dependency id="System.Buffers" version="4.6.1" exclude="Build,Analyzers" />
19+
<dependency id="System.Memory" version="4.6.3" exclude="Build,Analyzers" />
20+
<dependency id="System.Numerics.Vectors" version="4.6.1" exclude="Build,Analyzers" />
21+
<dependency id="System.Runtime.CompilerServices.Unsafe" version="6.1.2" exclude="Build,Analyzers" />
22+
<dependency id="System.Threading.Tasks.Extensions" version="4.6.3" exclude="Build,Analyzers" />
23+
</group>
24+
</dependencies>
25+
</metadata>
26+
</package>
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</TargetFrameworks>
5+
<PackageVersion>6.1.2</PackageVersion>
6+
<AssemblyName>System.Runtime.CompilerServices.Unsafe</AssemblyName>
7+
</PropertyGroup>
8+
9+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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.Reflection.AssemblyProduct("Microsoft® .NET Framework")]
8+
[assembly: System.CLSCompliant(false)]
9+
[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")]
10+
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
11+
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)]
12+
[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")]
13+
[assembly: System.Reflection.AssemblyFileVersion("6.100.225.20307")]
14+
[assembly: System.Reflection.AssemblyInformationalVersion("6.1.2")]
15+
[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")]
16+
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")]
17+
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)]
18+
[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")]
19+
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")]
20+
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")]
21+
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")]
22+
[assembly: System.Runtime.CompilerServices.ReferenceAssembly]
23+
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)]
24+
namespace System.Runtime.CompilerServices
25+
{
26+
public static partial class Unsafe
27+
{
28+
public static ref T Add<T>(ref T source, int elementOffset) { throw null; }
29+
30+
public static ref T Add<T>(ref T source, IntPtr elementOffset) { throw null; }
31+
32+
public static ref T Add<T>(ref T source, nuint elementOffset) { throw null; }
33+
34+
public static unsafe void* Add<T>(void* source, int elementOffset) { throw null; }
35+
36+
public static ref T AddByteOffset<T>(ref T source, IntPtr byteOffset) { throw null; }
37+
38+
public static ref T AddByteOffset<T>(ref T source, nuint byteOffset) { throw null; }
39+
40+
public static bool AreSame<T>(ref T left, ref T right) { throw null; }
41+
42+
public static T As<T>(object o)
43+
where T : class { throw null; }
44+
45+
public static ref TTo As<TFrom, TTo>(ref TFrom source) { throw null; }
46+
47+
public static unsafe void* AsPointer<T>(ref T value) { throw null; }
48+
49+
public static ref T AsRef<T>(in T source) { throw null; }
50+
51+
public static unsafe ref T AsRef<T>(void* source) { throw null; }
52+
53+
public static IntPtr ByteOffset<T>(ref T origin, ref T target) { throw null; }
54+
55+
public static unsafe void Copy<T>(ref T destination, void* source) { }
56+
57+
public static unsafe void Copy<T>(void* destination, ref T source) { }
58+
59+
public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { }
60+
61+
public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { }
62+
63+
public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { }
64+
65+
public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { }
66+
67+
public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { }
68+
69+
public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { }
70+
71+
public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { }
72+
73+
public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { }
74+
75+
public static bool IsAddressGreaterThan<T>(ref T left, ref T right) { throw null; }
76+
77+
public static bool IsAddressLessThan<T>(ref T left, ref T right) { throw null; }
78+
79+
public static bool IsNullRef<T>(ref T source) { throw null; }
80+
81+
public static ref T NullRef<T>() { throw null; }
82+
83+
public static unsafe T Read<T>(void* source) { throw null; }
84+
85+
public static T ReadUnaligned<T>(ref byte source) { throw null; }
86+
87+
public static unsafe T ReadUnaligned<T>(void* source) { throw null; }
88+
89+
public static int SizeOf<T>() { throw null; }
90+
91+
public static void SkipInit<T>(out T value) { throw null; }
92+
93+
public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; }
94+
95+
public static ref T Subtract<T>(ref T source, IntPtr elementOffset) { throw null; }
96+
97+
public static ref T Subtract<T>(ref T source, nuint elementOffset) { throw null; }
98+
99+
public static unsafe void* Subtract<T>(void* source, int elementOffset) { throw null; }
100+
101+
public static ref T SubtractByteOffset<T>(ref T source, IntPtr byteOffset) { throw null; }
102+
103+
public static ref T SubtractByteOffset<T>(ref T source, nuint byteOffset) { throw null; }
104+
105+
public static ref T Unbox<T>(object box)
106+
where T : struct { throw null; }
107+
108+
public static unsafe void Write<T>(void* destination, T value) { }
109+
110+
public static void WriteUnaligned<T>(ref byte destination, T value) { }
111+
112+
public static unsafe void WriteUnaligned<T>(void* destination, T value) { }
113+
}
114+
}

0 commit comments

Comments
 (0)