From 621ed57461ed21c4eb8b6fbff3fa81ddf853ff1c Mon Sep 17 00:00:00 2001 From: Anirudh Agnihotry Date: Thu, 30 Jul 2020 14:52:46 -0700 Subject: [PATCH] Correcting Mismatch between ref and src (#39741) * minor formatting * ref changes --- .../ref/Microsoft.Extensions.Logging.cs | 32 +++++++++---------- .../ref/Microsoft.Win32.Registry.cs | 1 - .../System.CodeDom/ref/System.CodeDom.cs | 2 +- .../ref/System.ComponentModel.Primitives.cs | 4 +-- .../ref/System.Diagnostics.StackTrace.cs | 4 +-- .../ref/System.Drawing.Common.cs | 13 ++++---- .../ref/System.IO.IsolatedStorage.cs | 5 ++- .../SafeMemoryMappedFileHandle.Windows.cs | 2 ++ .../ref/System.Net.Http.WinHttpHandler.cs | 2 +- .../ref/System.Net.Primitives.cs | 6 ++-- .../ref/System.Numerics.Vectors.cs | 8 ++--- .../ref/System.Resources.Writer.cs | 2 +- .../System.Runtime.CompilerServices.Unsafe.cs | 28 ++++++++-------- ...System.Runtime.CompilerServices.VisualC.cs | 10 +++--- ...time.InteropServices.RuntimeInformation.cs | 12 +++---- .../ref/System.Runtime.InteropServices.cs | 2 +- .../ref/System.Runtime.Loader.cs | 2 +- .../System.Runtime/ref/System.Runtime.cs | 8 ++--- ...System.Security.Cryptography.Primitives.cs | 9 ++++-- .../ref/System.Threading.AccessControl.cs | 24 +++++++------- .../ref/System.Threading.Overlapped.cs | 6 ++-- .../ref/System.Threading.ThreadPool.cs | 2 +- .../System.Threading/ref/System.Threading.cs | 26 +++++++-------- 23 files changed, 106 insertions(+), 104 deletions(-) diff --git a/src/libraries/Microsoft.Extensions.Logging/ref/Microsoft.Extensions.Logging.cs b/src/libraries/Microsoft.Extensions.Logging/ref/Microsoft.Extensions.Logging.cs index d192fa99a48..fafdc5319da 100644 --- a/src/libraries/Microsoft.Extensions.Logging/ref/Microsoft.Extensions.Logging.cs +++ b/src/libraries/Microsoft.Extensions.Logging/ref/Microsoft.Extensions.Logging.cs @@ -14,6 +14,16 @@ namespace Microsoft.Extensions.DependencyInjection } namespace Microsoft.Extensions.Logging { + [System.FlagsAttribute] + public enum ActivityTrackingOptions + { + None = 0, + SpanId = 1, + TraceId = 2, + ParentId = 4, + TraceState = 8, + TraceFlags = 16, + } public static partial class FilterLoggingBuilderExtensions { public static Microsoft.Extensions.Logging.ILoggingBuilder AddFilter(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Func levelFilter) { throw null; } @@ -39,21 +49,6 @@ namespace Microsoft.Extensions.Logging { Microsoft.Extensions.DependencyInjection.IServiceCollection Services { get; } } - [System.Flags] - public enum ActivityTrackingOptions - { - None = 0x0000, - SpanId = 0x0001, - TraceId = 0x0002, - ParentId = 0x0004, - TraceState = 0x0008, - TraceFlags = 0x0010 - } - public class LoggerFactoryOptions - { - public LoggerFactoryOptions() { } - public ActivityTrackingOptions ActivityTrackingOptions { get {throw null; } set { throw null; } } - } public partial class LoggerFactory : Microsoft.Extensions.Logging.ILoggerFactory, System.IDisposable { public LoggerFactory() { } @@ -67,6 +62,11 @@ namespace Microsoft.Extensions.Logging public Microsoft.Extensions.Logging.ILogger CreateLogger(string categoryName) { throw null; } public void Dispose() { } } + public partial class LoggerFactoryOptions + { + public LoggerFactoryOptions() { } + public Microsoft.Extensions.Logging.ActivityTrackingOptions ActivityTrackingOptions { get { throw null; } set { } } + } public partial class LoggerFilterOptions { public LoggerFilterOptions() { } @@ -87,8 +87,8 @@ namespace Microsoft.Extensions.Logging { public static Microsoft.Extensions.Logging.ILoggingBuilder AddProvider(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.ILoggerProvider provider) { throw null; } public static Microsoft.Extensions.Logging.ILoggingBuilder ClearProviders(this Microsoft.Extensions.Logging.ILoggingBuilder builder) { throw null; } - public static Microsoft.Extensions.Logging.ILoggingBuilder SetMinimumLevel(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.LogLevel level) { throw null; } public static Microsoft.Extensions.Logging.ILoggingBuilder Configure(this Microsoft.Extensions.Logging.ILoggingBuilder builder, System.Action action) { throw null; } + public static Microsoft.Extensions.Logging.ILoggingBuilder SetMinimumLevel(this Microsoft.Extensions.Logging.ILoggingBuilder builder, Microsoft.Extensions.Logging.LogLevel level) { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)] public partial class ProviderAliasAttribute : System.Attribute diff --git a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.cs b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.cs index f9005e63f44..ea51db47d32 100644 --- a/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.cs +++ b/src/libraries/Microsoft.Win32.Registry/ref/Microsoft.Win32.Registry.cs @@ -115,7 +115,6 @@ namespace Microsoft.Win32.SafeHandles public sealed partial class SafeRegistryHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public SafeRegistryHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { } - public override bool IsInvalid { get { throw null; } } protected override bool ReleaseHandle() { throw null; } } } diff --git a/src/libraries/System.CodeDom/ref/System.CodeDom.cs b/src/libraries/System.CodeDom/ref/System.CodeDom.cs index d25a4aaad0c..fa701a269a5 100644 --- a/src/libraries/System.CodeDom/ref/System.CodeDom.cs +++ b/src/libraries/System.CodeDom/ref/System.CodeDom.cs @@ -993,7 +993,7 @@ namespace System.CodeDom.Compiler protected abstract void GenerateSnippetMember(System.CodeDom.CodeSnippetTypeMember e); protected virtual void GenerateSnippetStatement(System.CodeDom.CodeSnippetStatement e) { } protected void GenerateStatement(System.CodeDom.CodeStatement e) { } - protected void GenerateStatements(System.CodeDom.CodeStatementCollection stms) { } + protected void GenerateStatements(System.CodeDom.CodeStatementCollection stmts) { } protected abstract void GenerateThisReferenceExpression(System.CodeDom.CodeThisReferenceExpression e); protected abstract void GenerateThrowExceptionStatement(System.CodeDom.CodeThrowExceptionStatement e); protected abstract void GenerateTryCatchFinallyStatement(System.CodeDom.CodeTryCatchFinallyStatement e); diff --git a/src/libraries/System.ComponentModel.Primitives/ref/System.ComponentModel.Primitives.cs b/src/libraries/System.ComponentModel.Primitives/ref/System.ComponentModel.Primitives.cs index f7997fb5190..11285fc4090 100644 --- a/src/libraries/System.ComponentModel.Primitives/ref/System.ComponentModel.Primitives.cs +++ b/src/libraries/System.ComponentModel.Primitives/ref/System.ComponentModel.Primitives.cs @@ -261,7 +261,7 @@ namespace System.ComponentModel public ParenthesizePropertyNameAttribute() { } public ParenthesizePropertyNameAttribute(bool needParenthesis) { } public bool NeedParenthesis { get { throw null; } } - public override bool Equals(object? o) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public override bool IsDefaultAttribute() { throw null; } } @@ -291,7 +291,7 @@ namespace System.ComponentModel public static readonly System.ComponentModel.RefreshPropertiesAttribute Repaint; public RefreshPropertiesAttribute(System.ComponentModel.RefreshProperties refresh) { } public System.ComponentModel.RefreshProperties RefreshProperties { get { throw null; } } - public override bool Equals(object? value) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public override bool IsDefaultAttribute() { throw null; } } diff --git a/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs b/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs index 3696fe37c42..46fd6d68b0c 100644 --- a/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs +++ b/src/libraries/System.Diagnostics.StackTrace/ref/System.Diagnostics.StackTrace.cs @@ -10,9 +10,9 @@ namespace System.Diagnostics { public const int OFFSET_UNKNOWN = -1; public StackFrame() { } - public StackFrame(bool fNeedFileInfo) { } + public StackFrame(bool needFileInfo) { } public StackFrame(int skipFrames) { } - public StackFrame(int skipFrames, bool fNeedFileInfo) { } + public StackFrame(int skipFrames, bool needFileInfo) { } public StackFrame(string? fileName, int lineNumber) { } public StackFrame(string? fileName, int lineNumber, int colNumber) { } public virtual int GetFileColumnNumber() { throw null; } diff --git a/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs b/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs index 9f54ee11672..463ccfd5d00 100644 --- a/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs +++ b/src/libraries/System.Drawing.Common/ref/System.Drawing.Common.cs @@ -207,7 +207,6 @@ namespace System.Drawing internal BufferedGraphics() { } public System.Drawing.Graphics Graphics { get { throw null; } } public void Dispose() { } - ~BufferedGraphics() { } public void Render() { } public void Render(System.Drawing.Graphics? target) { } public void Render(System.IntPtr targetDC) { } @@ -657,7 +656,7 @@ namespace System.Drawing ~Icon() { } public static System.Drawing.Icon FromHandle(System.IntPtr handle) { throw null; } public void Save(System.IO.Stream outputStream) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } public System.Drawing.Bitmap ToBitmap() { throw null; } public override string ToString() { throw null; } } @@ -731,7 +730,7 @@ namespace System.Drawing public void SaveAdd(System.Drawing.Imaging.EncoderParameters? encoderParams) { } public int SelectActiveFrame(System.Drawing.Imaging.FrameDimension dimension, int frameIndex) { throw null; } public void SetPropertyItem(System.Drawing.Imaging.PropertyItem propitem) { } - void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } + void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo si, System.Runtime.Serialization.StreamingContext context) { } public delegate bool GetThumbnailImageAbort(); } public sealed partial class ImageAnimator @@ -2096,17 +2095,17 @@ namespace System.Drawing.Imaging { public static readonly System.Drawing.Imaging.Encoder ChrominanceTable; public static readonly System.Drawing.Imaging.Encoder ColorDepth; + public static readonly System.Drawing.Imaging.Encoder ColorSpace; public static readonly System.Drawing.Imaging.Encoder Compression; + public static readonly System.Drawing.Imaging.Encoder ImageItems; public static readonly System.Drawing.Imaging.Encoder LuminanceTable; public static readonly System.Drawing.Imaging.Encoder Quality; public static readonly System.Drawing.Imaging.Encoder RenderMethod; + public static readonly System.Drawing.Imaging.Encoder SaveAsCmyk; public static readonly System.Drawing.Imaging.Encoder SaveFlag; public static readonly System.Drawing.Imaging.Encoder ScanMethod; public static readonly System.Drawing.Imaging.Encoder Transformation; public static readonly System.Drawing.Imaging.Encoder Version; - public static readonly System.Drawing.Imaging.Encoder ColorSpace; - public static readonly System.Drawing.Imaging.Encoder ImageItems; - public static readonly System.Drawing.Imaging.Encoder SaveAsCmyk; public Encoder(System.Guid guid) { } public System.Guid Guid { get { throw null; } } } @@ -2718,8 +2717,8 @@ namespace System.Drawing.Printing public virtual System.Drawing.Graphics? OnStartPage(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintPageEventArgs e) { throw null; } public virtual void OnStartPrint(System.Drawing.Printing.PrintDocument document, System.Drawing.Printing.PrintEventArgs e) { } } - [System.ComponentModel.DefaultPropertyAttribute("DocumentName")] [System.ComponentModel.DefaultEventAttribute("PrintPage")] + [System.ComponentModel.DefaultPropertyAttribute("DocumentName")] public partial class PrintDocument : System.ComponentModel.Component { public PrintDocument() { } diff --git a/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.cs b/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.cs index b8d23578d7b..776534a95f0 100644 --- a/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.cs +++ b/src/libraries/System.IO.IsolatedStorage/ref/System.IO.IsolatedStorage.cs @@ -63,7 +63,6 @@ namespace System.IO.IsolatedStorage public bool DirectoryExists(string path) { throw null; } public void Dispose() { } public bool FileExists(string path) { throw null; } - ~IsolatedStorageFile() { } public System.DateTimeOffset GetCreationTime(string path) { throw null; } public string[] GetDirectoryNames() { throw null; } public string[] GetDirectoryNames(string searchPattern) { throw null; } @@ -111,8 +110,8 @@ namespace System.IO.IsolatedStorage public override long Length { get { throw null; } } public override long Position { get { throw null; } set { } } public override Microsoft.Win32.SafeHandles.SafeFileHandle SafeFileHandle { get { throw null; } } - public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int numBytes, System.AsyncCallback? userCallback, object? stateObject) { throw null; } - public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int numBytes, System.AsyncCallback? userCallback, object? stateObject) { throw null; } + public override System.IAsyncResult BeginRead(byte[] array, int offset, int numBytes, System.AsyncCallback? userCallback, object? stateObject) { throw null; } + public override System.IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, System.AsyncCallback? userCallback, object? stateObject) { throw null; } protected override void Dispose(bool disposing) { } public override System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } public override int EndRead(System.IAsyncResult asyncResult) { throw null; } diff --git a/src/libraries/System.IO.MemoryMappedFiles/src/Microsoft/Win32/SafeMemoryMappedFileHandle.Windows.cs b/src/libraries/System.IO.MemoryMappedFiles/src/Microsoft/Win32/SafeMemoryMappedFileHandle.Windows.cs index 29a6916bebd..bd0f7ebb13a 100644 --- a/src/libraries/System.IO.MemoryMappedFiles/src/Microsoft/Win32/SafeMemoryMappedFileHandle.Windows.cs +++ b/src/libraries/System.IO.MemoryMappedFiles/src/Microsoft/Win32/SafeMemoryMappedFileHandle.Windows.cs @@ -14,5 +14,7 @@ namespace Microsoft.Win32.SafeHandles { return Interop.Kernel32.CloseHandle(handle); } + + public override bool IsInvalid => base.IsInvalid; } } diff --git a/src/libraries/System.Net.Http.WinHttpHandler/ref/System.Net.Http.WinHttpHandler.cs b/src/libraries/System.Net.Http.WinHttpHandler/ref/System.Net.Http.WinHttpHandler.cs index 4236046359d..7339effba4e 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/ref/System.Net.Http.WinHttpHandler.cs +++ b/src/libraries/System.Net.Http.WinHttpHandler/ref/System.Net.Http.WinHttpHandler.cs @@ -30,11 +30,11 @@ namespace System.Net.Http public System.Net.CookieContainer? CookieContainer { get { throw null; } set { } } public System.Net.Http.CookieUsePolicy CookieUsePolicy { get { throw null; } set { } } public System.Net.ICredentials? DefaultProxyCredentials { get { throw null; } set { } } + public bool EnableMultipleHttp2Connections { get { throw null; } set { } } public int MaxAutomaticRedirections { get { throw null; } set { } } public int MaxConnectionsPerServer { get { throw null; } set { } } public int MaxResponseDrainSize { get { throw null; } set { } } public int MaxResponseHeadersLength { get { throw null; } set { } } - public bool EnableMultipleHttp2Connections { get { throw null; } set { } } public bool PreAuthenticate { get { throw null; } set { } } public System.Collections.Generic.IDictionary Properties { get { throw null; } } public System.Net.IWebProxy? Proxy { get { throw null; } set { } } diff --git a/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs b/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs index bce36a86ce6..979baf5e9f1 100644 --- a/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs +++ b/src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs @@ -253,11 +253,11 @@ namespace System.Net public static short NetworkToHostOrder(short network) { throw null; } public static int NetworkToHostOrder(int network) { throw null; } public static long NetworkToHostOrder(long network) { throw null; } - public static System.Net.IPAddress Parse(System.ReadOnlySpan ipString) { throw null; } + public static System.Net.IPAddress Parse(System.ReadOnlySpan ipSpan) { throw null; } public static System.Net.IPAddress Parse(string ipString) { throw null; } public override string ToString() { throw null; } public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } - public static bool TryParse(System.ReadOnlySpan ipString, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.IPAddress? address) { throw null; } + public static bool TryParse(System.ReadOnlySpan ipSpan, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.IPAddress? address) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? ipString, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.IPAddress? address) { throw null; } public bool TryWriteBytes(System.Span destination, out int bytesWritten) { throw null; } } @@ -305,7 +305,7 @@ namespace System.Net [System.Diagnostics.CodeAnalysis.AllowNullAttribute] public string UserName { get { throw null; } set { } } public System.Net.NetworkCredential GetCredential(string? host, int port, string? authenticationType) { throw null; } - public System.Net.NetworkCredential GetCredential(System.Uri? uri, string? authType) { throw null; } + public System.Net.NetworkCredential GetCredential(System.Uri? uri, string? authenticationType) { throw null; } } public partial class SocketAddress { diff --git a/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs b/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs index 9793bb2e37a..ea873ba3cec 100644 --- a/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs +++ b/src/libraries/System.Numerics.Vectors/ref/System.Numerics.Vectors.cs @@ -208,6 +208,8 @@ namespace System.Numerics public static System.Numerics.Vector AsVectorUInt64(System.Numerics.Vector value) where T : struct { throw null; } public static System.Numerics.Vector BitwiseAnd(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } public static System.Numerics.Vector BitwiseOr(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } + public static System.Numerics.Vector Ceiling(System.Numerics.Vector value) { throw null; } + public static System.Numerics.Vector Ceiling(System.Numerics.Vector value) { throw null; } public static System.Numerics.Vector ConditionalSelect(System.Numerics.Vector condition, System.Numerics.Vector left, System.Numerics.Vector right) { throw null; } public static System.Numerics.Vector ConditionalSelect(System.Numerics.Vector condition, System.Numerics.Vector left, System.Numerics.Vector right) { throw null; } public static System.Numerics.Vector ConditionalSelect(System.Numerics.Vector condition, System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } @@ -232,6 +234,8 @@ namespace System.Numerics public static bool EqualsAll(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } public static bool EqualsAny(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } public static System.Numerics.Vector Equals(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } + public static System.Numerics.Vector Floor(System.Numerics.Vector value) { throw null; } + public static System.Numerics.Vector Floor(System.Numerics.Vector value) { throw null; } public static System.Numerics.Vector GreaterThan(System.Numerics.Vector left, System.Numerics.Vector right) { throw null; } public static System.Numerics.Vector GreaterThan(System.Numerics.Vector left, System.Numerics.Vector right) { throw null; } public static System.Numerics.Vector GreaterThan(System.Numerics.Vector left, System.Numerics.Vector right) { throw null; } @@ -292,10 +296,6 @@ namespace System.Numerics [System.CLSCompliantAttribute(false)] public static void Widen(System.Numerics.Vector source, out System.Numerics.Vector dest1, out System.Numerics.Vector dest2) { throw null; } public static System.Numerics.Vector Xor(System.Numerics.Vector left, System.Numerics.Vector right) where T : struct { throw null; } - public static System.Numerics.Vector Ceiling(System.Numerics.Vector value) { throw null; } - public static System.Numerics.Vector Ceiling(System.Numerics.Vector value) { throw null; } - public static System.Numerics.Vector Floor(System.Numerics.Vector value) { throw null; } - public static System.Numerics.Vector Floor(System.Numerics.Vector value) { throw null; } } public partial struct Vector2 : System.IEquatable, System.IFormattable { diff --git a/src/libraries/System.Resources.Writer/ref/System.Resources.Writer.cs b/src/libraries/System.Resources.Writer/ref/System.Resources.Writer.cs index 9c8653862b1..f1cb4bcfdc3 100644 --- a/src/libraries/System.Resources.Writer/ref/System.Resources.Writer.cs +++ b/src/libraries/System.Resources.Writer/ref/System.Resources.Writer.cs @@ -21,7 +21,7 @@ namespace System.Resources public System.Func? TypeNameConverter { get { throw null; } set { } } public void AddResource(string name, byte[]? value) { } public void AddResource(string name, System.IO.Stream? value) { } - public void AddResource(string name, System.IO.Stream? value, bool closeAfterWrite) { } + public void AddResource(string name, System.IO.Stream? value, bool closeAfterWrite = false) { } public void AddResource(string name, object? value) { } public void AddResource(string name, string? value) { } public void AddResourceData(string name, string typeName, byte[] serializedData) { } diff --git a/src/libraries/System.Runtime.CompilerServices.Unsafe/ref/System.Runtime.CompilerServices.Unsafe.cs b/src/libraries/System.Runtime.CompilerServices.Unsafe/ref/System.Runtime.CompilerServices.Unsafe.cs index 99c28c3a28b..7c9d4fce935 100644 --- a/src/libraries/System.Runtime.CompilerServices.Unsafe/ref/System.Runtime.CompilerServices.Unsafe.cs +++ b/src/libraries/System.Runtime.CompilerServices.Unsafe/ref/System.Runtime.CompilerServices.Unsafe.cs @@ -9,12 +9,12 @@ namespace System.Runtime.CompilerServices public static partial class Unsafe { public static ref T AddByteOffset(ref T source, System.IntPtr byteOffset) { throw null; } - public static unsafe void* Add(void* source, int elementOffset) { throw null; } + public unsafe static void* Add(void* source, int elementOffset) { throw null; } public static ref T Add(ref T source, int elementOffset) { throw null; } public static ref T Add(ref T source, System.IntPtr elementOffset) { throw null; } public static bool AreSame(ref T left, ref T right) { throw null; } - public static unsafe void* AsPointer(ref T value) { throw null; } - public static unsafe ref T AsRef(void* source) { throw null; } + public unsafe static void* AsPointer(ref T value) { throw null; } + public unsafe static ref T AsRef(void* source) { throw null; } public static ref T AsRef(in T source) { throw null; } #if NETSTANDARD2_1 [return: System.Diagnostics.CodeAnalysis.MaybeNullAttribute] @@ -24,31 +24,31 @@ namespace System.Runtime.CompilerServices public static ref TTo As(ref TFrom source) { throw null; } public static System.IntPtr ByteOffset(ref T origin, ref T target) { throw null; } public static void CopyBlock(ref byte destination, ref byte source, uint byteCount) { } - public static unsafe void CopyBlock(void* destination, void* source, uint byteCount) { } + public unsafe static 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 unsafe void Copy(void* destination, ref T source) { } - public static unsafe void Copy(ref T destination, void* source) { } + public unsafe static void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } + public unsafe static void Copy(void* destination, ref T source) { } + public unsafe static void Copy(ref T destination, void* source) { } public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } - public static unsafe void InitBlock(void* startAddress, byte value, uint byteCount) { } + public unsafe static 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 unsafe static void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } public static bool IsAddressGreaterThan(ref T left, ref T right) { throw null; } public static bool IsAddressLessThan(ref T left, ref T right) { throw null; } public static bool IsNullRef(ref T source) { throw null; } public static ref T NullRef() { throw null; } public static T ReadUnaligned(ref byte source) { throw null; } - public static unsafe T ReadUnaligned(void* source) { throw null; } - public static unsafe T Read(void* source) { throw null; } + public unsafe static T ReadUnaligned(void* source) { throw null; } + public unsafe static T Read(void* source) { throw null; } public static void SkipInit(out T value) { throw null; } public static int SizeOf() { throw null; } public static ref T SubtractByteOffset(ref T source, System.IntPtr byteOffset) { throw null; } - public static unsafe void* Subtract(void* source, int elementOffset) { throw null; } + public unsafe static void* Subtract(void* source, int elementOffset) { throw null; } public static ref T Subtract(ref T source, int elementOffset) { throw null; } public static ref T Subtract(ref T source, System.IntPtr elementOffset) { throw null; } public static ref T Unbox(object box) where T : struct { throw null; } public static void WriteUnaligned(ref byte destination, T value) { } - public static unsafe void WriteUnaligned(void* destination, T value) { } - public static unsafe void Write(void* destination, T value) { } + public unsafe static void WriteUnaligned(void* destination, T value) { } + public unsafe static void Write(void* destination, T value) { } } } diff --git a/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.cs b/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.cs index f636324e4f4..5cf0c49999c 100644 --- a/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.cs +++ b/src/libraries/System.Runtime.CompilerServices.VisualC/ref/System.Runtime.CompilerServices.VisualC.cs @@ -9,6 +9,11 @@ namespace System.Runtime.CompilerServices public static partial class CompilerMarshalOverride { } + [AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple=true)] + public sealed class CppInlineNamespaceAttribute : Attribute + { + public CppInlineNamespaceAttribute(string dottedName) {} + } [System.AttributeUsageAttribute(System.AttributeTargets.Struct)] public sealed partial class HasCopySemanticsAttribute : System.Attribute { @@ -49,11 +54,6 @@ namespace System.Runtime.CompilerServices { public NativeCppClassAttribute() { } } - [AttributeUsageAttribute(AttributeTargets.Assembly, AllowMultiple=true)] - public sealed class CppInlineNamespaceAttribute : Attribute - { - public CppInlineNamespaceAttribute(string dottedName) {} - } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] public sealed partial class RequiredAttributeAttribute : System.Attribute { diff --git a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs index 46d2dd5159e..59b347af089 100644 --- a/src/libraries/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs +++ b/src/libraries/System.Runtime.InteropServices.RuntimeInformation/ref/System.Runtime.InteropServices.RuntimeInformation.cs @@ -45,15 +45,15 @@ namespace System.Runtime.InteropServices public static System.Runtime.InteropServices.Architecture ProcessArchitecture { get { throw null; } } public static string RuntimeIdentifier { get { throw null; } } public static bool IsOSPlatform(System.Runtime.InteropServices.OSPlatform osPlatform) { throw null; } - public static bool IsOSPlatformOrLater(string platformName) { throw null; } - public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major) { throw null; } - public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor) { throw null; } - public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor, int build) { throw null; } - public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor, int build, int revision) { throw null; } - public static bool IsOSPlatformEarlierThan(string platformName) { throw null; } public static bool IsOSPlatformEarlierThan(System.Runtime.InteropServices.OSPlatform osPlatform, int major) { throw null; } public static bool IsOSPlatformEarlierThan(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor) { throw null; } public static bool IsOSPlatformEarlierThan(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor, int build) { throw null; } public static bool IsOSPlatformEarlierThan(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor, int build, int revision) { throw null; } + public static bool IsOSPlatformEarlierThan(string platformName) { throw null; } + public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major) { throw null; } + public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor) { throw null; } + public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor, int build) { throw null; } + public static bool IsOSPlatformOrLater(System.Runtime.InteropServices.OSPlatform osPlatform, int major, int minor, int build, int revision) { throw null; } + public static bool IsOSPlatformOrLater(string platformName) { throw null; } } } diff --git a/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs b/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs index e4860f7e25e..792ccaa5377 100644 --- a/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs +++ b/src/libraries/System.Runtime.InteropServices/ref/System.Runtime.InteropServices.cs @@ -1031,7 +1031,7 @@ namespace System.Runtime.InteropServices public struct ComInterfaceDispatch { public System.IntPtr Vtable; - public static unsafe T GetInstance(ComInterfaceDispatch* dispatchPtr) where T : class { throw null; } + public unsafe static T GetInstance(ComInterfaceDispatch* dispatchPtr) where T : class { throw null; } } public System.IntPtr GetOrCreateComInterfaceForObject(object instance, CreateComInterfaceFlags flags) { throw null; } protected unsafe abstract ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count); diff --git a/src/libraries/System.Runtime.Loader/ref/System.Runtime.Loader.cs b/src/libraries/System.Runtime.Loader/ref/System.Runtime.Loader.cs index 99d71fc96e4..b73650c6b75 100644 --- a/src/libraries/System.Runtime.Loader/ref/System.Runtime.Loader.cs +++ b/src/libraries/System.Runtime.Loader/ref/System.Runtime.Loader.cs @@ -9,7 +9,7 @@ namespace System.Reflection.Metadata public static partial class AssemblyExtensions { [System.CLSCompliantAttribute(false)] - public static unsafe bool TryGetRawMetadata(this System.Reflection.Assembly assembly, out byte* blob, out int length) { throw null; } + public unsafe static bool TryGetRawMetadata(this System.Reflection.Assembly assembly, out byte* blob, out int length) { throw null; } } } namespace System.Runtime.Loader diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index a4a16a66064..56cc3ae7b64 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -3638,10 +3638,10 @@ namespace System } public static partial class StringNormalizationExtensions { - public static bool IsNormalized(this string value) { throw null; } - public static bool IsNormalized(this string value, System.Text.NormalizationForm normalizationForm) { throw null; } - public static string Normalize(this string value) { throw null; } - public static string Normalize(this string value, System.Text.NormalizationForm normalizationForm) { throw null; } + public static bool IsNormalized(this string strInput) { throw null; } + public static bool IsNormalized(this string strInput, System.Text.NormalizationForm normalizationForm) { throw null; } + public static string Normalize(this string strInput) { throw null; } + public static string Normalize(this string strInput, System.Text.NormalizationForm normalizationForm) { throw null; } } [System.FlagsAttribute] public enum StringSplitOptions diff --git a/src/libraries/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs b/src/libraries/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs index 2add4b9ea90..0082a61b92b 100644 --- a/src/libraries/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs +++ b/src/libraries/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs @@ -9,7 +9,8 @@ namespace System.Security.Cryptography public abstract partial class AsymmetricAlgorithm : System.IDisposable { protected int KeySizeValue; - [System.Diagnostics.CodeAnalysis.MaybeNullAttribute] protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute] + protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; protected AsymmetricAlgorithm() { } public virtual string? KeyExchangeAlgorithm { get { throw null; } } public virtual int KeySize { get { throw null; } set { } } @@ -220,8 +221,10 @@ namespace System.Security.Cryptography protected byte[]? IVValue; protected int KeySizeValue; protected byte[]? KeyValue; - [System.Diagnostics.CodeAnalysis.MaybeNullAttribute] protected System.Security.Cryptography.KeySizes[] LegalBlockSizesValue; - [System.Diagnostics.CodeAnalysis.MaybeNullAttribute] protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute] + protected System.Security.Cryptography.KeySizes[] LegalBlockSizesValue; + [System.Diagnostics.CodeAnalysis.MaybeNullAttribute] + protected System.Security.Cryptography.KeySizes[] LegalKeySizesValue; protected System.Security.Cryptography.CipherMode ModeValue; protected System.Security.Cryptography.PaddingMode PaddingValue; protected SymmetricAlgorithm() { } diff --git a/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.cs b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.cs index db92ef1338e..b42eb330f72 100644 --- a/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.cs +++ b/src/libraries/System.Threading.AccessControl/ref/System.Threading.AccessControl.cs @@ -137,25 +137,25 @@ namespace System.Security.AccessControl } namespace System.Threading { - public static partial class ThreadingAclExtensions - { - public static System.Security.AccessControl.EventWaitHandleSecurity GetAccessControl(this System.Threading.EventWaitHandle handle) { throw null; } - public static System.Security.AccessControl.MutexSecurity GetAccessControl(this System.Threading.Mutex mutex) { throw null; } - public static System.Security.AccessControl.SemaphoreSecurity GetAccessControl(this System.Threading.Semaphore semaphore) { throw null; } - public static void SetAccessControl(this System.Threading.EventWaitHandle handle, System.Security.AccessControl.EventWaitHandleSecurity eventSecurity) { } - public static void SetAccessControl(this System.Threading.Mutex mutex, System.Security.AccessControl.MutexSecurity mutexSecurity) { } - public static void SetAccessControl(this System.Threading.Semaphore semaphore, System.Security.AccessControl.SemaphoreSecurity semaphoreSecurity) { } - } - public static class EventWaitHandleAcl + public static partial class EventWaitHandleAcl { public static System.Threading.EventWaitHandle Create(bool initialState, System.Threading.EventResetMode mode, string? name, out bool createdNew, System.Security.AccessControl.EventWaitHandleSecurity? eventSecurity) { throw null; } } - public static class MutexAcl + public static partial class MutexAcl { public static System.Threading.Mutex Create(bool initiallyOwned, string? name, out bool createdNew, System.Security.AccessControl.MutexSecurity? mutexSecurity) { throw null; } } - public static class SemaphoreAcl + public static partial class SemaphoreAcl { public static System.Threading.Semaphore Create(int initialCount, int maximumCount, string? name, out bool createdNew, System.Security.AccessControl.SemaphoreSecurity? semaphoreSecurity) { throw null; } } + public static partial class ThreadingAclExtensions + { + public static System.Security.AccessControl.EventWaitHandleSecurity GetAccessControl(this System.Threading.EventWaitHandle handle) { throw null; } + public static System.Security.AccessControl.MutexSecurity GetAccessControl(this System.Threading.Mutex mutex) { throw null; } + public static System.Security.AccessControl.SemaphoreSecurity GetAccessControl(this System.Threading.Semaphore semaphore) { throw null; } + public static void SetAccessControl(this System.Threading.EventWaitHandle handle, System.Security.AccessControl.EventWaitHandleSecurity eventSecurity) { } + public static void SetAccessControl(this System.Threading.Mutex mutex, System.Security.AccessControl.MutexSecurity mutexSecurity) { } + public static void SetAccessControl(this System.Threading.Semaphore semaphore, System.Security.AccessControl.SemaphoreSecurity semaphoreSecurity) { } + } } diff --git a/src/libraries/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs b/src/libraries/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs index 991a27b0969..634e1697d46 100644 --- a/src/libraries/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs +++ b/src/libraries/System.Threading.Overlapped/ref/System.Threading.Overlapped.cs @@ -29,14 +29,14 @@ namespace System.Threading public int OffsetHigh { get { throw null; } set { } } public int OffsetLow { get { throw null; } set { } } [System.CLSCompliantAttribute(false)] - public static unsafe void Free(System.Threading.NativeOverlapped* nativeOverlappedPtr) { } + public unsafe static void Free(System.Threading.NativeOverlapped* nativeOverlappedPtr) { } [System.CLSCompliantAttribute(false)] [System.ObsoleteAttribute("This method is not safe. Use Pack (iocb, userData) instead. https://go.microsoft.com/fwlink/?linkid=14202")] public unsafe System.Threading.NativeOverlapped* Pack(System.Threading.IOCompletionCallback? iocb) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe System.Threading.NativeOverlapped* Pack(System.Threading.IOCompletionCallback? iocb, object? userData) { throw null; } [System.CLSCompliantAttribute(false)] - public static unsafe System.Threading.Overlapped Unpack(System.Threading.NativeOverlapped* nativeOverlappedPtr) { throw null; } + public unsafe static System.Threading.Overlapped Unpack(System.Threading.NativeOverlapped* nativeOverlappedPtr) { throw null; } [System.CLSCompliantAttribute(false)] [System.ObsoleteAttribute("This method is not safe. Use UnsafePack (iocb, userData) instead. https://go.microsoft.com/fwlink/?linkid=14202")] public unsafe System.Threading.NativeOverlapped* UnsafePack(System.Threading.IOCompletionCallback? iocb) { throw null; } @@ -63,6 +63,6 @@ namespace System.Threading [System.CLSCompliantAttribute(false)] public unsafe void FreeNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { } [System.CLSCompliantAttribute(false)] - public static unsafe object? GetNativeOverlappedState(System.Threading.NativeOverlapped* overlapped) { throw null; } + public unsafe static object? GetNativeOverlappedState(System.Threading.NativeOverlapped* overlapped) { throw null; } } } diff --git a/src/libraries/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs b/src/libraries/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs index 75238f61985..b815c818c94 100644 --- a/src/libraries/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs +++ b/src/libraries/System.Threading.ThreadPool/ref/System.Threading.ThreadPool.cs @@ -37,7 +37,7 @@ namespace System.Threading public static bool SetMaxThreads(int workerThreads, int completionPortThreads) { throw null; } public static bool SetMinThreads(int workerThreads, int completionPortThreads) { throw null; } [System.CLSCompliantAttribute(false)] - public static unsafe bool UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { throw null; } + public unsafe static bool UnsafeQueueNativeOverlapped(System.Threading.NativeOverlapped* overlapped) { throw null; } public static bool UnsafeQueueUserWorkItem(System.Threading.IThreadPoolWorkItem callBack, bool preferLocal) { throw null; } public static bool UnsafeQueueUserWorkItem(System.Threading.WaitCallback callBack, object? state) { throw null; } public static bool UnsafeQueueUserWorkItem(System.Action callBack, TState state, bool preferLocal) { throw null; } diff --git a/src/libraries/System.Threading/ref/System.Threading.cs b/src/libraries/System.Threading/ref/System.Threading.cs index d0f85e23252..87d1f38e72e 100644 --- a/src/libraries/System.Threading/ref/System.Threading.cs +++ b/src/libraries/System.Threading/ref/System.Threading.cs @@ -153,61 +153,61 @@ namespace System.Threading public static partial class Interlocked { public static int Add(ref int location1, int value) { throw null; } + public static long Add(ref long location1, long value) { throw null; } [System.CLSCompliantAttribute(false)] public static uint Add(ref uint location1, uint value) { throw null; } - public static long Add(ref long location1, long value) { throw null; } [System.CLSCompliantAttribute(false)] public static ulong Add(ref ulong location1, ulong value) { throw null; } public static int And(ref int location1, int value) { throw null; } + public static long And(ref long location1, long value) { throw null; } [System.CLSCompliantAttribute(false)] public static uint And(ref uint location1, uint value) { throw null; } - public static long And(ref long location1, long value) { throw null; } [System.CLSCompliantAttribute(false)] public static ulong And(ref ulong location1, ulong value) { throw null; } public static double CompareExchange(ref double location1, double value, double comparand) { throw null; } public static int CompareExchange(ref int location1, int value, int comparand) { throw null; } - [System.CLSCompliantAttribute(false)] - public static uint CompareExchange(ref uint location1, uint value, uint comparand) { throw null; } public static long CompareExchange(ref long location1, long value, long comparand) { throw null; } - [System.CLSCompliantAttribute(false)] - public static ulong CompareExchange(ref ulong location1, ulong value, ulong comparand) { throw null; } public static System.IntPtr CompareExchange(ref System.IntPtr location1, System.IntPtr value, System.IntPtr comparand) { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("location1")] public static object? CompareExchange(ref object? location1, object? value, object? comparand) { throw null; } public static float CompareExchange(ref float location1, float value, float comparand) { throw null; } + [System.CLSCompliantAttribute(false)] + public static uint CompareExchange(ref uint location1, uint value, uint comparand) { throw null; } + [System.CLSCompliantAttribute(false)] + public static ulong CompareExchange(ref ulong location1, ulong value, ulong comparand) { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("location1")] public static T CompareExchange(ref T location1, T value, T comparand) where T : class? { throw null; } public static int Decrement(ref int location) { throw null; } + public static long Decrement(ref long location) { throw null; } [System.CLSCompliantAttribute(false)] public static uint Decrement(ref uint location) { throw null; } - public static long Decrement(ref long location) { throw null; } [System.CLSCompliantAttribute(false)] public static ulong Decrement(ref ulong location) { throw null; } public static double Exchange(ref double location1, double value) { throw null; } public static int Exchange(ref int location1, int value) { throw null; } - [System.CLSCompliantAttribute(false)] - public static uint Exchange(ref uint location1, uint value) { throw null; } public static long Exchange(ref long location1, long value) { throw null; } - [System.CLSCompliantAttribute(false)] - public static ulong Exchange(ref ulong location1, ulong value) { throw null; } public static System.IntPtr Exchange(ref System.IntPtr location1, System.IntPtr value) { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("location1")] public static object? Exchange([System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("value")] ref object? location1, object? value) { throw null; } public static float Exchange(ref float location1, float value) { throw null; } + [System.CLSCompliantAttribute(false)] + public static uint Exchange(ref uint location1, uint value) { throw null; } + [System.CLSCompliantAttribute(false)] + public static ulong Exchange(ref ulong location1, ulong value) { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("location1")] public static T Exchange([System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("value")] ref T location1, T value) where T : class? { throw null; } public static int Increment(ref int location) { throw null; } + public static long Increment(ref long location) { throw null; } [System.CLSCompliantAttribute(false)] public static uint Increment(ref uint location) { throw null; } - public static long Increment(ref long location) { throw null; } [System.CLSCompliantAttribute(false)] public static ulong Increment(ref ulong location) { throw null; } public static void MemoryBarrier() { } public static void MemoryBarrierProcessWide() { } public static int Or(ref int location1, int value) { throw null; } + public static long Or(ref long location1, long value) { throw null; } [System.CLSCompliantAttribute(false)] public static uint Or(ref uint location1, uint value) { throw null; } - public static long Or(ref long location1, long value) { throw null; } [System.CLSCompliantAttribute(false)] public static ulong Or(ref ulong location1, ulong value) { throw null; } public static long Read(ref long location) { throw null; } -- 2.34.1