diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index acd4825aa99fc..3f5c07f580950 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -46,8 +46,8 @@ namespace System public partial class AccessViolationException : System.SystemException { public AccessViolationException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected AccessViolationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public AccessViolationException(string? message) { } public AccessViolationException(string? message, System.Exception? innerException) { } @@ -96,8 +96,8 @@ public partial class AggregateException : System.Exception public AggregateException() { } public AggregateException(System.Collections.Generic.IEnumerable innerExceptions) { } public AggregateException(params System.Exception[] innerExceptions) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected AggregateException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public AggregateException(string? message) { } public AggregateException(string? message, System.Collections.Generic.IEnumerable innerExceptions) { } @@ -107,8 +107,8 @@ public AggregateException(string? message, params System.Exception[] innerExcept public override string Message { get { throw null; } } public System.AggregateException Flatten() { throw null; } public override System.Exception GetBaseException() { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public void Handle(System.Func predicate) { } public override string ToString() { throw null; } @@ -137,7 +137,7 @@ internal AppDomain() { } public static long MonitoringSurvivedProcessMemorySize { get { throw null; } } public long MonitoringTotalAllocatedMemorySize { get { throw null; } } public System.TimeSpan MonitoringTotalProcessorTime { get { throw null; } } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public System.Security.PermissionSet PermissionSet { get { throw null; } } public string? RelativeSearchPath { get { throw null; } } public System.AppDomainSetup SetupInformation { get { throw null; } } @@ -158,7 +158,7 @@ public void AppendPrivatePath(string? path) { } public void ClearPrivatePath() { } [System.ObsoleteAttribute("AppDomain.ClearShadowCopyPath has been deprecated and is not supported.")] public void ClearShadowCopyPath() { } - [System.ObsoleteAttribute("Creating and unloading AppDomains is not supported and throws an exception.", DiagnosticId = "SYSLIB0024", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Creating and unloading AppDomains is not supported and throws an exception.", DiagnosticId="SYSLIB0024", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.AppDomain CreateDomain(string friendlyName) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")] public System.Runtime.Remoting.ObjectHandle? CreateInstance(string assemblyName, string typeName) { throw null; } @@ -189,7 +189,7 @@ public void ClearShadowCopyPath() { } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] public int ExecuteAssembly(string assemblyFile, string?[]? args) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public int ExecuteAssembly(string assemblyFile, string?[]? args, byte[]? hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; } public int ExecuteAssemblyByName(System.Reflection.AssemblyName assemblyName, params string?[]? args) { throw null; } public int ExecuteAssemblyByName(string assemblyName) { throw null; } @@ -220,7 +220,7 @@ public void SetShadowCopyFiles() { } public void SetShadowCopyPath(string? path) { } public void SetThreadPrincipal(System.Security.Principal.IPrincipal principal) { } public override string ToString() { throw null; } - [System.ObsoleteAttribute("Creating and unloading AppDomains is not supported and throws an exception.", DiagnosticId = "SYSLIB0024", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Creating and unloading AppDomains is not supported and throws an exception.", DiagnosticId="SYSLIB0024", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void Unload(System.AppDomain domain) { } } public sealed partial class AppDomainSetup @@ -232,8 +232,8 @@ internal AppDomainSetup() { } public partial class AppDomainUnloadedException : System.SystemException { public AppDomainUnloadedException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected AppDomainUnloadedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public AppDomainUnloadedException(string? message) { } public AppDomainUnloadedException(string? message, System.Exception? innerException) { } @@ -241,8 +241,8 @@ public AppDomainUnloadedException(string? message, System.Exception? innerExcept public partial class ApplicationException : System.Exception { public ApplicationException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ApplicationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ApplicationException(string? message) { } public ApplicationException(string? message, System.Exception? innerException) { } @@ -279,8 +279,8 @@ public void End() { } public partial class ArgumentException : System.SystemException { public ArgumentException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ArgumentException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ArgumentException(string? message) { } public ArgumentException(string? message, System.Exception? innerException) { } @@ -288,17 +288,17 @@ public ArgumentException(string? message, string? paramName) { } public ArgumentException(string? message, string? paramName, System.Exception? innerException) { } public override string Message { get { throw null; } } public virtual string? ParamName { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static void ThrowIfNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpression("argument")] string? paramName = null) { throw null; } - public static void ThrowIfNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpression("argument")] string? paramName = null) { throw null; } + public static void ThrowIfNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; } + public static void ThrowIfNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; } } public partial class ArgumentNullException : System.ArgumentException { public ArgumentNullException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ArgumentNullException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ArgumentNullException(string? paramName) { } public ArgumentNullException(string? message, System.Exception? innerException) { } @@ -310,8 +310,8 @@ public ArgumentNullException(string? paramName, string? message) { } public partial class ArgumentOutOfRangeException : System.ArgumentException { public ArgumentOutOfRangeException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ArgumentOutOfRangeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ArgumentOutOfRangeException(string? paramName) { } public ArgumentOutOfRangeException(string? message, System.Exception? innerException) { } @@ -319,24 +319,24 @@ public ArgumentOutOfRangeException(string? paramName, object? actualValue, strin public ArgumentOutOfRangeException(string? paramName, string? message) { } public virtual object? ActualValue { get { throw null; } } public override string Message { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static void ThrowIfEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpression(nameof(value))] string? paramName = null) where T : System.IEquatable? { throw null; } - public static void ThrowIfGreaterThan(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.IComparable { throw null; } - public static void ThrowIfGreaterThanOrEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.IComparable { throw null; } - public static void ThrowIfLessThan(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.IComparable { throw null; } - public static void ThrowIfLessThanOrEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.IComparable { throw null; } - public static void ThrowIfNegative(T value, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.Numerics.INumberBase { throw null; } - public static void ThrowIfNegativeOrZero(T value, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.Numerics.INumberBase { throw null; } - public static void ThrowIfNotEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpression(nameof(value))] string? paramName = null) where T : System.IEquatable? { throw null; } - public static void ThrowIfZero(T value, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute(nameof(value))] string? paramName = null) where T : System.Numerics.INumberBase { throw null; } + public static void ThrowIfEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.IEquatable? { } + public static void ThrowIfGreaterThanOrEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.IComparable { } + public static void ThrowIfGreaterThan(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.IComparable { } + public static void ThrowIfLessThanOrEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.IComparable { } + public static void ThrowIfLessThan(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.IComparable { } + public static void ThrowIfNegativeOrZero(T value, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.Numerics.INumberBase { } + public static void ThrowIfNegative(T value, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.Numerics.INumberBase { } + public static void ThrowIfNotEqual(T value, T other, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.IEquatable? { } + public static void ThrowIfZero(T value, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("value")] string? paramName = null) where T : System.Numerics.INumberBase { } } public partial class ArithmeticException : System.SystemException { public ArithmeticException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ArithmeticException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ArithmeticException(string? message) { } public ArithmeticException(string? message, System.Exception? innerException) { } @@ -374,15 +374,15 @@ public static void Copy(System.Array sourceArray, int sourceIndex, System.Array public static void Copy(System.Array sourceArray, long sourceIndex, System.Array destinationArray, long destinationIndex, long length) { } public void CopyTo(System.Array array, int index) { } public void CopyTo(System.Array array, long index) { } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("The code for an array of the specified type might not be available.")] public static System.Array CreateInstance(System.Type elementType, int length) { throw null; } public static System.Array CreateInstance(System.Type elementType, int length1, int length2) { throw null; } public static System.Array CreateInstance(System.Type elementType, int length1, int length2, int length3) { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("The code for an array of the specified type might not be available.")] public static System.Array CreateInstance(System.Type elementType, params int[] lengths) { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("The code for an array of the specified type might not be available.")] public static System.Array CreateInstance(System.Type elementType, int[] lengths, int[] lowerBounds) { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("The code for an array of the specified type might not be available.")] public static System.Array CreateInstance(System.Type elementType, params long[] lengths) { throw null; } public static System.Array CreateInstanceFromArrayType(System.Type arrayType, int length) { throw null; } public static System.Array CreateInstanceFromArrayType(System.Type arrayType, params int[] lengths) { throw null; } @@ -521,8 +521,8 @@ void System.Collections.IEnumerator.Reset() { } public partial class ArrayTypeMismatchException : System.SystemException { public ArrayTypeMismatchException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ArrayTypeMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ArrayTypeMismatchException(string? message) { } public ArrayTypeMismatchException(string? message, System.Exception? innerException) { } @@ -607,8 +607,8 @@ public AttributeUsageAttribute(System.AttributeTargets validOn) { } public partial class BadImageFormatException : System.SystemException { public BadImageFormatException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected BadImageFormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public BadImageFormatException(string? message) { } public BadImageFormatException(string? message, System.Exception? inner) { } @@ -617,8 +617,8 @@ public BadImageFormatException(string? message, string? fileName, System.Excepti public string? FileName { get { throw null; } } public string? FusionLog { get { throw null; } } public override string Message { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -639,13 +639,13 @@ public static partial class BitConverter public static byte[] GetBytes(double value) { throw null; } public static byte[] GetBytes(System.Half value) { throw null; } public static byte[] GetBytes(System.Int128 value) { throw null; } - [System.CLSCompliantAttribute(false)] - public static byte[] GetBytes(System.UInt128 value) { throw null; } public static byte[] GetBytes(short value) { throw null; } public static byte[] GetBytes(int value) { throw null; } public static byte[] GetBytes(long value) { throw null; } public static byte[] GetBytes(float value) { throw null; } [System.CLSCompliantAttribute(false)] + public static byte[] GetBytes(System.UInt128 value) { throw null; } + [System.CLSCompliantAttribute(false)] public static byte[] GetBytes(ushort value) { throw null; } [System.CLSCompliantAttribute(false)] public static byte[] GetBytes(uint value) { throw null; } @@ -702,13 +702,13 @@ public static partial class BitConverter public static bool TryWriteBytes(System.Span destination, double value) { throw null; } public static bool TryWriteBytes(System.Span destination, System.Half value) { throw null; } public static bool TryWriteBytes(System.Span destination, System.Int128 value) { throw null; } - [System.CLSCompliantAttribute(false)] - public static bool TryWriteBytes(System.Span destination, System.UInt128 value) { throw null; } public static bool TryWriteBytes(System.Span destination, short value) { throw null; } public static bool TryWriteBytes(System.Span destination, int value) { throw null; } public static bool TryWriteBytes(System.Span destination, long value) { throw null; } public static bool TryWriteBytes(System.Span destination, float value) { throw null; } [System.CLSCompliantAttribute(false)] + public static bool TryWriteBytes(System.Span destination, System.UInt128 value) { throw null; } + [System.CLSCompliantAttribute(false)] public static bool TryWriteBytes(System.Span destination, ushort value) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryWriteBytes(System.Span destination, uint value) { throw null; } @@ -751,8 +751,8 @@ public static partial class BitConverter ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static bool System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out bool result) { throw null; } - static bool System.ISpanParsable.Parse(ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } - static bool System.ISpanParsable.TryParse(ReadOnlySpan s, System.IFormatProvider? provider, out bool result) { throw null; } + static bool System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out bool result) { throw null; } public override string ToString() { throw null; } public string ToString(System.IFormatProvider? provider) { throw null; } public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } @@ -770,7 +770,7 @@ public unsafe static void MemoryCopy(void* source, void* destination, long desti public unsafe static void MemoryCopy(void* source, void* destination, ulong destinationSizeInBytes, ulong sourceBytesToCopy) { } public static void SetByte(System.Array array, int index, byte value) { } } - public readonly partial struct Byte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.IUtf8SpanFormattable + public readonly partial struct Byte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { private readonly byte _dummyPrimitive; public const byte MaxValue = (byte)255; @@ -896,8 +896,8 @@ public static void SetByte(System.Array array, int index, byte value) { } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static byte TrailingZeroCount(byte value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out byte result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out byte result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out byte result) { throw null; } @@ -911,13 +911,13 @@ public static void SetByte(System.Array array, int index, byte value) { } public partial class CannotUnloadAppDomainException : System.SystemException { public CannotUnloadAppDomainException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected CannotUnloadAppDomainException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public CannotUnloadAppDomainException(string? message) { } public CannotUnloadAppDomainException(string? message, System.Exception? innerException) { } } - public readonly partial struct Char : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.IUtf8SpanFormattable + public readonly partial struct Char : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { private readonly char _dummyPrimitive; public const char MaxValue = '\uFFFF'; @@ -1003,9 +1003,9 @@ public CannotUnloadAppDomainException(string? message, System.Exception? innerEx static char System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out char result) { throw null; } bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } static char System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out char result) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } static char System.Numerics.IAdditionOperators.operator +(char left, char right) { throw null; } static char System.Numerics.IAdditionOperators.operator checked +(char left, char right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -1114,8 +1114,8 @@ protected ContextBoundObject() { } public partial class ContextMarshalException : System.SystemException { public ContextMarshalException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ContextMarshalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ContextMarshalException(string? message) { } public ContextMarshalException(string? message, System.Exception? inner) { } @@ -1139,9 +1139,9 @@ public static partial class Convert public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) { throw null; } public static byte[] FromBase64String(string s) { throw null; } public static byte[] FromHexString(System.ReadOnlySpan chars) { throw null; } - public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan source, Span destination, out int charsConsumed, out int bytesWritten) { throw null; } + public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan source, System.Span destination, out int charsConsumed, out int bytesWritten) { throw null; } public static byte[] FromHexString(string s) { throw null; } - public static System.Buffers.OperationStatus FromHexString(string source, Span destination, out int charsConsumed, out int bytesWritten) { throw null; } + public static System.Buffers.OperationStatus FromHexString(string source, System.Span destination, out int charsConsumed, out int bytesWritten) { throw null; } public static System.TypeCode GetTypeCode(object? value) { throw null; } public static bool IsDBNull([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; } public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut) { throw null; } @@ -1604,6 +1604,8 @@ public static partial class Convert public System.DateOnly AddYears(int value) { throw null; } public int CompareTo(System.DateOnly value) { throw null; } public int CompareTo(object? value) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out int year, out int month, out int day) { throw null; } public bool Equals(System.DateOnly value) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; } public static System.DateOnly FromDateTime(System.DateTime dateTime) { throw null; } @@ -1615,8 +1617,6 @@ public static partial class Convert public static bool operator !=(System.DateOnly left, System.DateOnly right) { throw null; } public static bool operator <(System.DateOnly left, System.DateOnly right) { throw null; } public static bool operator <=(System.DateOnly left, System.DateOnly right) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out int year, out int month, out int day) { throw null; } public static System.DateOnly Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } public static System.DateOnly Parse(System.ReadOnlySpan s, System.IFormatProvider? provider = null, System.Globalization.DateTimeStyles style = System.Globalization.DateTimeStyles.None) { throw null; } public static System.DateOnly Parse(string s) { throw null; } @@ -1637,8 +1637,8 @@ public static partial class Convert public string ToString(System.IFormatProvider? provider) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] string? format, System.IFormatProvider? provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.DateOnly result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out System.DateOnly result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.DateOnly result) { throw null; } @@ -1654,12 +1654,14 @@ public static partial class Convert public static bool TryParseExact([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] string?[]? formats, out System.DateOnly result) { throw null; } public static bool TryParseExact([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateOnlyFormat")] string?[]? formats, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.DateOnly result) { throw null; } } - public readonly partial struct DateTime : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Runtime.Serialization.ISerializable, System.IUtf8SpanFormattable + public readonly partial struct DateTime : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.Runtime.Serialization.ISerializable { private readonly int _dummyPrimitive; public static readonly System.DateTime MaxValue; public static readonly System.DateTime MinValue; public static readonly System.DateTime UnixEpoch; + public DateTime(System.DateOnly date, System.TimeOnly time) { throw null; } + public DateTime(System.DateOnly date, System.TimeOnly time, System.DateTimeKind kind) { throw null; } public DateTime(int year, int month, int day) { throw null; } public DateTime(int year, int month, int day, System.Globalization.Calendar calendar) { throw null; } public DateTime(int year, int month, int day, int hour, int minute, int second) { throw null; } @@ -1675,8 +1677,6 @@ public static partial class Convert public DateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.Globalization.Calendar calendar, System.DateTimeKind kind) { throw null; } public DateTime(long ticks) { throw null; } public DateTime(long ticks, System.DateTimeKind kind) { throw null; } - public DateTime(System.DateOnly date, System.TimeOnly time) { throw null; } - public DateTime(System.DateOnly date, System.TimeOnly time, System.DateTimeKind kind) { throw null; } public System.DateTime Date { get { throw null; } } public int Day { get { throw null; } } public System.DayOfWeek DayOfWeek { get { throw null; } } @@ -1709,6 +1709,10 @@ public static partial class Convert public int CompareTo(System.DateTime value) { throw null; } public int CompareTo(object? value) { throw null; } public static int DaysInMonth(int year, int month) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out System.DateOnly date, out System.TimeOnly time) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out int year, out int month, out int day) { throw null; } public bool Equals(System.DateTime value) { throw null; } public static bool Equals(System.DateTime t1, System.DateTime t2) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; } @@ -1731,10 +1735,6 @@ public static partial class Convert public static bool operator !=(System.DateTime d1, System.DateTime d2) { throw null; } public static bool operator <(System.DateTime t1, System.DateTime t2) { throw null; } public static bool operator <=(System.DateTime t1, System.DateTime t2) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out System.DateOnly date, out System.TimeOnly time) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out int year, out int month, out int day) { throw null; } public static System.TimeSpan operator -(System.DateTime d1, System.DateTime d2) { throw null; } public static System.DateTime operator -(System.DateTime d, System.TimeSpan t) { throw null; } public static System.DateTime Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } @@ -1780,8 +1780,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] string? format, System.IFormatProvider? provider) { throw null; } public System.DateTime ToUniversalTime() { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.DateTime result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out System.DateTime result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, System.Globalization.DateTimeStyles styles, out System.DateTime result) { throw null; } @@ -1799,19 +1799,19 @@ public enum DateTimeKind Utc = 1, Local = 2, } - public readonly partial struct DateTimeOffset : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.IUtf8SpanFormattable + public readonly partial struct DateTimeOffset : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { private readonly int _dummyPrimitive; public static readonly System.DateTimeOffset MaxValue; public static readonly System.DateTimeOffset MinValue; public static readonly System.DateTimeOffset UnixEpoch; + public DateTimeOffset(System.DateOnly date, System.TimeOnly time, System.TimeSpan offset) { throw null; } public DateTimeOffset(System.DateTime dateTime) { throw null; } public DateTimeOffset(System.DateTime dateTime, System.TimeSpan offset) { throw null; } public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, System.Globalization.Calendar calendar, System.TimeSpan offset) { throw null; } public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.Globalization.Calendar calendar, System.TimeSpan offset) { throw null; } public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, int microsecond, System.TimeSpan offset) { throw null; } public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, int millisecond, System.TimeSpan offset) { throw null; } - public DateTimeOffset(System.DateOnly date, System.TimeOnly time, System.TimeSpan offset) { throw null; } public DateTimeOffset(int year, int month, int day, int hour, int minute, int second, System.TimeSpan offset) { throw null; } public DateTimeOffset(long ticks, System.TimeSpan offset) { throw null; } public System.DateTime Date { get { throw null; } } @@ -1848,6 +1848,8 @@ public enum DateTimeKind public System.DateTimeOffset AddYears(int years) { throw null; } public static int Compare(System.DateTimeOffset first, System.DateTimeOffset second) { throw null; } public int CompareTo(System.DateTimeOffset other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out System.DateOnly date, out System.TimeOnly time, out System.TimeSpan offset) { throw null; } public bool Equals(System.DateTimeOffset other) { throw null; } public static bool Equals(System.DateTimeOffset first, System.DateTimeOffset second) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } @@ -1864,8 +1866,6 @@ public enum DateTimeKind public static bool operator !=(System.DateTimeOffset left, System.DateTimeOffset right) { throw null; } public static bool operator <(System.DateTimeOffset left, System.DateTimeOffset right) { throw null; } public static bool operator <=(System.DateTimeOffset left, System.DateTimeOffset right) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out System.DateOnly date, out System.TimeOnly time, out System.TimeSpan offset) { throw null; } public static System.TimeSpan operator -(System.DateTimeOffset left, System.DateTimeOffset right) { throw null; } public static System.DateTimeOffset operator -(System.DateTimeOffset dateTimeOffset, System.TimeSpan timeSpan) { throw null; } public static System.DateTimeOffset Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } @@ -1893,8 +1893,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public System.DateTimeOffset ToUniversalTime() { throw null; } public long ToUnixTimeMilliseconds() { throw null; } public long ToUnixTimeSeconds() { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? formatProvider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? formatProvider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? formatProvider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan input, out System.DateTimeOffset result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out System.DateTimeOffset result) { throw null; } public static bool TryParse(System.ReadOnlySpan input, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } @@ -1916,25 +1916,12 @@ public enum DayOfWeek Friday = 5, Saturday = 6, } - public abstract class TimeProvider - { - public static TimeProvider System { get; } - protected TimeProvider() { throw null; } - public virtual System.DateTimeOffset GetUtcNow() { throw null; } - public System.DateTimeOffset GetLocalNow() { throw null; } - public virtual System.TimeZoneInfo LocalTimeZone { get; } - public virtual long TimestampFrequency { get; } - public virtual long GetTimestamp() { throw null; } - public TimeSpan GetElapsedTime(long startingTimestamp) { throw null; } - public TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp) { throw null; } - public virtual System.Threading.ITimer CreateTimer(System.Threading.TimerCallback callback, object? state, System.TimeSpan dueTime, System.TimeSpan period) { throw null; } - } public sealed partial class DBNull : System.IConvertible, System.Runtime.Serialization.ISerializable { internal DBNull() { } public static readonly System.DBNull Value; - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public System.TypeCode GetTypeCode() { throw null; } bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } @@ -1955,7 +1942,7 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public override string ToString() { throw null; } public string ToString(System.IFormatProvider? provider) { throw null; } } - public readonly partial struct Decimal : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, System.IUtf8SpanFormattable + public readonly partial struct Decimal : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { private readonly int _dummyPrimitive; [System.Runtime.CompilerServices.DecimalConstantAttribute((byte)0, (byte)0, (uint)4294967295, (uint)4294967295, (uint)4294967295)] @@ -2150,8 +2137,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser [System.CLSCompliantAttribute(false)] public static ulong ToUInt64(decimal d) { throw null; } public static decimal Truncate(decimal d) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryGetBits(decimal d, System.Span destination, out int valuesWritten) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out decimal result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out decimal result) { throw null; } @@ -2195,8 +2182,8 @@ protected Delegate([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAt public override int GetHashCode() { throw null; } public virtual System.Delegate[] GetInvocationList() { throw null; } protected virtual System.Reflection.MethodInfo GetMethodImpl() { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static bool operator ==(System.Delegate? d1, System.Delegate? d2) { throw null; } public static bool operator !=(System.Delegate? d1, System.Delegate? d2) { throw null; } @@ -2207,13 +2194,13 @@ public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo public partial class DivideByZeroException : System.ArithmeticException { public DivideByZeroException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected DivideByZeroException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public DivideByZeroException(string? message) { } public DivideByZeroException(string? message, System.Exception? innerException) { } } - public readonly partial struct Double : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Double : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly double _dummyPrimitive; public const double E = 2.718281828459045; @@ -2400,8 +2387,8 @@ public DivideByZeroException(string? message, System.Exception? innerException) public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static double Truncate(double x) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out double result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out double result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out double result) { throw null; } @@ -2415,8 +2402,8 @@ public DivideByZeroException(string? message, System.Exception? innerException) public partial class DuplicateWaitObjectException : System.ArgumentException { public DuplicateWaitObjectException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected DuplicateWaitObjectException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public DuplicateWaitObjectException(string? parameterName) { } public DuplicateWaitObjectException(string? message, System.Exception? innerException) { } @@ -2425,13 +2412,13 @@ public DuplicateWaitObjectException(string? parameterName, string? message) { } public partial class EntryPointNotFoundException : System.TypeLoadException { public EntryPointNotFoundException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected EntryPointNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public EntryPointNotFoundException(string? message) { } public EntryPointNotFoundException(string? message, System.Exception? inner) { } } - public abstract partial class Enum : System.ValueType, System.IComparable, System.IConvertible, System.ISpanFormattable + public abstract partial class Enum : System.ValueType, System.IComparable, System.IConvertible, System.IFormattable, System.ISpanFormattable { protected Enum() { } public int CompareTo(object? target) { throw null; } @@ -2439,16 +2426,16 @@ protected Enum() { } public static string Format(System.Type enumType, object value, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("EnumFormat")] string format) { throw null; } public override int GetHashCode() { throw null; } public static string? GetName(System.Type enumType, object value) { throw null; } - public static string? GetName(TEnum value) where TEnum : struct, System.Enum { throw null; } public static string[] GetNames(System.Type enumType) { throw null; } - public static string[] GetNames() where TEnum: struct, System.Enum { throw null; } + public static string[] GetNames() where TEnum : struct { throw null; } + public static string? GetName(TEnum value) where TEnum : struct, System.Enum { throw null; } public System.TypeCode GetTypeCode() { throw null; } public static System.Type GetUnderlyingType(System.Type enumType) { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("It might not be possible to create an array of the enum type at runtime. Use the GetValues overload or the GetValuesAsUnderlyingType method instead.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("It might not be possible to create an array of the enum type at runtime. Use the GetValues overload or the GetValuesAsUnderlyingType method instead.")] public static System.Array GetValues(System.Type enumType) { throw null; } - public static TEnum[] GetValues() where TEnum : struct, System.Enum { throw null; } public static System.Array GetValuesAsUnderlyingType(System.Type enumType) { throw null; } public static System.Array GetValuesAsUnderlyingType() where TEnum : struct, System.Enum { throw null; } + public static TEnum[] GetValues() where TEnum : struct, System.Enum { throw null; } public bool HasFlag(System.Enum flag) { throw null; } public static bool IsDefined(System.Type enumType, object value) { throw null; } public static bool IsDefined(TEnum value) where TEnum : struct, System.Enum { throw null; } @@ -2475,6 +2462,7 @@ protected Enum() { } ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } public static object ToObject(System.Type enumType, byte value) { throw null; } public static object ToObject(System.Type enumType, short value) { throw null; } public static object ToObject(System.Type enumType, int value) { throw null; } @@ -2495,7 +2483,6 @@ protected Enum() { } [System.ObsoleteAttribute("The provider argument is not used. Use ToString(String) instead.")] public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("EnumFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static bool TryFormat(TEnum value, System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("EnumFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan)) where TEnum : struct { throw null; } - bool ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } public static bool TryParse(System.Type enumType, System.ReadOnlySpan value, bool ignoreCase, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out object? result) { throw null; } public static bool TryParse(System.Type enumType, System.ReadOnlySpan value, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out object? result) { throw null; } public static bool TryParse(System.Type enumType, string? value, bool ignoreCase, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out object? result) { throw null; } @@ -2621,8 +2608,8 @@ public EventArgs() { } public partial class Exception : System.Runtime.Serialization.ISerializable { public Exception() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected Exception(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public Exception(string? message) { } public Exception(string? message, System.Exception? innerException) { } @@ -2634,11 +2621,11 @@ public Exception(string? message, System.Exception? innerException) { } public virtual string? Source { get { throw null; } set { } } public virtual string? StackTrace { get { throw null; } } public System.Reflection.MethodBase? TargetSite { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Metadata for the method might be incomplete or removed")] get { throw null; } } - [System.ObsoleteAttribute("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId = "SYSLIB0011", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("BinaryFormatter serialization is obsolete and should not be used. See https://aka.ms/binaryformatter for more information.", DiagnosticId="SYSLIB0011", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected event System.EventHandler? SerializeObjectState { add { } remove { } } public virtual System.Exception GetBaseException() { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public new System.Type GetType() { throw null; } public override string ToString() { throw null; } @@ -2653,8 +2640,8 @@ public ExecutionEngineException(string? message, System.Exception? innerExceptio public partial class FieldAccessException : System.MemberAccessException { public FieldAccessException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected FieldAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public FieldAccessException(string? message) { } public FieldAccessException(string? message, System.Exception? inner) { } @@ -2667,8 +2654,8 @@ public FlagsAttribute() { } public partial class FormatException : System.SystemException { public FormatException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected FormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public FormatException(string? message) { } public FormatException(string? message, System.Exception? innerException) { } @@ -2719,15 +2706,18 @@ public static void Collect(int generation, System.GCCollectionMode mode, bool bl public static int CollectionCount(int generation) { throw null; } public static void EndNoGCRegion() { } public static long GetAllocatedBytesForCurrentThread() { throw null; } + public static System.Collections.Generic.IReadOnlyDictionary GetConfigurationVariables() { throw null; } public static System.GCMemoryInfo GetGCMemoryInfo() { throw null; } public static System.GCMemoryInfo GetGCMemoryInfo(System.GCKind kind) { throw null; } public static int GetGeneration(object obj) { throw null; } public static int GetGeneration(System.WeakReference wo) { throw null; } public static long GetTotalAllocatedBytes(bool precise = false) { throw null; } public static long GetTotalMemory(bool forceFullCollection) { throw null; } + public static System.TimeSpan GetTotalPauseDuration() { throw null; } public static void KeepAlive(object? obj) { } + public static void RefreshMemoryLimit() { } public static void RegisterForFullGCNotification(int maxGenerationThreshold, int largeObjectHeapThreshold) { } - public static void RegisterNoGCRegionCallback(long totalSize, Action callback) { } + public static void RegisterNoGCRegionCallback(long totalSize, System.Action callback) { } public static void RemoveMemoryPressure(long bytesAllocated) { } public static void ReRegisterForFinalize(object obj) { } public static void SuppressFinalize(object obj) { } @@ -2742,11 +2732,7 @@ public static void SuppressFinalize(object obj) { } public static System.GCNotificationStatus WaitForFullGCComplete(int millisecondsTimeout) { throw null; } public static System.GCNotificationStatus WaitForFullGCComplete(System.TimeSpan timeout) { throw null; } public static void WaitForPendingFinalizers() { } - public static TimeSpan GetTotalPauseDuration() { throw null; } - public static System.Collections.Generic.IReadOnlyDictionary GetConfigurationVariables() { throw null; } - public static void RefreshMemoryLimit() { throw null; } } - public enum GCCollectionMode { Default = 0, @@ -2754,7 +2740,6 @@ public enum GCCollectionMode Optimized = 2, Aggressive = 3, } - public readonly partial struct GCGenerationInfo { private readonly int _dummyPrimitive; @@ -2836,8 +2821,8 @@ public enum GCNotificationStatus public override string ToString() { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string? format, System.IFormatProvider? provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan)) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan)) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan)) { throw null; } public static bool TryParse(System.ReadOnlySpan input, out System.Guid result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out System.Guid result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, out System.Guid result) { throw null; } @@ -2845,10 +2830,9 @@ public enum GCNotificationStatus public static bool TryParseExact(System.ReadOnlySpan input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, out System.Guid result) { throw null; } public static bool TryParseExact([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string? format, out System.Guid result) { throw null; } public bool TryWriteBytes(System.Span destination) { throw null; } - public bool TryWriteBytes(Span destination, bool bigEndian, out int bytesWritten) { throw null; } - + public bool TryWriteBytes(System.Span destination, bool bigEndian, out int bytesWritten) { throw null; } } - public readonly partial struct Half : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Half : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly int _dummyPrimitive; public static System.Half E { get { throw null; } } @@ -3069,8 +3053,8 @@ public enum GCNotificationStatus public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static System.Half Truncate(System.Half x) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Half result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out System.Half result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out System.Half result) { throw null; } @@ -3202,7 +3186,7 @@ public InsufficientMemoryException() { } public InsufficientMemoryException(string? message) { } public InsufficientMemoryException(string? message, System.Exception? innerException) { } } - public readonly partial struct Int128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Int128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] @@ -3375,8 +3359,8 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static System.Int128 TrailingZeroCount(System.Int128 value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int128 result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out System.Int128 result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out System.Int128 result) { throw null; } @@ -3387,7 +3371,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out System.Int128 result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out System.Int128 result) { throw null; } } - public readonly partial struct Int16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Int16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly short _dummyPrimitive; public const short MaxValue = (short)32767; @@ -3514,8 +3498,8 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static short TrailingZeroCount(short value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out short result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out short result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out short result) { throw null; } @@ -3526,7 +3510,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out short result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out short result) { throw null; } } - public readonly partial struct Int32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Int32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly int _dummyPrimitive; public const int MaxValue = 2147483647; @@ -3653,8 +3637,8 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static int TrailingZeroCount(int value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out int result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out int result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out int result) { throw null; } @@ -3665,7 +3649,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out int result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out int result) { throw null; } } - public readonly partial struct Int64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Int64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly long _dummyPrimitive; public const long MaxValue = (long)9223372036854775807; @@ -3792,8 +3776,8 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static long TrailingZeroCount(long value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out long result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out long result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out long result) { throw null; } @@ -3804,7 +3788,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out long result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out long result) { throw null; } } - public readonly partial struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.ISerializable, System.IUtf8SpanFormattable + public readonly partial struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.ISerializable { private readonly unsafe void* _dummyPrimitive; public static readonly nint Zero; @@ -3938,8 +3922,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static nint TrailingZeroCount(nint value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out nint result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out nint result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out nint result) { throw null; } @@ -3953,8 +3937,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public partial class InvalidCastException : System.SystemException { public InvalidCastException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected InvalidCastException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public InvalidCastException(string? message) { } public InvalidCastException(string? message, System.Exception? innerException) { } @@ -3963,8 +3947,8 @@ public InvalidCastException(string? message, int errorCode) { } public partial class InvalidOperationException : System.SystemException { public InvalidOperationException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected InvalidOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public InvalidOperationException(string? message) { } public InvalidOperationException(string? message, System.Exception? innerException) { } @@ -3978,8 +3962,8 @@ public InvalidProgramException(string? message, System.Exception? inner) { } public partial class InvalidTimeZoneException : System.Exception { public InvalidTimeZoneException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected InvalidTimeZoneException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public InvalidTimeZoneException(string? message) { } public InvalidTimeZoneException(string? message, System.Exception? innerException) { } @@ -4065,9 +4049,9 @@ public LoaderOptimizationAttribute(System.LoaderOptimization value) { } public abstract partial class MarshalByRefObject { protected MarshalByRefObject() { } - [System.ObsoleteAttribute("This Remoting API is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0010", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("This Remoting API is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0010", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public object GetLifetimeService() { throw null; } - [System.ObsoleteAttribute("This Remoting API is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0010", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("This Remoting API is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0010", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual object InitializeLifetimeService() { throw null; } protected System.MarshalByRefObject MemberwiseClone(bool cloneIdentity) { throw null; } } @@ -4122,12 +4106,12 @@ public static partial class Math public static double CopySign(double x, double y) { throw null; } public static double Cos(double d) { throw null; } public static double Cosh(double value) { throw null; } - public static int DivRem(int a, int b, out int result) { throw null; } - public static long DivRem(long a, long b, out long result) { throw null; } public static (byte Quotient, byte Remainder) DivRem(byte left, byte right) { throw null; } public static (short Quotient, short Remainder) DivRem(short left, short right) { throw null; } public static (int Quotient, int Remainder) DivRem(int left, int right) { throw null; } + public static int DivRem(int a, int b, out int result) { throw null; } public static (long Quotient, long Remainder) DivRem(long left, long right) { throw null; } + public static long DivRem(long a, long b, out long result) { throw null; } public static (nint Quotient, nint Remainder) DivRem(nint left, nint right) { throw null; } [System.CLSCompliantAttribute(false)] public static (sbyte Quotient, sbyte Remainder) DivRem(sbyte left, sbyte right) { throw null; } @@ -4270,8 +4254,8 @@ public static partial class MathF public partial class MemberAccessException : System.SystemException { public MemberAccessException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MemberAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MemberAccessException(string? message) { } public MemberAccessException(string? message, System.Exception? inner) { } @@ -4305,8 +4289,8 @@ public void CopyTo(System.Memory destination) { } public partial class MethodAccessException : System.MemberAccessException { public MethodAccessException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MethodAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MethodAccessException(string? message) { } public MethodAccessException(string? message, System.Exception? inner) { } @@ -4322,8 +4306,8 @@ public enum MidpointRounding public partial class MissingFieldException : System.MissingMemberException { public MissingFieldException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MissingFieldException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MissingFieldException(string? message) { } public MissingFieldException(string? message, System.Exception? inner) { } @@ -4336,22 +4320,22 @@ public partial class MissingMemberException : System.MemberAccessException protected string? MemberName; protected byte[]? Signature; public MissingMemberException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MissingMemberException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MissingMemberException(string? message) { } public MissingMemberException(string? message, System.Exception? inner) { } public MissingMemberException(string? className, string? memberName) { } public override string Message { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class MissingMethodException : System.MissingMemberException { public MissingMethodException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MissingMethodException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MissingMethodException(string? message) { } public MissingMethodException(string? message, System.Exception? inner) { } @@ -4403,8 +4387,8 @@ public abstract partial class MulticastDelegate : System.Delegate public sealed override int GetHashCode() { throw null; } public sealed override System.Delegate[] GetInvocationList() { throw null; } protected override System.Reflection.MethodInfo GetMethodImpl() { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static bool operator ==(System.MulticastDelegate? d1, System.MulticastDelegate? d2) { throw null; } public static bool operator !=(System.MulticastDelegate? d1, System.MulticastDelegate? d2) { throw null; } @@ -4426,23 +4410,23 @@ public partial class NotFiniteNumberException : System.ArithmeticException { public NotFiniteNumberException() { } public NotFiniteNumberException(double offendingNumber) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected NotFiniteNumberException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public NotFiniteNumberException(string? message) { } public NotFiniteNumberException(string? message, double offendingNumber) { } public NotFiniteNumberException(string? message, double offendingNumber, System.Exception? innerException) { } public NotFiniteNumberException(string? message, System.Exception? innerException) { } public double OffendingNumber { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class NotImplementedException : System.SystemException { public NotImplementedException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected NotImplementedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public NotImplementedException(string? message) { } public NotImplementedException(string? message, System.Exception? inner) { } @@ -4450,8 +4434,8 @@ public NotImplementedException(string? message, System.Exception? inner) { } public partial class NotSupportedException : System.SystemException { public NotSupportedException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected NotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public NotSupportedException(string? message) { } public NotSupportedException(string? message, System.Exception? innerException) { } @@ -4481,8 +4465,8 @@ public partial struct Nullable where T : struct public partial class NullReferenceException : System.SystemException { public NullReferenceException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected NullReferenceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public NullReferenceException(string? message) { } public NullReferenceException(string? message, System.Exception? innerException) { } @@ -4490,27 +4474,27 @@ public NullReferenceException(string? message, System.Exception? innerException) public partial class Object { public Object() { } - public virtual bool Equals(System.Object? obj) { throw null; } - public static bool Equals(System.Object? objA, System.Object? objB) { throw null; } + public virtual bool Equals(object? obj) { throw null; } + public static bool Equals(object? objA, object? objB) { throw null; } ~Object() { } public virtual int GetHashCode() { throw null; } public System.Type GetType() { throw null; } - protected System.Object MemberwiseClone() { throw null; } - public static bool ReferenceEquals(System.Object? objA, System.Object? objB) { throw null; } + protected object MemberwiseClone() { throw null; } + public static bool ReferenceEquals(object? objA, object? objB) { throw null; } public virtual string? ToString() { throw null; } } public partial class ObjectDisposedException : System.InvalidOperationException { - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ObjectDisposedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ObjectDisposedException(string? objectName) { } public ObjectDisposedException(string? message, System.Exception? innerException) { } public ObjectDisposedException(string? objectName, string? message) { } public override string Message { get { throw null; } } public string ObjectName { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, object instance) => throw null; public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, System.Type type) => throw null; @@ -4534,13 +4518,12 @@ public OperatingSystem(System.PlatformID platform, System.Version version) { } public System.Version Version { get { throw null; } } public string VersionString { get { throw null; } } public object Clone() { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static bool IsAndroid() { throw null; } public static bool IsAndroidVersionAtLeast(int major, int minor = 0, int build = 0, int revision = 0) { throw null; } public static bool IsBrowser() { throw null; } - public static bool IsWasi() { throw null; } public static bool IsFreeBSD() { throw null; } public static bool IsFreeBSDVersionAtLeast(int major, int minor = 0, int build = 0, int revision = 0) { throw null; } [System.Runtime.Versioning.SupportedOSPlatformGuardAttribute("maccatalyst")] @@ -4556,6 +4539,7 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static bool IsOSPlatformVersionAtLeast(string platform, int major, int minor = 0, int build = 0, int revision = 0) { throw null; } public static bool IsTvOS() { throw null; } public static bool IsTvOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; } + public static bool IsWasi() { throw null; } public static bool IsWatchOS() { throw null; } public static bool IsWatchOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; } public static bool IsWindows() { throw null; } @@ -4565,8 +4549,8 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public partial class OperationCanceledException : System.SystemException { public OperationCanceledException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected OperationCanceledException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public OperationCanceledException(string? message) { } public OperationCanceledException(string? message, System.Exception? innerException) { } @@ -4578,8 +4562,8 @@ public OperationCanceledException(System.Threading.CancellationToken token) { } public partial class OutOfMemoryException : System.SystemException { public OutOfMemoryException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected OutOfMemoryException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public OutOfMemoryException(string? message) { } public OutOfMemoryException(string? message, System.Exception? innerException) { } @@ -4587,8 +4571,8 @@ public OutOfMemoryException(string? message, System.Exception? innerException) { public partial class OverflowException : System.ArithmeticException { public OverflowException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected OverflowException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public OverflowException(string? message) { } public OverflowException(string? message, System.Exception? innerException) { } @@ -4617,8 +4601,8 @@ public enum PlatformID public partial class PlatformNotSupportedException : System.NotSupportedException { public PlatformNotSupportedException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected PlatformNotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public PlatformNotSupportedException(string? message) { } public PlatformNotSupportedException(string? message, System.Exception? inner) { } @@ -4672,8 +4656,8 @@ public void Shuffle(T[] values) { } public partial class RankException : System.SystemException { public RankException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected RankException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public RankException(string? message) { } public RankException(string? message, System.Exception? innerException) { } @@ -4710,9 +4694,9 @@ public readonly ref partial struct ReadOnlySpan private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] public unsafe ReadOnlySpan(void* pointer, int length) { throw null; } + public ReadOnlySpan(ref readonly T reference) { throw null; } public ReadOnlySpan(T[]? array) { throw null; } public ReadOnlySpan(T[]? array, int start, int length) { throw null; } - public ReadOnlySpan(ref readonly T reference) { throw null; } public static System.ReadOnlySpan Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ref readonly T this[int index] { get { throw null; } } @@ -4763,14 +4747,14 @@ public partial struct RuntimeFieldHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { @@ -4779,15 +4763,15 @@ public partial struct RuntimeMethodHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { @@ -4796,20 +4780,20 @@ public partial struct RuntimeTypeHandle : System.IEquatable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly sbyte _dummyPrimitive; public const sbyte MaxValue = (sbyte)127; @@ -4936,8 +4920,8 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static sbyte TrailingZeroCount(sbyte value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out sbyte result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out sbyte result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out sbyte result) { throw null; } @@ -4954,7 +4938,7 @@ public sealed partial class SerializableAttribute : System.Attribute { public SerializableAttribute() { } } - public readonly partial struct Single : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable + public readonly partial struct Single : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryFloatingPointIeee754, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators { private readonly float _dummyPrimitive; public const float E = 2.7182817f; @@ -5141,8 +5125,8 @@ public SerializableAttribute() { } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static float Truncate(float x) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out float result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out float result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out float result) { throw null; } @@ -5160,9 +5144,9 @@ public readonly ref partial struct Span private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] public unsafe Span(void* pointer, int length) { throw null; } + public Span(ref T reference) { throw null; } public Span(T[]? array) { throw null; } public Span(T[]? array, int start, int length) { throw null; } - public Span(ref T reference) { throw null; } public static System.Span Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ref T this[int index] { get { throw null; } } @@ -5229,68 +5213,68 @@ public unsafe String(sbyte* value, int startIndex, int length, System.Text.Encod public char this[int index] { get { throw null; } } public int Length { get { throw null; } } public object Clone() { throw null; } - public static int Compare(System.String? strA, int indexA, System.String? strB, int indexB, int length) { throw null; } - public static int Compare(System.String? strA, int indexA, System.String? strB, int indexB, int length, bool ignoreCase) { throw null; } - public static int Compare(System.String? strA, int indexA, System.String? strB, int indexB, int length, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } - public static int Compare(System.String? strA, int indexA, System.String? strB, int indexB, int length, System.Globalization.CultureInfo? culture, System.Globalization.CompareOptions options) { throw null; } - public static int Compare(System.String? strA, int indexA, System.String? strB, int indexB, int length, System.StringComparison comparisonType) { throw null; } - public static int Compare(System.String? strA, System.String? strB) { throw null; } - public static int Compare(System.String? strA, System.String? strB, bool ignoreCase) { throw null; } - public static int Compare(System.String? strA, System.String? strB, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } - public static int Compare(System.String? strA, System.String? strB, System.Globalization.CultureInfo? culture, System.Globalization.CompareOptions options) { throw null; } - public static int Compare(System.String? strA, System.String? strB, System.StringComparison comparisonType) { throw null; } - public static int CompareOrdinal(System.String? strA, int indexA, System.String? strB, int indexB, int length) { throw null; } - public static int CompareOrdinal(System.String? strA, System.String? strB) { throw null; } + public static int Compare(string? strA, int indexA, string? strB, int indexB, int length) { throw null; } + public static int Compare(string? strA, int indexA, string? strB, int indexB, int length, bool ignoreCase) { throw null; } + public static int Compare(string? strA, int indexA, string? strB, int indexB, int length, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } + public static int Compare(string? strA, int indexA, string? strB, int indexB, int length, System.Globalization.CultureInfo? culture, System.Globalization.CompareOptions options) { throw null; } + public static int Compare(string? strA, int indexA, string? strB, int indexB, int length, System.StringComparison comparisonType) { throw null; } + public static int Compare(string? strA, string? strB) { throw null; } + public static int Compare(string? strA, string? strB, bool ignoreCase) { throw null; } + public static int Compare(string? strA, string? strB, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } + public static int Compare(string? strA, string? strB, System.Globalization.CultureInfo? culture, System.Globalization.CompareOptions options) { throw null; } + public static int Compare(string? strA, string? strB, System.StringComparison comparisonType) { throw null; } + public static int CompareOrdinal(string? strA, int indexA, string? strB, int indexB, int length) { throw null; } + public static int CompareOrdinal(string? strA, string? strB) { throw null; } public int CompareTo(object? value) { throw null; } - public int CompareTo(System.String? strB) { throw null; } - public static System.String Concat(System.Collections.Generic.IEnumerable values) { throw null; } - public static System.String Concat(object? arg0) { throw null; } - public static System.String Concat(object? arg0, object? arg1) { throw null; } - public static System.String Concat(object? arg0, object? arg1, object? arg2) { throw null; } - public static System.String Concat(params object?[] args) { throw null; } - public static System.String Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1) { throw null; } - public static System.String Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2) { throw null; } - public static System.String Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2, System.ReadOnlySpan str3) { throw null; } - public static System.String Concat(System.String? str0, System.String? str1) { throw null; } - public static System.String Concat(System.String? str0, System.String? str1, System.String? str2) { throw null; } - public static System.String Concat(System.String? str0, System.String? str1, System.String? str2, System.String? str3) { throw null; } - public static System.String Concat(params string?[] values) { throw null; } - public static System.String Concat(System.Collections.Generic.IEnumerable values) { throw null; } + public int CompareTo(string? strB) { throw null; } + public static string Concat(System.Collections.Generic.IEnumerable values) { throw null; } + public static string Concat(object? arg0) { throw null; } + public static string Concat(object? arg0, object? arg1) { throw null; } + public static string Concat(object? arg0, object? arg1, object? arg2) { throw null; } + public static string Concat(params object?[] args) { throw null; } + public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1) { throw null; } + public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2) { throw null; } + public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2, System.ReadOnlySpan str3) { throw null; } + public static string Concat(string? str0, string? str1) { throw null; } + public static string Concat(string? str0, string? str1, string? str2) { throw null; } + public static string Concat(string? str0, string? str1, string? str2, string? str3) { throw null; } + public static string Concat(params string?[] values) { throw null; } + public static string Concat(System.Collections.Generic.IEnumerable values) { throw null; } public bool Contains(char value) { throw null; } public bool Contains(char value, System.StringComparison comparisonType) { throw null; } - public bool Contains(System.String value) { throw null; } - public bool Contains(System.String value, System.StringComparison comparisonType) { throw null; } + public bool Contains(string value) { throw null; } + public bool Contains(string value, System.StringComparison comparisonType) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API should not be used to create mutable strings. See https://go.microsoft.com/fwlink/?linkid=2084035 for alternatives.")] - public static System.String Copy(System.String str) { throw null; } + public static string Copy(string str) { throw null; } public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count) { } public void CopyTo(System.Span destination) { } - public static System.String Create(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } - public static System.String Create(System.IFormatProvider? provider, System.Span initialBuffer, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "provider", "initialBuffer"})] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } - public static System.String Create(int length, TState state, System.Buffers.SpanAction action) { throw null; } + public static string Create(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } + public static string Create(System.IFormatProvider? provider, System.Span initialBuffer, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "provider", "initialBuffer"})] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } + public static string Create(int length, TState state, System.Buffers.SpanAction action) { throw null; } public bool EndsWith(char value) { throw null; } - public bool EndsWith(System.String value) { throw null; } - public bool EndsWith(System.String value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } - public bool EndsWith(System.String value, System.StringComparison comparisonType) { throw null; } + public bool EndsWith(string value) { throw null; } + public bool EndsWith(string value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } + public bool EndsWith(string value, System.StringComparison comparisonType) { throw null; } public System.Text.StringRuneEnumerator EnumerateRunes() { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } - public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.String? value) { throw null; } - public static bool Equals(System.String? a, System.String? b) { throw null; } - public static bool Equals(System.String? a, System.String? b, System.StringComparison comparisonType) { throw null; } - public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.String? value, System.StringComparison comparisonType) { throw null; } - public static System.String Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, object? arg0) { throw null; } - public static System.String Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, object? arg0, object? arg1) { throw null; } - public static System.String Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, object? arg0, object? arg1, object? arg2) { throw null; } - public static System.String Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, params object?[] args) { throw null; } - public static System.String Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, object? arg0) { throw null; } - public static System.String Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, object? arg0, object? arg1) { throw null; } - public static System.String Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, object? arg0, object? arg1, object? arg2) { throw null; } - public static System.String Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] System.String format, params object?[] args) { throw null; } - public static System.String Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } - public static System.String Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } - public static System.String Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } - public static System.String Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } - public static System.String Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, System.ReadOnlySpan args) { throw null; } + public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value) { throw null; } + public static bool Equals(string? a, string? b) { throw null; } + public static bool Equals(string? a, string? b, System.StringComparison comparisonType) { throw null; } + public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value, System.StringComparison comparisonType) { throw null; } + public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } + public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } + public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } + public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, System.ReadOnlySpan args) { throw null; } + public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } + public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } + public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } + public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } public System.CharEnumerator GetEnumerator() { throw null; } public override int GetHashCode() { throw null; } public static int GetHashCode(System.ReadOnlySpan value) { throw null; } @@ -5303,76 +5287,76 @@ public void CopyTo(System.Span destination) { } public int IndexOf(char value, int startIndex) { throw null; } public int IndexOf(char value, int startIndex, int count) { throw null; } public int IndexOf(char value, System.StringComparison comparisonType) { throw null; } - public int IndexOf(System.String value) { throw null; } - public int IndexOf(System.String value, int startIndex) { throw null; } - public int IndexOf(System.String value, int startIndex, int count) { throw null; } - public int IndexOf(System.String value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } - public int IndexOf(System.String value, int startIndex, System.StringComparison comparisonType) { throw null; } - public int IndexOf(System.String value, System.StringComparison comparisonType) { throw null; } + public int IndexOf(string value) { throw null; } + public int IndexOf(string value, int startIndex) { throw null; } + public int IndexOf(string value, int startIndex, int count) { throw null; } + public int IndexOf(string value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } + public int IndexOf(string value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int IndexOf(string value, System.StringComparison comparisonType) { throw null; } public int IndexOfAny(char[] anyOf) { throw null; } public int IndexOfAny(char[] anyOf, int startIndex) { throw null; } public int IndexOfAny(char[] anyOf, int startIndex, int count) { throw null; } - public System.String Insert(int startIndex, System.String value) { throw null; } - public static System.String Intern(System.String str) { throw null; } - public static System.String? IsInterned(System.String str) { throw null; } + public string Insert(int startIndex, string value) { throw null; } + public static string Intern(string str) { throw null; } + public static string? IsInterned(string str) { throw null; } public bool IsNormalized() { throw null; } public bool IsNormalized(System.Text.NormalizationForm normalizationForm) { throw null; } - public static bool IsNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] System.String? value) { throw null; } - public static bool IsNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] System.String? value) { throw null; } - public static System.String Join(char separator, params object?[] values) { throw null; } - public static System.String Join(char separator, params string?[] value) { throw null; } - public static System.String Join(char separator, string?[] value, int startIndex, int count) { throw null; } - public static System.String Join(System.String? separator, System.Collections.Generic.IEnumerable values) { throw null; } - public static System.String Join(System.String? separator, params object?[] values) { throw null; } - public static System.String Join(System.String? separator, params string?[] value) { throw null; } - public static System.String Join(System.String? separator, string?[] value, int startIndex, int count) { throw null; } - public static System.String Join(char separator, System.Collections.Generic.IEnumerable values) { throw null; } - public static System.String Join(System.String? separator, System.Collections.Generic.IEnumerable values) { throw null; } + public static bool IsNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] string? value) { throw null; } + public static bool IsNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] string? value) { throw null; } + public static string Join(char separator, params object?[] values) { throw null; } + public static string Join(char separator, params string?[] value) { throw null; } + public static string Join(char separator, string?[] value, int startIndex, int count) { throw null; } + public static string Join(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } + public static string Join(string? separator, params object?[] values) { throw null; } + public static string Join(string? separator, params string?[] value) { throw null; } + public static string Join(string? separator, string?[] value, int startIndex, int count) { throw null; } + public static string Join(char separator, System.Collections.Generic.IEnumerable values) { throw null; } + public static string Join(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public int LastIndexOf(char value) { throw null; } public int LastIndexOf(char value, int startIndex) { throw null; } public int LastIndexOf(char value, int startIndex, int count) { throw null; } - public int LastIndexOf(System.String value) { throw null; } - public int LastIndexOf(System.String value, int startIndex) { throw null; } - public int LastIndexOf(System.String value, int startIndex, int count) { throw null; } - public int LastIndexOf(System.String value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } - public int LastIndexOf(System.String value, int startIndex, System.StringComparison comparisonType) { throw null; } - public int LastIndexOf(System.String value, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(string value) { throw null; } + public int LastIndexOf(string value, int startIndex) { throw null; } + public int LastIndexOf(string value, int startIndex, int count) { throw null; } + public int LastIndexOf(string value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(string value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(string value, System.StringComparison comparisonType) { throw null; } public int LastIndexOfAny(char[] anyOf) { throw null; } public int LastIndexOfAny(char[] anyOf, int startIndex) { throw null; } public int LastIndexOfAny(char[] anyOf, int startIndex, int count) { throw null; } - public System.String Normalize() { throw null; } - public System.String Normalize(System.Text.NormalizationForm normalizationForm) { throw null; } - public static bool operator ==(System.String? a, System.String? b) { throw null; } - public static implicit operator System.ReadOnlySpan (System.String? value) { throw null; } - public static bool operator !=(System.String? a, System.String? b) { throw null; } - public System.String PadLeft(int totalWidth) { throw null; } - public System.String PadLeft(int totalWidth, char paddingChar) { throw null; } - public System.String PadRight(int totalWidth) { throw null; } - public System.String PadRight(int totalWidth, char paddingChar) { throw null; } - public System.String Remove(int startIndex) { throw null; } - public System.String Remove(int startIndex, int count) { throw null; } - public System.String Replace(char oldChar, char newChar) { throw null; } - public System.String Replace(System.String oldValue, System.String? newValue) { throw null; } - public System.String Replace(System.String oldValue, System.String? newValue, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } - public System.String Replace(System.String oldValue, System.String? newValue, System.StringComparison comparisonType) { throw null; } - public System.String ReplaceLineEndings() { throw null; } - public System.String ReplaceLineEndings(System.String replacementText) { throw null; } + public string Normalize() { throw null; } + public string Normalize(System.Text.NormalizationForm normalizationForm) { throw null; } + public static bool operator ==(string? a, string? b) { throw null; } + public static implicit operator System.ReadOnlySpan (string? value) { throw null; } + public static bool operator !=(string? a, string? b) { throw null; } + public string PadLeft(int totalWidth) { throw null; } + public string PadLeft(int totalWidth, char paddingChar) { throw null; } + public string PadRight(int totalWidth) { throw null; } + public string PadRight(int totalWidth, char paddingChar) { throw null; } + public string Remove(int startIndex) { throw null; } + public string Remove(int startIndex, int count) { throw null; } + public string Replace(char oldChar, char newChar) { throw null; } + public string Replace(string oldValue, string? newValue) { throw null; } + public string Replace(string oldValue, string? newValue, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } + public string Replace(string oldValue, string? newValue, System.StringComparison comparisonType) { throw null; } + public string ReplaceLineEndings() { throw null; } + public string ReplaceLineEndings(string replacementText) { throw null; } public string[] Split(char separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(char separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(params char[]? separator) { throw null; } public string[] Split(char[]? separator, int count) { throw null; } public string[] Split(char[]? separator, int count, System.StringSplitOptions options) { throw null; } public string[] Split(char[]? separator, System.StringSplitOptions options) { throw null; } - public string[] Split(System.String? separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } - public string[] Split(System.String? separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } + public string[] Split(string? separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } + public string[] Split(string? separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(string[]? separator, int count, System.StringSplitOptions options) { throw null; } public string[] Split(string[]? separator, System.StringSplitOptions options) { throw null; } public bool StartsWith(char value) { throw null; } - public bool StartsWith(System.String value) { throw null; } - public bool StartsWith(System.String value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } - public bool StartsWith(System.String value, System.StringComparison comparisonType) { throw null; } - public System.String Substring(int startIndex) { throw null; } - public System.String Substring(int startIndex, int length) { throw null; } + public bool StartsWith(string value) { throw null; } + public bool StartsWith(string value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } + public bool StartsWith(string value, System.StringComparison comparisonType) { throw null; } + public string Substring(int startIndex) { throw null; } + public string Substring(int startIndex, int length) { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } @@ -5392,27 +5376,27 @@ public void CopyTo(System.Span destination) { } ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static string System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } - static string System.ISpanParsable.Parse(ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } - static bool System.ISpanParsable.TryParse(ReadOnlySpan s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } + static string System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } public char[] ToCharArray() { throw null; } public char[] ToCharArray(int startIndex, int length) { throw null; } - public System.String ToLower() { throw null; } - public System.String ToLower(System.Globalization.CultureInfo? culture) { throw null; } - public System.String ToLowerInvariant() { throw null; } - public override System.String ToString() { throw null; } - public System.String ToString(System.IFormatProvider? provider) { throw null; } - public System.String ToUpper() { throw null; } - public System.String ToUpper(System.Globalization.CultureInfo? culture) { throw null; } - public System.String ToUpperInvariant() { throw null; } - public System.String Trim() { throw null; } - public System.String Trim(char trimChar) { throw null; } - public System.String Trim(params char[]? trimChars) { throw null; } - public System.String TrimEnd() { throw null; } - public System.String TrimEnd(char trimChar) { throw null; } - public System.String TrimEnd(params char[]? trimChars) { throw null; } - public System.String TrimStart() { throw null; } - public System.String TrimStart(char trimChar) { throw null; } - public System.String TrimStart(params char[]? trimChars) { throw null; } + public string ToLower() { throw null; } + public string ToLower(System.Globalization.CultureInfo? culture) { throw null; } + public string ToLowerInvariant() { throw null; } + public override string ToString() { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToUpper() { throw null; } + public string ToUpper(System.Globalization.CultureInfo? culture) { throw null; } + public string ToUpperInvariant() { throw null; } + public string Trim() { throw null; } + public string Trim(char trimChar) { throw null; } + public string Trim(params char[]? trimChars) { throw null; } + public string TrimEnd() { throw null; } + public string TrimEnd(char trimChar) { throw null; } + public string TrimEnd(params char[]? trimChars) { throw null; } + public string TrimStart() { throw null; } + public string TrimStart(char trimChar) { throw null; } + public string TrimStart(params char[]? trimChars) { throw null; } public bool TryCopyTo(System.Span destination) { throw null; } } public abstract partial class StringComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.IComparer, System.Collections.IEqualityComparer @@ -5462,8 +5446,8 @@ public enum StringSplitOptions public partial class SystemException : System.Exception { public SystemException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected SystemException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public SystemException(string? message) { } public SystemException(string? message, System.Exception? innerException) { } @@ -5498,6 +5482,14 @@ public ThreadStaticAttribute() { } public System.TimeOnly AddMinutes(double value, out int wrappedDays) { throw null; } public int CompareTo(object? value) { throw null; } public int CompareTo(System.TimeOnly value) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out int hour, out int minute) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out int hour, out int minute, out int second) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out int hour, out int minute, out int second, out int millisecond) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out int hour, out int minute, out int second, out int millisecond, out int microsecond) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; } public bool Equals(System.TimeOnly value) { throw null; } public static System.TimeOnly FromDateTime(System.DateTime dateTime) { throw null; } @@ -5510,14 +5502,6 @@ public ThreadStaticAttribute() { } public static bool operator !=(System.TimeOnly left, System.TimeOnly right) { throw null; } public static bool operator <(System.TimeOnly left, System.TimeOnly right) { throw null; } public static bool operator <=(System.TimeOnly left, System.TimeOnly right) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out int hour, out int minute) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out int hour, out int minute, out int second) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out int hour, out int minute, out int second, out int millisecond) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out int hour, out int minute, out int second, out int millisecond, out int microsecond) { throw null; } public static System.TimeSpan operator -(System.TimeOnly t1, System.TimeOnly t2) { throw null; } public static System.TimeOnly Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } public static System.TimeOnly Parse(System.ReadOnlySpan s, System.IFormatProvider? provider = null, System.Globalization.DateTimeStyles style = System.Globalization.DateTimeStyles.None) { throw null; } @@ -5538,8 +5522,8 @@ public ThreadStaticAttribute() { } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] string? format, System.IFormatProvider? provider) { throw null; } public System.TimeSpan ToTimeSpan() { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeOnlyFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.TimeOnly result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out System.TimeOnly result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.TimeOnly result) { throw null; } @@ -5558,12 +5542,25 @@ public ThreadStaticAttribute() { } public partial class TimeoutException : System.SystemException { public TimeoutException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TimeoutException(string? message) { } public TimeoutException(string? message, System.Exception? innerException) { } } + public abstract partial class TimeProvider + { + protected TimeProvider() { } + public virtual System.TimeZoneInfo LocalTimeZone { get { throw null; } } + public static System.TimeProvider System { get { throw null; } } + public virtual long TimestampFrequency { get { throw null; } } + public virtual System.Threading.ITimer CreateTimer(System.Threading.TimerCallback callback, object? state, System.TimeSpan dueTime, System.TimeSpan period) { throw null; } + public System.TimeSpan GetElapsedTime(long startingTimestamp) { throw null; } + public System.TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp) { throw null; } + public System.DateTimeOffset GetLocalNow() { throw null; } + public virtual long GetTimestamp() { throw null; } + public virtual System.DateTimeOffset GetUtcNow() { throw null; } + } public readonly partial struct TimeSpan : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable { private readonly int _dummyPrimitive; @@ -5644,8 +5641,8 @@ public TimeoutException(string? message, System.Exception? innerException) { } public override string ToString() { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeSpanFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeSpanFormat")] string? format, System.IFormatProvider? formatProvider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeSpanFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? formatProvider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeSpanFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? formatProvider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("TimeSpanFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? formatProvider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan input, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.TimeSpan result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } @@ -5701,7 +5698,6 @@ public static void ClearCachedData() { } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.TimeZoneInfo? other) { throw null; } public static System.TimeZoneInfo FindSystemTimeZoneById(string id) { throw null; } - public static bool TryFindSystemTimeZoneById(string id, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.TimeZoneInfo? timeZoneInfo) { throw null; } public static System.TimeZoneInfo FromSerializedString(string source) { throw null; } public System.TimeZoneInfo.AdjustmentRule[] GetAdjustmentRules() { throw null; } public System.TimeSpan[] GetAmbiguousTimeOffsets(System.DateTime dateTime) { throw null; } @@ -5724,6 +5720,7 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public static bool TryConvertIanaIdToWindowsId(string ianaId, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? windowsId) { throw null; } public static bool TryConvertWindowsIdToIanaId(string windowsId, string? region, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? ianaId) { throw null; } public static bool TryConvertWindowsIdToIanaId(string windowsId, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? ianaId) { throw null; } + public static bool TryFindSystemTimeZoneById(string id, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.TimeZoneInfo? timeZoneInfo) { throw null; } public sealed partial class AdjustmentRule : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { internal AdjustmentRule() { } @@ -5735,8 +5732,8 @@ internal AdjustmentRule() { } public System.TimeZoneInfo.TransitionTime DaylightTransitionStart { get { throw null; } } public static System.TimeZoneInfo.AdjustmentRule CreateAdjustmentRule(System.DateTime dateStart, System.DateTime dateEnd, System.TimeSpan daylightDelta, System.TimeZoneInfo.TransitionTime daylightTransitionStart, System.TimeZoneInfo.TransitionTime daylightTransitionEnd) { throw null; } public static System.TimeZoneInfo.AdjustmentRule CreateAdjustmentRule(System.DateTime dateStart, System.DateTime dateEnd, System.TimeSpan daylightDelta, System.TimeZoneInfo.TransitionTime daylightTransitionStart, System.TimeZoneInfo.TransitionTime daylightTransitionEnd, System.TimeSpan baseUtcOffsetDelta) { throw null; } - public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.TimeZoneInfo.AdjustmentRule? other) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } + public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.TimeZoneInfo.AdjustmentRule? other) { throw null; } public override int GetHashCode() { throw null; } void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } @@ -5764,8 +5761,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public partial class TimeZoneNotFoundException : System.Exception { public TimeZoneNotFoundException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TimeZoneNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TimeZoneNotFoundException(string? message) { } public TimeZoneNotFoundException(string? message, System.Exception? innerException) { } @@ -6069,7 +6066,7 @@ protected Type() { } public virtual bool IsSecurityCritical { get { throw null; } } public virtual bool IsSecuritySafeCritical { get { throw null; } } public virtual bool IsSecurityTransparent { get { throw null; } } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual bool IsSerializable { get { throw null; } } public virtual bool IsSignatureType { get { throw null; } } public bool IsSpecialName { get { throw null; } } @@ -6116,7 +6113,7 @@ protected Type() { } public virtual string? GetEnumName(object value) { throw null; } public virtual string[] GetEnumNames() { throw null; } public virtual System.Type GetEnumUnderlyingType() { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("It might not be possible to create an array of the enum type at runtime. Use Enum.GetValues or the GetEnumValuesAsUnderlyingType method instead.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("It might not be possible to create an array of the enum type at runtime. Use Enum.GetValues or the GetEnumValuesAsUnderlyingType method instead.")] public virtual System.Array GetEnumValues() { throw null; } public virtual System.Array GetEnumValuesAsUnderlyingType() { throw null; } [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)] @@ -6292,15 +6289,15 @@ protected Type() { } public virtual System.Type MakePointerType() { throw null; } public static bool operator ==(System.Type? left, System.Type? right) { throw null; } public static bool operator !=(System.Type? left, System.Type? right) { throw null; } - [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0018", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0018", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.Type? ReflectionOnlyGetType(string typeName, bool throwIfNotFound, bool ignoreCase) { throw null; } public override string ToString() { throw null; } } public partial class TypeAccessException : System.TypeLoadException { public TypeAccessException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TypeAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TypeAccessException(string? message) { } public TypeAccessException(string? message, System.Exception? inner) { } @@ -6343,35 +6340,35 @@ public sealed partial class TypeInitializationException : System.SystemException { public TypeInitializationException(string? fullTypeName, System.Exception? innerException) { } public string TypeName { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class TypeLoadException : System.SystemException { public TypeLoadException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TypeLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TypeLoadException(string? message) { } public TypeLoadException(string? message, System.Exception? inner) { } public override string Message { get { throw null; } } public string TypeName { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class TypeUnloadedException : System.SystemException { public TypeUnloadedException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TypeUnloadedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TypeUnloadedException(string? message) { } public TypeUnloadedException(string? message, System.Exception? innerException) { } } [System.CLSCompliantAttribute(false)] - public readonly partial struct UInt128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.IUtf8SpanFormattable + public readonly partial struct UInt128 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] @@ -6549,8 +6546,8 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static System.UInt128 TrailingZeroCount(System.UInt128 value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt128 result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out System.UInt128 result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out System.UInt128 result) { throw null; } @@ -6562,7 +6559,7 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out System.UInt128 result) { throw null; } } [System.CLSCompliantAttribute(false)] - public readonly partial struct UInt16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.IUtf8SpanFormattable + public readonly partial struct UInt16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { private readonly ushort _dummyPrimitive; public const ushort MaxValue = (ushort)65535; @@ -6688,8 +6685,8 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static ushort TrailingZeroCount(ushort value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out ushort result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out ushort result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out ushort result) { throw null; } @@ -6701,7 +6698,7 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out ushort result) { throw null; } } [System.CLSCompliantAttribute(false)] - public readonly partial struct UInt32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.IUtf8SpanFormattable + public readonly partial struct UInt32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { private readonly uint _dummyPrimitive; public const uint MaxValue = (uint)4294967295; @@ -6827,8 +6824,8 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static uint TrailingZeroCount(uint value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out uint result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out uint result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out uint result) { throw null; } @@ -6840,7 +6837,7 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out uint result) { throw null; } } [System.CLSCompliantAttribute(false)] - public readonly partial struct UInt64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.IUtf8SpanFormattable + public readonly partial struct UInt64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber { private readonly ulong _dummyPrimitive; public const ulong MaxValue = (ulong)18446744073709551615; @@ -6966,8 +6963,8 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format) { throw null; } public string ToString([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] string? format, System.IFormatProvider? provider) { throw null; } public static ulong TrailingZeroCount(ulong value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out ulong result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out ulong result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out ulong result) { throw null; } @@ -6979,7 +6976,7 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, out ulong result) { throw null; } } [System.CLSCompliantAttribute(false)] - public readonly partial struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.Runtime.Serialization.ISerializable, System.IUtf8SpanFormattable + public readonly partial struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.Runtime.Serialization.ISerializable { private readonly unsafe void* _dummyPrimitive; public static readonly nuint Zero; @@ -7108,8 +7105,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public uint ToUInt32() { throw null; } public ulong ToUInt64() { throw null; } public static nuint TrailingZeroCount(nuint value) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("NumericFormat")] System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out nuint result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out nuint result) { throw null; } public static bool TryParse(System.ReadOnlySpan utf8Text, out nuint result) { throw null; } @@ -7123,8 +7120,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public partial class UnauthorizedAccessException : System.SystemException { public UnauthorizedAccessException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected UnauthorizedAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public UnauthorizedAccessException(string? message) { } public UnauthorizedAccessException(string? message, System.Exception? inner) { } @@ -7354,10 +7351,10 @@ public Version(string version) { } bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } public override string ToString() { throw null; } public string ToString(int fieldCount) { throw null; } - public bool TryFormat(System.Span destination, int fieldCount, out int charsWritten) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } public bool TryFormat(System.Span utf8Destination, int fieldCount, out int bytesWritten) { throw null; } public bool TryFormat(System.Span utf8Destination, out int bytesWritten) { throw null; } + public bool TryFormat(System.Span destination, int fieldCount, out int charsWritten) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } public static bool TryParse(System.ReadOnlySpan input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version? result) { throw null; } public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version? result) { throw null; } } @@ -7368,15 +7365,15 @@ public partial class WeakReference : System.Runtime.Serialization.ISerializable { public WeakReference(object? target) { } public WeakReference(object? target, bool trackResurrection) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected WeakReference(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public virtual bool IsAlive { get { throw null; } } public virtual object? Target { get { throw null; } set { } } public virtual bool TrackResurrection { get { throw null; } } ~WeakReference() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public sealed partial class WeakReference : System.Runtime.Serialization.ISerializable where T : class? @@ -7384,8 +7381,8 @@ public sealed partial class WeakReference : System.Runtime.Serialization.ISer public WeakReference(T target) { } public WeakReference(T target, bool trackResurrection) { } ~WeakReference() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public void SetTarget(T target) { } public bool TryGetTarget([System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false), System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out T target) { throw null; } @@ -7406,17 +7403,6 @@ public partial interface IMemoryOwner : System.IDisposable { System.Memory Memory { get; } } - public class SearchValues where T : System.IEquatable? - { - internal SearchValues() { } - public bool Contains(T value) { throw null; } - } - public static class SearchValues - { - public static System.Buffers.SearchValues Create(System.ReadOnlySpan values) { throw null; } - public static System.Buffers.SearchValues Create(System.ReadOnlySpan values) { throw null; } - public static System.Buffers.SearchValues Create(System.ReadOnlySpan values, System.StringComparison comparisonType) { throw null; } - } public partial interface IPinnable { System.Buffers.MemoryHandle Pin(int elementIndex); @@ -7453,6 +7439,17 @@ public enum OperationStatus InvalidData = 3, } public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg); + public static partial class SearchValues + { + public static System.Buffers.SearchValues Create(System.ReadOnlySpan values) { throw null; } + public static System.Buffers.SearchValues Create(System.ReadOnlySpan values) { throw null; } + public static System.Buffers.SearchValues Create(System.ReadOnlySpan values, System.StringComparison comparisonType) { throw null; } + } + public partial class SearchValues where T : System.IEquatable? + { + internal SearchValues() { } + public bool Contains(T value) { throw null; } + } public delegate void SpanAction(System.Span span, TArg arg); } namespace System.Buffers.Text @@ -7465,10 +7462,10 @@ public static partial class Base64 public static System.Buffers.OperationStatus EncodeToUtf8InPlace(System.Span buffer, int dataLength, out int bytesWritten) { throw null; } public static int GetMaxDecodedFromUtf8Length(int length) { throw null; } public static int GetMaxEncodedToUtf8Length(int length) { throw null; } - public static bool IsValid(System.ReadOnlySpan base64Text) { throw null; } - public static bool IsValid(System.ReadOnlySpan base64Text, out int decodedLength) { throw null; } public static bool IsValid(System.ReadOnlySpan base64TextUtf8) { throw null; } public static bool IsValid(System.ReadOnlySpan base64TextUtf8, out int decodedLength) { throw null; } + public static bool IsValid(System.ReadOnlySpan base64Text) { throw null; } + public static bool IsValid(System.ReadOnlySpan base64Text, out int decodedLength) { throw null; } } } namespace System.CodeDom.Compiler @@ -7595,7 +7592,7 @@ public virtual void Sort(int index, int count, System.Collections.IComparer? com public static System.Collections.ArrayList Synchronized(System.Collections.ArrayList list) { throw null; } public static System.Collections.IList Synchronized(System.Collections.IList list) { throw null; } public virtual object?[] ToArray() { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("The code for an array of the specified type might not be available.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("The code for an array of the specified type might not be available.")] public virtual System.Array ToArray(System.Type type) { throw null; } public virtual void TrimToSize() { } } @@ -7605,8 +7602,8 @@ public sealed partial class Comparer : System.Collections.IComparer, System.Runt public static readonly System.Collections.Comparer DefaultInvariant; public Comparer(System.Globalization.CultureInfo culture) { } public int Compare(object? a, object? b) { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial struct DictionaryEntry @@ -7641,8 +7638,8 @@ public Hashtable(int capacity, float loadFactor) { } public Hashtable(int capacity, float loadFactor, System.Collections.IEqualityComparer? equalityComparer) { } [System.ObsoleteAttribute("This constructor has been deprecated. Use Hashtable(int, float, IEqualityComparer) instead.")] public Hashtable(int capacity, float loadFactor, System.Collections.IHashCodeProvider? hcp, System.Collections.IComparer? comparer) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected Hashtable(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } [System.ObsoleteAttribute("Hashtable.comparer has been deprecated. Use the KeyComparer properties instead.")] protected System.Collections.IComparer? comparer { get { throw null; } set { } } @@ -7666,8 +7663,8 @@ public virtual void Clear() { } public virtual void CopyTo(System.Array array, int arrayIndex) { } public virtual System.Collections.IDictionaryEnumerator GetEnumerator() { throw null; } protected virtual int GetHash(object key) { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } protected virtual bool KeyEquals(object? item, object key) { throw null; } public virtual void OnDeserialization(object? sender) { } @@ -7848,8 +7845,8 @@ public partial interface ISet : System.Collections.Generic.ICollection, Sy public partial class KeyNotFoundException : System.SystemException { public KeyNotFoundException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected KeyNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public KeyNotFoundException(string? message) { } public KeyNotFoundException(string? message, System.Exception? innerException) { } @@ -7986,11 +7983,11 @@ internal KeyCollection() { } bool System.Collections.Generic.ICollection.IsReadOnly { get { throw null; } } bool System.Collections.ICollection.IsSynchronized { get { throw null; } } object System.Collections.ICollection.SyncRoot { get { throw null; } } + public bool Contains(TKey item) { throw null; } public void CopyTo(TKey[] array, int arrayIndex) { } public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } void System.Collections.Generic.ICollection.Add(TKey item) { } void System.Collections.Generic.ICollection.Clear() { } - public bool Contains(TKey item) { throw null; } bool System.Collections.Generic.ICollection.Remove(TKey item) { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } @@ -8310,9 +8307,9 @@ public Stopwatch() { } public long ElapsedMilliseconds { get { throw null; } } public long ElapsedTicks { get { throw null; } } public bool IsRunning { get { throw null; } } - public static long GetTimestamp() { throw null; } public static System.TimeSpan GetElapsedTime(long startingTimestamp) { throw null; } public static System.TimeSpan GetElapsedTime(long startingTimestamp, long endingTimestamp) { throw null; } + public static long GetTimestamp() { throw null; } public void Reset() { } public void Restart() { } public void Start() { } @@ -8404,12 +8401,12 @@ public sealed partial class ExcludeFromCodeCoverageAttribute : System.Attribute public ExcludeFromCodeCoverageAttribute() { } public string? Justification { get { throw null; } set { } } } - [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Module | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Event | System.AttributeTargets.Interface | System.AttributeTargets.Delegate, Inherited = false)] - public sealed class ExperimentalAttribute : System.Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)] + public sealed partial class ExperimentalAttribute : System.Attribute { public ExperimentalAttribute(string diagnosticId) { } public string DiagnosticId { get { throw null; } } - public string? UrlFormat { get; set; } + public string? UrlFormat { get { throw null; } set { } } } [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] public sealed partial class MaybeNullAttribute : System.Attribute @@ -8454,11 +8451,6 @@ public sealed partial class NotNullWhenAttribute : System.Attribute public NotNullWhenAttribute(bool returnValue) { } public bool ReturnValue { get { throw null; } } } - [System.AttributeUsageAttribute(System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)] - public sealed class UnscopedRefAttribute : System.Attribute - { - public UnscopedRefAttribute() { } - } [System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Event | System.AttributeTargets.Method | System.AttributeTargets.Property, Inherited=false, AllowMultiple=false)] public sealed partial class RequiresAssemblyFilesAttribute : System.Attribute { @@ -8481,18 +8473,14 @@ public RequiresUnreferencedCodeAttribute(string message) { } public string Message { get { throw null; } } public string? Url { get { throw null; } set { } } } - [System.AttributeUsageAttribute(System.AttributeTargets.Constructor, AllowMultiple = false, Inherited = false)] - public sealed class SetsRequiredMembersAttribute : System.Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Constructor, AllowMultiple=false, Inherited=false)] + public sealed partial class SetsRequiredMembersAttribute : System.Attribute { public SetsRequiredMembersAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] public sealed partial class StringSyntaxAttribute : System.Attribute { - public StringSyntaxAttribute(string syntax) { } - public StringSyntaxAttribute(string syntax, params object?[] arguments) { } - public string Syntax { get { throw null; } } - public object?[] Arguments { get { throw null; } } public const string CompositeFormat = "CompositeFormat"; public const string DateOnlyFormat = "DateOnlyFormat"; public const string DateTimeFormat = "DateTimeFormat"; @@ -8505,6 +8493,10 @@ public StringSyntaxAttribute(string syntax, params object?[] arguments) { } public const string TimeSpanFormat = "TimeSpanFormat"; public const string Uri = "Uri"; public const string Xml = "Xml"; + public StringSyntaxAttribute(string syntax) { } + public StringSyntaxAttribute(string syntax, params object?[] arguments) { } + public object?[] Arguments { get { throw null; } } + public string Syntax { get { throw null; } } } [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=false, AllowMultiple=true)] [System.Diagnostics.ConditionalAttribute("CODE_ANALYSIS")] @@ -8529,6 +8521,11 @@ public UnconditionalSuppressMessageAttribute(string category, string checkId) { public string? Scope { get { throw null; } set { } } public string? Target { get { throw null; } set { } } } + [System.AttributeUsageAttribute(System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)] + public sealed partial class UnscopedRefAttribute : System.Attribute + { + public UnscopedRefAttribute() { } + } } namespace System.Globalization { @@ -8752,8 +8749,8 @@ public void ClearCachedData() { } public partial class CultureNotFoundException : System.ArgumentException { public CultureNotFoundException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected CultureNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public CultureNotFoundException(string? message) { } public CultureNotFoundException(string? message, System.Exception? innerException) { } @@ -8765,8 +8762,8 @@ public CultureNotFoundException(string? paramName, string? invalidCultureName, s public virtual int? InvalidCultureId { get { throw null; } } public virtual string? InvalidCultureName { get { throw null; } } public override string Message { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } [System.FlagsAttribute] @@ -9633,8 +9630,8 @@ public void MoveTo(string destDirName) { } public partial class DirectoryNotFoundException : System.IO.IOException { public DirectoryNotFoundException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected DirectoryNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public DirectoryNotFoundException(string? message) { } public DirectoryNotFoundException(string? message, System.Exception? innerException) { } @@ -9642,8 +9639,8 @@ public DirectoryNotFoundException(string? message, System.Exception? innerExcept public partial class EndOfStreamException : System.IO.IOException { public EndOfStreamException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected EndOfStreamException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public EndOfStreamException(string? message) { } public EndOfStreamException(string? message, System.Exception? innerException) { } @@ -9663,7 +9660,7 @@ public EnumerationOptions() { } public static partial class File { public static void AppendAllBytes(string path, byte[] bytes) { } - public static System.Threading.Tasks.Task AppendAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static System.Threading.Tasks.Task AppendAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable contents) { } public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable contents, System.Text.Encoding encoding) { } public static System.Threading.Tasks.Task AppendAllLinesAsync(string path, System.Collections.Generic.IEnumerable contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -9726,8 +9723,8 @@ public static void Move(string sourceFileName, string destFileName, bool overwri public static System.Threading.Tasks.Task ReadAllTextAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Collections.Generic.IEnumerable ReadLines(string path) { throw null; } public static System.Collections.Generic.IEnumerable ReadLines(string path, System.Text.Encoding encoding) { throw null; } - public static System.Collections.Generic.IAsyncEnumerable ReadLinesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Collections.Generic.IAsyncEnumerable ReadLinesAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static System.Collections.Generic.IAsyncEnumerable ReadLinesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static void Replace(string sourceFileName, string destinationFileName, string? destinationBackupFileName) { } public static void Replace(string sourceFileName, string destinationFileName, string? destinationBackupFileName, bool ignoreMetadataErrors) { } public static System.IO.FileSystemInfo? ResolveLinkTarget(string linkPath, bool returnFinalTarget) { throw null; } @@ -9824,8 +9821,8 @@ public void MoveTo(string destFileName, bool overwrite) { } public partial class FileLoadException : System.IO.IOException { public FileLoadException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected FileLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public FileLoadException(string? message) { } public FileLoadException(string? message, System.Exception? inner) { } @@ -9834,8 +9831,8 @@ public FileLoadException(string? message, string? fileName, System.Exception? in public string? FileName { get { throw null; } } public string? FusionLog { get { throw null; } } public override string Message { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -9851,8 +9848,8 @@ public enum FileMode public partial class FileNotFoundException : System.IO.IOException { public FileNotFoundException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected FileNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public FileNotFoundException(string? message) { } public FileNotFoundException(string? message, System.Exception? innerException) { } @@ -9861,8 +9858,8 @@ public FileNotFoundException(string? message, string? fileName, System.Exception public string? FileName { get { throw null; } } public string? FusionLog { get { throw null; } } public override string Message { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -9923,6 +9920,7 @@ public FileStream(string path, System.IO.FileStreamOptions options) { } public virtual Microsoft.Win32.SafeHandles.SafeFileHandle SafeFileHandle { get { throw null; } } public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw null; } public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw null; } + public override void CopyTo(System.IO.Stream destination, int bufferSize) { } public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; } protected override void Dispose(bool disposing) { } public override System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } @@ -9932,10 +9930,10 @@ public override void EndWrite(System.IAsyncResult asyncResult) { } public override void Flush() { } public virtual void Flush(bool flushToDisk) { } public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; } + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("macos")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")] public virtual void Lock(long position, long length) { } public override int Read(byte[] buffer, int offset, int count) { throw null; } public override int Read(System.Span buffer) { throw null; } @@ -9944,10 +9942,10 @@ public virtual void Lock(long position, long length) { } public override int ReadByte() { throw null; } public override long Seek(long offset, System.IO.SeekOrigin origin) { throw null; } public override void SetLength(long value) { } + [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("macos")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] - [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("freebsd")] public virtual void Unlock(long position, long length) { } public override void Write(byte[] buffer, int offset, int count) { } public override void Write(System.ReadOnlySpan buffer) { } @@ -9971,8 +9969,8 @@ public abstract partial class FileSystemInfo : System.MarshalByRefObject, System protected string FullPath; protected string OriginalPath; protected FileSystemInfo() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected FileSystemInfo(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public System.IO.FileAttributes Attributes { get { throw null; } set { } } public System.DateTime CreationTime { get { throw null; } set { } } @@ -9989,8 +9987,8 @@ protected FileSystemInfo(System.Runtime.Serialization.SerializationInfo info, Sy public System.IO.UnixFileMode UnixFileMode { get { throw null; } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("windows")] set { } } public void CreateAsSymbolicLink(string pathToTarget) { } public abstract void Delete(); - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public void Refresh() { } public System.IO.FileSystemInfo? ResolveLinkTarget(bool returnFinalTarget) { throw null; } @@ -10010,8 +10008,8 @@ public InvalidDataException(string? message, System.Exception? innerException) { public partial class IOException : System.SystemException { public IOException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected IOException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public IOException(string? message) { } public IOException(string? message, System.Exception? innerException) { } @@ -10128,21 +10126,21 @@ public static partial class Path public partial class PathTooLongException : System.IO.IOException { public PathTooLongException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected PathTooLongException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public PathTooLongException(string? message) { } public PathTooLongException(string? message, System.Exception? innerException) { } } public static partial class RandomAccess { - public static void FlushToDisk(Microsoft.Win32.SafeHandles.SafeFileHandle handle) { throw null; } + public static void FlushToDisk(Microsoft.Win32.SafeHandles.SafeFileHandle handle) { } public static long GetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle) { throw null; } - public static void SetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle, long length) { throw null; } public static long Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, long fileOffset) { throw null; } public static int Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Span buffer, long fileOffset) { throw null; } public static System.Threading.Tasks.ValueTask ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static System.Threading.Tasks.ValueTask ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Memory buffer, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public static void SetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle, long length) { } public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, long fileOffset) { } public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlySpan buffer, long fileOffset) { } public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList> buffers, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -10388,8 +10386,8 @@ protected TextWriter(System.IFormatProvider? formatProvider) { } public virtual System.IFormatProvider FormatProvider { get { throw null; } } [System.Diagnostics.CodeAnalysis.AllowNullAttribute] public virtual string NewLine { get { throw null; } set { } } - public static System.IO.TextWriter CreateBroadcasting(params System.IO.TextWriter[] writers) { throw null; } public virtual void Close() { } + public static System.IO.TextWriter CreateBroadcasting(params System.IO.TextWriter[] writers) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } public virtual System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } @@ -10585,6 +10583,14 @@ namespace System.Numerics { public static partial class BitOperations { + [System.CLSCompliantAttribute(false)] + public static uint Crc32C(uint crc, byte data) { throw null; } + [System.CLSCompliantAttribute(false)] + public static uint Crc32C(uint crc, ushort data) { throw null; } + [System.CLSCompliantAttribute(false)] + public static uint Crc32C(uint crc, uint data) { throw null; } + [System.CLSCompliantAttribute(false)] + public static uint Crc32C(uint crc, ulong data) { throw null; } public static bool IsPow2(int value) { throw null; } public static bool IsPow2(long value) { throw null; } public static bool IsPow2(nint value) { throw null; } @@ -10639,14 +10645,6 @@ public static partial class BitOperations public static int TrailingZeroCount(ulong value) { throw null; } [System.CLSCompliantAttribute(false)] public static int TrailingZeroCount(nuint value) { throw null; } - [System.CLSCompliantAttribute(false)] - public static uint Crc32C(uint crc, byte data) { throw null; } - [System.CLSCompliantAttribute(false)] - public static uint Crc32C(uint crc, ushort data) { throw null; } - [System.CLSCompliantAttribute(false)] - public static uint Crc32C(uint crc, uint data) { throw null; } - [System.CLSCompliantAttribute(false)] - public static uint Crc32C(uint crc, ulong data) { throw null; } } public partial interface IAdditionOperators where TSelf : System.Numerics.IAdditionOperators? { @@ -10657,7 +10655,7 @@ public partial interface IAdditiveIdentity where TSelf : System. { static abstract TResult AdditiveIdentity { get; } } - public partial interface IBinaryFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryFloatingPointIeee754? + public partial interface IBinaryFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryFloatingPointIeee754? { } public partial interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger? @@ -10722,7 +10720,7 @@ public partial interface IEqualityOperators where TSelf static abstract TResult operator ==(TSelf? left, TOther? right); static abstract TResult operator !=(TSelf? left, TOther? right); } - public partial interface IExponentialFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.IExponentialFunctions? + public partial interface IExponentialFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IExponentialFunctions? { static abstract TSelf Exp(TSelf x); static abstract TSelf Exp10(TSelf x); @@ -10731,13 +10729,13 @@ public partial interface IExponentialFunctions : System.Numerics.IFloatin static virtual TSelf Exp2M1(TSelf x) { throw null; } static virtual TSelf ExpM1(TSelf x) { throw null; } } - public partial interface IFloatingPointConstants : System.Numerics.INumberBase where TSelf : System.Numerics.IFloatingPointConstants? + public partial interface IFloatingPointConstants : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointConstants? { static abstract TSelf E { get; } static abstract TSelf Pi { get; } static abstract TSelf Tau { get; } } - public partial interface IFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointIeee754? + public partial interface IFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointIeee754? { static abstract TSelf Epsilon { get; } static abstract TSelf NaN { get; } @@ -10786,7 +10784,7 @@ public partial interface IFloatingPoint : System.IComparable, System.ICom int WriteSignificandLittleEndian(byte[] destination, int startIndex) { throw null; } int WriteSignificandLittleEndian(System.Span destination) { throw null; } } - public partial interface IHyperbolicFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.IHyperbolicFunctions? + public partial interface IHyperbolicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IHyperbolicFunctions? { static abstract TSelf Acosh(TSelf x); static abstract TSelf Asinh(TSelf x); @@ -10800,7 +10798,7 @@ public partial interface IIncrementOperators where TSelf : System.Numeric static virtual TSelf operator checked ++(TSelf value) { throw null; } static abstract TSelf operator ++(TSelf value); } - public partial interface ILogarithmicFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.ILogarithmicFunctions? + public partial interface ILogarithmicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ILogarithmicFunctions? { static abstract TSelf Log(TSelf x); static abstract TSelf Log(TSelf x, TSelf newBase); @@ -10828,7 +10826,7 @@ public partial interface IMultiplyOperators where TSelf static virtual TResult operator checked *(TSelf left, TOther right) { throw null; } static abstract TResult operator *(TSelf left, TOther right); } - public partial interface INumberBase : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.IUtf8SpanFormattable, System.IUtf8SpanParsable where TSelf : System.Numerics.INumberBase? + public partial interface INumberBase : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumberBase? { static abstract TSelf One { get; } static abstract int Radix { get; } @@ -10989,18 +10987,18 @@ public AmbiguousMatchException(string? message, System.Exception? inner) { } public abstract partial class Assembly : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable { protected Assembly() { } - [System.ObsoleteAttribute("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("This member throws an exception for assemblies embedded in a single-file app")] + [System.ObsoleteAttribute("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId="SYSLIB0012", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual string? CodeBase { get { throw null; } } public virtual System.Collections.Generic.IEnumerable CustomAttributes { get { throw null; } } public virtual System.Collections.Generic.IEnumerable DefinedTypes { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types might be removed")] get { throw null; } } public virtual System.Reflection.MethodInfo? EntryPoint { get { throw null; } } - [System.ObsoleteAttribute("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId = "SYSLIB0012", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("This member throws an exception for assemblies embedded in a single-file app")] + [System.ObsoleteAttribute("Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.", DiagnosticId="SYSLIB0012", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual string EscapedCodeBase { get { throw null; } } public virtual System.Collections.Generic.IEnumerable ExportedTypes { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types might be removed")] get { throw null; } } public virtual string? FullName { get { throw null; } } - [System.ObsoleteAttribute("The Global Assembly Cache is not supported.", DiagnosticId = "SYSLIB0005", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Global Assembly Cache is not supported.", DiagnosticId="SYSLIB0005", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual bool GlobalAssemblyCache { get { throw null; } } public virtual long HostContext { get { throw null; } } public virtual string ImageRuntimeVersion { get { throw null; } } @@ -11050,8 +11048,8 @@ public virtual event System.Reflection.ModuleResolveEventHandler? ModuleResolve public virtual System.Reflection.Module[] GetModules(bool getResourceModules) { throw null; } public virtual System.Reflection.AssemblyName GetName() { throw null; } public virtual System.Reflection.AssemblyName GetName(bool copiedName) { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Assembly references might be removed")] public virtual System.Reflection.AssemblyName[] GetReferencedAssemblies() { throw null; } @@ -11086,14 +11084,14 @@ public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo public static System.Reflection.Assembly? LoadWithPartialName(string partialName) { throw null; } public static bool operator ==(System.Reflection.Assembly? left, System.Reflection.Assembly? right) { throw null; } public static bool operator !=(System.Reflection.Assembly? left, System.Reflection.Assembly? right) { throw null; } - [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0018", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] + [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0018", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.Reflection.Assembly ReflectionOnlyLoad(byte[] rawAssembly) { throw null; } - [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0018", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] + [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0018", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.Reflection.Assembly ReflectionOnlyLoad(string assemblyString) { throw null; } - [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0018", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] + [System.ObsoleteAttribute("ReflectionOnly loading is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0018", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.Reflection.Assembly ReflectionOnlyLoadFrom(string assemblyFile) { throw null; } public override string ToString() { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] @@ -11204,30 +11202,30 @@ public sealed partial class AssemblyName : System.ICloneable, System.Runtime.Ser { public AssemblyName() { } public AssemblyName(string assemblyName) { } - [System.ObsoleteAttribute("AssemblyName.CodeBase and AssemblyName.EscapedCodeBase are obsolete. Using them for loading an assembly is not supported.", DiagnosticId = "SYSLIB0044", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("AssemblyName.CodeBase and AssemblyName.EscapedCodeBase are obsolete. Using them for loading an assembly is not supported.", DiagnosticId="SYSLIB0044", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public string? CodeBase { [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")] get { throw null; } set { } } public System.Reflection.AssemblyContentType ContentType { get { throw null; } set { } } public System.Globalization.CultureInfo? CultureInfo { get { throw null; } set { } } public string? CultureName { get { throw null; } set { } } [System.Diagnostics.CodeAnalysis.RequiresAssemblyFilesAttribute("The code will return an empty string for assemblies embedded in a single-file app")] - [System.ObsoleteAttribute("AssemblyName.CodeBase and AssemblyName.EscapedCodeBase are obsolete. Using them for loading an assembly is not supported.", DiagnosticId = "SYSLIB0044", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("AssemblyName.CodeBase and AssemblyName.EscapedCodeBase are obsolete. Using them for loading an assembly is not supported.", DiagnosticId="SYSLIB0044", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public string? EscapedCodeBase { get { throw null; } } public System.Reflection.AssemblyNameFlags Flags { get { throw null; } set { } } public string FullName { get { throw null; } } - [System.ObsoleteAttribute("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId = "SYSLIB0037", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public System.Configuration.Assemblies.AssemblyHashAlgorithm HashAlgorithm { get { throw null; } set { } } - [System.ObsoleteAttribute("Strong name signing is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0017", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Strong name signing is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0017", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public System.Reflection.StrongNameKeyPair? KeyPair { get { throw null; } set { } } public string? Name { get { throw null; } set { } } - [System.ObsoleteAttribute("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId = "SYSLIB0037", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get { throw null; } set { } } public System.Version? Version { get { throw null; } set { } } - [System.ObsoleteAttribute("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId = "SYSLIB0037", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("AssemblyName members HashAlgorithm, ProcessorArchitecture, and VersionCompatibility are obsolete and not supported.", DiagnosticId="SYSLIB0037", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public System.Configuration.Assemblies.AssemblyVersionCompatibility VersionCompatibility { get { throw null; } set { } } public object Clone() { throw null; } public static System.Reflection.AssemblyName GetAssemblyName(string assemblyFile) { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public byte[]? GetPublicKey() { throw null; } public byte[]? GetPublicKeyToken() { throw null; } @@ -11342,13 +11340,13 @@ protected ConstructorInfo() { } public sealed partial class ConstructorInvoker { internal ConstructorInvoker() { } - public object Invoke(System.Span arguments) { throw null; } + public static System.Reflection.ConstructorInvoker Create(System.Reflection.ConstructorInfo constructor) { throw null; } public object Invoke() { throw null; } public object Invoke(object? arg1) { throw null; } public object Invoke(object? arg1, object? arg2) { throw null; } public object Invoke(object? arg1, object? arg2, object? arg3) { throw null; } public object Invoke(object? arg1, object? arg2, object? arg3, object? arg4) { throw null; } - public static System.Reflection.ConstructorInvoker Create(System.Reflection.ConstructorInfo constructor) { throw null; } + public object Invoke(System.Span arguments) { throw null; } } public partial class CustomAttributeData { @@ -11407,8 +11405,8 @@ public static partial class CustomAttributeExtensions public partial class CustomAttributeFormatException : System.FormatException { public CustomAttributeFormatException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected CustomAttributeFormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public CustomAttributeFormatException(string? message) { } public CustomAttributeFormatException(string? message, System.Exception? inner) { } @@ -11423,8 +11421,8 @@ public CustomAttributeFormatException(string? message, System.Exception? inner) public System.Reflection.MemberInfo MemberInfo { get { throw null; } } public string MemberName { get { throw null; } } public System.Reflection.CustomAttributeTypedArgument TypedValue { get { throw null; } } - public bool Equals(System.Reflection.CustomAttributeNamedArgument other) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } + public bool Equals(System.Reflection.CustomAttributeNamedArgument other) { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) { throw null; } public static bool operator !=(System.Reflection.CustomAttributeNamedArgument left, System.Reflection.CustomAttributeNamedArgument right) { throw null; } @@ -11519,7 +11517,7 @@ public enum FieldAttributes Static = 16, InitOnly = 32, Literal = 64, - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] NotSerialized = 128, HasFieldRVA = 256, SpecialName = 512, @@ -11541,7 +11539,7 @@ protected FieldInfo() { } public bool IsFamilyOrAssembly { get { throw null; } } public bool IsInitOnly { get { throw null; } } public bool IsLiteral { get { throw null; } } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public bool IsNotSerialized { get { throw null; } } public bool IsPinvokeImpl { get { throw null; } } public bool IsPrivate { get { throw null; } } @@ -11611,8 +11609,8 @@ public static partial class IntrospectionExtensions public partial class InvalidFilterCriteriaException : System.ApplicationException { public InvalidFilterCriteriaException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected InvalidFilterCriteriaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public InvalidFilterCriteriaException(string? message) { } public InvalidFilterCriteriaException(string? message, System.Exception? inner) { } @@ -11814,7 +11812,7 @@ protected MethodInfo() { } public override System.Type[] GetGenericArguments() { throw null; } public virtual System.Reflection.MethodInfo GetGenericMethodDefinition() { throw null; } public override int GetHashCode() { throw null; } - [System.Diagnostics.CodeAnalysis.RequiresDynamicCode("The native code for this instantiation might not be available at runtime.")] + [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("The native code for this instantiation might not be available at runtime.")] [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("If some of the generic arguments are annotated (either with DynamicallyAccessedMembersAttribute, or generic constraints), trimming can't validate that the requirements of those annotations are met.")] public virtual System.Reflection.MethodInfo MakeGenericMethod(params System.Type[] typeArguments) { throw null; } public static bool operator ==(System.Reflection.MethodInfo? left, System.Reflection.MethodInfo? right) { throw null; } @@ -11823,13 +11821,13 @@ protected MethodInfo() { } public sealed partial class MethodInvoker { internal MethodInvoker() { } - public object? Invoke(object? obj, System.Span arguments) { throw null; } + public static System.Reflection.MethodInvoker Create(System.Reflection.MethodBase method) { throw null; } public object? Invoke(object? obj) { throw null; } public object? Invoke(object? obj, object? arg1) { throw null; } public object? Invoke(object? obj, object? arg1, object? arg2) { throw null; } public object? Invoke(object? obj, object? arg1, object? arg2, object? arg3) { throw null; } public object? Invoke(object? obj, object? arg1, object? arg2, object? arg3, object? arg4) { throw null; } - public static System.Reflection.MethodInvoker Create(System.Reflection.MethodBase method) { throw null; } + public object? Invoke(object? obj, System.Span arguments) { throw null; } } public sealed partial class Missing : System.Runtime.Serialization.ISerializable { @@ -11880,8 +11878,8 @@ protected Module() { } public System.Reflection.MethodInfo[] GetMethods() { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Methods might be removed")] public virtual System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags) { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public virtual void GetPEKind(out System.Reflection.PortableExecutableKinds peKind, out System.Reflection.ImageFileMachine machine) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types might be removed by trimming. If the type name is a string literal, consider using Type.GetType instead.")] @@ -12005,8 +12003,8 @@ protected ParameterInfo() { } public virtual System.Collections.Generic.IList GetCustomAttributesData() { throw null; } public virtual System.Type GetModifiedParameterType() { throw null; } public virtual System.Type[] GetOptionalCustomModifiers() { throw null; } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public object GetRealObject(System.Runtime.Serialization.StreamingContext context) { throw null; } public virtual System.Type[] GetRequiredCustomModifiers() { throw null; } public virtual bool IsDefined(System.Type attributeType, bool inherit) { throw null; } @@ -12079,9 +12077,9 @@ protected PropertyInfo() { } public abstract System.Reflection.MethodInfo? GetGetMethod(bool nonPublic); public override int GetHashCode() { throw null; } public abstract System.Reflection.ParameterInfo[] GetIndexParameters(); + public virtual System.Type GetModifiedPropertyType() { throw null; } public virtual System.Type[] GetOptionalCustomModifiers() { throw null; } public virtual object? GetRawConstantValue() { throw null; } - public virtual System.Type GetModifiedPropertyType() { throw null; } public virtual System.Type[] GetRequiredCustomModifiers() { throw null; } public System.Reflection.MethodInfo? GetSetMethod() { throw null; } public abstract System.Reflection.MethodInfo? GetSetMethod(bool nonPublic); @@ -12108,8 +12106,8 @@ public ReflectionTypeLoadException(System.Type?[]? classes, System.Exception?[]? public System.Exception?[] LoaderExceptions { get { throw null; } } public override string Message { get { throw null; } } public System.Type?[] Types { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -12140,13 +12138,13 @@ public static partial class RuntimeReflectionExtensions public static System.Collections.Generic.IEnumerable GetRuntimeProperties([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] this System.Type type) { throw null; } public static System.Reflection.PropertyInfo? GetRuntimeProperty([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] this System.Type type, string name) { throw null; } } - [System.ObsoleteAttribute("Strong name signing is not supported and throws PlatformNotSupportedException.", DiagnosticId = "SYSLIB0017", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Strong name signing is not supported and throws PlatformNotSupportedException.", DiagnosticId="SYSLIB0017", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial class StrongNameKeyPair : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public StrongNameKeyPair(byte[] keyPairArray) { } public StrongNameKeyPair(System.IO.FileStream keyPairFile) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected StrongNameKeyPair(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public StrongNameKeyPair(string keyPairContainer) { } public byte[] PublicKey { get { throw null; } } @@ -12156,8 +12154,8 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public partial class TargetException : System.ApplicationException { public TargetException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TargetException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TargetException(string? message) { } public TargetException(string? message, System.Exception? inner) { } @@ -12198,7 +12196,7 @@ public enum TypeAttributes SpecialName = 1024, RTSpecialName = 2048, Import = 4096, - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] Serializable = 8192, WindowsRuntime = 16384, UnicodeClass = 65536, @@ -12334,7 +12332,7 @@ public partial interface IResourceReader : System.Collections.IEnumerable, Syste public partial class MissingManifestResourceException : System.SystemException { public MissingManifestResourceException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MissingManifestResourceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MissingManifestResourceException(string? message) { } public MissingManifestResourceException(string? message, System.Exception? inner) { } @@ -12342,8 +12340,8 @@ public MissingManifestResourceException(string? message, System.Exception? inner public partial class MissingSatelliteAssemblyException : System.SystemException { public MissingSatelliteAssemblyException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected MissingSatelliteAssemblyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public MissingSatelliteAssemblyException(string? message) { } public MissingSatelliteAssemblyException(string? message, System.Exception? inner) { } @@ -12445,8 +12443,8 @@ public AssemblyTargetedPatchBandAttribute(string targetedPatchBand) { } } public static partial class ControlledExecution { - [System.ObsoleteAttribute("ControlledExecution.Run method may corrupt the process and should not be used in production code.", DiagnosticId = "SYSLIB0046", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] - public static void Run(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } + [System.ObsoleteAttribute("ControlledExecution.Run method may corrupt the process and should not be used in production code.", DiagnosticId="SYSLIB0046", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] + public static void Run(System.Action action, System.Threading.CancellationToken cancellationToken) { } } public partial struct DependentHandle : System.IDisposable { @@ -12617,14 +12615,14 @@ public partial class CallConvStdcall { public CallConvStdcall() { } } - public partial class CallConvSwift - { - public CallConvSwift() { } - } public partial class CallConvSuppressGCTransition { public CallConvSuppressGCTransition() { } } + public partial class CallConvSwift + { + public CallConvSwift() { } + } public partial class CallConvThiscall { public CallConvThiscall() { } @@ -12650,8 +12648,8 @@ public sealed partial class CallerMemberNameAttribute : System.Attribute { public CallerMemberNameAttribute() { } } - [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Struct, Inherited = false)] - public sealed class CollectionBuilderAttribute : Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface | System.AttributeTargets.Struct, Inherited=false)] + public sealed partial class CollectionBuilderAttribute : System.Attribute { public CollectionBuilderAttribute(System.Type builderType, string methodName) { } public System.Type BuilderType { get { throw null; } } @@ -12839,14 +12837,14 @@ public DependencyAttribute(string dependentAssemblyArgument, System.Runtime.Comp public string DependentAssembly { get { throw null; } } public System.Runtime.CompilerServices.LoadHint LoadHint { get { throw null; } } } - [System.ObsoleteAttribute("DisablePrivateReflectionAttribute has no effect in .NET 6.0+.", DiagnosticId = "SYSLIB0015", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)] + [System.ObsoleteAttribute("DisablePrivateReflectionAttribute has no effect in .NET 6.0+.", DiagnosticId="SYSLIB0015", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class DisablePrivateReflectionAttribute : System.Attribute { public DisablePrivateReflectionAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited = false, AllowMultiple = false)] - public sealed class DisableRuntimeMarshallingAttribute : Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false, AllowMultiple=false)] + public sealed partial class DisableRuntimeMarshallingAttribute : System.Attribute { public DisableRuntimeMarshallingAttribute() { } } @@ -12895,6 +12893,12 @@ public sealed partial class IndexerNameAttribute : System.Attribute { public IndexerNameAttribute(string indexerName) { } } + [System.AttributeUsageAttribute(System.AttributeTargets.Struct, AllowMultiple=false)] + public sealed partial class InlineArrayAttribute : System.Attribute + { + public InlineArrayAttribute(int length) { } + public int Length { get { throw null; } } + } public partial interface INotifyCompletion { void OnCompleted(System.Action continuation); @@ -12918,12 +12922,6 @@ public sealed partial class InterpolatedStringHandlerAttribute : System.Attribut { public InterpolatedStringHandlerAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Struct, AllowMultiple = false)] - public sealed partial class InlineArrayAttribute : System.Attribute - { - public InlineArrayAttribute(int length) { } - public int Length { get { throw null; } } - } [System.AttributeUsageAttribute(System.AttributeTargets.Struct)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public sealed partial class IsByRefLikeAttribute : System.Attribute @@ -12949,8 +12947,9 @@ public partial interface IStrongBox } [System.AttributeUsageAttribute(System.AttributeTargets.All)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed partial class IsUnmanagedAttribute : Attribute + public sealed partial class IsUnmanagedAttribute : System.Attribute { + public IsUnmanagedAttribute() { } } public static partial class IsVolatile { @@ -13005,25 +13004,24 @@ public sealed partial class ModuleInitializerAttribute : System.Attribute { public ModuleInitializerAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Event | System.AttributeTargets.Parameter | System.AttributeTargets.ReturnValue | System.AttributeTargets.GenericParameter, Inherited = false)] + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.GenericParameter | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed partial class NullableAttribute : Attribute + public sealed partial class NullableAttribute : System.Attribute { public readonly byte[] NullableFlags; public NullableAttribute(byte value) { } - public NullableAttribute(byte[] value) { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Method | System.AttributeTargets.Interface | System.AttributeTargets.Delegate, Inherited = false)] + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct, Inherited=false)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed partial class NullableContextAttribute : Attribute + public sealed partial class NullableContextAttribute : System.Attribute { public readonly byte Flag; public NullableContextAttribute(byte value) { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Module, Inherited = false)] + [System.AttributeUsageAttribute(System.AttributeTargets.Module, Inherited=false)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed partial class NullablePublicOnlyAttribute : Attribute + public sealed partial class NullablePublicOnlyAttribute : System.Attribute { public readonly bool IncludesInternals; public NullablePublicOnlyAttribute(bool value) { } @@ -13060,6 +13058,13 @@ public sealed partial class PreserveBaseOverridesAttribute : System.Attribute { public PreserveBaseOverridesAttribute() { } } + [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false)] + public sealed partial class ReferenceAssemblyAttribute : System.Attribute + { + public ReferenceAssemblyAttribute() { } + public ReferenceAssemblyAttribute(string? description) { } + public string? Description { get { throw null; } } + } [System.AttributeUsageAttribute(System.AttributeTargets.Module, Inherited=false)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public sealed partial class RefSafetyRulesAttribute : System.Attribute @@ -13067,9 +13072,9 @@ public sealed partial class RefSafetyRulesAttribute : System.Attribute public RefSafetyRulesAttribute(int version) { } public int Version { get { throw null; } } } - [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple = false, Inherited = false)] + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed class RequiredMemberAttribute : System.Attribute + public sealed partial class RequiredMemberAttribute : System.Attribute { public RequiredMemberAttribute() { } } @@ -13079,13 +13084,6 @@ public sealed partial class RequiresLocationAttribute : System.Attribute { public RequiresLocationAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false)] - public sealed partial class ReferenceAssemblyAttribute : System.Attribute - { - public ReferenceAssemblyAttribute() { } - public ReferenceAssemblyAttribute(string? description) { } - public string? Description { get { throw null; } } - } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false, AllowMultiple=false)] public sealed partial class RuntimeCompatibilityAttribute : System.Attribute { @@ -13113,7 +13111,7 @@ public static partial class RuntimeHelpers public static System.ReadOnlySpan CreateSpan(System.RuntimeFieldHandle fldHandle) { throw null; } public static void EnsureSufficientExecutionStack() { } public static new bool Equals(object? o1, object? o2) { throw null; } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object? userData) { } public static int GetHashCode(object? o) { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("obj")] @@ -13122,16 +13120,16 @@ public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServi public static object GetUninitializedObject([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type) { throw null; } public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { } public static bool IsReferenceOrContainsReferences() { throw null; } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void PrepareConstrainedRegions() { } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void PrepareConstrainedRegionsNoOP() { } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void PrepareContractedDelegate(System.Delegate d) { } public static void PrepareDelegate(System.Delegate d) { } public static void PrepareMethod(System.RuntimeMethodHandle method) { } public static void PrepareMethod(System.RuntimeMethodHandle method, System.RuntimeTypeHandle[]? instantiation) { } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void ProbeForSufficientStack() { } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Trimmer can't guarantee existence of class constructor")] public static void RunClassConstructor(System.RuntimeTypeHandle type) { } @@ -13144,14 +13142,15 @@ public sealed partial class RuntimeWrappedException : System.Exception { public RuntimeWrappedException(object thrownObject) { } public object WrappedException { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited = false)] + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public sealed partial class ScopedRefAttribute : Attribute + public sealed partial class ScopedRefAttribute : System.Attribute { + public ScopedRefAttribute() { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Event | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)] public sealed partial class SkipLocalsInitAttribute : System.Attribute @@ -13182,8 +13181,8 @@ public StrongBox() { } public StrongBox(T value) { } object? System.Runtime.CompilerServices.IStrongBox.Value { get { throw null; } set { } } } - [System.ObsoleteAttribute("SuppressIldasmAttribute has no effect in .NET 6.0+.", DiagnosticId = "SYSLIB0025", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Module)] + [System.ObsoleteAttribute("SuppressIldasmAttribute has no effect in .NET 6.0+.", DiagnosticId="SYSLIB0025", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class SuppressIldasmAttribute : System.Attribute { public SuppressIldasmAttribute() { } @@ -13197,8 +13196,8 @@ public SwitchExpressionException(string? message) { } public SwitchExpressionException(string? message, System.Exception? innerException) { } public override string Message { get { throw null; } } public object? UnmatchedValue { get { throw null; } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public readonly partial struct TaskAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion, System.Runtime.CompilerServices.INotifyCompletion @@ -13289,8 +13288,8 @@ public unsafe static void InitBlockUnaligned(void* startAddress, byte value, uin public unsafe static T ReadUnaligned(void* source) { throw null; } [System.CLSCompliantAttribute(false)] 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 void SkipInit(out T value) { throw null; } public static ref T SubtractByteOffset(ref T source, System.IntPtr byteOffset) { throw null; } [System.CLSCompliantAttribute(false)] public static ref T SubtractByteOffset(ref T source, nuint byteOffset) { throw null; } @@ -13307,21 +13306,21 @@ public unsafe static void WriteUnaligned(void* destination, T value) { } [System.CLSCompliantAttribute(false)] public unsafe static void Write(void* destination, T value) { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple = false, Inherited = false)] - public sealed class UnsafeAccessorAttribute : Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)] + public sealed partial class UnsafeAccessorAttribute : System.Attribute { public UnsafeAccessorAttribute(System.Runtime.CompilerServices.UnsafeAccessorKind kind) { } - public System.Runtime.CompilerServices.UnsafeAccessorKind Kind { get; } - public string? Name { get; set; } + public System.Runtime.CompilerServices.UnsafeAccessorKind Kind { get { throw null; } } + public string? Name { get { throw null; } set { } } } public enum UnsafeAccessorKind { - Constructor, - Method, - StaticMethod, - Field, - StaticField - }; + Constructor = 0, + Method = 1, + StaticMethod = 2, + Field = 3, + StaticField = 4, + } [System.AttributeUsageAttribute(System.AttributeTargets.Struct)] public sealed partial class UnsafeValueTypeAttribute : System.Attribute { @@ -13359,14 +13358,14 @@ public void UnsafeOnCompleted(System.Action continuation) { } } namespace System.Runtime.ConstrainedExecution { - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public enum Cer { None = 0, MayFail = 1, Success = 2, } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public enum Consistency { MayCorruptProcess = 0, @@ -13379,14 +13378,14 @@ public abstract partial class CriticalFinalizerObject protected CriticalFinalizerObject() { } ~CriticalFinalizerObject() { } } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Method, Inherited=false)] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class PrePrepareMethodAttribute : System.Attribute { public PrePrepareMethodAttribute() { } } - [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Struct, Inherited=false)] + [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class ReliabilityContractAttribute : System.Attribute { public ReliabilityContractAttribute(System.Runtime.ConstrainedExecution.Consistency consistencyGuarantee, System.Runtime.ConstrainedExecution.Cer cer) { } @@ -13414,7 +13413,7 @@ public FirstChanceExceptionEventArgs(System.Exception exception) { } public System.Exception Exception { get { throw null; } } } [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)] - [System.ObsoleteAttribute("Recovery from corrupted process state exceptions is not supported; HandleProcessCorruptedStateExceptionsAttribute is ignored.", DiagnosticId = "SYSLIB0032", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Recovery from corrupted process state exceptions is not supported; HandleProcessCorruptedStateExceptionsAttribute is ignored.", DiagnosticId="SYSLIB0032", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class HandleProcessCorruptedStateExceptionsAttribute : System.Attribute { public HandleProcessCorruptedStateExceptionsAttribute() { } @@ -13465,8 +13464,8 @@ public void SetHandleAsInvalid() { } public partial class ExternalException : System.SystemException { public ExternalException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected ExternalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public ExternalException(string? message) { } public ExternalException(string? message, System.Exception? inner) { } @@ -13664,19 +13663,19 @@ public enum UnmanagedType } namespace System.Runtime.InteropServices.Marshalling { - [System.AttributeUsageAttribute(System.AttributeTargets.Struct | System.AttributeTargets.Class)] + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct)] public sealed partial class ContiguousCollectionMarshallerAttribute : System.Attribute { + public ContiguousCollectionMarshallerAttribute() { } } - - [System.AttributeUsageAttribute(System.AttributeTargets.Struct | System.AttributeTargets.Class, AllowMultiple = true)] + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=true)] public sealed partial class CustomMarshallerAttribute : System.Attribute { public CustomMarshallerAttribute(System.Type managedType, System.Runtime.InteropServices.Marshalling.MarshalMode marshalMode, System.Type marshallerType) { } public System.Type ManagedType { get { throw null; } } - public System.Runtime.InteropServices.Marshalling.MarshalMode MarshalMode { get { throw null; } } public System.Type MarshallerType { get { throw null; } } - public struct GenericPlaceholder + public System.Runtime.InteropServices.Marshalling.MarshalMode MarshalMode { get { throw null; } } + public partial struct GenericPlaceholder { } } @@ -13691,147 +13690,118 @@ public enum MarshalMode UnmanagedToManagedOut = 6, ElementIn = 7, ElementRef = 8, - ElementOut = 9 + ElementOut = 9, } - [System.AttributeUsageAttribute(System.AttributeTargets.Struct | System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Delegate)] + [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct)] public sealed partial class NativeMarshallingAttribute : System.Attribute { public NativeMarshallingAttribute(System.Type nativeType) { } public System.Type NativeType { get { throw null; } } } - [System.CLSCompliant(false)] - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), - System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, - typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.ManagedToUnmanagedIn))] - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), - System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, - typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.UnmanagedToManagedOut))] - [System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshaller] - public static unsafe class ReadOnlySpanMarshaller where TUnmanagedElement : unmanaged - { - public ref struct ManagedToUnmanagedIn + [System.CLSCompliantAttribute(false)] + [System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshallerAttribute] + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.ManagedToUnmanagedIn))] + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.UnmanagedToManagedOut))] + public static unsafe partial class ReadOnlySpanMarshaller where TUnmanagedElement : unmanaged + { + public ref partial struct ManagedToUnmanagedIn { private object _dummy; private int _dummyPrimitive; public static int BufferSize { get { throw null; } } + public void Free() { } public void FromManaged(System.ReadOnlySpan managed, System.Span buffer) { } public System.ReadOnlySpan GetManagedValuesSource() { throw null; } - public System.Span GetUnmanagedValuesDestination() { throw null; } public ref TUnmanagedElement GetPinnableReference() { throw null; } - public TUnmanagedElement* ToUnmanaged() { throw null; } - public void Free() { } public static ref T GetPinnableReference(System.ReadOnlySpan managed) { throw null; } + public System.Span GetUnmanagedValuesDestination() { throw null; } + public unsafe TUnmanagedElement* ToUnmanaged() { throw null; } } - public static class UnmanagedToManagedOut + public static partial class UnmanagedToManagedOut { - public static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.ReadOnlySpan managed, out int numElements) { throw null; } + public unsafe static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.ReadOnlySpan managed, out int numElements) { throw null; } public static System.ReadOnlySpan GetManagedValuesSource(System.ReadOnlySpan managed) { throw null; } - public static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) { throw null; } + public unsafe static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) { throw null; } } } - - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), - System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, - typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedIn))] - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), - System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedRef, - typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedRef))] - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), - System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, - typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedOut))] - public static class SafeHandleMarshaller<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] T> where T : SafeHandle - { - public struct ManagedToUnmanagedIn + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedIn))] + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedOut))] + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedRef, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedRef))] + public static partial class SafeHandleMarshaller<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] T> where T : System.Runtime.InteropServices.SafeHandle + { + public partial struct ManagedToUnmanagedIn { - private int _dummyPrimitive; private T _handle; + private int _dummyPrimitive; + public void Free() { } public void FromManaged(T handle) { } - public nint ToUnmanaged() { throw null; } - - public void Free() { } } - - public struct ManagedToUnmanagedRef + public partial struct ManagedToUnmanagedOut { + private T _newHandle; private int _dummyPrimitive; - private T _handle; - - public ManagedToUnmanagedRef() { } - - public void FromManaged(T handle) { } - - public nint ToUnmanaged() { throw null; } - - public void FromUnmanaged(nint value) { } - - public void OnInvoked() { } - - public T ToManagedFinally() { throw null; } - + public ManagedToUnmanagedOut() { throw null; } public void Free() { } + public void FromUnmanaged(nint value) { } + public T ToManaged() { throw null; } } - - public struct ManagedToUnmanagedOut + public partial struct ManagedToUnmanagedRef { + private T _handle; private int _dummyPrimitive; - private T _newHandle; - public ManagedToUnmanagedOut() { } - - public void FromUnmanaged(nint value) { } - - public T ToManaged() { throw null; } - + public ManagedToUnmanagedRef() { throw null; } public void Free() { } + public void FromManaged(T handle) { } + public void FromUnmanaged(nint value) { } + public void OnInvoked() { } + public T ToManagedFinally() { throw null; } + public nint ToUnmanaged() { throw null; } } } - - [System.CLSCompliant(false)] - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), - System.Runtime.InteropServices.Marshalling.MarshalMode.Default, - typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>))] - [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), - System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, - typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>.ManagedToUnmanagedIn))] - [System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshaller] - public static unsafe class SpanMarshaller where TUnmanagedElement : unmanaged - { - public static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.Span managed, out int numElements) { throw null; } - public static System.ReadOnlySpan GetManagedValuesSource(System.Span managed) { throw null; } - public static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) { throw null; } - public static System.Span AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) { throw null; } + [System.CLSCompliantAttribute(false)] + [System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshallerAttribute] + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>))] + [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>.ManagedToUnmanagedIn))] + public static partial class SpanMarshaller where TUnmanagedElement : unmanaged + { + public unsafe static System.Span AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) { throw null; } + public unsafe static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.Span managed, out int numElements) { throw null; } + public unsafe static void Free(TUnmanagedElement* unmanaged) { } public static System.Span GetManagedValuesDestination(System.Span managed) { throw null; } - public static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanaged, int numElements) { throw null; } - public static void Free(TUnmanagedElement* unmanaged) { throw null; } - public ref struct ManagedToUnmanagedIn + public static System.ReadOnlySpan GetManagedValuesSource(System.Span managed) { throw null; } + public unsafe static System.Span GetUnmanagedValuesDestination(TUnmanagedElement* unmanaged, int numElements) { throw null; } + public unsafe static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanaged, int numElements) { throw null; } + public ref partial struct ManagedToUnmanagedIn { private object _dummy; private int _dummyPrimitive; public static int BufferSize { get { throw null; } } + public void Free() { } public void FromManaged(System.Span managed, System.Span buffer) { } public System.ReadOnlySpan GetManagedValuesSource() { throw null; } - public System.Span GetUnmanagedValuesDestination() { throw null; } public ref TUnmanagedElement GetPinnableReference() { throw null; } - public TUnmanagedElement* ToUnmanaged() { throw null; } - public void Free() { } public static ref T GetPinnableReference(System.Span managed) { throw null; } + public System.Span GetUnmanagedValuesDestination() { throw null; } + public unsafe TUnmanagedElement* ToUnmanaged() { throw null; } } } } namespace System.Runtime.InteropServices.Swift { [System.CLSCompliantAttribute(false)] - public readonly unsafe struct SwiftSelf + public readonly partial struct SwiftError { - public SwiftSelf(void* value) { } - public void* Value { get; } + private readonly int _dummyPrimitive; + public unsafe SwiftError(void* value) { throw null; } + public unsafe void* Value { get { throw null; } } } - [System.CLSCompliantAttribute(false)] - public readonly unsafe struct SwiftError + public readonly partial struct SwiftSelf { - public SwiftError(void* value) { } - public void* Value { get; } + private readonly int _dummyPrimitive; + public unsafe SwiftSelf(void* value) { throw null; } + public unsafe void* Value { get { throw null; } } } } namespace System.Runtime.Remoting @@ -13849,7 +13819,7 @@ public partial interface IDeserializationCallback void OnDeserialization(object? sender); } [System.CLSCompliantAttribute(false)] - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial interface IFormatterConverter { object Convert(object value, System.Type type); @@ -13870,19 +13840,19 @@ public partial interface IFormatterConverter uint ToUInt32(object value); ulong ToUInt64(object value); } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial interface IObjectReference { object GetRealObject(System.Runtime.Serialization.StreamingContext context); } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial interface ISafeSerializationData { void CompleteDeserialization(object deserialized); } public partial interface ISerializable { - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context); } [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] @@ -13911,7 +13881,7 @@ public sealed partial class OptionalFieldAttribute : System.Attribute public OptionalFieldAttribute() { } public int VersionAdded { get { throw null; } set { } } } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class SafeSerializationEventArgs : System.EventArgs { internal SafeSerializationEventArgs() { } @@ -13929,8 +13899,8 @@ public readonly partial struct SerializationEntry public partial class SerializationException : System.SystemException { public SerializationException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected SerializationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public SerializationException(string? message) { } public SerializationException(string? message, System.Exception? innerException) { } @@ -13938,10 +13908,10 @@ public SerializationException(string? message, System.Exception? innerException) public sealed partial class SerializationInfo { [System.CLSCompliantAttribute(false)] - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public SerializationInfo(System.Type type, System.Runtime.Serialization.IFormatterConverter converter) { } [System.CLSCompliantAttribute(false)] - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public SerializationInfo(System.Type type, System.Runtime.Serialization.IFormatterConverter converter, bool requireSameTokenInPartialTrust) { } public string AssemblyName { get { throw null; } set { } } public string FullTypeName { get { throw null; } set { } } @@ -14007,18 +13977,18 @@ public readonly partial struct StreamingContext { private readonly object _dummy; private readonly int _dummyPrimitive; - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public StreamingContext(System.Runtime.Serialization.StreamingContextStates state) { throw null; } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public StreamingContext(System.Runtime.Serialization.StreamingContextStates state, object? additional) { throw null; } public object? Context { get { throw null; } } - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public System.Runtime.Serialization.StreamingContextStates State { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } } [System.FlagsAttribute] - [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId = "SYSLIB0050", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Formatter-based serialization is obsolete and should not be used.", DiagnosticId="SYSLIB0050", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public enum StreamingContextStates { CrossProcess = 1, @@ -14067,14 +14037,14 @@ public FrameworkName(string identifier, System.Version version, string? profile) [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] public sealed partial class ObsoletedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { - public ObsoletedOSPlatformAttribute(string platformName) : base(platformName) { } - public ObsoletedOSPlatformAttribute(string platformName, string? message) : base(platformName) { } + public ObsoletedOSPlatformAttribute(string platformName) { } + public ObsoletedOSPlatformAttribute(string platformName, string? message) { } public string? Message { get { throw null; } } - public string? Url { get { throw null; } set {} } + public string? Url { get { throw null; } set { } } } public abstract partial class OSPlatformAttribute : System.Attribute { - private protected OSPlatformAttribute(string platformName) { } + internal OSPlatformAttribute() { } public string PlatformName { get { throw null; } } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)] @@ -14115,12 +14085,12 @@ public enum ResourceScope [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] public sealed partial class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { - public SupportedOSPlatformAttribute(string platformName) : base(platformName) { } + public SupportedOSPlatformAttribute(string platformName) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)] public sealed partial class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute { - public SupportedOSPlatformGuardAttribute(string platformName) : base(platformName) { } + public SupportedOSPlatformGuardAttribute(string platformName) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)] public sealed partial class TargetFrameworkAttribute : System.Attribute @@ -14132,19 +14102,19 @@ public TargetFrameworkAttribute(string frameworkName) { } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)] public sealed partial class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { - public TargetPlatformAttribute(string platformName) : base(platformName) { } + public TargetPlatformAttribute(string platformName) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] public sealed partial class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute { - public UnsupportedOSPlatformAttribute(string platformName) : base(platformName) { } - public UnsupportedOSPlatformAttribute(string platformName, string? message) : base(platformName) { } + public UnsupportedOSPlatformAttribute(string platformName) { } + public UnsupportedOSPlatformAttribute(string platformName, string? message) { } public string? Message { get { throw null; } } } [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)] public sealed partial class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute { - public UnsupportedOSPlatformGuardAttribute(string platformName) : base(platformName) { } + public UnsupportedOSPlatformGuardAttribute(string platformName) { } } public static partial class VersioningHelper { @@ -14160,7 +14130,7 @@ public sealed partial class AllowPartiallyTrustedCallersAttribute : System.Attri public AllowPartiallyTrustedCallersAttribute() { } public System.Security.PartialTrustVisibilityLevel PartialTrustVisibilityLevel { get { throw null; } set { } } } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial interface IPermission : System.Security.ISecurityEncodable { System.Security.IPermission Copy(); @@ -14174,7 +14144,7 @@ public partial interface ISecurityEncodable void FromXml(System.Security.SecurityElement e); System.Security.SecurityElement? ToXml(); } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial interface IStackWalk { void Assert(); @@ -14187,7 +14157,7 @@ public enum PartialTrustVisibilityLevel VisibleToAllHosts = 0, NotVisibleByDefault = 1, } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public partial class PermissionSet : System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.IDeserializationCallback, System.Security.ISecurityEncodable, System.Security.IStackWalk { public PermissionSet(System.Security.Permissions.PermissionState state) { } @@ -14270,8 +14240,8 @@ public void AddChild(System.Security.SecurityElement child) { } public partial class SecurityException : System.SystemException { public SecurityException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected SecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public SecurityException(string? message) { } public SecurityException(string? message, System.Exception? inner) { } @@ -14287,8 +14257,8 @@ public SecurityException(string? message, System.Type? type, string? state) { } public object? PermitOnlySetInstance { get { throw null; } set { } } public string? RefusedSet { get { throw null; } set { } } public string? Url { get { throw null; } set { } } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -14334,8 +14304,8 @@ public UnverifiableCodeAttribute() { } public partial class VerificationException : System.SystemException { public VerificationException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected VerificationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public VerificationException(string? message) { } public VerificationException(string? message, System.Exception? innerException) { } @@ -14347,8 +14317,8 @@ public partial class CryptographicException : System.SystemException { public CryptographicException() { } public CryptographicException(int hr) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected CryptographicException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public CryptographicException(string? message) { } public CryptographicException(string? message, System.Exception? inner) { } @@ -14357,19 +14327,19 @@ public CryptographicException([System.Diagnostics.CodeAnalysis.StringSyntaxAttri } namespace System.Security.Permissions { - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public abstract partial class CodeAccessSecurityAttribute : System.Security.Permissions.SecurityAttribute { protected CodeAccessSecurityAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { } } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public enum PermissionState { None = 0, Unrestricted = 1, } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public enum SecurityAction { Demand = 2, @@ -14382,8 +14352,8 @@ public enum SecurityAction RequestOptional = 9, RequestRefuse = 10, } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public abstract partial class SecurityAttribute : System.Attribute { protected SecurityAttribute(System.Security.Permissions.SecurityAction action) { } @@ -14391,8 +14361,8 @@ protected SecurityAttribute(System.Security.Permissions.SecurityAction action) { public bool Unrestricted { get { throw null; } set { } } public abstract System.Security.IPermission? CreatePermission(); } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public sealed partial class SecurityPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute { public SecurityPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { } @@ -14413,8 +14383,8 @@ public SecurityPermissionAttribute(System.Security.Permissions.SecurityAction ac public bool UnmanagedCode { get { throw null; } set { } } public override System.Security.IPermission? CreatePermission() { throw null; } } - [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId = "SYSLIB0003", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.FlagsAttribute] + [System.ObsoleteAttribute("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public enum SecurityPermissionFlag { NoFlags = 0, @@ -14465,7 +14435,7 @@ public enum TokenImpersonationLevel } namespace System.Text { - public static class Ascii + public static partial class Ascii { public static bool Equals(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } public static bool Equals(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } @@ -14475,23 +14445,23 @@ public static class Ascii public static bool EqualsIgnoreCase(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } public static bool EqualsIgnoreCase(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } public static bool EqualsIgnoreCase(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } - public static bool IsValid(System.ReadOnlySpan value) { throw null; } - public static bool IsValid(System.ReadOnlySpan value) { throw null; } + public static System.Buffers.OperationStatus FromUtf16(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } public static bool IsValid(byte value) { throw null; } public static bool IsValid(char value) { throw null; } + public static bool IsValid(System.ReadOnlySpan value) { throw null; } + public static bool IsValid(System.ReadOnlySpan value) { throw null; } public static System.Buffers.OperationStatus ToLower(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } - public static System.Buffers.OperationStatus ToLower(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } public static System.Buffers.OperationStatus ToLower(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } public static System.Buffers.OperationStatus ToLower(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } + public static System.Buffers.OperationStatus ToLower(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } + public static System.Buffers.OperationStatus ToLowerInPlace(System.Span value, out int bytesWritten) { throw null; } + public static System.Buffers.OperationStatus ToLowerInPlace(System.Span value, out int charsWritten) { throw null; } public static System.Buffers.OperationStatus ToUpper(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } - public static System.Buffers.OperationStatus ToUpper(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } public static System.Buffers.OperationStatus ToUpper(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } public static System.Buffers.OperationStatus ToUpper(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } - public static System.Buffers.OperationStatus ToLowerInPlace(System.Span value, out int bytesWritten) { throw null; } - public static System.Buffers.OperationStatus ToLowerInPlace(System.Span value, out int charsWritten) { throw null; } + public static System.Buffers.OperationStatus ToUpper(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } public static System.Buffers.OperationStatus ToUpperInPlace(System.Span value, out int bytesWritten) { throw null; } public static System.Buffers.OperationStatus ToUpperInPlace(System.Span value, out int charsWritten) { throw null; } - public static System.Buffers.OperationStatus FromUtf16(System.ReadOnlySpan source, System.Span destination, out int bytesWritten) { throw null; } public static System.Buffers.OperationStatus ToUtf16(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } public static System.Range Trim(System.ReadOnlySpan value) { throw null; } public static System.Range Trim(System.ReadOnlySpan value) { throw null; } @@ -14500,12 +14470,12 @@ public static class Ascii public static System.Range TrimStart(System.ReadOnlySpan value) { throw null; } public static System.Range TrimStart(System.ReadOnlySpan value) { throw null; } } - public sealed class CompositeFormat + public sealed partial class CompositeFormat { internal CompositeFormat() { } - public static System.Text.CompositeFormat Parse([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format) { throw null; } public string Format { get { throw null; } } public int MinimumArgumentCount { get { throw null; } } + public static System.Text.CompositeFormat Parse([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format) { throw null; } } public abstract partial class Decoder { @@ -14698,7 +14668,7 @@ protected Encoding(int codePage, System.Text.EncoderFallback? encoderFallback, S public virtual System.ReadOnlySpan Preamble { get { throw null; } } public static System.Text.Encoding Unicode { get { throw null; } } public static System.Text.Encoding UTF32 { get { throw null; } } - [System.ObsoleteAttribute("The UTF-7 encoding is insecure and should not be used. Consider using UTF-8 instead.", DiagnosticId = "SYSLIB0001", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("The UTF-7 encoding is insecure and should not be used. Consider using UTF-8 instead.", DiagnosticId="SYSLIB0001", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.Text.Encoding UTF7 { get { throw null; } } public static System.Text.Encoding UTF8 { get { throw null; } } public virtual string WebName { get { throw null; } } @@ -14903,6 +14873,8 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } @@ -14910,8 +14882,6 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, params object?[] values) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, params string?[] values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, params object?[] values) { throw null; } @@ -14955,10 +14925,10 @@ public void CopyTo(int sourceIndex, System.Span destination, int count) { public System.Text.StringBuilder Remove(int startIndex, int length) { throw null; } public System.Text.StringBuilder Replace(char oldChar, char newChar) { throw null; } public System.Text.StringBuilder Replace(char oldChar, char newChar, int startIndex, int count) { throw null; } + public System.Text.StringBuilder Replace(System.ReadOnlySpan oldValue, System.ReadOnlySpan newValue) { throw null; } + public System.Text.StringBuilder Replace(System.ReadOnlySpan oldValue, System.ReadOnlySpan newValue, int startIndex, int count) { throw null; } public System.Text.StringBuilder Replace(string oldValue, string? newValue) { throw null; } public System.Text.StringBuilder Replace(string oldValue, string? newValue, int startIndex, int count) { throw null; } - public System.Text.StringBuilder Replace(ReadOnlySpan oldValue, ReadOnlySpan newValue) { throw null; } - public System.Text.StringBuilder Replace(ReadOnlySpan oldValue, ReadOnlySpan newValue, int startIndex, int count) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } public string ToString(int startIndex, int length) { throw null; } @@ -15010,30 +14980,30 @@ namespace System.Text.Unicode public static partial class Utf8 { public static System.Buffers.OperationStatus FromUtf16(System.ReadOnlySpan source, System.Span destination, out int charsRead, out int bytesWritten, bool replaceInvalidSequences = true, bool isFinalBlock = true) { throw null; } + public static bool IsValid(System.ReadOnlySpan value) { throw null; } public static System.Buffers.OperationStatus ToUtf16(System.ReadOnlySpan source, System.Span destination, out int bytesRead, out int charsWritten, bool replaceInvalidSequences = true, bool isFinalBlock = true) { throw null; } + public static bool TryWrite(System.Span destination, System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "destination", "provider"})] ref System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler handler, out int bytesWritten) { throw null; } public static bool TryWrite(System.Span destination, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("destination")] ref System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler handler, out int bytesWritten) { throw null; } - public static bool TryWrite(System.Span destination, IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("destination", "provider")] ref System.Text.Unicode.Utf8.TryWriteInterpolatedStringHandler handler, out int bytesWritten) { throw null; } - public static bool IsValid(System.ReadOnlySpan value) { throw null; } - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute] - public ref struct TryWriteInterpolatedStringHandler + public ref partial struct TryWriteInterpolatedStringHandler { private readonly object _dummy; private readonly int _dummyPrimitive; public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, out bool shouldAppend) { throw null; } - public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, IFormatProvider? provider, out bool shouldAppend) { throw null; } - public bool AppendLiteral(string value) { throw null; } - public bool AppendFormatted(scoped System.ReadOnlySpan value) { throw null; } - public bool AppendFormatted(scoped System.ReadOnlySpan value, int alignment = 0, string? format = null) { throw null; } + public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, System.IFormatProvider? provider, out bool shouldAppend) { throw null; } + public bool AppendFormatted(object? value, int alignment = 0, string? format = null) { throw null; } public bool AppendFormatted(scoped System.ReadOnlySpan utf8Value) { throw null; } public bool AppendFormatted(scoped System.ReadOnlySpan utf8Value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted(scoped System.ReadOnlySpan value) { throw null; } + public bool AppendFormatted(scoped System.ReadOnlySpan value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted(string? value) { throw null; } + public bool AppendFormatted(string? value, int alignment = 0, string? format = null) { throw null; } public bool AppendFormatted(T value) { throw null; } - public bool AppendFormatted(T value, string? format) { throw null; } public bool AppendFormatted(T value, int alignment) { throw null; } public bool AppendFormatted(T value, int alignment, string? format) { throw null; } - public bool AppendFormatted(object? value, int alignment = 0, string? format = null) { throw null; } - public bool AppendFormatted(string? value) { throw null; } - public bool AppendFormatted(string? value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted(T value, string? format) { throw null; } + public bool AppendLiteral(string value) { throw null; } } } } @@ -15079,9 +15049,9 @@ public void Dispose() { } public partial class CancellationTokenSource : System.IDisposable { public CancellationTokenSource() { } - public CancellationTokenSource(TimeSpan delay, TimeProvider timeProvider) { } public CancellationTokenSource(int millisecondsDelay) { } public CancellationTokenSource(System.TimeSpan delay) { } + public CancellationTokenSource(System.TimeSpan delay, System.TimeProvider timeProvider) { } public bool IsCancellationRequested { get { throw null; } } public System.Threading.CancellationToken Token { get { throw null; } } public void Cancel() { } @@ -15096,6 +15066,10 @@ public void Dispose() { } protected virtual void Dispose(bool disposing) { } public bool TryReset() { throw null; } } + public partial interface ITimer : System.IAsyncDisposable, System.IDisposable + { + bool Change(System.TimeSpan dueTime, System.TimeSpan period); + } public enum LazyThreadSafetyMode { None = 0, @@ -15106,25 +15080,27 @@ public enum LazyThreadSafetyMode public sealed partial class Lock { public Lock() { } + public bool IsHeldByCurrentThread { get { throw null; } } public void Enter() { } public System.Threading.Lock.Scope EnterScope() { throw null; } public void Exit() { } - public bool IsHeldByCurrentThread { get { throw null; } } public bool TryEnter() { throw null; } public bool TryEnter(int millisecondsTimeout) { throw null; } public bool TryEnter(System.TimeSpan timeout) { throw null; } - public ref struct Scope + public ref partial struct Scope { + private object _dummy; + private int _dummyPrimitive; public void Dispose() { } } } public sealed partial class PeriodicTimer : System.IDisposable { public PeriodicTimer(System.TimeSpan period) { } - public PeriodicTimer(TimeSpan period, TimeProvider timeProvider) { } + public PeriodicTimer(System.TimeSpan period, System.TimeProvider timeProvider) { } + public System.TimeSpan Period { get { throw null; } set { } } public void Dispose() { } ~PeriodicTimer() { } - public System.TimeSpan Period { get { throw null; } set { } } public System.Threading.Tasks.ValueTask WaitForNextTickAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } public static partial class Timeout @@ -15132,11 +15108,7 @@ public static partial class Timeout public const int Infinite = -1; public static readonly System.TimeSpan InfiniteTimeSpan; } - public interface ITimer : System.IDisposable, System.IAsyncDisposable - { - bool Change(System.TimeSpan dueTime, System.TimeSpan period); - } - public sealed partial class Timer : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable, ITimer + public sealed partial class Timer : System.MarshalByRefObject, System.IAsyncDisposable, System.IDisposable, System.Threading.ITimer { public Timer(System.Threading.TimerCallback callback) { } public Timer(System.Threading.TimerCallback callback, object? state, int dueTime, int period) { } @@ -15157,11 +15129,11 @@ public void Dispose() { } public delegate void TimerCallback(object? state); public abstract partial class WaitHandle : System.MarshalByRefObject, System.IDisposable { - protected static readonly System.IntPtr InvalidHandle; + protected static readonly nint InvalidHandle; public const int WaitTimeout = 258; protected WaitHandle() { } [System.ObsoleteAttribute("WaitHandle.Handle has been deprecated. Use the SafeWaitHandle property instead.")] - public virtual System.IntPtr Handle { get { throw null; } set { } } + public virtual nint Handle { get { throw null; } set { } } [System.Diagnostics.CodeAnalysis.AllowNullAttribute] public Microsoft.Win32.SafeHandles.SafeWaitHandle SafeWaitHandle { get { throw null; } set { } } public virtual void Close() { } @@ -15194,14 +15166,6 @@ public static void SetSafeWaitHandle(this System.Threading.WaitHandle waitHandle } namespace System.Threading.Tasks { - [System.FlagsAttribute] - public enum ConfigureAwaitOptions - { - None = 0x0, - ContinueOnCapturedContext = 0x1, - SuppressThrowing = 0x2, - ForceYielding = 0x4, - } public partial class ConcurrentExclusiveSchedulerPair { public ConcurrentExclusiveSchedulerPair() { } @@ -15213,6 +15177,14 @@ public ConcurrentExclusiveSchedulerPair(System.Threading.Tasks.TaskScheduler tas public System.Threading.Tasks.TaskScheduler ExclusiveScheduler { get { throw null; } } public void Complete() { } } + [System.FlagsAttribute] + public enum ConfigureAwaitOptions + { + None = 0, + ContinueOnCapturedContext = 1, + SuppressThrowing = 2, + ForceYielding = 4, + } public partial class Task : System.IAsyncResult, System.IDisposable { public Task(System.Action action) { } @@ -15335,8 +15307,8 @@ public static partial class TaskAsyncEnumerableExtensions public partial class TaskCanceledException : System.OperationCanceledException { public TaskCanceledException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TaskCanceledException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TaskCanceledException(string? message) { } public TaskCanceledException(string? message, System.Exception? innerException) { } @@ -15353,9 +15325,9 @@ public TaskCompletionSource(System.Threading.Tasks.TaskCreationOptions creationO public System.Threading.Tasks.Task Task { get { throw null; } } public void SetCanceled() { } public void SetCanceled(System.Threading.CancellationToken cancellationToken) { } - public void SetFromTask(System.Threading.Tasks.Task completedTask) { throw null; } public void SetException(System.Collections.Generic.IEnumerable exceptions) { } public void SetException(System.Exception exception) { } + public void SetFromTask(System.Threading.Tasks.Task completedTask) { } public void SetResult() { } public bool TrySetCanceled() { throw null; } public bool TrySetCanceled(System.Threading.CancellationToken cancellationToken) { throw null; } @@ -15373,15 +15345,15 @@ public TaskCompletionSource(System.Threading.Tasks.TaskCreationOptions creationO public System.Threading.Tasks.Task Task { get { throw null; } } public void SetCanceled() { } public void SetCanceled(System.Threading.CancellationToken cancellationToken) { } - public void SetFromTask(System.Threading.Tasks.Task completedTask) { throw null; } public void SetException(System.Collections.Generic.IEnumerable exceptions) { } public void SetException(System.Exception exception) { } + public void SetFromTask(System.Threading.Tasks.Task completedTask) { } public void SetResult(TResult result) { } public bool TrySetCanceled() { throw null; } public bool TrySetCanceled(System.Threading.CancellationToken cancellationToken) { throw null; } - public bool TrySetFromTask(System.Threading.Tasks.Task completedTask) { throw null; } public bool TrySetException(System.Collections.Generic.IEnumerable exceptions) { throw null; } public bool TrySetException(System.Exception exception) { throw null; } + public bool TrySetFromTask(System.Threading.Tasks.Task completedTask) { throw null; } public bool TrySetResult(TResult result) { throw null; } } [System.FlagsAttribute] @@ -15567,8 +15539,8 @@ public partial class TaskSchedulerException : System.Exception { public TaskSchedulerException() { } public TaskSchedulerException(System.Exception? innerException) { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected TaskSchedulerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public TaskSchedulerException(string? message) { } public TaskSchedulerException(string? message, System.Exception? innerException) { } @@ -15584,6 +15556,14 @@ public enum TaskStatus Canceled = 6, Faulted = 7, } + public static partial class TaskToAsyncResult + { + public static System.IAsyncResult Begin(System.Threading.Tasks.Task task, System.AsyncCallback? callback, object? state) { throw null; } + public static void End(System.IAsyncResult asyncResult) { } + public static TResult End(System.IAsyncResult asyncResult) { throw null; } + public static System.Threading.Tasks.Task Unwrap(System.IAsyncResult asyncResult) { throw null; } + public static System.Threading.Tasks.Task Unwrap(System.IAsyncResult asyncResult) { throw null; } + } public partial class Task : System.Threading.Tasks.Task { public Task(System.Func function, object? state) : base (default(System.Action)) { } @@ -15625,14 +15605,6 @@ public Task(System.Func function, System.Threading.Tasks.TaskCreationOp public new System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.TimeProvider timeProvider) { throw null; } public new System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.TimeProvider timeProvider, System.Threading.CancellationToken cancellationToken) { throw null; } } - public static partial class TaskToAsyncResult - { - public static System.IAsyncResult Begin(System.Threading.Tasks.Task task, System.AsyncCallback? callback, object? state) { throw null; } - public static void End(System.IAsyncResult asyncResult) { throw null; } - public static TResult End(System.IAsyncResult asyncResult) { throw null; } - public static System.Threading.Tasks.Task Unwrap(System.IAsyncResult asyncResult) { throw null; } - public static System.Threading.Tasks.Task Unwrap(System.IAsyncResult asyncResult) { throw null; } - } public partial class UnobservedTaskExceptionEventArgs : System.EventArgs { public UnobservedTaskExceptionEventArgs(System.AggregateException exception) { } @@ -15791,7 +15763,7 @@ public partial class NewsStyleUriParser : System.UriParser { public NewsStyleUriParser() { } } - public partial class Uri : System.ISpanFormattable, System.Runtime.Serialization.ISerializable + public partial class Uri : System.IFormattable, System.ISpanFormattable, System.Runtime.Serialization.ISerializable { public static readonly string SchemeDelimiter; public static readonly string UriSchemeFile; @@ -15810,14 +15782,14 @@ public partial class Uri : System.ISpanFormattable, System.Runtime.Serialization public static readonly string UriSchemeTelnet; public static readonly string UriSchemeWs; public static readonly string UriSchemeWss; - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected Uri(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string uriString) { } [System.ObsoleteAttribute("This constructor has been deprecated; the dontEscape parameter is always false. Use Uri(string) instead.")] - public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")]string uriString, bool dontEscape) { } - public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")]string uriString, in System.UriCreationOptions creationOptions) { } - public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri", "uriKind")] string uriString, System.UriKind uriKind) { } + public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string uriString, bool dontEscape) { } + public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string uriString, in System.UriCreationOptions creationOptions) { } + public Uri([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri", new object[]{ "uriKind"})] string uriString, System.UriKind uriKind) { } public Uri(System.Uri baseUri, string? relativeUri) { } [System.ObsoleteAttribute("This constructor has been deprecated; the dontEscape parameter is always false. Use Uri(Uri, string) instead.")] public Uri(System.Uri baseUri, string? relativeUri, bool dontEscape) { } @@ -15857,7 +15829,7 @@ protected virtual void Escape() { } public static string EscapeDataString(string stringToEscape) { throw null; } [System.ObsoleteAttribute("Uri.EscapeString has been deprecated. Use GetComponents() or Uri.EscapeDataString to escape a Uri component or a string.")] protected static string EscapeString(string? str) { throw null; } - [System.ObsoleteAttribute("Uri.EscapeUriString can corrupt the Uri string in some cases. Consider using Uri.EscapeDataString for query string components instead.", DiagnosticId = "SYSLIB0013", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("Uri.EscapeUriString can corrupt the Uri string in some cases. Consider using Uri.EscapeDataString for query string components instead.", DiagnosticId="SYSLIB0013", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static string EscapeUriString(string stringToEscape) { throw null; } public static int FromHex(char digit) { throw null; } public string GetComponents(System.UriComponents components, System.UriFormat format) { throw null; } @@ -15876,7 +15848,7 @@ protected void GetObjectData(System.Runtime.Serialization.SerializationInfo seri [System.ObsoleteAttribute("Uri.IsReservedCharacter has been deprecated and is not supported.")] protected virtual bool IsReservedCharacter(char character) { throw null; } public bool IsWellFormedOriginalString() { throw null; } - public static bool IsWellFormedUriString([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri", "uriKind")] string? uriString, System.UriKind uriKind) { throw null; } + public static bool IsWellFormedUriString([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri", new object[]{ "uriKind"})] string? uriString, System.UriKind uriKind) { throw null; } [System.ObsoleteAttribute("Uri.MakeRelative has been deprecated. Use MakeRelativeUri(Uri uri) instead.")] public string MakeRelative(System.Uri toUri) { throw null; } public System.Uri MakeRelativeUri(System.Uri uri) { throw null; } @@ -15884,15 +15856,15 @@ protected void GetObjectData(System.Runtime.Serialization.SerializationInfo seri public static bool operator !=(System.Uri? uri1, System.Uri? uri2) { throw null; } [System.ObsoleteAttribute("Uri.Parse has been deprecated and is not supported.")] protected virtual void Parse() { } + string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } public override string ToString() { throw null; } - string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } public static bool TryCreate([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? uriString, in System.UriCreationOptions creationOptions, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; } - public static bool TryCreate([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri", "uriKind")] string? uriString, System.UriKind uriKind, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; } + public static bool TryCreate([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri", new object[]{ "uriKind"})] string? uriString, System.UriKind uriKind, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; } public static bool TryCreate(System.Uri? baseUri, string? relativeUri, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; } public static bool TryCreate(System.Uri? baseUri, System.Uri? relativeUri, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; } public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } [System.ObsoleteAttribute("Uri.Unescape has been deprecated. Use GetComponents() or Uri.UnescapeDataString() to unescape a Uri component or a string.")] protected virtual string Unescape(string path) { throw null; } public static string UnescapeDataString(string stringToUnescape) { throw null; } @@ -15961,11 +15933,12 @@ public enum UriFormat public partial class UriFormatException : System.FormatException, System.Runtime.Serialization.ISerializable { public UriFormatException() { } - [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] protected UriFormatException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } public UriFormatException(string? textString) { } public UriFormatException(string? textString, System.Exception? e) { } + [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } } public enum UriHostNameType