-
Notifications
You must be signed in to change notification settings - Fork 64
Add version 4.8.1 of System.Reflection.DispatchProxy and 6.1.1 of System.Runtime.CompilerServices.Unsafe #1151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
0d60ac5
Add ref package System.Runtime.CompilerServices.Unsafe 6.1.1
carlossanlop e3a306c
Add maintenance-packages feed containing the official release version…
carlossanlop 017f795
Add DependencyPackageProjects entry in eng/Build.props.
carlossanlop cfd88e4
update feed
carlossanlop e438b86
System.Reflection.DispatchProxy
carlossanlop dcdbb68
Build.props
carlossanlop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...es/src/system.reflection.dispatchproxy/4.8.1/System.Reflection.DispatchProxy.4.8.1.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks> | ||
<AssemblyName>System.Reflection.DispatchProxy</AssemblyName> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> | ||
<PackageReference Include="System.Reflection.Emit" Version="4.7.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
37 changes: 37 additions & 0 deletions
37
...stem.reflection.dispatchproxy/4.8.1/lib/netstandard2.0/System.Reflection.DispatchProxy.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
// ------------------------------------------------------------------------------ | ||
// Changes to this file must follow the http://aka.ms/api-review process. | ||
// ------------------------------------------------------------------------------ | ||
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] | ||
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] | ||
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] | ||
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")] | ||
[assembly: System.CLSCompliant(true)] | ||
[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.DispatchProxy")] | ||
[assembly: System.Resources.NeutralResourcesLanguage("en-US")] | ||
[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] | ||
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] | ||
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] | ||
[assembly: System.Reflection.AssemblyDescription("System.Reflection.DispatchProxy")] | ||
[assembly: System.Reflection.AssemblyFileVersion("4.800.125.11301")] | ||
[assembly: System.Reflection.AssemblyInformationalVersion("4.8.1+3b65679f5812b0a1f7f173730bd7f628e1197425")] | ||
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] | ||
[assembly: System.Reflection.AssemblyTitle("System.Reflection.DispatchProxy")] | ||
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")] | ||
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] | ||
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] | ||
[assembly: System.Reflection.AssemblyVersionAttribute("4.0.6.0")] | ||
[assembly: System.Runtime.CompilerServices.ReferenceAssembly] | ||
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] | ||
namespace System.Reflection | ||
{ | ||
public abstract partial class DispatchProxy | ||
{ | ||
public static T Create<T, TProxy>() | ||
where TProxy : DispatchProxy { throw null; } | ||
|
||
protected abstract object Invoke(MethodInfo targetMethod, object[] args); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...stem.reflection.dispatchproxy/4.8.1/lib/netstandard2.1/System.Reflection.DispatchProxy.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
// ------------------------------------------------------------------------------ | ||
// Changes to this file must follow the http://aka.ms/api-review process. | ||
// ------------------------------------------------------------------------------ | ||
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] | ||
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] | ||
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] | ||
[assembly: System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")] | ||
[assembly: System.CLSCompliant(true)] | ||
[assembly: System.Reflection.AssemblyDefaultAlias("System.Reflection.DispatchProxy")] | ||
[assembly: System.Resources.NeutralResourcesLanguage("en-US")] | ||
[assembly: System.Runtime.InteropServices.DefaultDllImportSearchPaths(System.Runtime.InteropServices.DllImportSearchPath.AssemblyDirectory | System.Runtime.InteropServices.DllImportSearchPath.System32)] | ||
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] | ||
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] | ||
[assembly: System.Reflection.AssemblyDescription("System.Reflection.DispatchProxy")] | ||
[assembly: System.Reflection.AssemblyFileVersion("4.800.125.11301")] | ||
[assembly: System.Reflection.AssemblyInformationalVersion("4.8.1+3b65679f5812b0a1f7f173730bd7f628e1197425")] | ||
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET")] | ||
[assembly: System.Reflection.AssemblyTitle("System.Reflection.DispatchProxy")] | ||
[assembly: System.Reflection.AssemblyMetadata("RepositoryUrl", "https://github.com/dotnet/maintenance-packages")] | ||
[assembly: System.Reflection.AssemblyMetadata("PreferInbox", "True")] | ||
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] | ||
[assembly: System.Reflection.AssemblyVersionAttribute("4.0.6.0")] | ||
[assembly: System.Runtime.CompilerServices.ReferenceAssembly] | ||
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] | ||
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Reflection.DispatchProxy))] |
22 changes: 22 additions & 0 deletions
22
...Packages/src/system.reflection.dispatchproxy/4.8.1/system.reflection.dispatchproxy.nuspec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd"> | ||
<metadata> | ||
<id>System.Reflection.DispatchProxy</id> | ||
<version>4.8.1</version> | ||
<authors>Microsoft</authors> | ||
<requireLicenseAcceptance>true</requireLicenseAcceptance> | ||
<license type="expression">MIT</license> | ||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl> | ||
<projectUrl>https://github.com/dotnet/maintenance-packages</projectUrl> | ||
<description>System.Reflection.DispatchProxy</description> | ||
<copyright>© Microsoft Corporation. All rights reserved.</copyright> | ||
<serviceable>true</serviceable> | ||
<repository type="git" url="https://github.com/dotnet/maintenance-packages" commit="3b65679f5812b0a1f7f173730bd7f628e1197425" /> | ||
<dependencies> | ||
<group targetFramework=".NETStandard2.0"> | ||
<dependency id="System.Reflection.Emit" version="4.7.0" exclude="Build,Analyzers" /> | ||
</group> | ||
<group targetFramework=".NETStandard2.1" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
8 changes: 8 additions & 0 deletions
8
...runtime.compilerservices.unsafe/6.1.1/System.Runtime.CompilerServices.Unsafe.6.1.1.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;netstandard2.0</TargetFrameworks> | ||
<AssemblyName>System.Runtime.CompilerServices.Unsafe</AssemblyName> | ||
</PropertyGroup> | ||
|
||
</Project> |
114 changes: 114 additions & 0 deletions
114
...untime.compilerservices.unsafe/6.1.1/lib/net6.0/System.Runtime.CompilerServices.Unsafe.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
// ------------------------------------------------------------------------------ | ||
// Changes to this file must follow the http://aka.ms/api-review process. | ||
// ------------------------------------------------------------------------------ | ||
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Framework")] | ||
[assembly: System.CLSCompliant(false)] | ||
[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] | ||
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] | ||
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] | ||
[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] | ||
[assembly: System.Reflection.AssemblyFileVersion("6.100.125.10404")] | ||
[assembly: System.Reflection.AssemblyInformationalVersion("6.1.1")] | ||
[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] | ||
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] | ||
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] | ||
[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] | ||
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] | ||
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] | ||
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")] | ||
[assembly: System.Runtime.CompilerServices.ReferenceAssembly] | ||
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] | ||
namespace System.Runtime.CompilerServices | ||
{ | ||
public static partial class Unsafe | ||
{ | ||
public static ref T Add<T>(ref T source, int elementOffset) { throw null; } | ||
|
||
public static ref T Add<T>(ref T source, IntPtr elementOffset) { throw null; } | ||
|
||
public static ref T Add<T>(ref T source, nuint elementOffset) { throw null; } | ||
|
||
public static unsafe void* Add<T>(void* source, int elementOffset) { throw null; } | ||
|
||
public static ref T AddByteOffset<T>(ref T source, IntPtr byteOffset) { throw null; } | ||
|
||
public static ref T AddByteOffset<T>(ref T source, nuint byteOffset) { throw null; } | ||
|
||
public static bool AreSame<T>(ref T left, ref T right) { throw null; } | ||
|
||
public static T As<T>(object o) | ||
where T : class { throw null; } | ||
|
||
public static ref TTo As<TFrom, TTo>(ref TFrom source) { throw null; } | ||
|
||
public static unsafe void* AsPointer<T>(ref T value) { throw null; } | ||
|
||
public static ref T AsRef<T>(in T source) { throw null; } | ||
|
||
public static unsafe ref T AsRef<T>(void* source) { throw null; } | ||
|
||
public static IntPtr ByteOffset<T>(ref T origin, ref T target) { throw null; } | ||
|
||
public static unsafe void Copy<T>(ref T destination, void* source) { } | ||
|
||
public static unsafe void Copy<T>(void* destination, ref T source) { } | ||
|
||
public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } | ||
|
||
public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } | ||
|
||
public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } | ||
|
||
public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } | ||
|
||
public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } | ||
|
||
public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } | ||
|
||
public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } | ||
|
||
public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } | ||
|
||
public static bool IsAddressGreaterThan<T>(ref T left, ref T right) { throw null; } | ||
|
||
public static bool IsAddressLessThan<T>(ref T left, ref T right) { throw null; } | ||
|
||
public static bool IsNullRef<T>(ref T source) { throw null; } | ||
|
||
public static ref T NullRef<T>() { throw null; } | ||
|
||
public static unsafe T Read<T>(void* source) { throw null; } | ||
|
||
public static T ReadUnaligned<T>(ref byte source) { throw null; } | ||
|
||
public static unsafe T ReadUnaligned<T>(void* source) { throw null; } | ||
|
||
public static int SizeOf<T>() { throw null; } | ||
|
||
public static void SkipInit<T>(out T value) { throw null; } | ||
|
||
public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; } | ||
|
||
public static ref T Subtract<T>(ref T source, IntPtr elementOffset) { throw null; } | ||
|
||
public static ref T Subtract<T>(ref T source, nuint elementOffset) { throw null; } | ||
|
||
public static unsafe void* Subtract<T>(void* source, int elementOffset) { throw null; } | ||
|
||
public static ref T SubtractByteOffset<T>(ref T source, IntPtr byteOffset) { throw null; } | ||
|
||
public static ref T SubtractByteOffset<T>(ref T source, nuint byteOffset) { throw null; } | ||
|
||
public static ref T Unbox<T>(object box) | ||
where T : struct { throw null; } | ||
|
||
public static unsafe void Write<T>(void* destination, T value) { } | ||
|
||
public static void WriteUnaligned<T>(ref byte destination, T value) { } | ||
|
||
public static unsafe void WriteUnaligned<T>(void* destination, T value) { } | ||
} | ||
} |
Empty file.
114 changes: 114 additions & 0 deletions
114
...ompilerservices.unsafe/6.1.1/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
// ------------------------------------------------------------------------------ | ||
// Changes to this file must follow the http://aka.ms/api-review process. | ||
// ------------------------------------------------------------------------------ | ||
[assembly: System.Reflection.AssemblyProduct("Microsoft® .NET Framework")] | ||
[assembly: System.CLSCompliant(false)] | ||
[assembly: System.Reflection.AssemblyMetadata(".NETFrameworkAssembly", "")] | ||
[assembly: System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute.DebuggingModes.Default | System.Diagnostics.DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] | ||
[assembly: System.Runtime.CompilerServices.CompilationRelaxations(8)] | ||
[assembly: System.Reflection.AssemblyDescription("System.Runtime.CompilerServices.Unsafe")] | ||
[assembly: System.Reflection.AssemblyFileVersion("6.100.125.10404")] | ||
[assembly: System.Reflection.AssemblyInformationalVersion("6.1.1")] | ||
[assembly: System.Reflection.AssemblyTitle("System.Runtime.CompilerServices.Unsafe")] | ||
[assembly: System.Reflection.AssemblyMetadata("Serviceable", "True")] | ||
[assembly: System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows = true)] | ||
[assembly: System.Reflection.AssemblyMetadata("IsTrimmable", "True")] | ||
[assembly: System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.")] | ||
[assembly: System.Reflection.AssemblyCompany("Microsoft Corporation")] | ||
[assembly: System.Reflection.AssemblyVersionAttribute("6.0.0.0")] | ||
[assembly: System.Runtime.CompilerServices.ReferenceAssembly] | ||
[assembly: System.Reflection.AssemblyFlagsAttribute((System.Reflection.AssemblyNameFlags)0x70)] | ||
namespace System.Runtime.CompilerServices | ||
{ | ||
public static partial class Unsafe | ||
{ | ||
public static ref T Add<T>(ref T source, int elementOffset) { throw null; } | ||
|
||
public static ref T Add<T>(ref T source, IntPtr elementOffset) { throw null; } | ||
|
||
public static ref T Add<T>(ref T source, nuint elementOffset) { throw null; } | ||
|
||
public static unsafe void* Add<T>(void* source, int elementOffset) { throw null; } | ||
|
||
public static ref T AddByteOffset<T>(ref T source, IntPtr byteOffset) { throw null; } | ||
|
||
public static ref T AddByteOffset<T>(ref T source, nuint byteOffset) { throw null; } | ||
|
||
public static bool AreSame<T>(ref T left, ref T right) { throw null; } | ||
|
||
public static T As<T>(object o) | ||
where T : class { throw null; } | ||
|
||
public static ref TTo As<TFrom, TTo>(ref TFrom source) { throw null; } | ||
|
||
public static unsafe void* AsPointer<T>(ref T value) { throw null; } | ||
|
||
public static ref T AsRef<T>(in T source) { throw null; } | ||
|
||
public static unsafe ref T AsRef<T>(void* source) { throw null; } | ||
|
||
public static IntPtr ByteOffset<T>(ref T origin, ref T target) { throw null; } | ||
|
||
public static unsafe void Copy<T>(ref T destination, void* source) { } | ||
|
||
public static unsafe void Copy<T>(void* destination, ref T source) { } | ||
|
||
public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } | ||
|
||
public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } | ||
|
||
public static void CopyBlockUnaligned(ref byte destination, ref byte source, uint byteCount) { } | ||
|
||
public static unsafe void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } | ||
|
||
public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } | ||
|
||
public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } | ||
|
||
public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } | ||
|
||
public static unsafe void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } | ||
|
||
public static bool IsAddressGreaterThan<T>(ref T left, ref T right) { throw null; } | ||
|
||
public static bool IsAddressLessThan<T>(ref T left, ref T right) { throw null; } | ||
|
||
public static bool IsNullRef<T>(ref T source) { throw null; } | ||
|
||
public static ref T NullRef<T>() { throw null; } | ||
|
||
public static unsafe T Read<T>(void* source) { throw null; } | ||
|
||
public static T ReadUnaligned<T>(ref byte source) { throw null; } | ||
|
||
public static unsafe T ReadUnaligned<T>(void* source) { throw null; } | ||
|
||
public static int SizeOf<T>() { throw null; } | ||
|
||
public static void SkipInit<T>(out T value) { throw null; } | ||
|
||
public static ref T Subtract<T>(ref T source, int elementOffset) { throw null; } | ||
|
||
public static ref T Subtract<T>(ref T source, IntPtr elementOffset) { throw null; } | ||
|
||
public static ref T Subtract<T>(ref T source, nuint elementOffset) { throw null; } | ||
|
||
public static unsafe void* Subtract<T>(void* source, int elementOffset) { throw null; } | ||
|
||
public static ref T SubtractByteOffset<T>(ref T source, IntPtr byteOffset) { throw null; } | ||
|
||
public static ref T SubtractByteOffset<T>(ref T source, nuint byteOffset) { throw null; } | ||
|
||
public static ref T Unbox<T>(object box) | ||
where T : struct { throw null; } | ||
|
||
public static unsafe void Write<T>(void* destination, T value) { } | ||
|
||
public static void WriteUnaligned<T>(ref byte destination, T value) { } | ||
|
||
public static unsafe void WriteUnaligned<T>(void* destination, T value) { } | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This project will need to be added to https://github.com/dotnet/source-build-reference-packages/blob/main/eng/Build.props#L45 per the instructions