From 3c3d52071d6f540fc08af9f6f39d136c47ceee84 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Tue, 11 Jun 2019 23:56:16 -0500 Subject: [PATCH] Add nullable annotations to System.Runtime (dotnet/corefx#37855) * Add nullable annotations to System.Runtime * Update to use Nullable property with new compiler * Fix annotations from API Review * Address nullable feedback from API Review * Fix more nullable annotations based on review * More attributes from review and annotate Uri members * Enable covariant and contravariant nullable annotation mismatch warnings globally * Fix build Commit migrated from https://github.com/dotnet/corefx/commit/aa3a6f2b169a82c44007d84aec57050abd5eeb07 --- .../Resources/Extensions/TypeNameComparer.cs | 4 +- .../Runtime/InteropServices/ComAwareEventInfo.cs | 2 +- src/libraries/System.Runtime/ref/System.Runtime.cs | 3215 ++++++++++---------- .../System.Runtime/ref/System.Runtime.csproj | 1 + 4 files changed, 1627 insertions(+), 1595 deletions(-) diff --git a/src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/TypeNameComparer.cs b/src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/TypeNameComparer.cs index 8b5c583..a71ce2f 100644 --- a/src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/TypeNameComparer.cs +++ b/src/libraries/System.Resources.Extensions/src/System/Resources/Extensions/TypeNameComparer.cs @@ -108,8 +108,8 @@ namespace System.Resources.Extensions if (an1.CultureInfo?.LCID != an2.CultureInfo?.LCID) return false; - byte[] pkt1 = an1.GetPublicKeyToken(); - byte[] pkt2 = an2.GetPublicKeyToken(); + byte[]? pkt1 = an1.GetPublicKeyToken(); + byte[]? pkt2 = an2.GetPublicKeyToken(); return pkt1.AsSpan().SequenceEqual(pkt2); } diff --git a/src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/ComAwareEventInfo.cs b/src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/ComAwareEventInfo.cs index 39a5ab9..1e5d348 100644 --- a/src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/ComAwareEventInfo.cs +++ b/src/libraries/System.Runtime.InteropServices/src/System/Runtime/InteropServices/ComAwareEventInfo.cs @@ -55,7 +55,7 @@ namespace System.Runtime.InteropServices public override MethodInfo? GetAddMethod(bool nonPublic) => _innerEventInfo.GetAddMethod(nonPublic); - public override MethodInfo[]? GetOtherMethods(bool nonPublic) => _innerEventInfo.GetOtherMethods(nonPublic); + public override MethodInfo[] GetOtherMethods(bool nonPublic) => _innerEventInfo.GetOtherMethods(nonPublic); public override MethodInfo? GetRaiseMethod(bool nonPublic) => _innerEventInfo.GetRaiseMethod(nonPublic); diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index cda44ff..3f653cd 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -45,8 +45,8 @@ namespace System { public AccessViolationException() { } protected AccessViolationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public AccessViolationException(string message) { } - public AccessViolationException(string message, System.Exception innerException) { } + public AccessViolationException(string? message) { } + public AccessViolationException(string? message, System.Exception? innerException) { } } public delegate void Action(); public delegate void Action(T obj); @@ -67,18 +67,18 @@ namespace System public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); public static partial class Activator { - public static System.Runtime.Remoting.ObjectHandle CreateInstance(string assemblyName, string typeName) { throw null; } - public static System.Runtime.Remoting.ObjectHandle CreateInstance(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; } - public static System.Runtime.Remoting.ObjectHandle CreateInstance(string assemblyName, string typeName, object[] activationAttributes) { throw null; } - public static object CreateInstance(System.Type type) { throw null; } - public static object CreateInstance(System.Type type, bool nonPublic) { throw null; } - public static object CreateInstance(System.Type type, params object[] args) { throw null; } - public static object CreateInstance(System.Type type, object[] args, object[] activationAttributes) { throw null; } - public static object CreateInstance(System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture) { throw null; } - public static object CreateInstance(System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; } - public static System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName) { throw null; } - public static System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; } - public static System.Runtime.Remoting.ObjectHandle CreateInstanceFrom(string assemblyFile, string typeName, object[] activationAttributes) { throw null; } + public static System.Runtime.Remoting.ObjectHandle? CreateInstance(string assemblyName, string typeName) { throw null; } + public static System.Runtime.Remoting.ObjectHandle? CreateInstance(string assemblyName, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; } + public static System.Runtime.Remoting.ObjectHandle? CreateInstance(string assemblyName, string typeName, object?[]? activationAttributes) { throw null; } + public static object? CreateInstance(System.Type type) { throw null; } + public static object? CreateInstance(System.Type type, bool nonPublic) { throw null; } + public static object? CreateInstance(System.Type type, params object?[]? args) { throw null; } + public static object? CreateInstance(System.Type type, object?[]? args, object?[]? activationAttributes) { throw null; } + public static object? CreateInstance(System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture) { throw null; } + public static object? CreateInstance(System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; } + public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName) { throw null; } + public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; } + public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName, object?[]? activationAttributes) { throw null; } public static T CreateInstance() { throw null; } } public partial class AggregateException : System.Exception @@ -87,10 +87,10 @@ namespace System public AggregateException(System.Collections.Generic.IEnumerable innerExceptions) { } public AggregateException(params System.Exception[] innerExceptions) { } 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) { } - public AggregateException(string message, System.Exception innerException) { } - public AggregateException(string message, params System.Exception[] innerExceptions) { } + public AggregateException(string? message) { } + public AggregateException(string? message, System.Collections.Generic.IEnumerable innerExceptions) { } + public AggregateException(string? message, System.Exception innerException) { } + public AggregateException(string? message, params System.Exception[] innerExceptions) { } public System.Collections.ObjectModel.ReadOnlyCollection InnerExceptions { get { throw null; } } public override string Message { get { throw null; } } public System.AggregateException Flatten() { throw null; } @@ -102,8 +102,8 @@ namespace System public static partial class AppContext { public static string BaseDirectory { get { throw null; } } - public static string TargetFrameworkName { get { throw null; } } - public static object GetData(string name) { throw null; } + public static string? TargetFrameworkName { get { throw null; } } + public static object? GetData(string name) { throw null; } public static void SetSwitch(string switchName, bool isEnabled) { } public static bool TryGetSwitch(string switchName, out bool isEnabled) { throw null; } } @@ -111,8 +111,8 @@ namespace System { public ApplicationException() { } protected ApplicationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ApplicationException(string message) { } - public ApplicationException(string message, System.Exception innerException) { } + public ApplicationException(string? message) { } + public ApplicationException(string? message, System.Exception? innerException) { } } public ref partial struct ArgIterator { @@ -121,7 +121,7 @@ namespace System [System.CLSCompliantAttribute(false)] public unsafe ArgIterator(System.RuntimeArgumentHandle arglist, void* ptr) { throw null; } public void End() { } - public override bool Equals(object o) { throw null; } + public override bool Equals(object? o) { throw null; } public override int GetHashCode() { throw null; } [System.CLSCompliantAttribute(false)] public System.TypedReference GetNextArg() { throw null; } @@ -134,31 +134,31 @@ namespace System { public ArgumentException() { } protected ArgumentException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ArgumentException(string message) { } - public ArgumentException(string message, System.Exception innerException) { } - public ArgumentException(string message, string paramName) { } - public ArgumentException(string message, string paramName, System.Exception innerException) { } + public ArgumentException(string? message) { } + public ArgumentException(string? message, System.Exception? innerException) { } + 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; } } + public virtual string? ParamName { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class ArgumentNullException : System.ArgumentException { public ArgumentNullException() { } protected ArgumentNullException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ArgumentNullException(string paramName) { } - public ArgumentNullException(string message, System.Exception innerException) { } - public ArgumentNullException(string paramName, string message) { } + public ArgumentNullException(string? paramName) { } + public ArgumentNullException(string? message, System.Exception? innerException) { } + public ArgumentNullException(string? paramName, string? message) { } } public partial class ArgumentOutOfRangeException : System.ArgumentException { public ArgumentOutOfRangeException() { } protected ArgumentOutOfRangeException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ArgumentOutOfRangeException(string paramName) { } - public ArgumentOutOfRangeException(string message, System.Exception innerException) { } - public ArgumentOutOfRangeException(string paramName, object actualValue, string message) { } - public ArgumentOutOfRangeException(string paramName, string message) { } - public virtual object ActualValue { get { throw null; } } + public ArgumentOutOfRangeException(string? paramName) { } + public ArgumentOutOfRangeException(string? message, System.Exception? innerException) { } + public ArgumentOutOfRangeException(string? paramName, object? actualValue, string? message) { } + public ArgumentOutOfRangeException(string? paramName, string? message) { } + public virtual object? ActualValue { get { throw null; } } public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } @@ -166,8 +166,8 @@ namespace System { public ArithmeticException() { } protected ArithmeticException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ArithmeticException(string message) { } - public ArithmeticException(string message, System.Exception innerException) { } + public ArithmeticException(string? message) { } + public ArithmeticException(string? message, System.Exception? innerException) { } } public abstract partial class Array : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.ICloneable { @@ -180,16 +180,16 @@ namespace System public int Rank { get { throw null; } } public object SyncRoot { get { throw null; } } int System.Collections.ICollection.Count { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } + object? System.Collections.IList.this[int index] { get { throw null; } set { } } public static System.Collections.ObjectModel.ReadOnlyCollection AsReadOnly(T[] array) { throw null; } - public static int BinarySearch(System.Array array, int index, int length, object value) { throw null; } - public static int BinarySearch(System.Array array, int index, int length, object value, System.Collections.IComparer comparer) { throw null; } - public static int BinarySearch(System.Array array, object value) { throw null; } - public static int BinarySearch(System.Array array, object value, System.Collections.IComparer comparer) { throw null; } + public static int BinarySearch(System.Array array, int index, int length, object? value) { throw null; } + public static int BinarySearch(System.Array array, int index, int length, object? value, System.Collections.IComparer? comparer) { throw null; } + public static int BinarySearch(System.Array array, object? value) { throw null; } + public static int BinarySearch(System.Array array, object? value, System.Collections.IComparer? comparer) { throw null; } public static int BinarySearch(T[] array, int index, int length, T value) { throw null; } - public static int BinarySearch(T[] array, int index, int length, T value, System.Collections.Generic.IComparer comparer) { throw null; } + public static int BinarySearch(T[] array, int index, int length, T value, System.Collections.Generic.IComparer? comparer) { throw null; } public static int BinarySearch(T[] array, T value) { throw null; } - public static int BinarySearch(T[] array, T value, System.Collections.Generic.IComparer comparer) { throw null; } + public static int BinarySearch(T[] array, T value, System.Collections.Generic.IComparer? comparer) { throw null; } public static void Clear(System.Array array, int index, int length) { } public object Clone() { throw null; } public static void ConstrainedCopy(System.Array sourceArray, int sourceIndex, System.Array destinationArray, int destinationIndex, int length) { } @@ -225,77 +225,77 @@ namespace System public long GetLongLength(int dimension) { throw null; } public int GetLowerBound(int dimension) { throw null; } public int GetUpperBound(int dimension) { throw null; } - public object GetValue(int index) { throw null; } - public object GetValue(int index1, int index2) { throw null; } - public object GetValue(int index1, int index2, int index3) { throw null; } - public object GetValue(params int[] indices) { throw null; } - public object GetValue(long index) { throw null; } - public object GetValue(long index1, long index2) { throw null; } - public object GetValue(long index1, long index2, long index3) { throw null; } - public object GetValue(params long[] indices) { throw null; } - public static int IndexOf(System.Array array, object value) { throw null; } - public static int IndexOf(System.Array array, object value, int startIndex) { throw null; } - public static int IndexOf(System.Array array, object value, int startIndex, int count) { throw null; } + public object? GetValue(int index) { throw null; } + public object? GetValue(int index1, int index2) { throw null; } + public object? GetValue(int index1, int index2, int index3) { throw null; } + public object? GetValue(params int[] indices) { throw null; } + public object? GetValue(long index) { throw null; } + public object? GetValue(long index1, long index2) { throw null; } + public object? GetValue(long index1, long index2, long index3) { throw null; } + public object? GetValue(params long[] indices) { throw null; } + public static int IndexOf(System.Array array, object? value) { throw null; } + public static int IndexOf(System.Array array, object? value, int startIndex) { throw null; } + public static int IndexOf(System.Array array, object? value, int startIndex, int count) { throw null; } public static int IndexOf(T[] array, T value) { throw null; } public static int IndexOf(T[] array, T value, int startIndex) { throw null; } public static int IndexOf(T[] array, T value, int startIndex, int count) { throw null; } public void Initialize() { } - public static int LastIndexOf(System.Array array, object value) { throw null; } - public static int LastIndexOf(System.Array array, object value, int startIndex) { throw null; } - public static int LastIndexOf(System.Array array, object value, int startIndex, int count) { throw null; } + public static int LastIndexOf(System.Array array, object? value) { throw null; } + public static int LastIndexOf(System.Array array, object? value, int startIndex) { throw null; } + public static int LastIndexOf(System.Array array, object? value, int startIndex, int count) { throw null; } public static int LastIndexOf(T[] array, T value) { throw null; } public static int LastIndexOf(T[] array, T value, int startIndex) { throw null; } public static int LastIndexOf(T[] array, T value, int startIndex, int count) { throw null; } - public static void Resize(ref T[] array, int newSize) { } + public static void Resize(ref T[]? array, int newSize) { } public static void Reverse(System.Array array) { } public static void Reverse(System.Array array, int index, int length) { } public static void Reverse(T[] array) { } public static void Reverse(T[] array, int index, int length) { } - public void SetValue(object value, int index) { } - public void SetValue(object value, int index1, int index2) { } - public void SetValue(object value, int index1, int index2, int index3) { } - public void SetValue(object value, params int[] indices) { } - public void SetValue(object value, long index) { } - public void SetValue(object value, long index1, long index2) { } - public void SetValue(object value, long index1, long index2, long index3) { } - public void SetValue(object value, params long[] indices) { } + public void SetValue(object? value, int index) { } + public void SetValue(object? value, int index1, int index2) { } + public void SetValue(object? value, int index1, int index2, int index3) { } + public void SetValue(object? value, params int[] indices) { } + public void SetValue(object? value, long index) { } + public void SetValue(object? value, long index1, long index2) { } + public void SetValue(object? value, long index1, long index2, long index3) { } + public void SetValue(object? value, params long[] indices) { } public static void Sort(System.Array array) { } - public static void Sort(System.Array keys, System.Array items) { } - public static void Sort(System.Array keys, System.Array items, System.Collections.IComparer comparer) { } - public static void Sort(System.Array keys, System.Array items, int index, int length) { } - public static void Sort(System.Array keys, System.Array items, int index, int length, System.Collections.IComparer comparer) { } - public static void Sort(System.Array array, System.Collections.IComparer comparer) { } + public static void Sort(System.Array keys, System.Array? items) { } + public static void Sort(System.Array keys, System.Array? items, System.Collections.IComparer? comparer) { } + public static void Sort(System.Array keys, System.Array? items, int index, int length) { } + public static void Sort(System.Array keys, System.Array? items, int index, int length, System.Collections.IComparer? comparer) { } + public static void Sort(System.Array array, System.Collections.IComparer? comparer) { } public static void Sort(System.Array array, int index, int length) { } - public static void Sort(System.Array array, int index, int length, System.Collections.IComparer comparer) { } + public static void Sort(System.Array array, int index, int length, System.Collections.IComparer? comparer) { } public static void Sort(T[] array) { } - public static void Sort(T[] array, System.Collections.Generic.IComparer comparer) { } + public static void Sort(T[] array, System.Collections.Generic.IComparer? comparer) { } public static void Sort(T[] array, System.Comparison comparison) { } public static void Sort(T[] array, int index, int length) { } - public static void Sort(T[] array, int index, int length, System.Collections.Generic.IComparer comparer) { } - public static void Sort(TKey[] keys, TValue[] items) { } - public static void Sort(TKey[] keys, TValue[] items, System.Collections.Generic.IComparer comparer) { } - public static void Sort(TKey[] keys, TValue[] items, int index, int length) { } - public static void Sort(TKey[] keys, TValue[] items, int index, int length, System.Collections.Generic.IComparer comparer) { } - int System.Collections.IList.Add(object value) { throw null; } + public static void Sort(T[] array, int index, int length, System.Collections.Generic.IComparer? comparer) { } + public static void Sort(TKey[] keys, TValue[]? items) { } + public static void Sort(TKey[] keys, TValue[]? items, System.Collections.Generic.IComparer? comparer) { } + public static void Sort(TKey[] keys, TValue[]? items, int index, int length) { } + public static void Sort(TKey[] keys, TValue[]? items, int index, int length, System.Collections.Generic.IComparer? comparer) { } + int System.Collections.IList.Add(object? value) { throw null; } void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } + bool System.Collections.IList.Contains(object? value) { throw null; } + int System.Collections.IList.IndexOf(object? value) { throw null; } + void System.Collections.IList.Insert(int index, object? value) { } + void System.Collections.IList.Remove(object? value) { } void System.Collections.IList.RemoveAt(int index) { } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } public static bool TrueForAll(T[] array, System.Predicate match) { throw null; } } public readonly partial struct ArraySegment : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable { - private readonly T[] _array; + private readonly T[]? _array; private readonly object _dummy; private readonly int _dummyPrimitive; public ArraySegment(T[] array) { throw null; } public ArraySegment(T[] array, int offset, int count) { throw null; } - public T[] Array { get { throw null; } } + public T[]? Array { get { throw null; } } public int Count { get { throw null; } } public static System.ArraySegment Empty { get { throw null; } } public T this[int index] { get { throw null; } set { } } @@ -307,7 +307,7 @@ namespace System public void CopyTo(T[] destination) { } public void CopyTo(T[] destination, int destinationIndex) { } public bool Equals(System.ArraySegment obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public System.ArraySegment.Enumerator GetEnumerator() { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.ArraySegment a, System.ArraySegment b) { throw null; } @@ -327,11 +327,11 @@ namespace System public T[] ToArray() { throw null; } public partial struct Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { - private readonly T[] _array; + private readonly T[]? _array; private object _dummy; private int _dummyPrimitive; public T Current { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } + object? System.Collections.IEnumerator.Current { get { throw null; } } public void Dispose() { } public bool MoveNext() { throw null; } void System.Collections.IEnumerator.Reset() { } @@ -341,8 +341,8 @@ namespace System { public ArrayTypeMismatchException() { } protected ArrayTypeMismatchException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ArrayTypeMismatchException(string message) { } - public ArrayTypeMismatchException(string message, System.Exception innerException) { } + public ArrayTypeMismatchException(string? message) { } + public ArrayTypeMismatchException(string? message, System.Exception? innerException) { } } public delegate void AsyncCallback(System.IAsyncResult ar); [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=true, AllowMultiple=false)] @@ -350,15 +350,15 @@ namespace System { protected Attribute() { } public virtual object TypeId { get { throw null; } } - public override bool Equals(object obj) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.Assembly element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.Assembly element, System.Type attributeType, bool inherit) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.MemberInfo element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.Module element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.Module element, System.Type attributeType, bool inherit) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; } + public override bool Equals(object? obj) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.Assembly element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.Assembly element, System.Type attributeType, bool inherit) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.MemberInfo element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.Module element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.Module element, System.Type attributeType, bool inherit) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; } public static System.Attribute[] GetCustomAttributes(System.Reflection.Assembly element) { throw null; } public static System.Attribute[] GetCustomAttributes(System.Reflection.Assembly element, bool inherit) { throw null; } public static System.Attribute[] GetCustomAttributes(System.Reflection.Assembly element, System.Type attributeType) { throw null; } @@ -385,7 +385,7 @@ namespace System public static bool IsDefined(System.Reflection.Module element, System.Type attributeType, bool inherit) { throw null; } public static bool IsDefined(System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; } public static bool IsDefined(System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; } - public virtual bool Match(object obj) { throw null; } + public virtual bool Match(object? obj) { throw null; } } [System.FlagsAttribute] public enum AttributeTargets @@ -419,12 +419,12 @@ namespace System { public BadImageFormatException() { } protected BadImageFormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public BadImageFormatException(string message) { } - public BadImageFormatException(string message, System.Exception inner) { } - public BadImageFormatException(string message, string fileName) { } - public BadImageFormatException(string message, string fileName, System.Exception inner) { } - public string FileName { get { throw null; } } - public string FusionLog { get { throw null; } } + public BadImageFormatException(string? message) { } + public BadImageFormatException(string? message, System.Exception? inner) { } + public BadImageFormatException(string? message, string? fileName) { } + public BadImageFormatException(string? message, string? fileName, System.Exception? inner) { } + public string? FileName { get { throw null; } } + public string? FusionLog { get { throw null; } } public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } @@ -435,33 +435,33 @@ namespace System public static readonly string FalseString; public static readonly string TrueString; public int CompareTo(System.Boolean value) { throw null; } - public int CompareTo(object obj) { throw null; } + public int CompareTo(object? obj) { throw null; } public System.Boolean Equals(System.Boolean obj) { throw null; } - public override System.Boolean Equals(object obj) { throw null; } + public override System.Boolean Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } public static System.Boolean Parse(System.ReadOnlySpan value) { throw null; } public static System.Boolean Parse(string value) { throw null; } - System.Boolean System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + System.Boolean System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } public System.Boolean TryFormat(System.Span destination, out int charsWritten) { throw null; } public static System.Boolean TryParse(System.ReadOnlySpan value, out System.Boolean result) { throw null; } - public static System.Boolean TryParse(string value, out System.Boolean result) { throw null; } + public static System.Boolean TryParse(string? value, out System.Boolean result) { throw null; } } public static partial class Buffer { @@ -480,40 +480,40 @@ namespace System public const byte MaxValue = (byte)255; public const byte MinValue = (byte)0; public int CompareTo(System.Byte value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public bool Equals(System.Byte obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } - public static System.Byte Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.Byte Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } public static System.Byte Parse(string s) { throw null; } public static System.Byte Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Byte Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Byte Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - System.Byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.Byte Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Byte Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + System.Byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Byte result) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Byte result) { throw null; } - public static bool TryParse(string s, out System.Byte result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Byte result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Byte result) { throw null; } + public static bool TryParse(string? s, out System.Byte result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Byte result) { throw null; } } public readonly partial struct Char : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable { @@ -521,12 +521,12 @@ namespace System public const char MaxValue = '\uFFFF'; public const char MinValue = '\0'; public int CompareTo(System.Char value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public static string ConvertFromUtf32(int utf32) { throw null; } public static int ConvertToUtf32(System.Char highSurrogate, System.Char lowSurrogate) { throw null; } public static int ConvertToUtf32(string s, int index) { throw null; } public bool Equals(System.Char obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public static double GetNumericValue(System.Char c) { throw null; } public static double GetNumericValue(string s, int index) { throw null; } @@ -564,37 +564,37 @@ namespace System public static bool IsWhiteSpace(System.Char c) { throw null; } public static bool IsWhiteSpace(string s, int index) { throw null; } public static System.Char Parse(string s) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - System.Char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + System.Char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public static System.Char ToLower(System.Char c) { throw null; } public static System.Char ToLower(System.Char c, System.Globalization.CultureInfo culture) { throw null; } public static System.Char ToLowerInvariant(System.Char c) { throw null; } public override string ToString() { throw null; } public static string ToString(System.Char c) { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } public static System.Char ToUpper(System.Char c) { throw null; } public static System.Char ToUpper(System.Char c, System.Globalization.CultureInfo culture) { throw null; } public static System.Char ToUpperInvariant(System.Char c) { throw null; } - public static bool TryParse(string s, out System.Char result) { throw null; } + public static bool TryParse(string? s, out System.Char result) { throw null; } } public sealed partial class CharEnumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.ICloneable, System.IDisposable { internal CharEnumerator() { } public char Current { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } + object? System.Collections.IEnumerator.Current { get { throw null; } } public object Clone() { throw null; } public void Dispose() { } public bool MoveNext() { throw null; } @@ -652,19 +652,19 @@ namespace System public System.DateTime AddYears(int value) { throw null; } public static int Compare(System.DateTime t1, System.DateTime t2) { throw null; } public int CompareTo(System.DateTime value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public static int DaysInMonth(int year, int month) { 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(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public static System.DateTime FromBinary(long dateData) { throw null; } public static System.DateTime FromFileTime(long fileTime) { throw null; } public static System.DateTime FromFileTimeUtc(long fileTime) { throw null; } public static System.DateTime FromOADate(double d) { throw null; } public string[] GetDateTimeFormats() { throw null; } public string[] GetDateTimeFormats(char format) { throw null; } - public string[] GetDateTimeFormats(char format, System.IFormatProvider provider) { throw null; } - public string[] GetDateTimeFormats(System.IFormatProvider provider) { throw null; } + public string[] GetDateTimeFormats(char format, System.IFormatProvider? provider) { throw null; } + public string[] GetDateTimeFormats(System.IFormatProvider? provider) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } public bool IsDaylightSavingTime() { throw null; } @@ -678,33 +678,33 @@ namespace System public static bool operator <=(System.DateTime t1, System.DateTime t2) { 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 = null, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } + public static System.DateTime Parse(System.ReadOnlySpan s, System.IFormatProvider? provider = null, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } public static System.DateTime Parse(string s) { throw null; } - public static System.DateTime Parse(string s, System.IFormatProvider provider) { throw null; } - public static System.DateTime Parse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles styles) { throw null; } - public static System.DateTime ParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style = System.Globalization.DateTimeStyles.None) { throw null; } - public static System.DateTime ParseExact(System.ReadOnlySpan s, string[] formats, System.IFormatProvider provider, System.Globalization.DateTimeStyles style = System.Globalization.DateTimeStyles.None) { throw null; } - public static System.DateTime ParseExact(string s, string format, System.IFormatProvider provider) { throw null; } - public static System.DateTime ParseExact(string s, string format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style) { throw null; } - public static System.DateTime ParseExact(string s, string[] formats, System.IFormatProvider provider, System.Globalization.DateTimeStyles style) { throw null; } + public static System.DateTime Parse(string s, System.IFormatProvider? provider) { throw null; } + public static System.DateTime Parse(string s, System.IFormatProvider? provider, System.Globalization.DateTimeStyles styles) { throw null; } + public static System.DateTime ParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style = System.Globalization.DateTimeStyles.None) { throw null; } + public static System.DateTime ParseExact(System.ReadOnlySpan s, string[] formats, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style = System.Globalization.DateTimeStyles.None) { throw null; } + public static System.DateTime ParseExact(string s, string format, System.IFormatProvider? provider) { throw null; } + public static System.DateTime ParseExact(string s, string format, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style) { throw null; } + public static System.DateTime ParseExact(string s, string[] formats, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style) { throw null; } public static System.DateTime SpecifyKind(System.DateTime value, System.DateTimeKind kind) { throw null; } public System.TimeSpan Subtract(System.DateTime value) { throw null; } public System.DateTime Subtract(System.TimeSpan value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public long ToBinary() { throw null; } public long ToFileTime() { throw null; } @@ -716,19 +716,19 @@ namespace System public string ToShortDateString() { throw null; } public string ToShortTimeString() { throw null; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } public System.DateTime ToUniversalTime() { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, 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, System.Globalization.DateTimeStyles styles, out System.DateTime result) { throw null; } - public static bool TryParse(string s, out System.DateTime result) { throw null; } - public static bool TryParse(string s, System.IFormatProvider provider, System.Globalization.DateTimeStyles styles, out System.DateTime result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan s, string[] formats, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } - public static bool TryParseExact(string s, string format, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } - public static bool TryParseExact(string s, string[] formats, System.IFormatProvider provider, System.Globalization.DateTimeStyles style, 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; } + public static bool TryParse(string? s, out System.DateTime result) { throw null; } + public static bool TryParse(string? s, System.IFormatProvider? provider, System.Globalization.DateTimeStyles styles, out System.DateTime result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan s, System.ReadOnlySpan format, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan s, string?[]? formats, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } + public static bool TryParseExact(string? s, string? format, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } + public static bool TryParseExact(string? s, string?[]? formats, System.IFormatProvider? provider, System.Globalization.DateTimeStyles style, out System.DateTime result) { throw null; } } public enum DateTimeKind { @@ -780,7 +780,7 @@ namespace System public int CompareTo(System.DateTimeOffset other) { 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(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool EqualsExact(System.DateTimeOffset other) { throw null; } public static System.DateTimeOffset FromFileTime(long fileTime) { throw null; } public static System.DateTimeOffset FromUnixTimeMilliseconds(long milliseconds) { throw null; } @@ -796,39 +796,39 @@ namespace System public static bool operator <=(System.DateTimeOffset left, System.DateTimeOffset right) { 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 input, System.IFormatProvider formatProvider = null, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } + public static System.DateTimeOffset Parse(System.ReadOnlySpan input, System.IFormatProvider? formatProvider = null, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } public static System.DateTimeOffset Parse(string input) { throw null; } - public static System.DateTimeOffset Parse(string input, System.IFormatProvider formatProvider) { throw null; } - public static System.DateTimeOffset Parse(string input, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } - public static System.DateTimeOffset ParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } - public static System.DateTimeOffset ParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } - public static System.DateTimeOffset ParseExact(string input, string format, System.IFormatProvider formatProvider) { throw null; } - public static System.DateTimeOffset ParseExact(string input, string format, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } - public static System.DateTimeOffset ParseExact(string input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } + public static System.DateTimeOffset Parse(string input, System.IFormatProvider? formatProvider) { throw null; } + public static System.DateTimeOffset Parse(string input, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } + public static System.DateTimeOffset ParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } + public static System.DateTimeOffset ParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles = System.Globalization.DateTimeStyles.None) { throw null; } + public static System.DateTimeOffset ParseExact(string input, string format, System.IFormatProvider? formatProvider) { throw null; } + public static System.DateTimeOffset ParseExact(string input, string format, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } + public static System.DateTimeOffset ParseExact(string input, string[] formats, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } public System.TimeSpan Subtract(System.DateTimeOffset value) { throw null; } public System.DateTimeOffset Subtract(System.TimeSpan value) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + int System.IComparable.CompareTo(object? obj) { 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) { } public long ToFileTime() { throw null; } public System.DateTimeOffset ToLocalTime() { throw null; } public System.DateTimeOffset ToOffset(System.TimeSpan offset) { throw null; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider formatProvider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider formatProvider) { throw null; } + public string ToString(System.IFormatProvider? formatProvider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } 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.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider formatProvider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, 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 input, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } - public static bool TryParse(string input, out System.DateTimeOffset result) { throw null; } - public static bool TryParse(string input, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } - public static bool TryParseExact(string input, string format, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } - public static bool TryParseExact(string input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.DateTimeStyles styles, 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; } + public static bool TryParse(string? input, out System.DateTimeOffset result) { throw null; } + public static bool TryParse(string? input, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan input, string?[]? formats, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } + public static bool TryParseExact(string? input, string? format, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } + public static bool TryParseExact(string? input, string?[]? formats, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles, out System.DateTimeOffset result) { throw null; } } public enum DayOfWeek { @@ -846,23 +846,23 @@ namespace System public static readonly System.DBNull Value; 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; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { 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.Runtime.Serialization.IDeserializationCallback { @@ -891,11 +891,11 @@ namespace System public static System.Decimal Ceiling(System.Decimal d) { throw null; } public static int Compare(System.Decimal d1, System.Decimal d2) { throw null; } public int CompareTo(System.Decimal value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public static System.Decimal Divide(System.Decimal d1, System.Decimal d2) { throw null; } public bool Equals(System.Decimal value) { throw null; } public static bool Equals(System.Decimal d1, System.Decimal d2) { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public static System.Decimal Floor(System.Decimal d) { throw null; } public static System.Decimal FromOACurrency(long cy) { throw null; } public static int[] GetBits(System.Decimal d) { throw null; } @@ -948,33 +948,33 @@ namespace System public static System.Decimal operator -(System.Decimal d1, System.Decimal d2) { throw null; } public static System.Decimal operator -(System.Decimal d) { throw null; } public static System.Decimal operator +(System.Decimal d) { throw null; } - public static System.Decimal Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Number, System.IFormatProvider provider = null) { throw null; } + public static System.Decimal Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Number, System.IFormatProvider? provider = null) { throw null; } public static System.Decimal Parse(string s) { throw null; } public static System.Decimal Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Decimal Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Decimal Parse(string s, System.IFormatProvider provider) { throw null; } + public static System.Decimal Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Decimal Parse(string s, System.IFormatProvider? provider) { throw null; } public static System.Decimal Remainder(System.Decimal d1, System.Decimal d2) { throw null; } public static System.Decimal Round(System.Decimal d) { throw null; } public static System.Decimal Round(System.Decimal d, int decimals) { throw null; } public static System.Decimal Round(System.Decimal d, int decimals, System.MidpointRounding mode) { throw null; } public static System.Decimal Round(System.Decimal d, System.MidpointRounding mode) { throw null; } public static System.Decimal Subtract(System.Decimal d1, System.Decimal d2) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - System.Decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + System.Decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } public static byte ToByte(System.Decimal value) { throw null; } public static double ToDouble(System.Decimal d) { throw null; } public static short ToInt16(System.Decimal value) { throw null; } @@ -985,9 +985,9 @@ namespace System public static sbyte ToSByte(System.Decimal value) { throw null; } public static float ToSingle(System.Decimal d) { throw null; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } [System.CLSCompliantAttribute(false)] public static ushort ToUInt16(System.Decimal value) { throw null; } [System.CLSCompliantAttribute(false)] @@ -995,59 +995,59 @@ namespace System [System.CLSCompliantAttribute(false)] public static ulong ToUInt64(System.Decimal d) { throw null; } public static System.Decimal Truncate(System.Decimal d) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Decimal result) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Decimal result) { throw null; } - public static bool TryParse(string s, out System.Decimal result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Decimal result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Decimal result) { throw null; } + public static bool TryParse(string? s, out System.Decimal result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Decimal result) { throw null; } } public abstract partial class Delegate : System.ICloneable, System.Runtime.Serialization.ISerializable { protected Delegate(object target, string method) { } protected Delegate(System.Type target, string method) { } public System.Reflection.MethodInfo Method { get { throw null; } } - public object Target { get { throw null; } } + public object? Target { get { throw null; } } public virtual object Clone() { throw null; } - public static System.Delegate Combine(System.Delegate a, System.Delegate b) { throw null; } - public static System.Delegate Combine(params System.Delegate[] delegates) { throw null; } - protected virtual System.Delegate CombineImpl(System.Delegate d) { throw null; } - public static System.Delegate CreateDelegate(System.Type type, object firstArgument, System.Reflection.MethodInfo method) { throw null; } - public static System.Delegate CreateDelegate(System.Type type, object firstArgument, System.Reflection.MethodInfo method, bool throwOnBindFailure) { throw null; } + public static System.Delegate? Combine(System.Delegate? a, System.Delegate? b) { throw null; } + public static System.Delegate? Combine(params System.Delegate?[]? delegates) { throw null; } + protected virtual System.Delegate CombineImpl(System.Delegate? d) { throw null; } + public static System.Delegate CreateDelegate(System.Type type, object? firstArgument, System.Reflection.MethodInfo method) { throw null; } + public static System.Delegate? CreateDelegate(System.Type type, object? firstArgument, System.Reflection.MethodInfo method, bool throwOnBindFailure) { throw null; } public static System.Delegate CreateDelegate(System.Type type, object target, string method) { throw null; } public static System.Delegate CreateDelegate(System.Type type, object target, string method, bool ignoreCase) { throw null; } - public static System.Delegate CreateDelegate(System.Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure) { throw null; } + public static System.Delegate? CreateDelegate(System.Type type, object target, string method, bool ignoreCase, bool throwOnBindFailure) { throw null; } public static System.Delegate CreateDelegate(System.Type type, System.Reflection.MethodInfo method) { throw null; } - public static System.Delegate CreateDelegate(System.Type type, System.Reflection.MethodInfo method, bool throwOnBindFailure) { throw null; } + public static System.Delegate? CreateDelegate(System.Type type, System.Reflection.MethodInfo method, bool throwOnBindFailure) { throw null; } public static System.Delegate CreateDelegate(System.Type type, System.Type target, string method) { throw null; } public static System.Delegate CreateDelegate(System.Type type, System.Type target, string method, bool ignoreCase) { throw null; } - public static System.Delegate CreateDelegate(System.Type type, System.Type target, string method, bool ignoreCase, bool throwOnBindFailure) { throw null; } - public object DynamicInvoke(params object[] args) { throw null; } - protected virtual object DynamicInvokeImpl(object[] args) { throw null; } - public override bool Equals(object obj) { throw null; } + public static System.Delegate? CreateDelegate(System.Type type, System.Type target, string method, bool ignoreCase, bool throwOnBindFailure) { throw null; } + public object? DynamicInvoke(params object?[]? args) { throw null; } + protected virtual object? DynamicInvokeImpl(object?[]? args) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public virtual System.Delegate[] GetInvocationList() { throw null; } protected virtual System.Reflection.MethodInfo GetMethodImpl() { throw null; } 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; } - public static System.Delegate Remove(System.Delegate source, System.Delegate value) { throw null; } - public static System.Delegate RemoveAll(System.Delegate source, System.Delegate value) { throw null; } - protected virtual System.Delegate RemoveImpl(System.Delegate d) { throw null; } + public static bool operator ==(System.Delegate? d1, System.Delegate? d2) { throw null; } + public static bool operator !=(System.Delegate? d1, System.Delegate? d2) { throw null; } + public static System.Delegate? Remove(System.Delegate? source, System.Delegate? value) { throw null; } + public static System.Delegate? RemoveAll(System.Delegate? source, System.Delegate? value) { throw null; } + protected virtual System.Delegate? RemoveImpl(System.Delegate d) { throw null; } } public partial class DivideByZeroException : System.ArithmeticException { public DivideByZeroException() { } protected DivideByZeroException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public DivideByZeroException(string message) { } - public DivideByZeroException(string message, System.Exception innerException) { } + 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 { private readonly double _dummyPrimitive; public int CompareTo(System.Double value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public bool Equals(System.Double obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } public static bool IsFinite(System.Double d) { throw null; } @@ -1064,59 +1064,59 @@ namespace System public static bool operator !=(System.Double left, System.Double right) { throw null; } public static bool operator <(System.Double left, System.Double right) { throw null; } public static bool operator <=(System.Double left, System.Double right) { throw null; } - public static System.Double Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.AllowDecimalPoint | System.Globalization.NumberStyles.AllowExponent | System.Globalization.NumberStyles.AllowLeadingSign | System.Globalization.NumberStyles.AllowLeadingWhite | System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.AllowTrailingWhite, System.IFormatProvider provider = null) { throw null; } + public static System.Double Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.AllowDecimalPoint | System.Globalization.NumberStyles.AllowExponent | System.Globalization.NumberStyles.AllowLeadingSign | System.Globalization.NumberStyles.AllowLeadingWhite | System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.AllowTrailingWhite, System.IFormatProvider? provider = null) { throw null; } public static System.Double Parse(string s) { throw null; } public static System.Double Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Double Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Double Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - System.Double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.Double Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Double Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + System.Double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Double result) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Double result) { throw null; } - public static bool TryParse(string s, out System.Double result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Double result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Double result) { throw null; } + public static bool TryParse(string? s, out System.Double result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Double result) { throw null; } } public partial class DuplicateWaitObjectException : System.ArgumentException { public DuplicateWaitObjectException() { } protected DuplicateWaitObjectException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public DuplicateWaitObjectException(string parameterName) { } - public DuplicateWaitObjectException(string message, System.Exception innerException) { } - public DuplicateWaitObjectException(string parameterName, string message) { } + public DuplicateWaitObjectException(string? parameterName) { } + public DuplicateWaitObjectException(string? message, System.Exception? innerException) { } + public DuplicateWaitObjectException(string? parameterName, string? message) { } } public partial class EntryPointNotFoundException : System.TypeLoadException { public EntryPointNotFoundException() { } protected EntryPointNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public EntryPointNotFoundException(string message) { } - public EntryPointNotFoundException(string message, System.Exception inner) { } + public EntryPointNotFoundException(string? message) { } + public EntryPointNotFoundException(string? message, System.Exception? inner) { } } public abstract partial class Enum : System.ValueType, System.IComparable, System.IConvertible, System.IFormattable { protected Enum() { } - public int CompareTo(object target) { throw null; } - public override bool Equals(object obj) { throw null; } + public int CompareTo(object? target) { throw null; } + public override bool Equals(object? obj) { throw null; } public static string Format(System.Type enumType, object value, 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(System.Type enumType, object value) { throw null; } public static string[] GetNames(System.Type enumType) { throw null; } public System.TypeCode GetTypeCode() { throw null; } public static System.Type GetUnderlyingType(System.Type enumType) { throw null; } @@ -1127,21 +1127,21 @@ namespace System public static object Parse(System.Type enumType, string value, bool ignoreCase) { throw null; } public static TEnum Parse(string value) where TEnum : struct { throw null; } public static TEnum Parse(string value, bool ignoreCase) where TEnum : struct { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } 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; } @@ -1157,36 +1157,36 @@ namespace System public static object ToObject(System.Type enumType, ulong value) { throw null; } public override string ToString() { throw null; } [System.ObsoleteAttribute("The provider argument is not used. Please use ToString().")] - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } [System.ObsoleteAttribute("The provider argument is not used. Please use ToString(String).")] - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public static bool TryParse(System.Type enumType, string value, bool ignoreCase, out object result) { throw null; } - public static bool TryParse(System.Type enumType, string value, out object result) { throw null; } - public static bool TryParse(string value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; } - public static bool TryParse(string value, out TEnum result) where TEnum : struct { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public static bool TryParse(System.Type enumType, string? value, bool ignoreCase, out object? result) { throw null; } + public static bool TryParse(System.Type enumType, string? value, out object? result) { throw null; } + public static bool TryParse(string? value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; } + public static bool TryParse(string? value, out TEnum result) where TEnum : struct { throw null; } } public partial class EventArgs { public static readonly System.EventArgs Empty; public EventArgs() { } } - public delegate void EventHandler(object sender, System.EventArgs e); - public delegate void EventHandler(object sender, TEventArgs e); + public delegate void EventHandler(object? sender, System.EventArgs e); + public delegate void EventHandler(object? sender, TEventArgs e); public partial class Exception : System.Runtime.Serialization.ISerializable { public Exception() { } protected Exception(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public Exception(string message) { } - public Exception(string message, System.Exception innerException) { } + public Exception(string? message) { } + public Exception(string? message, System.Exception? innerException) { } public virtual System.Collections.IDictionary Data { get { throw null; } } - public virtual string HelpLink { get { throw null; } set { } } + public virtual string? HelpLink { get { throw null; } set { } } public int HResult { get { throw null; } set { } } - public System.Exception InnerException { get { throw null; } } + public System.Exception? InnerException { get { throw null; } } public virtual string Message { get { throw null; } } - public virtual string Source { get { throw null; } set { } } - public virtual string StackTrace { get { throw null; } } - public System.Reflection.MethodBase TargetSite { get { throw null; } } + public virtual string? Source { get { throw null; } set { } } + public virtual string? StackTrace { get { throw null; } } + public System.Reflection.MethodBase? TargetSite { get { throw null; } } protected event System.EventHandler SerializeObjectState { add { } remove { } } public virtual System.Exception GetBaseException() { throw null; } public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } @@ -1197,15 +1197,15 @@ namespace System public sealed partial class ExecutionEngineException : System.SystemException { public ExecutionEngineException() { } - public ExecutionEngineException(string message) { } - public ExecutionEngineException(string message, System.Exception innerException) { } + public ExecutionEngineException(string? message) { } + public ExecutionEngineException(string? message, System.Exception? innerException) { } } public partial class FieldAccessException : System.MemberAccessException { public FieldAccessException() { } protected FieldAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public FieldAccessException(string message) { } - public FieldAccessException(string message, System.Exception inner) { } + public FieldAccessException(string? message) { } + public FieldAccessException(string? message, System.Exception? inner) { } } public partial class FileStyleUriParser : System.UriParser { @@ -1220,8 +1220,8 @@ namespace System { public FormatException() { } protected FormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public FormatException(string message) { } - public FormatException(string message, System.Exception innerException) { } + public FormatException(string? message) { } + public FormatException(string? message, System.Exception? innerException) { } } public abstract partial class FormattableString : System.IFormattable { @@ -1229,12 +1229,12 @@ namespace System public abstract int ArgumentCount { get; } public abstract string Format { get; } public static string CurrentCulture(System.FormattableString formattable) { throw null; } - public abstract object GetArgument(int index); - public abstract object[] GetArguments(); + public abstract object? GetArgument(int index); + public abstract object?[] GetArguments(); public static string Invariant(System.FormattableString formattable) { throw null; } - string System.IFormattable.ToString(string ignored, System.IFormatProvider formatProvider) { throw null; } + string System.IFormattable.ToString(string? ignored, System.IFormatProvider? formatProvider) { throw null; } public override string ToString() { throw null; } - public abstract string ToString(System.IFormatProvider formatProvider); + public abstract string ToString(System.IFormatProvider? formatProvider); } public partial class FtpStyleUriParser : System.UriParser { @@ -1275,7 +1275,7 @@ namespace System 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 void KeepAlive(object obj) { } + public static void KeepAlive(object? obj) { } public static void RegisterForFullGCNotification(int maxGenerationThreshold, int largeObjectHeapThreshold) { } public static void RemoveMemoryPressure(long bytesAllocated) { } public static void ReRegisterForFinalize(object obj) { } @@ -1296,7 +1296,7 @@ namespace System Forced = 1, Optimized = 2, } - public readonly struct GCMemoryInfo + public readonly partial struct GCMemoryInfo { private readonly int _dummyPrimitive; public long FragmentedBytes { get { throw null; } } @@ -1349,9 +1349,9 @@ namespace System [System.CLSCompliantAttribute(false)] public Guid(uint a, ushort b, ushort c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k) { throw null; } public int CompareTo(System.Guid value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public bool Equals(System.Guid g) { throw null; } - public override bool Equals(object o) { throw null; } + public override bool Equals(object? o) { throw null; } public override int GetHashCode() { throw null; } public static System.Guid NewGuid() { throw null; } public static bool operator ==(System.Guid a, System.Guid b) { throw null; } @@ -1362,20 +1362,20 @@ namespace System public static System.Guid ParseExact(string input, string format) { throw null; } public byte[] ToByteArray() { throw null; } public override string ToString() { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } public bool TryFormat(System.Span destination, out int charsWritten, 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(string input, out System.Guid result) { throw null; } + public static bool TryParse(string? input, out System.Guid result) { throw null; } public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, out System.Guid result) { throw null; } - public static bool TryParseExact(string input, string format, out System.Guid result) { throw null; } + public static bool TryParseExact(string? input, string? format, out System.Guid result) { throw null; } public bool TryWriteBytes(System.Span destination) { throw null; } } public partial struct HashCode { private int _dummyPrimitive; public void Add(T value) { } - public void Add(T value, System.Collections.Generic.IEqualityComparer comparer) { } + public void Add(T value, System.Collections.Generic.IEqualityComparer? comparer) { } public static int Combine(T1 value1) { throw null; } public static int Combine(T1 value1, T2 value2) { throw null; } public static int Combine(T1 value1, T2 value2, T3 value3) { throw null; } @@ -1386,7 +1386,7 @@ namespace System public static int Combine(T1 value1, T2 value2, T3 value3, T4 value4, T5 value5, T6 value6, T7 value7, T8 value8) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("HashCode is a mutable struct and should not be compared with other HashCodes.", true)] - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("HashCode is a mutable struct and should not be compared with other HashCodes. Use ToHashCode to retrieve the computed hash code.", true)] public override int GetHashCode() { throw null; } @@ -1402,7 +1402,7 @@ namespace System } public partial interface IAsyncResult { - object AsyncState { get; } + object? AsyncState { get; } System.Threading.WaitHandle AsyncWaitHandle { get; } bool CompletedSynchronously { get; } bool IsCompleted { get; } @@ -1413,7 +1413,7 @@ namespace System } public partial interface IComparable { - int CompareTo(object obj); + int CompareTo(object? obj); } public partial interface IComparable { @@ -1423,26 +1423,26 @@ namespace System public partial interface IConvertible { System.TypeCode GetTypeCode(); - bool ToBoolean(System.IFormatProvider provider); - byte ToByte(System.IFormatProvider provider); - char ToChar(System.IFormatProvider provider); - System.DateTime ToDateTime(System.IFormatProvider provider); - decimal ToDecimal(System.IFormatProvider provider); - double ToDouble(System.IFormatProvider provider); - short ToInt16(System.IFormatProvider provider); - int ToInt32(System.IFormatProvider provider); - long ToInt64(System.IFormatProvider provider); - sbyte ToSByte(System.IFormatProvider provider); - float ToSingle(System.IFormatProvider provider); - string ToString(System.IFormatProvider provider); - object ToType(System.Type conversionType, System.IFormatProvider provider); - ushort ToUInt16(System.IFormatProvider provider); - uint ToUInt32(System.IFormatProvider provider); - ulong ToUInt64(System.IFormatProvider provider); + bool ToBoolean(System.IFormatProvider? provider); + byte ToByte(System.IFormatProvider? provider); + char ToChar(System.IFormatProvider? provider); + System.DateTime ToDateTime(System.IFormatProvider? provider); + decimal ToDecimal(System.IFormatProvider? provider); + double ToDouble(System.IFormatProvider? provider); + short ToInt16(System.IFormatProvider? provider); + int ToInt32(System.IFormatProvider? provider); + long ToInt64(System.IFormatProvider? provider); + sbyte ToSByte(System.IFormatProvider? provider); + float ToSingle(System.IFormatProvider? provider); + string ToString(System.IFormatProvider? provider); + object ToType(System.Type conversionType, System.IFormatProvider? provider); + ushort ToUInt16(System.IFormatProvider? provider); + uint ToUInt32(System.IFormatProvider? provider); + ulong ToUInt64(System.IFormatProvider? provider); } public partial interface ICustomFormatter { - string Format(string format, object arg, System.IFormatProvider formatProvider); + string Format(string? format, object? arg, System.IFormatProvider? formatProvider); } public partial interface IDisposable { @@ -1454,11 +1454,11 @@ namespace System } public partial interface IFormatProvider { - object GetFormat(System.Type formatType); + object? GetFormat(System.Type? formatType); } public partial interface IFormattable { - string ToString(string format, System.IFormatProvider formatProvider); + string ToString(string? format, System.IFormatProvider? formatProvider); } public readonly partial struct Index : System.IEquatable { @@ -1469,7 +1469,7 @@ namespace System public static System.Index Start { get { throw null; } } public int Value { get { throw null; } } public bool Equals(System.Index other) { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public static System.Index FromEnd(int value) { throw null; } public static System.Index FromStart(int value) { throw null; } public override int GetHashCode() { throw null; } @@ -1480,20 +1480,20 @@ namespace System public sealed partial class IndexOutOfRangeException : System.SystemException { public IndexOutOfRangeException() { } - public IndexOutOfRangeException(string message) { } - public IndexOutOfRangeException(string message, System.Exception innerException) { } + public IndexOutOfRangeException(string? message) { } + public IndexOutOfRangeException(string? message, System.Exception? innerException) { } } public sealed partial class InsufficientExecutionStackException : System.SystemException { public InsufficientExecutionStackException() { } - public InsufficientExecutionStackException(string message) { } - public InsufficientExecutionStackException(string message, System.Exception innerException) { } + public InsufficientExecutionStackException(string? message) { } + public InsufficientExecutionStackException(string? message, System.Exception? innerException) { } } public sealed partial class InsufficientMemoryException : System.OutOfMemoryException { public InsufficientMemoryException() { } - public InsufficientMemoryException(string message) { } - public InsufficientMemoryException(string message, System.Exception innerException) { } + public InsufficientMemoryException(string? message) { } + public InsufficientMemoryException(string? message, System.Exception? innerException) { } } public readonly partial struct Int16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable { @@ -1501,40 +1501,40 @@ namespace System public const short MaxValue = (short)32767; public const short MinValue = (short)-32768; public int CompareTo(System.Int16 value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public bool Equals(System.Int16 obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } - public static System.Int16 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.Int16 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } public static System.Int16 Parse(string s) { throw null; } public static System.Int16 Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Int16 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Int16 Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - System.Int16 System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.Int16 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Int16 Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + System.Int16 System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int16 result) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int16 result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Int16 result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int16 result) { throw null; } - public static bool TryParse(string s, out System.Int16 result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int16 result) { throw null; } + public static bool TryParse(string? s, out System.Int16 result) { throw null; } } public readonly partial struct Int32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable { @@ -1542,40 +1542,40 @@ namespace System public const int MaxValue = 2147483647; public const int MinValue = -2147483648; public System.Int32 CompareTo(System.Int32 value) { throw null; } - public System.Int32 CompareTo(object value) { throw null; } + public System.Int32 CompareTo(object? value) { throw null; } public bool Equals(System.Int32 obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override System.Int32 GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } - public static System.Int32 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.Int32 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } public static System.Int32 Parse(string s) { throw null; } public static System.Int32 Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Int32 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Int32 Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - System.Int32 System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.Int32 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Int32 Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + System.Int32 System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out System.Int32 charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int32 result) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out System.Int32 charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int32 result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Int32 result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int32 result) { throw null; } - public static bool TryParse(string s, out System.Int32 result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int32 result) { throw null; } + public static bool TryParse(string? s, out System.Int32 result) { throw null; } } public readonly partial struct Int64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable { @@ -1583,40 +1583,40 @@ namespace System public const long MaxValue = (long)9223372036854775807; public const long MinValue = (long)-9223372036854775808; public int CompareTo(System.Int64 value) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public bool Equals(System.Int64 obj) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } - public static System.Int64 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.Int64 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } public static System.Int64 Parse(string s) { throw null; } public static System.Int64 Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Int64 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Int64 Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - System.Int64 System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.Int64 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Int64 Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + System.Int64 System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int64 result) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int64 result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Int64 result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Int64 result) { throw null; } - public static bool TryParse(string s, out System.Int64 result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Int64 result) { throw null; } + public static bool TryParse(string? s, out System.Int64 result) { throw null; } } public readonly partial struct IntPtr : System.IEquatable, System.Runtime.Serialization.ISerializable { @@ -1628,7 +1628,7 @@ namespace System public unsafe IntPtr(void* value) { throw null; } public static int Size { get { throw null; } } public static System.IntPtr Add(System.IntPtr pointer, int offset) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public static System.IntPtr operator +(System.IntPtr pointer, int offset) { throw null; } public static bool operator ==(System.IntPtr value1, System.IntPtr value2) { throw null; } @@ -1656,29 +1656,29 @@ namespace System { public InvalidCastException() { } protected InvalidCastException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public InvalidCastException(string message) { } - public InvalidCastException(string message, System.Exception innerException) { } - public InvalidCastException(string message, int errorCode) { } + public InvalidCastException(string? message) { } + public InvalidCastException(string? message, System.Exception? innerException) { } + public InvalidCastException(string? message, int errorCode) { } } public partial class InvalidOperationException : System.SystemException { public InvalidOperationException() { } protected InvalidOperationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public InvalidOperationException(string message) { } - public InvalidOperationException(string message, System.Exception innerException) { } + public InvalidOperationException(string? message) { } + public InvalidOperationException(string? message, System.Exception? innerException) { } } public sealed partial class InvalidProgramException : System.SystemException { public InvalidProgramException() { } - public InvalidProgramException(string message) { } - public InvalidProgramException(string message, System.Exception inner) { } + public InvalidProgramException(string? message) { } + public InvalidProgramException(string? message, System.Exception? inner) { } } public partial class InvalidTimeZoneException : System.Exception { public InvalidTimeZoneException() { } protected InvalidTimeZoneException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public InvalidTimeZoneException(string message) { } - public InvalidTimeZoneException(string message, System.Exception innerException) { } + public InvalidTimeZoneException(string? message) { } + public InvalidTimeZoneException(string? message, System.Exception? innerException) { } } public partial interface IObservable { @@ -1705,7 +1705,7 @@ namespace System public Lazy(T value) { } public bool IsValueCreated { get { throw null; } } public T Value { get { throw null; } } - public override string ToString() { throw null; } + public override string? ToString() { throw null; } } public partial class Lazy : System.Lazy { @@ -1732,15 +1732,15 @@ namespace System { public MemberAccessException() { } protected MemberAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public MemberAccessException(string message) { } - public MemberAccessException(string message, System.Exception inner) { } + public MemberAccessException(string? message) { } + public MemberAccessException(string? message, System.Exception? inner) { } } public readonly partial struct Memory : System.IEquatable> { private readonly object _dummy; private readonly int _dummyPrimitive; - public Memory(T[] array) { throw null; } - public Memory(T[] array, int start, int length) { throw null; } + public Memory(T[]? array) { throw null; } + public Memory(T[]? array, int start, int length) { throw null; } public static System.Memory Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public int Length { get { throw null; } } @@ -1748,12 +1748,12 @@ namespace System public void CopyTo(System.Memory destination) { } public bool Equals(System.Memory other) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static implicit operator System.Memory (System.ArraySegment segment) { throw null; } public static implicit operator System.ReadOnlyMemory (System.Memory memory) { throw null; } - public static implicit operator System.Memory (T[] array) { throw null; } + public static implicit operator System.Memory (T[]? array) { throw null; } public System.Buffers.MemoryHandle Pin() { throw null; } public System.Memory Slice(int start) { throw null; } public System.Memory Slice(int start, int length) { throw null; } @@ -1765,8 +1765,8 @@ namespace System { public MethodAccessException() { } protected MethodAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public MethodAccessException(string message) { } - public MethodAccessException(string message, System.Exception inner) { } + public MethodAccessException(string? message) { } + public MethodAccessException(string? message, System.Exception? inner) { } } public enum MidpointRounding { @@ -1780,21 +1780,21 @@ namespace System { public MissingFieldException() { } protected MissingFieldException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public MissingFieldException(string message) { } - public MissingFieldException(string message, System.Exception inner) { } - public MissingFieldException(string className, string fieldName) { } + public MissingFieldException(string? message) { } + public MissingFieldException(string? message, System.Exception? inner) { } + public MissingFieldException(string? className, string? fieldName) { } public override string Message { get { throw null; } } } public partial class MissingMemberException : System.MemberAccessException, System.Runtime.Serialization.ISerializable { - protected string ClassName; - protected string MemberName; - protected byte[] Signature; + protected string? ClassName; + protected string? MemberName; + protected byte[]? Signature; public MissingMemberException() { } 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 MissingMemberException(string? message) { } + public MissingMemberException(string? message, System.Exception? inner) { } + public MissingMemberException(string? className, string? memberName) { } public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } @@ -1802,9 +1802,9 @@ namespace System { public MissingMethodException() { } protected MissingMethodException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public MissingMethodException(string message) { } - public MissingMethodException(string message, System.Exception inner) { } - public MissingMethodException(string className, string methodName) { } + public MissingMethodException(string? message) { } + public MissingMethodException(string? message, System.Exception? inner) { } + public MissingMethodException(string? className, string? methodName) { } public override string Message { get { throw null; } } } public partial struct ModuleHandle @@ -1813,7 +1813,7 @@ namespace System public static readonly System.ModuleHandle EmptyHandle; public int MDStreamVersion { get { throw null; } } public bool Equals(System.ModuleHandle handle) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public System.RuntimeFieldHandle GetRuntimeFieldHandleFromMetadataToken(int fieldToken) { throw null; } public System.RuntimeMethodHandle GetRuntimeMethodHandleFromMetadataToken(int methodToken) { throw null; } @@ -1821,11 +1821,11 @@ namespace System public static bool operator ==(System.ModuleHandle left, System.ModuleHandle right) { throw null; } public static bool operator !=(System.ModuleHandle left, System.ModuleHandle right) { throw null; } public System.RuntimeFieldHandle ResolveFieldHandle(int fieldToken) { throw null; } - public System.RuntimeFieldHandle ResolveFieldHandle(int fieldToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext) { throw null; } + public System.RuntimeFieldHandle ResolveFieldHandle(int fieldToken, System.RuntimeTypeHandle[]? typeInstantiationContext, System.RuntimeTypeHandle[]? methodInstantiationContext) { throw null; } public System.RuntimeMethodHandle ResolveMethodHandle(int methodToken) { throw null; } - public System.RuntimeMethodHandle ResolveMethodHandle(int methodToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext) { throw null; } + public System.RuntimeMethodHandle ResolveMethodHandle(int methodToken, System.RuntimeTypeHandle[]? typeInstantiationContext, System.RuntimeTypeHandle[]? methodInstantiationContext) { throw null; } public System.RuntimeTypeHandle ResolveTypeHandle(int typeToken) { throw null; } - public System.RuntimeTypeHandle ResolveTypeHandle(int typeToken, System.RuntimeTypeHandle[] typeInstantiationContext, System.RuntimeTypeHandle[] methodInstantiationContext) { throw null; } + public System.RuntimeTypeHandle ResolveTypeHandle(int typeToken, System.RuntimeTypeHandle[]? typeInstantiationContext, System.RuntimeTypeHandle[]? methodInstantiationContext) { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Method)] public sealed partial class MTAThreadAttribute : System.Attribute @@ -1836,21 +1836,21 @@ namespace System { protected MulticastDelegate(object target, string method) : base (default(object), default(string)) { } protected MulticastDelegate(System.Type target, string method) : base (default(object), default(string)) { } - protected sealed override System.Delegate CombineImpl(System.Delegate follow) { throw null; } - public sealed override bool Equals(object obj) { throw null; } + protected sealed override System.Delegate CombineImpl(System.Delegate? follow) { throw null; } + public sealed override bool Equals(object? obj) { throw null; } public sealed override int GetHashCode() { throw null; } public sealed override System.Delegate[] GetInvocationList() { throw null; } protected override System.Reflection.MethodInfo GetMethodImpl() { throw null; } 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; } - protected sealed override System.Delegate RemoveImpl(System.Delegate value) { throw null; } + public static bool operator ==(System.MulticastDelegate? d1, System.MulticastDelegate? d2) { throw null; } + public static bool operator !=(System.MulticastDelegate? d1, System.MulticastDelegate? d2) { throw null; } + protected sealed override System.Delegate? RemoveImpl(System.Delegate value) { throw null; } } public sealed partial class MulticastNotSupportedException : System.SystemException { public MulticastNotSupportedException() { } - public MulticastNotSupportedException(string message) { } - public MulticastNotSupportedException(string message, System.Exception inner) { } + public MulticastNotSupportedException(string? message) { } + public MulticastNotSupportedException(string? message, System.Exception? inner) { } } public partial class NetPipeStyleUriParser : System.UriParser { @@ -1874,10 +1874,10 @@ namespace System public NotFiniteNumberException() { } public NotFiniteNumberException(double offendingNumber) { } 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 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; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } @@ -1885,21 +1885,21 @@ namespace System { public NotImplementedException() { } protected NotImplementedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public NotImplementedException(string message) { } - public NotImplementedException(string message, System.Exception inner) { } + public NotImplementedException(string? message) { } + public NotImplementedException(string? message, System.Exception? inner) { } } public partial class NotSupportedException : System.SystemException { public NotSupportedException() { } protected NotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public NotSupportedException(string message) { } - public NotSupportedException(string message, System.Exception innerException) { } + public NotSupportedException(string? message) { } + public NotSupportedException(string? message, System.Exception? innerException) { } } public static partial class Nullable { public static int Compare(T? n1, T? n2) where T : struct { throw null; } public static bool Equals(T? n1, T? n2) where T : struct { throw null; } - public static System.Type GetUnderlyingType(System.Type nullableType) { throw null; } + public static System.Type? GetUnderlyingType(System.Type nullableType) { throw null; } } public partial struct Nullable where T : struct { @@ -1908,39 +1908,39 @@ namespace System public Nullable(T value) { throw null; } public bool HasValue { get { throw null; } } public T Value { get { throw null; } } - public override bool Equals(object other) { throw null; } + public override bool Equals(object? other) { throw null; } public override int GetHashCode() { throw null; } public T GetValueOrDefault() { throw null; } public T GetValueOrDefault(T defaultValue) { throw null; } public static explicit operator T (T? value) { throw null; } public static implicit operator T? (T value) { throw null; } - public override string ToString() { throw null; } + public override string? ToString() { throw null; } } public partial class NullReferenceException : System.SystemException { public NullReferenceException() { } protected NullReferenceException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public NullReferenceException(string message) { } - public NullReferenceException(string message, System.Exception innerException) { } + public NullReferenceException(string? message) { } + 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(System.Object? obj) { throw null; } + public static bool Equals(System.Object? objA, System.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; } - public virtual string ToString() { throw null; } + public static bool ReferenceEquals(System.Object? objA, System.Object? objB) { throw null; } + public virtual string? ToString() { throw null; } } public partial class ObjectDisposedException : System.InvalidOperationException { 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 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; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } @@ -1949,24 +1949,24 @@ namespace System public sealed partial class ObsoleteAttribute : System.Attribute { public ObsoleteAttribute() { } - public ObsoleteAttribute(string message) { } - public ObsoleteAttribute(string message, bool error) { } + public ObsoleteAttribute(string? message) { } + public ObsoleteAttribute(string? message, bool error) { } public bool IsError { get { throw null; } } - public string Message { get { throw null; } } + public string? Message { get { throw null; } } } public partial class OutOfMemoryException : System.SystemException { public OutOfMemoryException() { } protected OutOfMemoryException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public OutOfMemoryException(string message) { } - public OutOfMemoryException(string message, System.Exception innerException) { } + public OutOfMemoryException(string? message) { } + public OutOfMemoryException(string? message, System.Exception? innerException) { } } public partial class OverflowException : System.ArithmeticException { public OverflowException() { } protected OverflowException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public OverflowException(string message) { } - public OverflowException(string message, System.Exception innerException) { } + public OverflowException(string? message) { } + public OverflowException(string? message, System.Exception? innerException) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=true, AllowMultiple=false)] public sealed partial class ParamArrayAttribute : System.Attribute @@ -1977,8 +1977,8 @@ namespace System { public PlatformNotSupportedException() { } protected PlatformNotSupportedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public PlatformNotSupportedException(string message) { } - public PlatformNotSupportedException(string message, System.Exception inner) { } + public PlatformNotSupportedException(string? message) { } + public PlatformNotSupportedException(string? message, System.Exception? inner) { } } public delegate bool Predicate(T obj); public readonly partial struct Range : System.IEquatable @@ -1989,7 +1989,7 @@ namespace System public System.Index End { get { throw null; } } public System.Index Start { get { throw null; } } public static System.Range EndAt(System.Index end) { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public bool Equals(System.Range other) { throw null; } public override int GetHashCode() { throw null; } public (int Offset, int Length) GetOffsetAndLength(int length) { throw null; } @@ -2000,27 +2000,27 @@ namespace System { public RankException() { } protected RankException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public RankException(string message) { } - public RankException(string message, System.Exception innerException) { } + public RankException(string? message) { } + public RankException(string? message, System.Exception? innerException) { } } public readonly partial struct ReadOnlyMemory : System.IEquatable> { private readonly object _dummy; private readonly int _dummyPrimitive; - public ReadOnlyMemory(T[] array) { throw null; } - public ReadOnlyMemory(T[] array, int start, int length) { throw null; } + public ReadOnlyMemory(T[]? array) { throw null; } + public ReadOnlyMemory(T[]? array, int start, int length) { throw null; } public static System.ReadOnlyMemory Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public int Length { get { throw null; } } public System.ReadOnlySpan Span { get { throw null; } } public void CopyTo(System.Memory destination) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.ReadOnlyMemory other) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static implicit operator System.ReadOnlyMemory (System.ArraySegment segment) { throw null; } - public static implicit operator System.ReadOnlyMemory (T[] array) { throw null; } + public static implicit operator System.ReadOnlyMemory (T[]? array) { throw null; } public System.Buffers.MemoryHandle Pin() { throw null; } public System.ReadOnlyMemory Slice(int start) { throw null; } public System.ReadOnlyMemory Slice(int start, int length) { throw null; } @@ -2034,8 +2034,8 @@ namespace System private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] public unsafe ReadOnlySpan(void* pointer, int length) { throw null; } - public ReadOnlySpan(T[] array) { throw null; } - public ReadOnlySpan(T[] array, int start, int length) { throw null; } + public ReadOnlySpan(T[]? array) { throw null; } + public ReadOnlySpan(T[]? array, int start, int length) { 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; } } @@ -2043,7 +2043,7 @@ namespace System public void CopyTo(System.Span destination) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("Equals() on ReadOnlySpan will always throw an exception. Use == instead.")] - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public System.ReadOnlySpan.Enumerator GetEnumerator() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("GetHashCode() on ReadOnlySpan will always throw an exception.")] @@ -2052,7 +2052,7 @@ namespace System public ref readonly T GetPinnableReference() { throw null; } public static bool operator ==(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } public static implicit operator System.ReadOnlySpan (System.ArraySegment segment) { throw null; } - public static implicit operator System.ReadOnlySpan (T[] array) { throw null; } + public static implicit operator System.ReadOnlySpan (T[]? array) { throw null; } public static bool operator !=(System.ReadOnlySpan left, System.ReadOnlySpan right) { throw null; } public System.ReadOnlySpan Slice(int start) { throw null; } public System.ReadOnlySpan Slice(int start, int length) { throw null; } @@ -2069,10 +2069,10 @@ namespace System } public partial class ResolveEventArgs : System.EventArgs { - public ResolveEventArgs(string name) { } - public ResolveEventArgs(string name, System.Reflection.Assembly requestingAssembly) { } - public string Name { get { throw null; } } - public System.Reflection.Assembly RequestingAssembly { get { throw null; } } + public ResolveEventArgs(string? name) { } + public ResolveEventArgs(string? name, System.Reflection.Assembly? requestingAssembly) { } + public string? Name { get { throw null; } } + public System.Reflection.Assembly? RequestingAssembly { get { throw null; } } } public ref partial struct RuntimeArgumentHandle { @@ -2082,7 +2082,7 @@ namespace System { private object _dummy; public System.IntPtr Value { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeFieldHandle handle) { throw null; } public override int GetHashCode() { throw null; } public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } @@ -2093,7 +2093,7 @@ namespace System { private object _dummy; public System.IntPtr Value { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeMethodHandle handle) { throw null; } public System.IntPtr GetFunctionPointer() { throw null; } public override int GetHashCode() { throw null; } @@ -2105,15 +2105,15 @@ namespace System { private object _dummy; public System.IntPtr Value { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeTypeHandle handle) { throw null; } public override int GetHashCode() { throw null; } public System.ModuleHandle GetModuleHandle() { throw null; } public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static bool operator ==(object left, System.RuntimeTypeHandle right) { throw null; } - public static bool operator ==(System.RuntimeTypeHandle left, object right) { throw null; } - public static bool operator !=(object left, System.RuntimeTypeHandle right) { throw null; } - public static bool operator !=(System.RuntimeTypeHandle left, object right) { throw null; } + public static bool operator ==(object? left, System.RuntimeTypeHandle right) { throw null; } + public static bool operator ==(System.RuntimeTypeHandle left, object? right) { throw null; } + public static bool operator !=(object? left, System.RuntimeTypeHandle right) { throw null; } + public static bool operator !=(System.RuntimeTypeHandle left, object? right) { throw null; } } [System.CLSCompliantAttribute(false)] public readonly partial struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable @@ -2121,50 +2121,50 @@ namespace System private readonly sbyte _dummyPrimitive; public const sbyte MaxValue = (sbyte)127; public const sbyte MinValue = (sbyte)-128; - public int CompareTo(object obj) { throw null; } + public int CompareTo(object? obj) { throw null; } public int CompareTo(System.SByte value) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.SByte obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } [System.CLSCompliantAttribute(false)] - public static System.SByte Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.SByte Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] public static System.SByte Parse(string s) { throw null; } [System.CLSCompliantAttribute(false)] public static System.SByte Parse(string s, System.Globalization.NumberStyles style) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.SByte Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } + public static System.SByte Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.SByte Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - System.SByte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.SByte Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + System.SByte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.SByte result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.SByte result) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryParse(System.ReadOnlySpan s, out System.SByte result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.SByte result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.SByte result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, out System.SByte result) { throw null; } + public static bool TryParse(string? s, out System.SByte result) { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Struct, Inherited=false)] public sealed partial class SerializableAttribute : System.Attribute @@ -2174,9 +2174,9 @@ namespace System public readonly partial struct Single : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable { private readonly float _dummyPrimitive; - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public int CompareTo(System.Single value) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.Single obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } @@ -2194,35 +2194,35 @@ namespace System public static bool operator !=(System.Single left, System.Single right) { throw null; } public static bool operator <(System.Single left, System.Single right) { throw null; } public static bool operator <=(System.Single left, System.Single right) { throw null; } - public static System.Single Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.AllowDecimalPoint | System.Globalization.NumberStyles.AllowExponent | System.Globalization.NumberStyles.AllowLeadingSign | System.Globalization.NumberStyles.AllowLeadingWhite | System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.AllowTrailingWhite, System.IFormatProvider provider = null) { throw null; } + public static System.Single Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.AllowDecimalPoint | System.Globalization.NumberStyles.AllowExponent | System.Globalization.NumberStyles.AllowLeadingSign | System.Globalization.NumberStyles.AllowLeadingWhite | System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.AllowTrailingWhite, System.IFormatProvider? provider = null) { throw null; } public static System.Single Parse(string s) { throw null; } public static System.Single Parse(string s, System.Globalization.NumberStyles style) { throw null; } - public static System.Single Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - public static System.Single Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - System.Single System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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; } + public static System.Single Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + public static System.Single Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + System.Single System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Single result) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Single result) { throw null; } public static bool TryParse(System.ReadOnlySpan s, out System.Single result) { throw null; } - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.Single result) { throw null; } - public static bool TryParse(string s, out System.Single result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.Single result) { throw null; } + public static bool TryParse(string? s, out System.Single result) { throw null; } } public readonly ref partial struct Span { @@ -2230,8 +2230,8 @@ namespace System private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] public unsafe Span(void* pointer, int length) { throw null; } - public Span(T[] array) { throw null; } - public Span(T[] array, int start, int length) { throw null; } + public Span(T[]? array) { throw null; } + public Span(T[]? array, int start, int length) { 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; } } @@ -2240,7 +2240,7 @@ namespace System public void CopyTo(System.Span destination) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("Equals() on Span will always throw an exception. Use == instead.")] - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public void Fill(T value) { } public System.Span.Enumerator GetEnumerator() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -2251,7 +2251,7 @@ namespace System public static bool operator ==(System.Span left, System.Span right) { throw null; } public static implicit operator System.Span (System.ArraySegment segment) { throw null; } public static implicit operator System.ReadOnlySpan (System.Span span) { throw null; } - public static implicit operator System.Span (T[] array) { throw null; } + public static implicit operator System.Span (T[]? array) { throw null; } public static bool operator !=(System.Span left, System.Span right) { throw null; } public System.Span Slice(int start) { throw null; } public System.Span Slice(int start, int length) { throw null; } @@ -2269,15 +2269,18 @@ namespace System public sealed partial class StackOverflowException : System.SystemException { public StackOverflowException() { } - public StackOverflowException(string message) { } - public StackOverflowException(string message, System.Exception innerException) { } + public StackOverflowException(string? message) { } + public StackOverflowException(string? message, System.Exception? innerException) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Method)] public sealed partial class STAThreadAttribute : System.Attribute { public STAThreadAttribute() { } } - public sealed partial class String : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.ICloneable, System.IComparable, System.IComparable, System.IConvertible, System.IEquatable + public sealed partial class String : System.Collections.Generic.IEnumerable, System.Collections.IEnumerable, System.ICloneable, System.IComparable, System.IComparable, System.IConvertible, +#nullable disable + System.IEquatable +#nullable restore { public static readonly string Empty; [System.CLSCompliantAttribute(false)] @@ -2298,32 +2301,32 @@ namespace System 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 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 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 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.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 bool Contains(char value) { throw null; } public bool Contains(char value, System.StringComparison comparisonType) { throw null; } @@ -2336,22 +2339,22 @@ namespace System public static System.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, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public bool EndsWith(System.String value, System.StringComparison comparisonType) { throw null; } public System.Text.StringRuneEnumerator EnumerateRunes() { throw null; } - public override bool Equals(object obj) { throw null; } - public bool Equals(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.String value, System.StringComparison comparisonType) { throw null; } - public static System.String Format(System.IFormatProvider provider, System.String format, object arg0) { throw null; } - public static System.String Format(System.IFormatProvider provider, System.String format, object arg0, object arg1) { throw null; } - public static System.String Format(System.IFormatProvider provider, System.String format, object arg0, object arg1, object arg2) { throw null; } - public static System.String Format(System.IFormatProvider provider, System.String format, params object[] args) { throw null; } - public static System.String Format(System.String format, object arg0) { throw null; } - public static System.String Format(System.String format, object arg0, object arg1) { throw null; } - public static System.String Format(System.String format, object arg0, object arg1, object arg2) { throw null; } - public static System.String Format(System.String format, params object[] args) { throw null; } + public override bool Equals(object? obj) { throw null; } + public bool Equals(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.String? value, System.StringComparison comparisonType) { throw null; } + public static System.String Format(System.IFormatProvider? provider, System.String format, object? arg0) { throw null; } + public static System.String Format(System.IFormatProvider? provider, System.String format, object? arg0, object? arg1) { throw null; } + public static System.String Format(System.IFormatProvider? provider, System.String format, object? arg0, object? arg1, object? arg2) { throw null; } + public static System.String Format(System.IFormatProvider? provider, System.String format, params object?[] args) { throw null; } + public static System.String Format(System.String format, object? arg0) { throw null; } + public static System.String Format(System.String format, object? arg0, object? arg1) { throw null; } + public static System.String Format(System.String format, object? arg0, object? arg1, object? arg2) { throw null; } + public static System.String Format(System.String format, params object?[] args) { throw null; } public System.CharEnumerator GetEnumerator() { throw null; } public override int GetHashCode() { throw null; } public static int GetHashCode(System.ReadOnlySpan value) { throw null; } @@ -2375,20 +2378,20 @@ namespace System 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 static System.String? IsInterned(System.String str) { throw null; } public bool IsNormalized() { throw null; } public bool IsNormalized(System.Text.NormalizationForm normalizationForm) { throw null; } - public static bool IsNullOrEmpty(System.String value) { throw null; } - public static bool IsNullOrWhiteSpace(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 bool IsNullOrEmpty(System.String? value) { throw null; } + public static bool IsNullOrWhiteSpace(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 System.String Join(System.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; } @@ -2403,9 +2406,9 @@ namespace System 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 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; } @@ -2413,61 +2416,61 @@ namespace System 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 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 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) { throw null; } - public string[] Split(string[] separator, System.StringSplitOptions options) { 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) { 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, 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; } 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; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - 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.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + 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; } 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 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 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 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 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 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 System.String TrimStart(params char[]? trimChars) { throw null; } } public enum StringComparison { @@ -2488,8 +2491,8 @@ namespace System { public SystemException() { } protected SystemException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public SystemException(string message) { } - public SystemException(string message, System.Exception innerException) { } + public SystemException(string? message) { } + public SystemException(string? message, System.Exception? innerException) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Field, Inherited=false)] public partial class ThreadStaticAttribute : System.Attribute @@ -2500,8 +2503,8 @@ namespace System { public TimeoutException() { } protected TimeoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public TimeoutException(string message) { } - public TimeoutException(string message, System.Exception innerException) { } + public TimeoutException(string? message) { } + public TimeoutException(string? message, System.Exception? innerException) { } } public readonly partial struct TimeSpan : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable { @@ -2531,12 +2534,12 @@ namespace System public double TotalSeconds { get { throw null; } } public System.TimeSpan Add(System.TimeSpan ts) { throw null; } public static int Compare(System.TimeSpan t1, System.TimeSpan t2) { throw null; } - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public int CompareTo(System.TimeSpan value) { throw null; } public System.TimeSpan Divide(double divisor) { throw null; } public double Divide(System.TimeSpan ts) { throw null; } public System.TimeSpan Duration() { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public bool Equals(System.TimeSpan obj) { throw null; } public static bool Equals(System.TimeSpan t1, System.TimeSpan t2) { throw null; } public static System.TimeSpan FromDays(double value) { throw null; } @@ -2562,32 +2565,32 @@ namespace System public static System.TimeSpan operator -(System.TimeSpan t1, System.TimeSpan t2) { throw null; } public static System.TimeSpan operator -(System.TimeSpan t) { throw null; } public static System.TimeSpan operator +(System.TimeSpan t) { throw null; } - public static System.TimeSpan Parse(System.ReadOnlySpan input, System.IFormatProvider formatProvider = null) { throw null; } + public static System.TimeSpan Parse(System.ReadOnlySpan input, System.IFormatProvider? formatProvider = null) { throw null; } public static System.TimeSpan Parse(string s) { throw null; } - public static System.TimeSpan Parse(string input, System.IFormatProvider formatProvider) { throw null; } - public static System.TimeSpan ParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles = System.Globalization.TimeSpanStyles.None) { throw null; } - public static System.TimeSpan ParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles = System.Globalization.TimeSpanStyles.None) { throw null; } - public static System.TimeSpan ParseExact(string input, string format, System.IFormatProvider formatProvider) { throw null; } - public static System.TimeSpan ParseExact(string input, string format, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles) { throw null; } - public static System.TimeSpan ParseExact(string input, string[] formats, System.IFormatProvider formatProvider) { throw null; } - public static System.TimeSpan ParseExact(string input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles) { throw null; } + public static System.TimeSpan Parse(string input, System.IFormatProvider? formatProvider) { throw null; } + public static System.TimeSpan ParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles = System.Globalization.TimeSpanStyles.None) { throw null; } + public static System.TimeSpan ParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles = System.Globalization.TimeSpanStyles.None) { throw null; } + public static System.TimeSpan ParseExact(string input, string format, System.IFormatProvider? formatProvider) { throw null; } + public static System.TimeSpan ParseExact(string input, string format, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles) { throw null; } + public static System.TimeSpan ParseExact(string input, string[] formats, System.IFormatProvider? formatProvider) { throw null; } + public static System.TimeSpan ParseExact(string input, string[] formats, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles) { throw null; } public System.TimeSpan Subtract(System.TimeSpan ts) { throw null; } public override string ToString() { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider formatProvider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, 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 string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, 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(string input, System.IFormatProvider formatProvider, out System.TimeSpan result) { throw null; } - public static bool TryParse(string s, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider formatProvider, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider formatProvider, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(string input, string format, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(string input, string format, System.IFormatProvider formatProvider, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(string input, string[] formats, System.IFormatProvider formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } - public static bool TryParseExact(string input, string[] formats, System.IFormatProvider formatProvider, out System.TimeSpan result) { throw null; } + public static bool TryParse(string? input, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } + public static bool TryParse(string? s, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan input, System.ReadOnlySpan format, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(System.ReadOnlySpan input, string[] formats, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(string? input, string format, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(string? input, string format, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(string? input, string[] formats, System.IFormatProvider? formatProvider, System.Globalization.TimeSpanStyles styles, out System.TimeSpan result) { throw null; } + public static bool TryParseExact(string? input, string[] formats, System.IFormatProvider? formatProvider, out System.TimeSpan result) { throw null; } } [System.ObsoleteAttribute("System.TimeZone has been deprecated. Please investigate the use of System.TimeZoneInfo instead.")] public abstract partial class TimeZone @@ -2603,7 +2606,10 @@ namespace System public virtual System.DateTime ToLocalTime(System.DateTime time) { throw null; } public virtual System.DateTime ToUniversalTime(System.DateTime time) { throw null; } } - public sealed partial class TimeZoneInfo : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable + public sealed partial class TimeZoneInfo : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, +#nullable disable + System.IEquatable +#nullable restore { internal TimeZoneInfo() { } public System.TimeSpan BaseUtcOffset { get { throw null; } } @@ -2624,11 +2630,11 @@ namespace System public static System.DateTime ConvertTimeFromUtc(System.DateTime dateTime, System.TimeZoneInfo destinationTimeZone) { throw null; } public static System.DateTime ConvertTimeToUtc(System.DateTime dateTime) { throw null; } public static System.DateTime ConvertTimeToUtc(System.DateTime dateTime, System.TimeZoneInfo sourceTimeZone) { throw null; } - public static System.TimeZoneInfo CreateCustomTimeZone(string id, System.TimeSpan baseUtcOffset, string displayName, string standardDisplayName) { throw null; } - public static System.TimeZoneInfo CreateCustomTimeZone(string id, System.TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, System.TimeZoneInfo.AdjustmentRule[] adjustmentRules) { throw null; } - public static System.TimeZoneInfo CreateCustomTimeZone(string id, System.TimeSpan baseUtcOffset, string displayName, string standardDisplayName, string daylightDisplayName, System.TimeZoneInfo.AdjustmentRule[] adjustmentRules, bool disableDaylightSavingTime) { throw null; } - public override bool Equals(object obj) { throw null; } - public bool Equals(System.TimeZoneInfo other) { throw null; } + public static System.TimeZoneInfo CreateCustomTimeZone(string id, System.TimeSpan baseUtcOffset, string? displayName, string? standardDisplayName) { throw null; } + public static System.TimeZoneInfo CreateCustomTimeZone(string id, System.TimeSpan baseUtcOffset, string? displayName, string? standardDisplayName, string? daylightDisplayName, System.TimeZoneInfo.AdjustmentRule[]? adjustmentRules) { throw null; } + public static System.TimeZoneInfo CreateCustomTimeZone(string id, System.TimeSpan baseUtcOffset, string? displayName, string? standardDisplayName, string? daylightDisplayName, System.TimeZoneInfo.AdjustmentRule[]? adjustmentRules, bool disableDaylightSavingTime) { throw null; } + public override bool Equals(object? obj) { throw null; } + public bool Equals(System.TimeZoneInfo? other) { throw null; } public static System.TimeZoneInfo FindSystemTimeZoneById(string id) { throw null; } public static System.TimeZoneInfo FromSerializedString(string source) { throw null; } public System.TimeZoneInfo.AdjustmentRule[] GetAdjustmentRules() { throw null; } @@ -2644,11 +2650,14 @@ namespace System public bool IsDaylightSavingTime(System.DateTime dateTime) { throw null; } public bool IsDaylightSavingTime(System.DateTimeOffset dateTimeOffset) { throw null; } public bool IsInvalidTime(System.DateTime dateTime) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public string ToSerializedString() { throw null; } public override string ToString() { throw null; } - public sealed partial class AdjustmentRule : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable + public sealed partial class AdjustmentRule : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable, +#nullable disable + System.IEquatable +#nullable restore { internal AdjustmentRule() { } public System.DateTime DateEnd { get { throw null; } } @@ -2657,9 +2666,9 @@ namespace System public System.TimeZoneInfo.TransitionTime DaylightTransitionEnd { get { throw null; } } 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 bool Equals(System.TimeZoneInfo.AdjustmentRule other) { throw null; } + public bool Equals(System.TimeZoneInfo.AdjustmentRule? other) { throw null; } public override int GetHashCode() { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public readonly partial struct TransitionTime : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable @@ -2673,12 +2682,12 @@ namespace System public int Week { get { throw null; } } public static System.TimeZoneInfo.TransitionTime CreateFixedDateRule(System.DateTime timeOfDay, int month, int day) { throw null; } public static System.TimeZoneInfo.TransitionTime CreateFloatingDateRule(System.DateTime timeOfDay, int month, int week, System.DayOfWeek dayOfWeek) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.TimeZoneInfo.TransitionTime other) { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) { throw null; } public static bool operator !=(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } } @@ -2686,8 +2695,8 @@ namespace System { public TimeZoneNotFoundException() { } protected TimeZoneNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public TimeZoneNotFoundException(string message) { } - public TimeZoneNotFoundException(string message, System.Exception innerException) { } + public TimeZoneNotFoundException(string? message) { } + public TimeZoneNotFoundException(string? message, System.Exception? innerException) { } } public static partial class Tuple { @@ -2791,14 +2800,14 @@ namespace System { public Tuple(T1 item1) { } public T1 Item1 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -2806,14 +2815,14 @@ namespace System public Tuple(T1 item1, T2 item2) { } public T1 Item1 { get { throw null; } } public T2 Item2 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -2822,14 +2831,14 @@ namespace System public T1 Item1 { get { throw null; } } public T2 Item2 { get { throw null; } } public T3 Item3 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -2839,14 +2848,14 @@ namespace System public T2 Item2 { get { throw null; } } public T3 Item3 { get { throw null; } } public T4 Item4 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -2857,14 +2866,14 @@ namespace System public T3 Item3 { get { throw null; } } public T4 Item4 { get { throw null; } } public T5 Item5 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -2876,14 +2885,14 @@ namespace System public T4 Item4 { get { throw null; } } public T5 Item5 { get { throw null; } } public T6 Item6 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -2896,17 +2905,17 @@ namespace System public T5 Item5 { get { throw null; } } public T6 Item6 { get { throw null; } } public T7 Item7 { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } - public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple + public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple where TRest : object { public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) { } public T1 Item1 { get { throw null; } } @@ -2917,14 +2926,14 @@ namespace System public T6 Item6 { get { throw null; } } public T7 Item7 { get { throw null; } } public TRest Rest { get { throw null; } } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public abstract partial class Type : System.Reflection.MemberInfo, System.Reflection.IReflect @@ -2937,14 +2946,14 @@ namespace System public static readonly object Missing; protected Type() { } public abstract System.Reflection.Assembly Assembly { get; } - public abstract string AssemblyQualifiedName { get; } + public abstract string? AssemblyQualifiedName { get; } public System.Reflection.TypeAttributes Attributes { get { throw null; } } - public abstract System.Type BaseType { get; } + public abstract System.Type? BaseType { get; } public virtual bool ContainsGenericParameters { get { throw null; } } - public virtual System.Reflection.MethodBase DeclaringMethod { get { throw null; } } - public override System.Type DeclaringType { get { throw null; } } + public virtual System.Reflection.MethodBase? DeclaringMethod { get { throw null; } } + public override System.Type? DeclaringType { get { throw null; } } public static System.Reflection.Binder DefaultBinder { get { throw null; } } - public abstract string FullName { get; } + public abstract string? FullName { get; } public virtual System.Reflection.GenericParameterAttributes GenericParameterAttributes { get { throw null; } } public virtual int GenericParameterPosition { get { throw null; } } public virtual System.Type[] GenericTypeArguments { get { throw null; } } @@ -2998,44 +3007,44 @@ namespace System public bool IsVisible { get { throw null; } } public override System.Reflection.MemberTypes MemberType { get { throw null; } } public abstract new System.Reflection.Module Module { get; } - public abstract string Namespace { get; } - public override System.Type ReflectedType { get { throw null; } } - public virtual System.Runtime.InteropServices.StructLayoutAttribute StructLayoutAttribute { get { throw null; } } + public abstract string? Namespace { get; } + public override System.Type? ReflectedType { get { throw null; } } + public virtual System.Runtime.InteropServices.StructLayoutAttribute? StructLayoutAttribute { get { throw null; } } public virtual System.RuntimeTypeHandle TypeHandle { get { throw null; } } - public System.Reflection.ConstructorInfo TypeInitializer { get { throw null; } } + public System.Reflection.ConstructorInfo? TypeInitializer { get { throw null; } } public abstract System.Type UnderlyingSystemType { get; } - public override bool Equals(object o) { throw null; } - public virtual bool Equals(System.Type o) { throw null; } - public virtual System.Type[] FindInterfaces(System.Reflection.TypeFilter filter, object filterCriteria) { throw null; } - public virtual System.Reflection.MemberInfo[] FindMembers(System.Reflection.MemberTypes memberType, System.Reflection.BindingFlags bindingAttr, System.Reflection.MemberFilter filter, object filterCriteria) { throw null; } + public override bool Equals(object? o) { throw null; } + public virtual bool Equals(System.Type? o) { throw null; } + public virtual System.Type[] FindInterfaces(System.Reflection.TypeFilter filter, object? filterCriteria) { throw null; } + public virtual System.Reflection.MemberInfo[] FindMembers(System.Reflection.MemberTypes memberType, System.Reflection.BindingFlags bindingAttr, System.Reflection.MemberFilter? filter, object? filterCriteria) { throw null; } public virtual int GetArrayRank() { throw null; } protected abstract System.Reflection.TypeAttributes GetAttributeFlagsImpl(); - public System.Reflection.ConstructorInfo GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.ConstructorInfo GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.ConstructorInfo GetConstructor(System.Type[] types) { throw null; } - protected abstract System.Reflection.ConstructorInfo GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers); + public System.Reflection.ConstructorInfo? GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.ConstructorInfo? GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.ConstructorInfo? GetConstructor(System.Type[] types) { throw null; } + protected abstract System.Reflection.ConstructorInfo? GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers); public System.Reflection.ConstructorInfo[] GetConstructors() { throw null; } public abstract System.Reflection.ConstructorInfo[] GetConstructors(System.Reflection.BindingFlags bindingAttr); public virtual System.Reflection.MemberInfo[] GetDefaultMembers() { throw null; } - public abstract System.Type GetElementType(); - public virtual string GetEnumName(object value) { throw null; } + public abstract System.Type? GetElementType(); + public virtual string? GetEnumName(object value) { throw null; } public virtual string[] GetEnumNames() { throw null; } public virtual System.Type GetEnumUnderlyingType() { throw null; } public virtual System.Array GetEnumValues() { throw null; } - public System.Reflection.EventInfo GetEvent(string name) { throw null; } - public abstract System.Reflection.EventInfo GetEvent(string name, System.Reflection.BindingFlags bindingAttr); + public System.Reflection.EventInfo? GetEvent(string name) { throw null; } + public abstract System.Reflection.EventInfo? GetEvent(string name, System.Reflection.BindingFlags bindingAttr); public virtual System.Reflection.EventInfo[] GetEvents() { throw null; } public abstract System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr); - public System.Reflection.FieldInfo GetField(string name) { throw null; } - public abstract System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr); + public System.Reflection.FieldInfo? GetField(string name) { throw null; } + public abstract System.Reflection.FieldInfo? GetField(string name, System.Reflection.BindingFlags bindingAttr); public System.Reflection.FieldInfo[] GetFields() { throw null; } public abstract System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr); public virtual System.Type[] GetGenericArguments() { throw null; } public virtual System.Type[] GetGenericParameterConstraints() { throw null; } public virtual System.Type GetGenericTypeDefinition() { throw null; } public override int GetHashCode() { throw null; } - public System.Type GetInterface(string name) { throw null; } - public abstract System.Type GetInterface(string name, bool ignoreCase); + public System.Type? GetInterface(string name) { throw null; } + public abstract System.Type? GetInterface(string name, bool ignoreCase); public virtual System.Reflection.InterfaceMapping GetInterfaceMap(System.Type interfaceType) { throw null; } public abstract System.Type[] GetInterfaces(); public System.Reflection.MemberInfo[] GetMember(string name) { throw null; } @@ -3043,66 +3052,66 @@ namespace System public virtual System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw null; } public System.Reflection.MemberInfo[] GetMembers() { throw null; } public abstract System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr); - public System.Reflection.MethodInfo GetMethod(string name) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, int genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, int genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, int genericParameterCount, System.Type[] types) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, int genericParameterCount, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Type[] types) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - protected virtual System.Reflection.MethodInfo GetMethodImpl(string name, int genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - protected abstract System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers); + public System.Reflection.MethodInfo? GetMethod(string name) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, int genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, int genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, int genericParameterCount, System.Type[] types) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, int genericParameterCount, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Type[] types) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + protected virtual System.Reflection.MethodInfo? GetMethodImpl(string name, int genericParameterCount, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[]? types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + protected abstract System.Reflection.MethodInfo? GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[]? types, System.Reflection.ParameterModifier[]? modifiers); public System.Reflection.MethodInfo[] GetMethods() { throw null; } public abstract System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr); - public System.Type GetNestedType(string name) { throw null; } - public abstract System.Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr); + public System.Type? GetNestedType(string name) { throw null; } + public abstract System.Type? GetNestedType(string name, System.Reflection.BindingFlags bindingAttr); public System.Type[] GetNestedTypes() { throw null; } public abstract System.Type[] GetNestedTypes(System.Reflection.BindingFlags bindingAttr); public System.Reflection.PropertyInfo[] GetProperties() { throw null; } public abstract System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr); - public System.Reflection.PropertyInfo GetProperty(string name) { throw null; } - public System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } - public System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.PropertyInfo GetProperty(string name, System.Type returnType) { throw null; } - public System.Reflection.PropertyInfo GetProperty(string name, System.Type returnType, System.Type[] types) { throw null; } - public System.Reflection.PropertyInfo GetProperty(string name, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.PropertyInfo GetProperty(string name, System.Type[] types) { throw null; } - protected abstract System.Reflection.PropertyInfo GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers); + public System.Reflection.PropertyInfo? GetProperty(string name) { throw null; } + public System.Reflection.PropertyInfo? GetProperty(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } + public System.Reflection.PropertyInfo? GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type? returnType, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.PropertyInfo? GetProperty(string name, System.Type? returnType) { throw null; } + public System.Reflection.PropertyInfo? GetProperty(string name, System.Type? returnType, System.Type[] types) { throw null; } + public System.Reflection.PropertyInfo? GetProperty(string name, System.Type? returnType, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.PropertyInfo? GetProperty(string name, System.Type[] types) { throw null; } + protected abstract System.Reflection.PropertyInfo? GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type? returnType, System.Type[]? types, System.Reflection.ParameterModifier[]? modifiers); public new System.Type GetType() { throw null; } - public static System.Type GetType(string typeName) { throw null; } - public static System.Type GetType(string typeName, bool throwOnError) { throw null; } - public static System.Type GetType(string typeName, bool throwOnError, bool ignoreCase) { throw null; } - public static System.Type GetType(string typeName, System.Func assemblyResolver, System.Func typeResolver) { throw null; } - public static System.Type GetType(string typeName, System.Func assemblyResolver, System.Func typeResolver, bool throwOnError) { throw null; } - public static System.Type GetType(string typeName, System.Func assemblyResolver, System.Func typeResolver, bool throwOnError, bool ignoreCase) { throw null; } + public static System.Type? GetType(string typeName) { throw null; } + public static System.Type? GetType(string typeName, bool throwOnError) { throw null; } + public static System.Type? GetType(string typeName, bool throwOnError, bool ignoreCase) { throw null; } + public static System.Type? GetType(string typeName, System.Func? assemblyResolver, System.Func? typeResolver) { throw null; } + public static System.Type? GetType(string typeName, System.Func? assemblyResolver, System.Func? typeResolver, bool throwOnError) { throw null; } + public static System.Type? GetType(string typeName, System.Func? assemblyResolver, System.Func? typeResolver, bool throwOnError, bool ignoreCase) { throw null; } public static System.Type[] GetTypeArray(object[] args) { throw null; } - public static System.TypeCode GetTypeCode(System.Type type) { throw null; } + public static System.TypeCode GetTypeCode(System.Type? type) { throw null; } protected virtual System.TypeCode GetTypeCodeImpl() { throw null; } - public static System.Type GetTypeFromCLSID(System.Guid clsid) { throw null; } - public static System.Type GetTypeFromCLSID(System.Guid clsid, bool throwOnError) { throw null; } - public static System.Type GetTypeFromCLSID(System.Guid clsid, string server) { throw null; } - public static System.Type GetTypeFromCLSID(System.Guid clsid, string server, bool throwOnError) { throw null; } + public static System.Type? GetTypeFromCLSID(System.Guid clsid) { throw null; } + public static System.Type? GetTypeFromCLSID(System.Guid clsid, bool throwOnError) { throw null; } + public static System.Type? GetTypeFromCLSID(System.Guid clsid, string? server) { throw null; } + public static System.Type? GetTypeFromCLSID(System.Guid clsid, string? server, bool throwOnError) { throw null; } public static System.Type GetTypeFromHandle(System.RuntimeTypeHandle handle) { throw null; } - public static System.Type GetTypeFromProgID(string progID) { throw null; } - public static System.Type GetTypeFromProgID(string progID, bool throwOnError) { throw null; } - public static System.Type GetTypeFromProgID(string progID, string server) { throw null; } - public static System.Type GetTypeFromProgID(string progID, string server, bool throwOnError) { throw null; } + public static System.Type? GetTypeFromProgID(string progID) { throw null; } + public static System.Type? GetTypeFromProgID(string progID, bool throwOnError) { throw null; } + public static System.Type? GetTypeFromProgID(string progID, string? server) { throw null; } + public static System.Type? GetTypeFromProgID(string progID, string? server, bool throwOnError) { throw null; } public static System.RuntimeTypeHandle GetTypeHandle(object o) { throw null; } protected abstract bool HasElementTypeImpl(); - public object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args) { throw null; } - public object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Globalization.CultureInfo culture) { throw null; } - public abstract object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters); + public object? InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object? target, object?[]? args) { throw null; } + public object? InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object? target, object?[]? args, System.Globalization.CultureInfo? culture) { throw null; } + public abstract object? InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object? target, object?[]? args, System.Reflection.ParameterModifier[]? modifiers, System.Globalization.CultureInfo? culture, string[]? namedParameters); protected abstract bool IsArrayImpl(); - public virtual bool IsAssignableFrom(System.Type c) { throw null; } + public virtual bool IsAssignableFrom(System.Type? c) { throw null; } protected abstract bool IsByRefImpl(); protected abstract bool IsCOMObjectImpl(); protected virtual bool IsContextfulImpl() { throw null; } public virtual bool IsEnumDefined(object value) { throw null; } - public virtual bool IsEquivalentTo(System.Type other) { throw null; } - public virtual bool IsInstanceOfType(object o) { throw null; } + public virtual bool IsEquivalentTo(System.Type? other) { throw null; } + public virtual bool IsInstanceOfType(object? o) { throw null; } protected virtual bool IsMarshalByRefImpl() { throw null; } protected abstract bool IsPointerImpl(); protected abstract bool IsPrimitiveImpl(); @@ -3115,17 +3124,17 @@ namespace System public static System.Type MakeGenericSignatureType(System.Type genericTypeDefinition, params System.Type[] typeArguments) { throw null; } public virtual System.Type MakeGenericType(params System.Type[] typeArguments) { throw null; } 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; } - public static System.Type ReflectionOnlyGetType(string typeName, bool throwIfNotFound, bool ignoreCase) { 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; } + 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() { } protected TypeAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public TypeAccessException(string message) { } - public TypeAccessException(string message, System.Exception inner) { } + public TypeAccessException(string? message) { } + public TypeAccessException(string? message, System.Exception? inner) { } } public enum TypeCode { @@ -3151,19 +3160,19 @@ namespace System [System.CLSCompliantAttribute(false)] public ref partial struct TypedReference { - public override bool Equals(object o) { throw null; } + public override bool Equals(object? o) { throw null; } public override int GetHashCode() { throw null; } public static System.Type GetTargetType(System.TypedReference value) { throw null; } [System.CLSCompliantAttribute(false)] public static System.TypedReference MakeTypedReference(object target, System.Reflection.FieldInfo[] flds) { throw null; } [System.CLSCompliantAttribute(false)] - public static void SetTypedReference(System.TypedReference target, object value) { } + public static void SetTypedReference(System.TypedReference target, object? value) { } public static System.RuntimeTypeHandle TargetTypeToken(System.TypedReference value) { throw null; } public static object ToObject(System.TypedReference value) { throw null; } } public sealed partial class TypeInitializationException : System.SystemException { - public TypeInitializationException(string fullTypeName, System.Exception innerException) { } + public TypeInitializationException(string? fullTypeName, System.Exception? innerException) { } public string TypeName { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } @@ -3171,8 +3180,8 @@ namespace System { public TypeLoadException() { } protected TypeLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public TypeLoadException(string message) { } - public TypeLoadException(string message, System.Exception inner) { } + public TypeLoadException(string? message) { } + public TypeLoadException(string? message, System.Exception? inner) { } public override string Message { get { throw null; } } public string TypeName { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } @@ -3181,8 +3190,8 @@ namespace System { public TypeUnloadedException() { } protected TypeUnloadedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public TypeUnloadedException(string message) { } - public TypeUnloadedException(string message, System.Exception innerException) { } + public TypeUnloadedException(string? message) { } + public TypeUnloadedException(string? message, System.Exception? innerException) { } } [System.CLSCompliantAttribute(false)] public readonly partial struct UInt16 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable @@ -3190,50 +3199,50 @@ namespace System private readonly ushort _dummyPrimitive; public const ushort MaxValue = (ushort)65535; public const ushort MinValue = (ushort)0; - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public int CompareTo(System.UInt16 value) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.UInt16 obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt16 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.UInt16 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] public static System.UInt16 Parse(string s) { throw null; } [System.CLSCompliantAttribute(false)] public static System.UInt16 Parse(string s, System.Globalization.NumberStyles style) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt16 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } + public static System.UInt16 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt16 Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - System.UInt16 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; } + public static System.UInt16 Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + System.UInt16 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; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt16 result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt16 result) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryParse(System.ReadOnlySpan s, out System.UInt16 result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt16 result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt16 result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, out System.UInt16 result) { throw null; } + public static bool TryParse(string? s, out System.UInt16 result) { throw null; } } [System.CLSCompliantAttribute(false)] public readonly partial struct UInt32 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable @@ -3241,50 +3250,50 @@ namespace System private readonly uint _dummyPrimitive; public const uint MaxValue = (uint)4294967295; public const uint MinValue = (uint)0; - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public int CompareTo(System.UInt32 value) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.UInt32 obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt32 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.UInt32 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] public static System.UInt32 Parse(string s) { throw null; } [System.CLSCompliantAttribute(false)] public static System.UInt32 Parse(string s, System.Globalization.NumberStyles style) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt32 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } + public static System.UInt32 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt32 Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + public static System.UInt32 Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + System.UInt32 System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt32 result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt32 result) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryParse(System.ReadOnlySpan s, out System.UInt32 result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt32 result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt32 result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, out System.UInt32 result) { throw null; } + public static bool TryParse(string? s, out System.UInt32 result) { throw null; } } [System.CLSCompliantAttribute(false)] public readonly partial struct UInt64 : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable @@ -3292,50 +3301,50 @@ namespace System private readonly ulong _dummyPrimitive; public const ulong MaxValue = (ulong)18446744073709551615; public const ulong MinValue = (ulong)0; - public int CompareTo(object value) { throw null; } + public int CompareTo(object? value) { throw null; } public int CompareTo(System.UInt64 value) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.UInt64 obj) { throw null; } public override int GetHashCode() { throw null; } public System.TypeCode GetTypeCode() { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt64 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider provider = null) { throw null; } + public static System.UInt64 Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] public static System.UInt64 Parse(string s) { throw null; } [System.CLSCompliantAttribute(false)] public static System.UInt64 Parse(string s, System.Globalization.NumberStyles style) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt64 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } + public static System.UInt64 Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } [System.CLSCompliantAttribute(false)] - public static System.UInt64 Parse(string s, System.IFormatProvider provider) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + public static System.UInt64 Parse(string s, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + System.UInt64 System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } public override string ToString() { throw null; } - public string ToString(System.IFormatProvider provider) { throw null; } - public string ToString(string format) { throw null; } - public string ToString(string format, System.IFormatProvider provider) { throw null; } - public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider provider = null) { throw null; } + public string ToString(System.IFormatProvider? provider) { throw null; } + public string ToString(string? format) { throw null; } + public string ToString(string? format, System.IFormatProvider? provider) { throw null; } + public bool TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format = default(System.ReadOnlySpan), System.IFormatProvider? provider = null) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt64 result) { throw null; } + public static bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt64 result) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryParse(System.ReadOnlySpan s, out System.UInt64 result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out System.UInt64 result) { throw null; } + public static bool TryParse(string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out System.UInt64 result) { throw null; } [System.CLSCompliantAttribute(false)] - public static bool TryParse(string s, out System.UInt64 result) { throw null; } + public static bool TryParse(string? s, out System.UInt64 result) { throw null; } } [System.CLSCompliantAttribute(false)] public readonly partial struct UIntPtr : System.IEquatable, System.Runtime.Serialization.ISerializable @@ -3347,7 +3356,7 @@ namespace System public unsafe UIntPtr(void* value) { throw null; } public static int Size { get { throw null; } } public static System.UIntPtr Add(System.UIntPtr pointer, int offset) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public static System.UIntPtr operator +(System.UIntPtr pointer, int offset) { throw null; } public static bool operator ==(System.UIntPtr value1, System.UIntPtr value2) { throw null; } @@ -3371,8 +3380,8 @@ namespace System { public UnauthorizedAccessException() { } protected UnauthorizedAccessException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public UnauthorizedAccessException(string message) { } - public UnauthorizedAccessException(string message, System.Exception inner) { } + public UnauthorizedAccessException(string? message) { } + public UnauthorizedAccessException(string? message, System.Exception? inner) { } } public partial class UnhandledExceptionEventArgs : System.EventArgs { @@ -3399,9 +3408,9 @@ namespace System [System.ObsoleteAttribute("The constructor has been deprecated. Please use new Uri(string). The dontEscape parameter is deprecated and is always false. https://go.microsoft.com/fwlink/?linkid=14202")] public Uri(string uriString, bool dontEscape) { } public Uri(string uriString, System.UriKind uriKind) { } - public Uri(System.Uri baseUri, string relativeUri) { } + public Uri(System.Uri baseUri, string? relativeUri) { } [System.ObsoleteAttribute("The constructor has been deprecated. Please new Uri(Uri, string). The dontEscape parameter is deprecated and is always false. https://go.microsoft.com/fwlink/?linkid=14202")] - public Uri(System.Uri baseUri, string relativeUri, bool dontEscape) { } + public Uri(System.Uri baseUri, string? relativeUri, bool dontEscape) { } public Uri(System.Uri baseUri, System.Uri relativeUri) { } public string AbsolutePath { get { throw null; } } public string AbsoluteUri { get { throw null; } } @@ -3427,17 +3436,17 @@ namespace System public string UserInfo { get { throw null; } } [System.ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] protected virtual void Canonicalize() { } - public static System.UriHostNameType CheckHostName(string name) { throw null; } - public static bool CheckSchemeName(string schemeName) { throw null; } + public static System.UriHostNameType CheckHostName(string? name) { throw null; } + public static bool CheckSchemeName(string? schemeName) { throw null; } [System.ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] protected virtual void CheckSecurity() { } - public static int Compare(System.Uri uri1, System.Uri uri2, System.UriComponents partsToCompare, System.UriFormat compareFormat, System.StringComparison comparisonType) { throw null; } - public override bool Equals(object comparand) { throw null; } + public static int Compare(System.Uri? uri1, System.Uri? uri2, System.UriComponents partsToCompare, System.UriFormat compareFormat, System.StringComparison comparisonType) { throw null; } + public override bool Equals(object? comparand) { throw null; } [System.ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] protected virtual void Escape() { } public static string EscapeDataString(string stringToEscape) { throw null; } [System.ObsoleteAttribute("The method has been deprecated. Please use GetComponents() or static EscapeUriString() to escape a Uri component or a string. https://go.microsoft.com/fwlink/?linkid=14202")] - protected static string EscapeString(string str) { throw null; } + protected static string EscapeString(string? str) { throw null; } 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; } @@ -3456,19 +3465,19 @@ namespace System [System.ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] protected virtual bool IsReservedCharacter(char character) { throw null; } public bool IsWellFormedOriginalString() { throw null; } - public static bool IsWellFormedUriString(string uriString, System.UriKind uriKind) { throw null; } + public static bool IsWellFormedUriString(string? uriString, System.UriKind uriKind) { throw null; } [System.ObsoleteAttribute("The method has been deprecated. Please use MakeRelativeUri(Uri uri). https://go.microsoft.com/fwlink/?linkid=14202")] public string MakeRelative(System.Uri toUri) { throw null; } public System.Uri MakeRelativeUri(System.Uri uri) { throw null; } - public static bool operator ==(System.Uri uri1, System.Uri uri2) { throw null; } - public static bool operator !=(System.Uri uri1, System.Uri uri2) { throw null; } + public static bool operator ==(System.Uri? uri1, System.Uri? uri2) { throw null; } + public static bool operator !=(System.Uri? uri1, System.Uri? uri2) { throw null; } [System.ObsoleteAttribute("The method has been deprecated. It is not used by the system. https://go.microsoft.com/fwlink/?linkid=14202")] protected virtual void Parse() { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } public override string ToString() { throw null; } - public static bool TryCreate(string uriString, System.UriKind uriKind, out System.Uri result) { throw null; } - public static bool TryCreate(System.Uri baseUri, string relativeUri, out System.Uri result) { throw null; } - public static bool TryCreate(System.Uri baseUri, System.Uri relativeUri, out System.Uri result) { throw null; } + public static bool TryCreate(string? uriString, System.UriKind uriKind, out System.Uri? result) { throw null; } + public static bool TryCreate(System.Uri? baseUri, string? relativeUri, out System.Uri? result) { throw null; } + public static bool TryCreate(System.Uri? baseUri, System.Uri? relativeUri, out System.Uri? result) { throw null; } [System.ObsoleteAttribute("The method has been deprecated. Please use GetComponents() or static UnescapeDataString() to unescape a Uri component or a string. https://go.microsoft.com/fwlink/?linkid=14202")] protected virtual string Unescape(string path) { throw null; } public static string UnescapeDataString(string stringToUnescape) { throw null; } @@ -3504,8 +3513,8 @@ namespace System { public UriFormatException() { } protected UriFormatException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } - public UriFormatException(string textString) { } - public UriFormatException(string textString, System.Exception e) { } + public UriFormatException(string? textString) { } + public UriFormatException(string? textString, System.Exception? e) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } } public enum UriHostNameType @@ -3526,14 +3535,14 @@ namespace System { protected UriParser() { } protected virtual string GetComponents(System.Uri uri, System.UriComponents components, System.UriFormat format) { throw null; } - protected virtual void InitializeAndValidate(System.Uri uri, out System.UriFormatException parsingError) { throw null; } + protected virtual void InitializeAndValidate(System.Uri uri, out System.UriFormatException? parsingError) { throw null; } protected virtual bool IsBaseOf(System.Uri baseUri, System.Uri relativeUri) { throw null; } public static bool IsKnownScheme(string schemeName) { throw null; } protected virtual bool IsWellFormedOriginalString(System.Uri uri) { throw null; } protected virtual System.UriParser OnNewUri() { throw null; } protected virtual void OnRegister(string schemeName, int defaultPort) { } public static void Register(System.UriParser uriParser, string schemeName, int defaultPort) { } - protected virtual string Resolve(System.Uri baseUri, System.Uri relativeUri, out System.UriFormatException parsingError) { throw null; } + protected virtual string? Resolve(System.Uri baseUri, System.Uri? relativeUri, out System.UriFormatException? parsingError) { throw null; } } public enum UriPartial { @@ -3544,7 +3553,7 @@ namespace System } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable, System.IEquatable, System.Runtime.CompilerServices.ITuple { - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo(System.ValueTuple other) { throw null; } public static System.ValueTuple Create() { throw null; } @@ -3556,29 +3565,29 @@ namespace System public static (T1, T2, T3, T4, T5, T6) Create(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) { throw null; } public static (T1, T2, T3, T4, T5, T6, T7) Create(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) { throw null; } public static (T1, T2, T3, T4, T5, T6, T7, T8) Create(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, T8 item8) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple { public T1 Item1; public ValueTuple(T1 item1) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo(System.ValueTuple other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -3586,16 +3595,16 @@ namespace System public T1 Item1; public T2 Item2; public ValueTuple(T1 item1, T2 item2) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo((T1, T2) other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals((T1, T2) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -3604,16 +3613,16 @@ namespace System public T2 Item2; public T3 Item3; public ValueTuple(T1 item1, T2 item2, T3 item3) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo((T1, T2, T3) other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals((T1, T2, T3) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -3623,16 +3632,16 @@ namespace System public T3 Item3; public T4 Item4; public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo((T1, T2, T3, T4) other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals((T1, T2, T3, T4) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -3643,16 +3652,16 @@ namespace System public T4 Item4; public T5 Item5; public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo((T1, T2, T3, T4, T5) other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -3664,16 +3673,16 @@ namespace System public T5 Item5; public T6 Item6; public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo((T1, T2, T3, T4, T5, T6) other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5, T6) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -3686,16 +3695,16 @@ namespace System public T6 Item6; public T7 Item7; public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo((T1, T2, T3, T4, T5, T6, T7) other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5, T6, T7) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple where TRest : struct @@ -3709,26 +3718,29 @@ namespace System public T7 Item7; public TRest Rest; public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) { throw null; } - object System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } + object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public int CompareTo(System.ValueTuple other) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public abstract partial class ValueType { protected ValueType() { } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - public override string ToString() { throw null; } + public override string? ToString() { throw null; } } - public sealed partial class Version : System.ICloneable, System.IComparable, System.IComparable, System.IEquatable + public sealed partial class Version : System.ICloneable, System.IComparable, System.IComparable, +#nullable disable + System.IEquatable +#nullable restore { public Version() { } public Version(int major, int minor) { } @@ -3742,41 +3754,41 @@ namespace System public short MinorRevision { get { throw null; } } public int Revision { get { throw null; } } public object Clone() { throw null; } - public int CompareTo(object version) { throw null; } - public int CompareTo(System.Version value) { throw null; } - public override bool Equals(object obj) { throw null; } - public bool Equals(System.Version obj) { throw null; } + public int CompareTo(object? version) { throw null; } + public int CompareTo(System.Version? value) { throw null; } + public override bool Equals(object? obj) { throw null; } + public bool Equals(System.Version? obj) { throw null; } public override int GetHashCode() { throw null; } - public static bool operator ==(System.Version v1, System.Version v2) { throw null; } - public static bool operator >(System.Version v1, System.Version v2) { throw null; } - public static bool operator >=(System.Version v1, System.Version v2) { throw null; } - public static bool operator !=(System.Version v1, System.Version v2) { throw null; } - public static bool operator <(System.Version v1, System.Version v2) { throw null; } - public static bool operator <=(System.Version v1, System.Version v2) { throw null; } + public static bool operator ==(System.Version? v1, System.Version? v2) { throw null; } + public static bool operator >(System.Version? v1, System.Version? v2) { throw null; } + public static bool operator >=(System.Version? v1, System.Version? v2) { throw null; } + public static bool operator !=(System.Version? v1, System.Version? v2) { throw null; } + public static bool operator <(System.Version? v1, System.Version? v2) { throw null; } + public static bool operator <=(System.Version? v1, System.Version? v2) { throw null; } public static System.Version Parse(System.ReadOnlySpan input) { throw null; } public static System.Version Parse(string input) { 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 static bool TryParse(System.ReadOnlySpan input, out System.Version result) { throw null; } - public static bool TryParse(string input, out System.Version result) { throw null; } + public static bool TryParse(System.ReadOnlySpan input, out System.Version? result) { throw null; } + public static bool TryParse(string? input, out System.Version? result) { throw null; } } public partial struct Void { } public partial class WeakReference : System.Runtime.Serialization.ISerializable { - public WeakReference(object target) { } - public WeakReference(object target, bool trackResurrection) { } + public WeakReference(object? target) { } + public WeakReference(object? target, bool trackResurrection) { } 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 object? Target { get { throw null; } set { } } public virtual bool TrackResurrection { get { throw null; } } ~WeakReference() { } 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 + public sealed partial class WeakReference : System.Runtime.Serialization.ISerializable where T : class? { public WeakReference(T target) { } public WeakReference(T target, bool trackResurrection) { } @@ -3802,7 +3814,7 @@ namespace System.Buffers private object _dummy; private int _dummyPrimitive; [System.CLSCompliantAttribute(false)] - public unsafe MemoryHandle(void* pointer, System.Runtime.InteropServices.GCHandle handle = default(System.Runtime.InteropServices.GCHandle), System.Buffers.IPinnable pinnable = null) { throw null; } + public unsafe MemoryHandle(void* pointer, System.Runtime.InteropServices.GCHandle handle = default(System.Runtime.InteropServices.GCHandle), System.Buffers.IPinnable? pinnable = null) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe void* Pointer { get { throw null; } } public void Dispose() { } @@ -3835,11 +3847,11 @@ namespace System.Collections public partial struct DictionaryEntry { private object _dummy; - public DictionaryEntry(object key, object value) { throw null; } + public DictionaryEntry(object key, object? value) { throw null; } public object Key { get { throw null; } set { } } - public object Value { get { throw null; } set { } } + public object? Value { get { throw null; } set { } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out object key, out object value) { throw null; } + public void Deconstruct(out object key, out object? value) { throw null; } } public partial interface ICollection : System.Collections.IEnumerable { @@ -3850,16 +3862,16 @@ namespace System.Collections } public partial interface IComparer { - int Compare(object x, object y); + int Compare(object? x, object? y); } public partial interface IDictionary : System.Collections.ICollection, System.Collections.IEnumerable { bool IsFixedSize { get; } bool IsReadOnly { get; } - object this[object key] { get; set; } + object? this[object key] { get; set; } System.Collections.ICollection Keys { get; } System.Collections.ICollection Values { get; } - void Add(object key, object value); + void Add(object key, object? value); void Clear(); bool Contains(object key); new System.Collections.IDictionaryEnumerator GetEnumerator(); @@ -3869,7 +3881,7 @@ namespace System.Collections { System.Collections.DictionaryEntry Entry { get; } object Key { get; } - object Value { get; } + object? Value { get; } } public partial interface IEnumerable { @@ -3877,35 +3889,35 @@ namespace System.Collections } public partial interface IEnumerator { - object Current { get; } + object? Current { get; } bool MoveNext(); void Reset(); } public partial interface IEqualityComparer { - bool Equals(object x, object y); + bool Equals(object? x, object? y); int GetHashCode(object obj); } public partial interface IList : System.Collections.ICollection, System.Collections.IEnumerable { bool IsFixedSize { get; } bool IsReadOnly { get; } - object this[int index] { get; set; } - int Add(object value); + object? this[int index] { get; set; } + int Add(object? value); void Clear(); - bool Contains(object value); - int IndexOf(object value); - void Insert(int index, object value); - void Remove(object value); + bool Contains(object? value); + int IndexOf(object? value); + void Insert(int index, object? value); + void Remove(object? value); void RemoveAt(int index); } public partial interface IStructuralComparable { - int CompareTo(object other, System.Collections.IComparer comparer); + int CompareTo(object? other, System.Collections.IComparer comparer); } public partial interface IStructuralEquatable { - bool Equals(object other, System.Collections.IEqualityComparer comparer); + bool Equals(object? other, System.Collections.IEqualityComparer comparer); int GetHashCode(System.Collections.IEqualityComparer comparer); } } @@ -3998,8 +4010,8 @@ namespace System.Collections.Generic { public KeyNotFoundException() { } protected KeyNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public KeyNotFoundException(string message) { } - public KeyNotFoundException(string message, System.Exception innerException) { } + public KeyNotFoundException(string? message) { } + public KeyNotFoundException(string? message, System.Exception? innerException) { } } public static partial class KeyValuePair { @@ -4032,7 +4044,7 @@ namespace System.Collections.ObjectModel object System.Collections.ICollection.SyncRoot { get { throw null; } } bool System.Collections.IList.IsFixedSize { get { throw null; } } bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } + object? System.Collections.IList.this[int index] { get { throw null; } set { } } public void Add(T item) { } public void Clear() { } protected virtual void ClearItems() { } @@ -4048,11 +4060,11 @@ namespace System.Collections.ObjectModel protected virtual void SetItem(int index, T item) { } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } + int System.Collections.IList.Add(object? value) { throw null; } + bool System.Collections.IList.Contains(object? value) { throw null; } + int System.Collections.IList.IndexOf(object? value) { throw null; } + void System.Collections.IList.Insert(int index, object? value) { } + void System.Collections.IList.Remove(object? value) { } } public partial class ReadOnlyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { @@ -4066,7 +4078,7 @@ namespace System.Collections.ObjectModel object System.Collections.ICollection.SyncRoot { get { throw null; } } bool System.Collections.IList.IsFixedSize { get { throw null; } } bool System.Collections.IList.IsReadOnly { get { throw null; } } - object System.Collections.IList.this[int index] { get { throw null; } set { } } + object? System.Collections.IList.this[int index] { get { throw null; } set { } } public bool Contains(T value) { throw null; } public void CopyTo(T[] array, int index) { } public System.Collections.Generic.IEnumerator GetEnumerator() { throw null; } @@ -4078,12 +4090,12 @@ namespace System.Collections.ObjectModel void System.Collections.Generic.IList.RemoveAt(int index) { } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } + int System.Collections.IList.Add(object? value) { throw null; } void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } + bool System.Collections.IList.Contains(object? value) { throw null; } + int System.Collections.IList.IndexOf(object? value) { throw null; } + void System.Collections.IList.Insert(int index, object? value) { } + void System.Collections.IList.Remove(object? value) { } void System.Collections.IList.RemoveAt(int index) { } } } @@ -4099,22 +4111,22 @@ namespace System.ComponentModel public DefaultValueAttribute(short value) { } public DefaultValueAttribute(int value) { } public DefaultValueAttribute(long value) { } - public DefaultValueAttribute(object value) { } + public DefaultValueAttribute(object? value) { } [System.CLSCompliantAttribute(false)] public DefaultValueAttribute(sbyte value) { } public DefaultValueAttribute(float value) { } - public DefaultValueAttribute(string value) { } - public DefaultValueAttribute(System.Type type, string value) { } + public DefaultValueAttribute(string? value) { } + public DefaultValueAttribute(System.Type type, string? value) { } [System.CLSCompliantAttribute(false)] public DefaultValueAttribute(ushort value) { } [System.CLSCompliantAttribute(false)] public DefaultValueAttribute(uint value) { } [System.CLSCompliantAttribute(false)] public DefaultValueAttribute(ulong value) { } - public virtual object Value { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public virtual object? Value { get { throw null; } } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - protected void SetValue(object value) { } + protected void SetValue(object? value) { } } [System.AttributeUsageAttribute(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.Property | System.AttributeTargets.Struct)] public sealed partial class EditorBrowsableAttribute : System.Attribute @@ -4122,7 +4134,7 @@ namespace System.ComponentModel public EditorBrowsableAttribute() { } public EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState state) { } public System.ComponentModel.EditorBrowsableState State { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } } public enum EditorBrowsableState @@ -4179,36 +4191,51 @@ namespace System.Diagnostics } namespace System.Diagnostics.CodeAnalysis { - [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited = false)] - public sealed class AllowNullAttribute : System.Attribute { } - [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited = false)] - public sealed class DisallowNullAttribute : System.Attribute { } - [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited = false)] - public sealed class DoesNotReturnAttribute : System.Attribute { } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited = false)] - public sealed class DoesNotReturnIfAttribute : System.Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class AllowNullAttribute : System.Attribute + { + public AllowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)] + public sealed partial class DisallowNullAttribute : System.Attribute + { + public DisallowNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] + public sealed partial class DoesNotReturnAttribute : System.Attribute + { + public DoesNotReturnAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class DoesNotReturnIfAttribute : System.Attribute { public DoesNotReturnIfAttribute(bool parameterValue) { } public bool ParameterValue { get { throw null; } } } - [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited = false)] - public sealed class MaybeNullAttribute : System.Attribute { } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited = false)] - public sealed class MaybeNullWhenAttribute : System.Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class MaybeNullAttribute : System.Attribute + { + public MaybeNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class MaybeNullWhenAttribute : System.Attribute { public MaybeNullWhenAttribute(bool returnValue) { } public bool ReturnValue { get { throw null; } } } - [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited = false)] - public sealed class NotNullAttribute : System.Attribute { } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, AllowMultiple = true, Inherited = false)] - public sealed class NotNullIfNotNullAttribute : System.Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)] + public sealed partial class NotNullAttribute : System.Attribute + { + public NotNullAttribute() { } + } + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, AllowMultiple=true, Inherited=false)] + public sealed partial class NotNullIfNotNullAttribute : System.Attribute { public NotNullIfNotNullAttribute(string parameterName) { } public string ParameterName { get { throw null; } } } - [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited = false)] - public sealed class NotNullWhenAttribute : System.Attribute + [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] + public sealed partial class NotNullWhenAttribute : System.Attribute { public NotNullWhenAttribute(bool returnValue) { } public bool ReturnValue { get { throw null; } } @@ -4307,13 +4334,13 @@ namespace System.Globalization public int LCID { get { throw null; } } public virtual string Name { get { throw null; } } public System.Globalization.SortVersion Version { get { throw null; } } - public virtual int Compare(string string1, int offset1, int length1, string string2, int offset2, int length2) { throw null; } - public virtual int Compare(string string1, int offset1, int length1, string string2, int offset2, int length2, System.Globalization.CompareOptions options) { throw null; } - public virtual int Compare(string string1, int offset1, string string2, int offset2) { throw null; } - public virtual int Compare(string string1, int offset1, string string2, int offset2, System.Globalization.CompareOptions options) { throw null; } - public virtual int Compare(string string1, string string2) { throw null; } - public virtual int Compare(string string1, string string2, System.Globalization.CompareOptions options) { throw null; } - public override bool Equals(object value) { throw null; } + public virtual int Compare(string? string1, int offset1, int length1, string? string2, int offset2, int length2) { throw null; } + public virtual int Compare(string? string1, int offset1, int length1, string? string2, int offset2, int length2, System.Globalization.CompareOptions options) { throw null; } + public virtual int Compare(string? string1, int offset1, string? string2, int offset2) { throw null; } + public virtual int Compare(string? string1, int offset1, string? string2, int offset2, System.Globalization.CompareOptions options) { throw null; } + public virtual int Compare(string? string1, string? string2) { throw null; } + public virtual int Compare(string? string1, string? string2, System.Globalization.CompareOptions options) { throw null; } + public override bool Equals(object? value) { throw null; } public static System.Globalization.CompareInfo GetCompareInfo(int culture) { throw null; } public static System.Globalization.CompareInfo GetCompareInfo(int culture, System.Reflection.Assembly assembly) { throw null; } public static System.Globalization.CompareInfo GetCompareInfo(string name) { throw null; } @@ -4353,7 +4380,7 @@ namespace System.Globalization public virtual int LastIndexOf(string source, string value, int startIndex, System.Globalization.CompareOptions options) { throw null; } public virtual int LastIndexOf(string source, string value, int startIndex, int count) { throw null; } public virtual int LastIndexOf(string source, string value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } public override string ToString() { throw null; } } [System.FlagsAttribute] @@ -4381,8 +4408,8 @@ namespace System.Globalization public static System.Globalization.CultureInfo CurrentCulture { get { throw null; } set { } } public static System.Globalization.CultureInfo CurrentUICulture { get { throw null; } set { } } public virtual System.Globalization.DateTimeFormatInfo DateTimeFormat { get { throw null; } set { } } - public static System.Globalization.CultureInfo DefaultThreadCurrentCulture { get { throw null; } set { } } - public static System.Globalization.CultureInfo DefaultThreadCurrentUICulture { get { throw null; } set { } } + public static System.Globalization.CultureInfo? DefaultThreadCurrentCulture { get { throw null; } set { } } + public static System.Globalization.CultureInfo? DefaultThreadCurrentUICulture { get { throw null; } set { } } public virtual string DisplayName { get { throw null; } } public virtual string EnglishName { get { throw null; } } public string IetfLanguageTag { get { throw null; } } @@ -4405,14 +4432,14 @@ namespace System.Globalization public void ClearCachedData() { } public virtual object Clone() { throw null; } public static System.Globalization.CultureInfo CreateSpecificCulture(string name) { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public System.Globalization.CultureInfo GetConsoleFallbackUICulture() { throw null; } public static System.Globalization.CultureInfo GetCultureInfo(int culture) { throw null; } public static System.Globalization.CultureInfo GetCultureInfo(string name) { throw null; } public static System.Globalization.CultureInfo GetCultureInfo(string name, string altName) { throw null; } public static System.Globalization.CultureInfo GetCultureInfoByIetfLanguageTag(string name) { throw null; } public static System.Globalization.CultureInfo[] GetCultures(System.Globalization.CultureTypes types) { throw null; } - public virtual object GetFormat(System.Type formatType) { throw null; } + public virtual object? GetFormat(System.Type? formatType) { throw null; } public override int GetHashCode() { throw null; } public static System.Globalization.CultureInfo ReadOnly(System.Globalization.CultureInfo ci) { throw null; } public override string ToString() { throw null; } @@ -4421,15 +4448,15 @@ namespace System.Globalization { public CultureNotFoundException() { } protected CultureNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public CultureNotFoundException(string message) { } - public CultureNotFoundException(string message, System.Exception innerException) { } - public CultureNotFoundException(string message, int invalidCultureId, System.Exception innerException) { } - public CultureNotFoundException(string paramName, int invalidCultureId, string message) { } - public CultureNotFoundException(string paramName, string message) { } - public CultureNotFoundException(string message, string invalidCultureName, System.Exception innerException) { } - public CultureNotFoundException(string paramName, string invalidCultureName, string message) { } + public CultureNotFoundException(string? message) { } + public CultureNotFoundException(string? message, System.Exception? innerException) { } + public CultureNotFoundException(string? message, int invalidCultureId, System.Exception? innerException) { } + public CultureNotFoundException(string? paramName, int invalidCultureId, string? message) { } + public CultureNotFoundException(string? paramName, string? message) { } + public CultureNotFoundException(string? message, string? invalidCultureName, System.Exception? innerException) { } + public CultureNotFoundException(string? paramName, string? invalidCultureName, string? message) { } public virtual int? InvalidCultureId { get { throw null; } } - public virtual string InvalidCultureName { get { throw null; } } + public virtual string? InvalidCultureName { get { throw null; } } public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } @@ -4487,8 +4514,8 @@ namespace System.Globalization public string GetDayName(System.DayOfWeek dayofweek) { throw null; } public int GetEra(string eraName) { throw null; } public string GetEraName(int era) { throw null; } - public object GetFormat(System.Type formatType) { throw null; } - public static System.Globalization.DateTimeFormatInfo GetInstance(System.IFormatProvider provider) { throw null; } + public object? GetFormat(System.Type? formatType) { throw null; } + public static System.Globalization.DateTimeFormatInfo GetInstance(System.IFormatProvider? provider) { throw null; } public string GetMonthName(int month) { throw null; } public string GetShortestDayName(System.DayOfWeek dayOfWeek) { throw null; } public static System.Globalization.DateTimeFormatInfo ReadOnly(System.Globalization.DateTimeFormatInfo dtfi) { throw null; } @@ -4645,7 +4672,7 @@ namespace System.Globalization public IdnMapping() { } public bool AllowUnassigned { get { throw null; } set { } } public bool UseStd3AsciiRules { get { throw null; } set { } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public string GetAscii(string unicode) { throw null; } public string GetAscii(string unicode, int index) { throw null; } public string GetAscii(string unicode, int index, int count) { throw null; } @@ -4799,8 +4826,8 @@ namespace System.Globalization public string PositiveInfinitySymbol { get { throw null; } set { } } public string PositiveSign { get { throw null; } set { } } public object Clone() { throw null; } - public object GetFormat(System.Type formatType) { throw null; } - public static System.Globalization.NumberFormatInfo GetInstance(System.IFormatProvider formatProvider) { throw null; } + public object? GetFormat(System.Type? formatType) { throw null; } + public static System.Globalization.NumberFormatInfo GetInstance(System.IFormatProvider? formatProvider) { throw null; } public static System.Globalization.NumberFormatInfo ReadOnly(System.Globalization.NumberFormatInfo nfi) { throw null; } } [System.FlagsAttribute] @@ -4869,7 +4896,7 @@ namespace System.Globalization public virtual string ThreeLetterISORegionName { get { throw null; } } public virtual string ThreeLetterWindowsRegionName { get { throw null; } } public virtual string TwoLetterISORegionName { get { throw null; } } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } @@ -4879,20 +4906,23 @@ namespace System.Globalization public virtual byte[] KeyData { get { throw null; } } public virtual string OriginalString { get { throw null; } } public static int Compare(System.Globalization.SortKey sortkey1, System.Globalization.SortKey sortkey2) { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } - public sealed partial class SortVersion : System.IEquatable + public sealed partial class SortVersion : +#nullable disable + System.IEquatable +#nullable restore { public SortVersion(int fullVersion, System.Guid sortId) { } public int FullVersion { get { throw null; } } public System.Guid SortId { get { throw null; } } - public bool Equals(System.Globalization.SortVersion other) { throw null; } - public override bool Equals(object obj) { throw null; } + public bool Equals(System.Globalization.SortVersion? other) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - public static bool operator ==(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw null; } - public static bool operator !=(System.Globalization.SortVersion left, System.Globalization.SortVersion right) { throw null; } + public static bool operator ==(System.Globalization.SortVersion? left, System.Globalization.SortVersion? right) { throw null; } + public static bool operator !=(System.Globalization.SortVersion? left, System.Globalization.SortVersion? right) { throw null; } } public partial class StringInfo { @@ -4900,7 +4930,7 @@ namespace System.Globalization public StringInfo(string value) { } public int LengthInTextElements { get { throw null; } } public string String { get { throw null; } set { } } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } public static string GetNextTextElement(string str) { throw null; } public static string GetNextTextElement(string str, int index) { throw null; } @@ -4949,7 +4979,9 @@ namespace System.Globalization public partial class TextElementEnumerator : System.Collections.IEnumerator { internal TextElementEnumerator() { } +#pragma warning disable CS8612 // TODO-NULLABLE: Covariant return types (https://github.com/dotnet/roslyn/issues/23268) public object Current { get { throw null; } } +#pragma warning restore CS8612 public int ElementIndex { get { throw null; } } public string GetTextElement() { throw null; } public bool MoveNext() { throw null; } @@ -4968,10 +5000,10 @@ namespace System.Globalization public virtual int MacCodePage { get { throw null; } } public virtual int OEMCodePage { get { throw null; } } public virtual object Clone() { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public static System.Globalization.TextInfo ReadOnly(System.Globalization.TextInfo textInfo) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } public virtual char ToLower(char c) { throw null; } public virtual string ToLower(string str) { throw null; } public override string ToString() { throw null; } @@ -5081,8 +5113,8 @@ namespace System.IO { public DirectoryNotFoundException() { } protected DirectoryNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public DirectoryNotFoundException(string message) { } - public DirectoryNotFoundException(string message, System.Exception innerException) { } + public DirectoryNotFoundException(string? message) { } + public DirectoryNotFoundException(string? message, System.Exception? innerException) { } } [System.FlagsAttribute] public enum FileAccess @@ -5115,12 +5147,12 @@ namespace System.IO { public FileLoadException() { } protected FileLoadException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public FileLoadException(string message) { } - public FileLoadException(string message, System.Exception inner) { } - public FileLoadException(string message, string fileName) { } - public FileLoadException(string message, string fileName, System.Exception inner) { } - public string FileName { get { throw null; } } - public string FusionLog { get { throw null; } } + public FileLoadException(string? message) { } + public FileLoadException(string? message, System.Exception? inner) { } + public FileLoadException(string? message, string? fileName) { } + public FileLoadException(string? message, string? fileName, System.Exception? inner) { } + public string? FileName { get { throw null; } } + public string? FusionLog { get { throw null; } } public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } @@ -5138,12 +5170,12 @@ namespace System.IO { public FileNotFoundException() { } protected FileNotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public FileNotFoundException(string message) { } - public FileNotFoundException(string message, System.Exception innerException) { } - public FileNotFoundException(string message, string fileName) { } - public FileNotFoundException(string message, string fileName, System.Exception innerException) { } - public string FileName { get { throw null; } } - public string FusionLog { get { throw null; } } + public FileNotFoundException(string? message) { } + public FileNotFoundException(string? message, System.Exception? innerException) { } + public FileNotFoundException(string? message, string? fileName) { } + public FileNotFoundException(string? message, string? fileName, System.Exception? innerException) { } + public string? FileName { get { throw null; } } + public string? FusionLog { get { throw null; } } public override string Message { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } @@ -5198,8 +5230,8 @@ namespace System.IO public virtual string Name { get { throw null; } } public override long Position { get { throw null; } set { } } public virtual Microsoft.Win32.SafeHandles.SafeFileHandle SafeFileHandle { get { throw null; } } - public override System.IAsyncResult BeginRead(byte[] array, int offset, int numBytes, System.AsyncCallback callback, object state) { throw null; } - public override System.IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, System.AsyncCallback callback, object state) { throw null; } + public override System.IAsyncResult BeginRead(byte[] array, int offset, int numBytes, System.AsyncCallback callback, object? state) { throw null; } + public override System.IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, System.AsyncCallback callback, object? state) { throw null; } 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; } @@ -5233,16 +5265,16 @@ namespace System.IO { public IOException() { } protected IOException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public IOException(string message) { } - public IOException(string message, System.Exception innerException) { } - public IOException(string message, int hresult) { } + public IOException(string? message) { } + public IOException(string? message, System.Exception? innerException) { } + public IOException(string? message, int hresult) { } } public partial class PathTooLongException : System.IO.IOException { public PathTooLongException() { } protected PathTooLongException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public PathTooLongException(string message) { } - public PathTooLongException(string message, System.Exception innerException) { } + public PathTooLongException(string? message) { } + public PathTooLongException(string? message, System.Exception? innerException) { } } public enum SeekOrigin { @@ -5262,8 +5294,8 @@ namespace System.IO public abstract long Position { get; set; } public virtual int ReadTimeout { get { throw null; } set { } } public virtual int WriteTimeout { get { throw null; } set { } } - public virtual System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; } - public virtual System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object state) { throw null; } + public virtual System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback callback, object? state) { throw null; } + public virtual System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback callback, object? state) { throw null; } public virtual void Close() { } public void CopyTo(System.IO.Stream destination) { } public virtual void CopyTo(System.IO.Stream destination, int bufferSize) { } @@ -5305,19 +5337,19 @@ namespace System.Reflection public sealed partial class AmbiguousMatchException : System.SystemException { public AmbiguousMatchException() { } - public AmbiguousMatchException(string message) { } - public AmbiguousMatchException(string message, System.Exception inner) { } + public AmbiguousMatchException(string? message) { } + public AmbiguousMatchException(string? message, System.Exception? inner) { } } public abstract partial class Assembly : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.ISerializable { protected Assembly() { } - public virtual string CodeBase { get { throw null; } } + public virtual string? CodeBase { get { throw null; } } public virtual System.Collections.Generic.IEnumerable CustomAttributes { get { throw null; } } public virtual System.Collections.Generic.IEnumerable DefinedTypes { get { throw null; } } - public virtual System.Reflection.MethodInfo EntryPoint { get { throw null; } } + public virtual System.Reflection.MethodInfo? EntryPoint { get { throw null; } } public virtual string EscapedCodeBase { get { throw null; } } public virtual System.Collections.Generic.IEnumerable ExportedTypes { get { throw null; } } - public virtual string FullName { get { throw null; } } + public virtual string? FullName { get { throw null; } } public virtual bool GlobalAssemblyCache { get { throw null; } } public virtual long HostContext { get { throw null; } } public virtual string ImageRuntimeVersion { get { throw null; } } @@ -5330,31 +5362,31 @@ namespace System.Reflection public virtual bool ReflectionOnly { get { throw null; } } public virtual System.Security.SecurityRuleSet SecurityRuleSet { get { throw null; } } public virtual event System.Reflection.ModuleResolveEventHandler ModuleResolve { add { } remove { } } - public object CreateInstance(string typeName) { throw null; } - public object CreateInstance(string typeName, bool ignoreCase) { throw null; } - public virtual object CreateInstance(string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, object[] args, System.Globalization.CultureInfo culture, object[] activationAttributes) { throw null; } - public static string CreateQualifiedName(string assemblyName, string typeName) { throw null; } - public override bool Equals(object o) { throw null; } - public static System.Reflection.Assembly GetAssembly(System.Type type) { throw null; } + public object? CreateInstance(string typeName) { throw null; } + public object? CreateInstance(string typeName, bool ignoreCase) { throw null; } + public virtual object? CreateInstance(string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object[]? args, System.Globalization.CultureInfo? culture, object[]? activationAttributes) { throw null; } + public static string CreateQualifiedName(string? assemblyName, string? typeName) { throw null; } + public override bool Equals(object? o) { throw null; } + public static System.Reflection.Assembly? GetAssembly(System.Type type) { throw null; } public static System.Reflection.Assembly GetCallingAssembly() { throw null; } public virtual object[] GetCustomAttributes(bool inherit) { throw null; } public virtual object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; } public virtual System.Collections.Generic.IList GetCustomAttributesData() { throw null; } - public static System.Reflection.Assembly GetEntryAssembly() { throw null; } + public static System.Reflection.Assembly? GetEntryAssembly() { throw null; } public static System.Reflection.Assembly GetExecutingAssembly() { throw null; } public virtual System.Type[] GetExportedTypes() { throw null; } - public virtual System.IO.FileStream GetFile(string name) { throw null; } + public virtual System.IO.FileStream? GetFile(string name) { throw null; } public virtual System.IO.FileStream[] GetFiles() { throw null; } public virtual System.IO.FileStream[] GetFiles(bool getResourceModules) { throw null; } public virtual System.Type[] GetForwardedTypes() { throw null; } public override int GetHashCode() { throw null; } public System.Reflection.Module[] GetLoadedModules() { throw null; } public virtual System.Reflection.Module[] GetLoadedModules(bool getResourceModules) { throw null; } - public virtual System.Reflection.ManifestResourceInfo GetManifestResourceInfo(string resourceName) { throw null; } + public virtual System.Reflection.ManifestResourceInfo? GetManifestResourceInfo(string resourceName) { throw null; } public virtual string[] GetManifestResourceNames() { throw null; } - public virtual System.IO.Stream GetManifestResourceStream(string name) { throw null; } - public virtual System.IO.Stream GetManifestResourceStream(System.Type type, string name) { throw null; } - public virtual System.Reflection.Module GetModule(string name) { throw null; } + public virtual System.IO.Stream? GetManifestResourceStream(string name) { throw null; } + public virtual System.IO.Stream? GetManifestResourceStream(System.Type type, string name) { throw null; } + public virtual System.Reflection.Module? GetModule(string name) { throw null; } public System.Reflection.Module[] GetModules() { throw null; } public virtual System.Reflection.Module[] GetModules(bool getResourceModules) { throw null; } public virtual System.Reflection.AssemblyName GetName() { throw null; } @@ -5362,25 +5394,25 @@ namespace System.Reflection public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public virtual System.Reflection.AssemblyName[] GetReferencedAssemblies() { throw null; } public virtual System.Reflection.Assembly GetSatelliteAssembly(System.Globalization.CultureInfo culture) { throw null; } - public virtual System.Reflection.Assembly GetSatelliteAssembly(System.Globalization.CultureInfo culture, System.Version version) { throw null; } - public virtual System.Type GetType(string name) { throw null; } - public virtual System.Type GetType(string name, bool throwOnError) { throw null; } - public virtual System.Type GetType(string name, bool throwOnError, bool ignoreCase) { throw null; } + public virtual System.Reflection.Assembly GetSatelliteAssembly(System.Globalization.CultureInfo culture, System.Version? version) { throw null; } + public virtual System.Type? GetType(string name) { throw null; } + public virtual System.Type? GetType(string name, bool throwOnError) { throw null; } + public virtual System.Type? GetType(string name, bool throwOnError, bool ignoreCase) { throw null; } public virtual System.Type[] GetTypes() { throw null; } public virtual bool IsDefined(System.Type attributeType, bool inherit) { throw null; } public static System.Reflection.Assembly Load(byte[] rawAssembly) { throw null; } - public static System.Reflection.Assembly Load(byte[] rawAssembly, byte[] rawSymbolStore) { throw null; } + public static System.Reflection.Assembly Load(byte[] rawAssembly, byte[]? rawSymbolStore) { throw null; } public static System.Reflection.Assembly Load(System.Reflection.AssemblyName assemblyRef) { throw null; } public static System.Reflection.Assembly Load(string assemblyString) { throw null; } public static System.Reflection.Assembly LoadFile(string path) { throw null; } public static System.Reflection.Assembly LoadFrom(string assemblyFile) { throw null; } - public static System.Reflection.Assembly LoadFrom(string assemblyFile, byte[] hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; } - public System.Reflection.Module LoadModule(string moduleName, byte[] rawModule) { throw null; } - public virtual System.Reflection.Module LoadModule(string moduleName, byte[] rawModule, byte[] rawSymbolStore) { throw null; } + public static System.Reflection.Assembly LoadFrom(string assemblyFile, byte[]? hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; } + public System.Reflection.Module LoadModule(string moduleName, byte[]? rawModule) { throw null; } + public virtual System.Reflection.Module LoadModule(string moduleName, byte[]? rawModule, byte[]? rawSymbolStore) { throw null; } [System.ObsoleteAttribute("This method has been deprecated. Please use Assembly.Load() instead. https://go.microsoft.com/fwlink/?linkid=14202")] - 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; } + 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; } public static System.Reflection.Assembly ReflectionOnlyLoad(byte[] rawAssembly) { throw null; } public static System.Reflection.Assembly ReflectionOnlyLoad(string assemblyString) { throw null; } public static System.Reflection.Assembly ReflectionOnlyLoadFrom(string assemblyFile) { throw null; } @@ -5484,36 +5516,36 @@ namespace System.Reflection [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=true, Inherited=false)] public sealed partial class AssemblyMetadataAttribute : System.Attribute { - public AssemblyMetadataAttribute(string key, string value) { } + public AssemblyMetadataAttribute(string key, string? value) { } public string Key { get { throw null; } } - public string Value { get { throw null; } } + public string? Value { get { throw null; } } } public sealed partial class AssemblyName : System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { public AssemblyName() { } public AssemblyName(string assemblyName) { } - public string CodeBase { get { throw null; } set { } } + public string? CodeBase { 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 { } } - public string EscapedCodeBase { get { throw null; } } + public System.Globalization.CultureInfo? CultureInfo { get { throw null; } set { } } + public string? CultureName { get { throw null; } set { } } + public string? EscapedCodeBase { get { throw null; } } public System.Reflection.AssemblyNameFlags Flags { get { throw null; } set { } } public string FullName { get { throw null; } } public System.Configuration.Assemblies.AssemblyHashAlgorithm HashAlgorithm { get { throw null; } set { } } - public System.Reflection.StrongNameKeyPair KeyPair { get { throw null; } set { } } - public string Name { get { throw null; } set { } } + public System.Reflection.StrongNameKeyPair? KeyPair { get { throw null; } set { } } + public string? Name { get { throw null; } set { } } public System.Reflection.ProcessorArchitecture ProcessorArchitecture { get { throw null; } set { } } - public System.Version Version { get { throw null; } set { } } + public System.Version? Version { get { throw null; } set { } } 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; } public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public byte[] GetPublicKey() { throw null; } - public byte[] GetPublicKeyToken() { throw null; } - public void OnDeserialization(object sender) { } - public static bool ReferenceMatchesDefinition(System.Reflection.AssemblyName reference, System.Reflection.AssemblyName definition) { throw null; } - public void SetPublicKey(byte[] publicKey) { } - public void SetPublicKeyToken(byte[] publicKeyToken) { } + public byte[]? GetPublicKey() { throw null; } + public byte[]? GetPublicKeyToken() { throw null; } + public void OnDeserialization(object? sender) { } + public static bool ReferenceMatchesDefinition(System.Reflection.AssemblyName? reference, System.Reflection.AssemblyName? definition) { throw null; } + public void SetPublicKey(byte[]? publicKey) { } + public void SetPublicKeyToken(byte[]? publicKeyToken) { } public override string ToString() { throw null; } } [System.FlagsAttribute] @@ -5559,12 +5591,12 @@ namespace System.Reflection public abstract partial class Binder { protected Binder() { } - public abstract System.Reflection.FieldInfo BindToField(System.Reflection.BindingFlags bindingAttr, System.Reflection.FieldInfo[] match, object value, System.Globalization.CultureInfo culture); - public abstract System.Reflection.MethodBase BindToMethod(System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, ref object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] names, out object state); - public abstract object ChangeType(object value, System.Type type, System.Globalization.CultureInfo culture); + public abstract System.Reflection.FieldInfo BindToField(System.Reflection.BindingFlags bindingAttr, System.Reflection.FieldInfo[] match, object value, System.Globalization.CultureInfo? culture); + public abstract System.Reflection.MethodBase BindToMethod(System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, ref object?[] args, System.Reflection.ParameterModifier[]? modifiers, System.Globalization.CultureInfo? culture, string[]? names, out object? state); + public abstract object ChangeType(object value, System.Type type, System.Globalization.CultureInfo? culture); public abstract void ReorderArgumentArray(ref object[] args, object state); - public abstract System.Reflection.MethodBase SelectMethod(System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, System.Type[] types, System.Reflection.ParameterModifier[] modifiers); - public abstract System.Reflection.PropertyInfo SelectProperty(System.Reflection.BindingFlags bindingAttr, System.Reflection.PropertyInfo[] match, System.Type returnType, System.Type[] indexes, System.Reflection.ParameterModifier[] modifiers); + public abstract System.Reflection.MethodBase? SelectMethod(System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers); + public abstract System.Reflection.PropertyInfo? SelectProperty(System.Reflection.BindingFlags bindingAttr, System.Reflection.PropertyInfo[] match, System.Type? returnType, System.Type[]? indexes, System.Reflection.ParameterModifier[]? modifiers); } [System.FlagsAttribute] public enum BindingFlags @@ -5606,12 +5638,12 @@ namespace System.Reflection public static readonly string TypeConstructorName; protected ConstructorInfo() { } public override System.Reflection.MemberTypes MemberType { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } - public object Invoke(object[] parameters) { throw null; } - public abstract object Invoke(System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture); - public static bool operator ==(System.Reflection.ConstructorInfo left, System.Reflection.ConstructorInfo right) { throw null; } - public static bool operator !=(System.Reflection.ConstructorInfo left, System.Reflection.ConstructorInfo right) { throw null; } + public object Invoke(object?[]? parameters) { throw null; } + public abstract object Invoke(System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object?[]? parameters, System.Globalization.CultureInfo? culture); + public static bool operator ==(System.Reflection.ConstructorInfo? left, System.Reflection.ConstructorInfo? right) { throw null; } + public static bool operator !=(System.Reflection.ConstructorInfo? left, System.Reflection.ConstructorInfo? right) { throw null; } } public partial class CustomAttributeData { @@ -5620,7 +5652,7 @@ namespace System.Reflection public virtual System.Reflection.ConstructorInfo Constructor { get { throw null; } } public virtual System.Collections.Generic.IList ConstructorArguments { get { throw null; } } public virtual System.Collections.Generic.IList NamedArguments { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.Assembly target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.MemberInfo target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.Module target) { throw null; } @@ -5630,12 +5662,12 @@ namespace System.Reflection } public static partial class CustomAttributeExtensions { - public static System.Attribute GetCustomAttribute(this System.Reflection.Assembly element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(this System.Reflection.MemberInfo element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; } - public static System.Attribute GetCustomAttribute(this System.Reflection.Module element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(this System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; } - public static System.Attribute GetCustomAttribute(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; } + public static System.Attribute? GetCustomAttribute(this System.Reflection.Assembly element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(this System.Reflection.MemberInfo element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; } + public static System.Attribute? GetCustomAttribute(this System.Reflection.Module element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(this System.Reflection.ParameterInfo element, System.Type attributeType) { throw null; } + public static System.Attribute? GetCustomAttribute(this System.Reflection.ParameterInfo element, System.Type attributeType, bool inherit) { throw null; } public static System.Collections.Generic.IEnumerable GetCustomAttributes(this System.Reflection.Assembly element) { throw null; } public static System.Collections.Generic.IEnumerable GetCustomAttributes(this System.Reflection.Assembly element, System.Type attributeType) { throw null; } public static System.Collections.Generic.IEnumerable GetCustomAttributes(this System.Reflection.MemberInfo element) { throw null; } @@ -5654,12 +5686,12 @@ namespace System.Reflection public static System.Collections.Generic.IEnumerable GetCustomAttributes(this System.Reflection.Module element) where T : System.Attribute { throw null; } public static System.Collections.Generic.IEnumerable GetCustomAttributes(this System.Reflection.ParameterInfo element) where T : System.Attribute { throw null; } public static System.Collections.Generic.IEnumerable GetCustomAttributes(this System.Reflection.ParameterInfo element, bool inherit) where T : System.Attribute { throw null; } - public static T GetCustomAttribute(this System.Reflection.Assembly element) where T : System.Attribute { throw null; } - public static T GetCustomAttribute(this System.Reflection.MemberInfo element) where T : System.Attribute { throw null; } - public static T GetCustomAttribute(this System.Reflection.MemberInfo element, bool inherit) where T : System.Attribute { throw null; } - public static T GetCustomAttribute(this System.Reflection.Module element) where T : System.Attribute { throw null; } - public static T GetCustomAttribute(this System.Reflection.ParameterInfo element) where T : System.Attribute { throw null; } - public static T GetCustomAttribute(this System.Reflection.ParameterInfo element, bool inherit) where T : System.Attribute { throw null; } + public static T? GetCustomAttribute(this System.Reflection.Assembly element) where T : System.Attribute { throw null; } + public static T? GetCustomAttribute(this System.Reflection.MemberInfo element) where T : System.Attribute { throw null; } + public static T? GetCustomAttribute(this System.Reflection.MemberInfo element, bool inherit) where T : System.Attribute { throw null; } + public static T? GetCustomAttribute(this System.Reflection.Module element) where T : System.Attribute { throw null; } + public static T? GetCustomAttribute(this System.Reflection.ParameterInfo element) where T : System.Attribute { throw null; } + public static T? GetCustomAttribute(this System.Reflection.ParameterInfo element, bool inherit) where T : System.Attribute { throw null; } public static bool IsDefined(this System.Reflection.Assembly element, System.Type attributeType) { throw null; } public static bool IsDefined(this System.Reflection.MemberInfo element, System.Type attributeType) { throw null; } public static bool IsDefined(this System.Reflection.MemberInfo element, System.Type attributeType, bool inherit) { throw null; } @@ -5671,19 +5703,19 @@ namespace System.Reflection { public CustomAttributeFormatException() { } protected CustomAttributeFormatException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public CustomAttributeFormatException(string message) { } - public CustomAttributeFormatException(string message, System.Exception inner) { } + public CustomAttributeFormatException(string? message) { } + public CustomAttributeFormatException(string? message, System.Exception? inner) { } } public readonly partial struct CustomAttributeNamedArgument { private readonly object _dummy; - public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object value) { throw null; } + public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, object? value) { throw null; } public CustomAttributeNamedArgument(System.Reflection.MemberInfo memberInfo, System.Reflection.CustomAttributeTypedArgument typedArgument) { throw null; } public bool IsField { get { throw null; } } public System.Reflection.MemberInfo MemberInfo { get { throw null; } } public string MemberName { get { throw null; } } public System.Reflection.CustomAttributeTypedArgument TypedValue { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { 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; } @@ -5693,10 +5725,10 @@ namespace System.Reflection { private readonly object _dummy; public CustomAttributeTypedArgument(object value) { throw null; } - public CustomAttributeTypedArgument(System.Type argumentType, object value) { throw null; } + public CustomAttributeTypedArgument(System.Type argumentType, object? value) { throw null; } public System.Type ArgumentType { get { throw null; } } - public object Value { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public object? Value { get { throw null; } } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) { throw null; } public static bool operator !=(System.Reflection.CustomAttributeTypedArgument left, System.Reflection.CustomAttributeTypedArgument right) { throw null; } @@ -5719,33 +5751,33 @@ namespace System.Reflection public abstract partial class EventInfo : System.Reflection.MemberInfo { protected EventInfo() { } - public virtual System.Reflection.MethodInfo AddMethod { get { throw null; } } + public virtual System.Reflection.MethodInfo? AddMethod { get { throw null; } } public abstract System.Reflection.EventAttributes Attributes { get; } - public virtual System.Type EventHandlerType { get { throw null; } } + public virtual System.Type? EventHandlerType { get { throw null; } } public virtual bool IsMulticast { get { throw null; } } public bool IsSpecialName { get { throw null; } } public override System.Reflection.MemberTypes MemberType { get { throw null; } } - public virtual System.Reflection.MethodInfo RaiseMethod { get { throw null; } } - public virtual System.Reflection.MethodInfo RemoveMethod { get { throw null; } } - public virtual void AddEventHandler(object target, System.Delegate handler) { } - public override bool Equals(object obj) { throw null; } - public System.Reflection.MethodInfo GetAddMethod() { throw null; } - public abstract System.Reflection.MethodInfo GetAddMethod(bool nonPublic); + public virtual System.Reflection.MethodInfo? RaiseMethod { get { throw null; } } + public virtual System.Reflection.MethodInfo? RemoveMethod { get { throw null; } } + public virtual void AddEventHandler(object? target, System.Delegate? handler) { } + public override bool Equals(object? obj) { throw null; } + public System.Reflection.MethodInfo? GetAddMethod() { throw null; } + public abstract System.Reflection.MethodInfo? GetAddMethod(bool nonPublic); public override int GetHashCode() { throw null; } public System.Reflection.MethodInfo[] GetOtherMethods() { throw null; } public virtual System.Reflection.MethodInfo[] GetOtherMethods(bool nonPublic) { throw null; } - public System.Reflection.MethodInfo GetRaiseMethod() { throw null; } - public abstract System.Reflection.MethodInfo GetRaiseMethod(bool nonPublic); - public System.Reflection.MethodInfo GetRemoveMethod() { throw null; } - public abstract System.Reflection.MethodInfo GetRemoveMethod(bool nonPublic); - public static bool operator ==(System.Reflection.EventInfo left, System.Reflection.EventInfo right) { throw null; } - public static bool operator !=(System.Reflection.EventInfo left, System.Reflection.EventInfo right) { throw null; } - public virtual void RemoveEventHandler(object target, System.Delegate handler) { } + public System.Reflection.MethodInfo? GetRaiseMethod() { throw null; } + public abstract System.Reflection.MethodInfo? GetRaiseMethod(bool nonPublic); + public System.Reflection.MethodInfo? GetRemoveMethod() { throw null; } + public abstract System.Reflection.MethodInfo? GetRemoveMethod(bool nonPublic); + public static bool operator ==(System.Reflection.EventInfo? left, System.Reflection.EventInfo? right) { throw null; } + public static bool operator !=(System.Reflection.EventInfo? left, System.Reflection.EventInfo? right) { throw null; } + public virtual void RemoveEventHandler(object? target, System.Delegate? handler) { } } public partial class ExceptionHandlingClause { protected ExceptionHandlingClause() { } - public virtual System.Type CatchType { get { throw null; } } + public virtual System.Type? CatchType { get { throw null; } } public virtual int FilterOffset { get { throw null; } } public virtual System.Reflection.ExceptionHandlingClauseOptions Flags { get { throw null; } } public virtual int HandlerLength { get { throw null; } } @@ -5807,20 +5839,20 @@ namespace System.Reflection public bool IsSpecialName { get { throw null; } } public bool IsStatic { get { throw null; } } public override System.Reflection.MemberTypes MemberType { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public static System.Reflection.FieldInfo GetFieldFromHandle(System.RuntimeFieldHandle handle) { throw null; } public static System.Reflection.FieldInfo GetFieldFromHandle(System.RuntimeFieldHandle handle, System.RuntimeTypeHandle declaringType) { throw null; } public override int GetHashCode() { throw null; } public virtual System.Type[] GetOptionalCustomModifiers() { throw null; } - public virtual object GetRawConstantValue() { throw null; } + public virtual object? GetRawConstantValue() { throw null; } public virtual System.Type[] GetRequiredCustomModifiers() { throw null; } - public abstract object GetValue(object obj); + public abstract object? GetValue(object? obj); [System.CLSCompliantAttribute(false)] - public virtual object GetValueDirect(System.TypedReference obj) { throw null; } - public static bool operator ==(System.Reflection.FieldInfo left, System.Reflection.FieldInfo right) { throw null; } - public static bool operator !=(System.Reflection.FieldInfo left, System.Reflection.FieldInfo right) { throw null; } - public void SetValue(object obj, object value) { } - public abstract void SetValue(object obj, object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture); + public virtual object? GetValueDirect(System.TypedReference obj) { throw null; } + public static bool operator ==(System.Reflection.FieldInfo? left, System.Reflection.FieldInfo? right) { throw null; } + public static bool operator !=(System.Reflection.FieldInfo? left, System.Reflection.FieldInfo? right) { throw null; } + public void SetValue(object? obj, object? value) { } + public abstract void SetValue(object? obj, object? value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, System.Globalization.CultureInfo? culture); [System.CLSCompliantAttribute(false)] public virtual void SetValueDirect(System.TypedReference obj, object value) { } } @@ -5864,23 +5896,23 @@ namespace System.Reflection { public InvalidFilterCriteriaException() { } protected InvalidFilterCriteriaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public InvalidFilterCriteriaException(string message) { } - public InvalidFilterCriteriaException(string message, System.Exception inner) { } + public InvalidFilterCriteriaException(string? message) { } + public InvalidFilterCriteriaException(string? message, System.Exception? inner) { } } public partial interface IReflect { System.Type UnderlyingSystemType { get; } - System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr); + System.Reflection.FieldInfo? GetField(string name, System.Reflection.BindingFlags bindingAttr); System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr); System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.BindingFlags bindingAttr); System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr); - System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr); - System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers); + System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr); + System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers); System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr); System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr); - System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr); - System.Reflection.PropertyInfo GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers); - object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters); + System.Reflection.PropertyInfo? GetProperty(string name, System.Reflection.BindingFlags bindingAttr); + System.Reflection.PropertyInfo? GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type? returnType, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers); + object? InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object? target, object?[]? args, System.Reflection.ParameterModifier[]? modifiers, System.Globalization.CultureInfo? culture, string[]? namedParameters); } public partial interface IReflectableType { @@ -5901,27 +5933,27 @@ namespace System.Reflection public virtual System.Reflection.Assembly ReferencedAssembly { get { throw null; } } public virtual System.Reflection.ResourceLocation ResourceLocation { get { throw null; } } } - public delegate bool MemberFilter(System.Reflection.MemberInfo m, object filterCriteria); + public delegate bool MemberFilter(System.Reflection.MemberInfo m, object? filterCriteria); public abstract partial class MemberInfo : System.Reflection.ICustomAttributeProvider { protected MemberInfo() { } public virtual System.Collections.Generic.IEnumerable CustomAttributes { get { throw null; } } - public abstract System.Type DeclaringType { get; } + public abstract System.Type? DeclaringType { get; } public virtual bool IsCollectible { get { throw null; } } public abstract System.Reflection.MemberTypes MemberType { get; } public virtual int MetadataToken { get { throw null; } } public virtual System.Reflection.Module Module { get { throw null; } } public abstract string Name { get; } - public abstract System.Type ReflectedType { get; } - public override bool Equals(object obj) { throw null; } + public abstract System.Type? ReflectedType { get; } + public override bool Equals(object? obj) { throw null; } public abstract object[] GetCustomAttributes(bool inherit); public abstract object[] GetCustomAttributes(System.Type attributeType, bool inherit); public virtual System.Collections.Generic.IList GetCustomAttributesData() { throw null; } public override int GetHashCode() { throw null; } public virtual bool HasSameMetadataDefinitionAs(System.Reflection.MemberInfo other) { throw null; } public abstract bool IsDefined(System.Type attributeType, bool inherit); - public static bool operator ==(System.Reflection.MemberInfo left, System.Reflection.MemberInfo right) { throw null; } - public static bool operator !=(System.Reflection.MemberInfo left, System.Reflection.MemberInfo right) { throw null; } + public static bool operator ==(System.Reflection.MemberInfo? left, System.Reflection.MemberInfo? right) { throw null; } + public static bool operator !=(System.Reflection.MemberInfo? left, System.Reflection.MemberInfo? right) { throw null; } } [System.FlagsAttribute] public enum MemberTypes @@ -5991,19 +6023,19 @@ namespace System.Reflection public bool IsVirtual { get { throw null; } } public abstract System.RuntimeMethodHandle MethodHandle { get; } public virtual System.Reflection.MethodImplAttributes MethodImplementationFlags { get { throw null; } } - public override bool Equals(object obj) { throw null; } - public static System.Reflection.MethodBase GetCurrentMethod() { throw null; } + public override bool Equals(object? obj) { throw null; } + public static System.Reflection.MethodBase? GetCurrentMethod() { throw null; } public virtual System.Type[] GetGenericArguments() { throw null; } public override int GetHashCode() { throw null; } - public virtual System.Reflection.MethodBody GetMethodBody() { throw null; } - public static System.Reflection.MethodBase GetMethodFromHandle(System.RuntimeMethodHandle handle) { throw null; } - public static System.Reflection.MethodBase GetMethodFromHandle(System.RuntimeMethodHandle handle, System.RuntimeTypeHandle declaringType) { throw null; } + public virtual System.Reflection.MethodBody? GetMethodBody() { throw null; } + public static System.Reflection.MethodBase? GetMethodFromHandle(System.RuntimeMethodHandle handle) { throw null; } + public static System.Reflection.MethodBase? GetMethodFromHandle(System.RuntimeMethodHandle handle, System.RuntimeTypeHandle declaringType) { throw null; } public abstract System.Reflection.MethodImplAttributes GetMethodImplementationFlags(); public abstract System.Reflection.ParameterInfo[] GetParameters(); - public object Invoke(object obj, object[] parameters) { throw null; } - public abstract object Invoke(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] parameters, System.Globalization.CultureInfo culture); - public static bool operator ==(System.Reflection.MethodBase left, System.Reflection.MethodBase right) { throw null; } - public static bool operator !=(System.Reflection.MethodBase left, System.Reflection.MethodBase right) { throw null; } + public object? Invoke(object? obj, object?[]? parameters) { throw null; } + public abstract object? Invoke(object? obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object?[]? parameters, System.Globalization.CultureInfo? culture); + public static bool operator ==(System.Reflection.MethodBase? left, System.Reflection.MethodBase? right) { throw null; } + public static bool operator !=(System.Reflection.MethodBase? left, System.Reflection.MethodBase? right) { throw null; } } public partial class MethodBody { @@ -6013,7 +6045,7 @@ namespace System.Reflection public virtual int LocalSignatureMetadataToken { get { throw null; } } public virtual System.Collections.Generic.IList LocalVariables { get { throw null; } } public virtual int MaxStackSize { get { throw null; } } - public virtual byte[] GetILAsByteArray() { throw null; } + public virtual byte[]? GetILAsByteArray() { throw null; } } public enum MethodImplAttributes { @@ -6043,15 +6075,15 @@ namespace System.Reflection public virtual System.Type ReturnType { get { throw null; } } public abstract System.Reflection.ICustomAttributeProvider ReturnTypeCustomAttributes { get; } public virtual System.Delegate CreateDelegate(System.Type delegateType) { throw null; } - public virtual System.Delegate CreateDelegate(System.Type delegateType, object target) { throw null; } - public override bool Equals(object obj) { throw null; } + public virtual System.Delegate CreateDelegate(System.Type delegateType, object? target) { throw null; } + public override bool Equals(object? obj) { throw null; } public abstract System.Reflection.MethodInfo GetBaseDefinition(); public override System.Type[] GetGenericArguments() { throw null; } public virtual System.Reflection.MethodInfo GetGenericMethodDefinition() { throw null; } public override int GetHashCode() { throw null; } 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; } - public static bool operator !=(System.Reflection.MethodInfo left, System.Reflection.MethodInfo right) { throw null; } + public static bool operator ==(System.Reflection.MethodInfo? left, System.Reflection.MethodInfo? right) { throw null; } + public static bool operator !=(System.Reflection.MethodInfo? left, System.Reflection.MethodInfo? right) { throw null; } } public sealed partial class Missing : System.Runtime.Serialization.ISerializable { @@ -6073,42 +6105,42 @@ namespace System.Reflection public virtual System.Guid ModuleVersionId { get { throw null; } } public virtual string Name { get { throw null; } } public virtual string ScopeName { get { throw null; } } - public override bool Equals(object o) { throw null; } - public virtual System.Type[] FindTypes(System.Reflection.TypeFilter filter, object filterCriteria) { throw null; } + public override bool Equals(object? o) { throw null; } + public virtual System.Type[] FindTypes(System.Reflection.TypeFilter? filter, object? filterCriteria) { throw null; } public virtual object[] GetCustomAttributes(bool inherit) { throw null; } public virtual object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; } public virtual System.Collections.Generic.IList GetCustomAttributesData() { throw null; } - public System.Reflection.FieldInfo GetField(string name) { throw null; } - public virtual System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } + public System.Reflection.FieldInfo? GetField(string name) { throw null; } + public virtual System.Reflection.FieldInfo? GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } public System.Reflection.FieldInfo[] GetFields() { throw null; } public virtual System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingFlags) { throw null; } public override int GetHashCode() { throw null; } - public System.Reflection.MethodInfo GetMethod(string name) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } - public System.Reflection.MethodInfo GetMethod(string name, System.Type[] types) { throw null; } - protected virtual System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } + public System.Reflection.MethodInfo? GetMethod(string name, System.Type[] types) { throw null; } + protected virtual System.Reflection.MethodInfo? GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[]? types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } public System.Reflection.MethodInfo[] GetMethods() { throw null; } public virtual System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags) { throw null; } 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; } - public virtual System.Type GetType(string className) { throw null; } - public virtual System.Type GetType(string className, bool ignoreCase) { throw null; } - public virtual System.Type GetType(string className, bool throwOnError, bool ignoreCase) { throw null; } + public virtual System.Type? GetType(string className) { throw null; } + public virtual System.Type? GetType(string className, bool ignoreCase) { throw null; } + public virtual System.Type? GetType(string className, bool throwOnError, bool ignoreCase) { throw null; } public virtual System.Type[] GetTypes() { throw null; } public virtual bool IsDefined(System.Type attributeType, bool inherit) { throw null; } public virtual bool IsResource() { throw null; } - public static bool operator ==(System.Reflection.Module left, System.Reflection.Module right) { throw null; } - public static bool operator !=(System.Reflection.Module left, System.Reflection.Module right) { throw null; } - public System.Reflection.FieldInfo ResolveField(int metadataToken) { throw null; } - public virtual System.Reflection.FieldInfo ResolveField(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; } - public System.Reflection.MemberInfo ResolveMember(int metadataToken) { throw null; } - public virtual System.Reflection.MemberInfo ResolveMember(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; } - public System.Reflection.MethodBase ResolveMethod(int metadataToken) { throw null; } - public virtual System.Reflection.MethodBase ResolveMethod(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; } + public static bool operator ==(System.Reflection.Module? left, System.Reflection.Module? right) { throw null; } + public static bool operator !=(System.Reflection.Module? left, System.Reflection.Module? right) { throw null; } + public System.Reflection.FieldInfo? ResolveField(int metadataToken) { throw null; } + public virtual System.Reflection.FieldInfo? ResolveField(int metadataToken, System.Type[]? genericTypeArguments, System.Type[]? genericMethodArguments) { throw null; } + public System.Reflection.MemberInfo? ResolveMember(int metadataToken) { throw null; } + public virtual System.Reflection.MemberInfo? ResolveMember(int metadataToken, System.Type[]? genericTypeArguments, System.Type[]? genericMethodArguments) { throw null; } + public System.Reflection.MethodBase? ResolveMethod(int metadataToken) { throw null; } + public virtual System.Reflection.MethodBase? ResolveMethod(int metadataToken, System.Type[]? genericTypeArguments, System.Type[]? genericMethodArguments) { throw null; } public virtual byte[] ResolveSignature(int metadataToken) { throw null; } public virtual string ResolveString(int metadataToken) { throw null; } public System.Type ResolveType(int metadataToken) { throw null; } - public virtual System.Type ResolveType(int metadataToken, System.Type[] genericTypeArguments, System.Type[] genericMethodArguments) { throw null; } + public virtual System.Type ResolveType(int metadataToken, System.Type[]? genericTypeArguments, System.Type[]? genericMethodArguments) { throw null; } public override string ToString() { throw null; } } public delegate System.Reflection.Module ModuleResolveEventHandler(object sender, System.ResolveEventArgs e); @@ -6125,7 +6157,7 @@ namespace System.Reflection public ObfuscationAttribute() { } public bool ApplyToMembers { get { throw null; } set { } } public bool Exclude { get { throw null; } set { } } - public string Feature { get { throw null; } set { } } + public string? Feature { get { throw null; } set { } } public bool StripAfterObfuscation { get { throw null; } set { } } } [System.FlagsAttribute] @@ -6146,15 +6178,15 @@ namespace System.Reflection public partial class ParameterInfo : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.IObjectReference { protected System.Reflection.ParameterAttributes AttrsImpl; - protected System.Type ClassImpl; - protected object DefaultValueImpl; + protected System.Type? ClassImpl; + protected object? DefaultValueImpl; protected System.Reflection.MemberInfo MemberImpl; - protected string NameImpl; + protected string? NameImpl; protected int PositionImpl; protected ParameterInfo() { } public virtual System.Reflection.ParameterAttributes Attributes { get { throw null; } } public virtual System.Collections.Generic.IEnumerable CustomAttributes { get { throw null; } } - public virtual object DefaultValue { get { throw null; } } + public virtual object? DefaultValue { get { throw null; } } public virtual bool HasDefaultValue { get { throw null; } } public bool IsIn { get { throw null; } } public bool IsLcid { get { throw null; } } @@ -6163,10 +6195,10 @@ namespace System.Reflection public bool IsRetval { get { throw null; } } public virtual System.Reflection.MemberInfo Member { get { throw null; } } public virtual int MetadataToken { get { throw null; } } - public virtual string Name { get { throw null; } } + public virtual string? Name { get { throw null; } } public virtual System.Type ParameterType { get { throw null; } } public virtual int Position { get { throw null; } } - public virtual object RawDefaultValue { get { throw null; } } + public virtual object? RawDefaultValue { get { throw null; } } public virtual object[] GetCustomAttributes(bool inherit) { throw null; } public virtual object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; } public virtual System.Collections.Generic.IList GetCustomAttributesData() { throw null; } @@ -6227,32 +6259,32 @@ namespace System.Reflection public abstract System.Reflection.PropertyAttributes Attributes { get; } public abstract bool CanRead { get; } public abstract bool CanWrite { get; } - public virtual System.Reflection.MethodInfo GetMethod { get { throw null; } } + public virtual System.Reflection.MethodInfo? GetMethod { get { throw null; } } public bool IsSpecialName { get { throw null; } } public override System.Reflection.MemberTypes MemberType { get { throw null; } } public abstract System.Type PropertyType { get; } - public virtual System.Reflection.MethodInfo SetMethod { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public virtual System.Reflection.MethodInfo? SetMethod { get { throw null; } } + public override bool Equals(object? obj) { throw null; } public System.Reflection.MethodInfo[] GetAccessors() { throw null; } public abstract System.Reflection.MethodInfo[] GetAccessors(bool nonPublic); - public virtual object GetConstantValue() { throw null; } - public System.Reflection.MethodInfo GetGetMethod() { throw null; } - public abstract System.Reflection.MethodInfo GetGetMethod(bool nonPublic); + public virtual object? GetConstantValue() { throw null; } + public System.Reflection.MethodInfo? GetGetMethod() { throw null; } + public abstract System.Reflection.MethodInfo? GetGetMethod(bool nonPublic); public override int GetHashCode() { throw null; } public abstract System.Reflection.ParameterInfo[] GetIndexParameters(); public virtual System.Type[] GetOptionalCustomModifiers() { throw null; } - public virtual object GetRawConstantValue() { throw null; } + public virtual object? GetRawConstantValue() { throw null; } public virtual System.Type[] GetRequiredCustomModifiers() { throw null; } - public System.Reflection.MethodInfo GetSetMethod() { throw null; } - public abstract System.Reflection.MethodInfo GetSetMethod(bool nonPublic); - public object GetValue(object obj) { throw null; } - public virtual object GetValue(object obj, object[] index) { throw null; } - public abstract object GetValue(object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture); - public static bool operator ==(System.Reflection.PropertyInfo left, System.Reflection.PropertyInfo right) { throw null; } - public static bool operator !=(System.Reflection.PropertyInfo left, System.Reflection.PropertyInfo right) { throw null; } - public void SetValue(object obj, object value) { } - public virtual void SetValue(object obj, object value, object[] index) { } - public abstract void SetValue(object obj, object value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object[] index, System.Globalization.CultureInfo culture); + public System.Reflection.MethodInfo? GetSetMethod() { throw null; } + public abstract System.Reflection.MethodInfo? GetSetMethod(bool nonPublic); + public object? GetValue(object? obj) { throw null; } + public virtual object? GetValue(object? obj, object?[]? index) { throw null; } + public abstract object? GetValue(object? obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object?[]? index, System.Globalization.CultureInfo? culture); + public static bool operator ==(System.Reflection.PropertyInfo? left, System.Reflection.PropertyInfo? right) { throw null; } + public static bool operator !=(System.Reflection.PropertyInfo? left, System.Reflection.PropertyInfo? right) { throw null; } + public void SetValue(object? obj, object? value) { } + public virtual void SetValue(object? obj, object? value, object?[]? index) { } + public abstract void SetValue(object? obj, object? value, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object?[]? index, System.Globalization.CultureInfo? culture); } public abstract partial class ReflectionContext { @@ -6263,11 +6295,11 @@ namespace System.Reflection } public sealed partial class ReflectionTypeLoadException : System.SystemException, System.Runtime.Serialization.ISerializable { - public ReflectionTypeLoadException(System.Type[] classes, System.Exception[] exceptions) { } - public ReflectionTypeLoadException(System.Type[] classes, System.Exception[] exceptions, string message) { } - public System.Exception[] LoaderExceptions { get { throw null; } } + public ReflectionTypeLoadException(System.Type[]? classes, System.Exception?[]? exceptions) { } + public ReflectionTypeLoadException(System.Type[]? classes, System.Exception?[]? exceptions, string? message) { } + public System.Exception?[]? LoaderExceptions { get { throw null; } } public override string Message { get { throw null; } } - public System.Type[] Types { get { throw null; } } + public System.Type[]? Types { get { throw null; } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -6286,17 +6318,17 @@ namespace System.Reflection } public static partial class RuntimeReflectionExtensions { - public static System.Reflection.MethodInfo GetMethodInfo(this System.Delegate del) { throw null; } - public static System.Reflection.MethodInfo GetRuntimeBaseDefinition(this System.Reflection.MethodInfo method) { throw null; } - public static System.Reflection.EventInfo GetRuntimeEvent(this System.Type type, string name) { throw null; } + public static System.Reflection.MethodInfo? GetMethodInfo(this System.Delegate del) { throw null; } + public static System.Reflection.MethodInfo? GetRuntimeBaseDefinition(this System.Reflection.MethodInfo method) { throw null; } + public static System.Reflection.EventInfo? GetRuntimeEvent(this System.Type type, string name) { throw null; } public static System.Collections.Generic.IEnumerable GetRuntimeEvents(this System.Type type) { throw null; } - public static System.Reflection.FieldInfo GetRuntimeField(this System.Type type, string name) { throw null; } + public static System.Reflection.FieldInfo? GetRuntimeField(this System.Type type, string name) { throw null; } public static System.Collections.Generic.IEnumerable GetRuntimeFields(this System.Type type) { throw null; } public static System.Reflection.InterfaceMapping GetRuntimeInterfaceMap(this System.Reflection.TypeInfo typeInfo, System.Type interfaceType) { throw null; } - public static System.Reflection.MethodInfo GetRuntimeMethod(this System.Type type, string name, System.Type[] parameters) { throw null; } + public static System.Reflection.MethodInfo? GetRuntimeMethod(this System.Type type, string name, System.Type[] parameters) { throw null; } public static System.Collections.Generic.IEnumerable GetRuntimeMethods(this System.Type type) { throw null; } public static System.Collections.Generic.IEnumerable GetRuntimeProperties(this System.Type type) { throw null; } - public static System.Reflection.PropertyInfo GetRuntimeProperty(this System.Type type, string name) { throw null; } + public static System.Reflection.PropertyInfo? GetRuntimeProperty(this System.Type type, string name) { throw null; } } public partial class StrongNameKeyPair : System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { @@ -6305,26 +6337,26 @@ namespace System.Reflection protected StrongNameKeyPair(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public StrongNameKeyPair(string keyPairContainer) { } public byte[] PublicKey { get { throw null; } } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class TargetException : System.ApplicationException { public TargetException() { } protected TargetException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public TargetException(string message) { } - public TargetException(string message, System.Exception inner) { } + public TargetException(string? message) { } + public TargetException(string? message, System.Exception? inner) { } } public sealed partial class TargetInvocationException : System.ApplicationException { - public TargetInvocationException(System.Exception inner) { } - public TargetInvocationException(string message, System.Exception inner) { } + public TargetInvocationException(System.Exception? inner) { } + public TargetInvocationException(string? message, System.Exception? inner) { } } public sealed partial class TargetParameterCountException : System.ApplicationException { public TargetParameterCountException() { } - public TargetParameterCountException(string message) { } - public TargetParameterCountException(string message, System.Exception inner) { } + public TargetParameterCountException(string? message) { } + public TargetParameterCountException(string? message, System.Exception? inner) { } } [System.FlagsAttribute] public enum TypeAttributes @@ -6368,9 +6400,9 @@ namespace System.Reflection protected TypeDelegator() { } public TypeDelegator(System.Type delegatingType) { } public override System.Reflection.Assembly Assembly { get { throw null; } } - public override string AssemblyQualifiedName { get { throw null; } } - public override System.Type BaseType { get { throw null; } } - public override string FullName { get { throw null; } } + public override string? AssemblyQualifiedName { get { throw null; } } + public override System.Type? BaseType { get { throw null; } } + public override string? FullName { get { throw null; } } public override System.Guid GUID { get { throw null; } } public override bool IsByRefLike { get { throw null; } } public override bool IsCollectible { get { throw null; } } @@ -6383,35 +6415,35 @@ namespace System.Reflection public override int MetadataToken { get { throw null; } } public override System.Reflection.Module Module { get { throw null; } } public override string Name { get { throw null; } } - public override string Namespace { get { throw null; } } + public override string? Namespace { get { throw null; } } public override System.RuntimeTypeHandle TypeHandle { get { throw null; } } public override System.Type UnderlyingSystemType { get { throw null; } } protected override System.Reflection.TypeAttributes GetAttributeFlagsImpl() { throw null; } - protected override System.Reflection.ConstructorInfo GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } + protected override System.Reflection.ConstructorInfo? GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } public override System.Reflection.ConstructorInfo[] GetConstructors(System.Reflection.BindingFlags bindingAttr) { throw null; } public override object[] GetCustomAttributes(bool inherit) { throw null; } public override object[] GetCustomAttributes(System.Type attributeType, bool inherit) { throw null; } - public override System.Type GetElementType() { throw null; } - public override System.Reflection.EventInfo GetEvent(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } + public override System.Type? GetElementType() { throw null; } + public override System.Reflection.EventInfo? GetEvent(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } public override System.Reflection.EventInfo[] GetEvents() { throw null; } public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr) { throw null; } - public override System.Reflection.FieldInfo GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } + public override System.Reflection.FieldInfo? GetField(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } public override System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr) { throw null; } - public override System.Type GetInterface(string name, bool ignoreCase) { throw null; } + public override System.Type? GetInterface(string name, bool ignoreCase) { throw null; } public override System.Reflection.InterfaceMapping GetInterfaceMap(System.Type interfaceType) { throw null; } public override System.Type[] GetInterfaces() { throw null; } public override System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw null; } public override System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr) { throw null; } - protected override System.Reflection.MethodInfo GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } + protected override System.Reflection.MethodInfo? GetMethodImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[]? types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } public override System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr) { throw null; } - public override System.Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } + public override System.Type? GetNestedType(string name, System.Reflection.BindingFlags bindingAttr) { throw null; } public override System.Type[] GetNestedTypes(System.Reflection.BindingFlags bindingAttr) { throw null; } public override System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr) { throw null; } - protected override System.Reflection.PropertyInfo GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type returnType, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) { throw null; } + protected override System.Reflection.PropertyInfo? GetPropertyImpl(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type? returnType, System.Type[]? types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } protected override bool HasElementTypeImpl() { throw null; } - public override object InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, object target, object[] args, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, string[] namedParameters) { throw null; } + public override object? InvokeMember(string name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder? binder, object? target, object?[]? args, System.Reflection.ParameterModifier[]? modifiers, System.Globalization.CultureInfo? culture, string[]? namedParameters) { throw null; } protected override bool IsArrayImpl() { throw null; } - public override bool IsAssignableFrom(System.Reflection.TypeInfo typeInfo) { throw null; } + public override bool IsAssignableFrom(System.Reflection.TypeInfo? typeInfo) { throw null; } protected override bool IsByRefImpl() { throw null; } protected override bool IsCOMObjectImpl() { throw null; } public override bool IsDefined(System.Type attributeType, bool inherit) { throw null; } @@ -6419,7 +6451,7 @@ namespace System.Reflection protected override bool IsPrimitiveImpl() { throw null; } protected override bool IsValueTypeImpl() { throw null; } } - public delegate bool TypeFilter(System.Type m, object filterCriteria); + public delegate bool TypeFilter(System.Type m, object? filterCriteria); public abstract partial class TypeInfo : System.Type, System.Reflection.IReflectableType { protected TypeInfo() { } @@ -6433,23 +6465,23 @@ namespace System.Reflection public virtual System.Type[] GenericTypeParameters { get { throw null; } } public virtual System.Collections.Generic.IEnumerable ImplementedInterfaces { get { throw null; } } public virtual System.Type AsType() { throw null; } - public virtual System.Reflection.EventInfo GetDeclaredEvent(string name) { throw null; } - public virtual System.Reflection.FieldInfo GetDeclaredField(string name) { throw null; } - public virtual System.Reflection.MethodInfo GetDeclaredMethod(string name) { throw null; } + public virtual System.Reflection.EventInfo? GetDeclaredEvent(string name) { throw null; } + public virtual System.Reflection.FieldInfo? GetDeclaredField(string name) { throw null; } + public virtual System.Reflection.MethodInfo? GetDeclaredMethod(string name) { throw null; } public virtual System.Collections.Generic.IEnumerable GetDeclaredMethods(string name) { throw null; } - public virtual System.Reflection.TypeInfo GetDeclaredNestedType(string name) { throw null; } - public virtual System.Reflection.PropertyInfo GetDeclaredProperty(string name) { throw null; } - public virtual bool IsAssignableFrom(System.Reflection.TypeInfo typeInfo) { throw null; } + public virtual System.Reflection.TypeInfo? GetDeclaredNestedType(string name) { throw null; } + public virtual System.Reflection.PropertyInfo? GetDeclaredProperty(string name) { throw null; } + public virtual bool IsAssignableFrom(System.Reflection.TypeInfo? typeInfo) { throw null; } System.Reflection.TypeInfo System.Reflection.IReflectableType.GetTypeInfo() { throw null; } } } namespace System.Runtime { - public sealed class AmbiguousImplementationException : System.Exception + public sealed partial class AmbiguousImplementationException : System.Exception { public AmbiguousImplementationException() { } - public AmbiguousImplementationException(string message) { } - public AmbiguousImplementationException(string message, System.Exception innerException) { } + public AmbiguousImplementationException(string? message) { } + public AmbiguousImplementationException(string? message, System.Exception? innerException) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, Inherited=false)] public sealed partial class AssemblyTargetedPatchBandAttribute : System.Attribute @@ -6583,7 +6615,7 @@ namespace System.Runtime.CompilerServices { public CompilerGlobalScopeAttribute() { } } - public sealed partial class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class + public sealed partial class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class? { public ConditionalWeakTable() { } public void Add(TKey key, TValue value) { } @@ -6655,7 +6687,7 @@ namespace System.Runtime.CompilerServices public abstract partial class CustomConstantAttribute : System.Attribute { protected CustomConstantAttribute() { } - public abstract object Value { get; } + public abstract object? Value { get; } } [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter, Inherited=false)] public sealed partial class DateTimeConstantAttribute : System.Runtime.CompilerServices.CustomConstantAttribute @@ -6694,7 +6726,7 @@ namespace System.Runtime.CompilerServices public DiscardableAttribute() { } } [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] - public sealed class EnumeratorCancellationAttribute : System.Attribute + public sealed partial class EnumeratorCancellationAttribute : System.Attribute { public EnumeratorCancellationAttribute() { } } @@ -6717,7 +6749,7 @@ namespace System.Runtime.CompilerServices } public static partial class FormattableStringFactory { - public static System.FormattableString Create(string format, params object[] arguments) { throw null; } + public static System.FormattableString Create(string format, params object?[] arguments) { throw null; } } public partial interface IAsyncStateMachine { @@ -6761,7 +6793,7 @@ namespace System.Runtime.CompilerServices } public partial interface IStrongBox { - object Value { get; set; } + object? Value { get; set; } } public static partial class IsVolatile { @@ -6773,7 +6805,7 @@ namespace System.Runtime.CompilerServices } public partial interface ITuple { - object this[int index] { get; } + object? this[int index] { get; } int Length { get; } } public enum LoadHint @@ -6815,8 +6847,8 @@ namespace System.Runtime.CompilerServices public sealed partial class ReferenceAssemblyAttribute : System.Attribute { public ReferenceAssemblyAttribute() { } - public ReferenceAssemblyAttribute(string description) { } - public string Description { get { throw null; } } + 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 @@ -6836,10 +6868,10 @@ namespace System.Runtime.CompilerServices { public static int OffsetToStringData { get { throw null; } } public static void EnsureSufficientExecutionStack() { } - public static new bool Equals(object o1, object o2) { throw null; } - public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers.TryCode code, System.Runtime.CompilerServices.RuntimeHelpers.CleanupCode backoutCode, object userData) { } + public static new bool Equals(object? o1, object? o2) { throw null; } + 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; } - public static object GetObjectValue(object obj) { throw null; } + public static object? GetObjectValue(object? obj) { throw null; } public static T[] GetSubArray(T[] array, System.Range range) { throw null; } public static object GetUninitializedObject(System.Type type) { throw null; } public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { } @@ -6849,13 +6881,13 @@ namespace System.Runtime.CompilerServices 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) { } + public static void PrepareMethod(System.RuntimeMethodHandle method, System.RuntimeTypeHandle[]? instantiation) { } public static void ProbeForSufficientStack() { } public static void RunClassConstructor(System.RuntimeTypeHandle type) { } public static void RunModuleConstructor(System.ModuleHandle module) { } public static bool TryEnsureSufficientExecutionStack() { throw null; } - public delegate void CleanupCode(object userData, bool exceptionThrown); - public delegate void TryCode(object userData); + public delegate void CleanupCode(object? userData, bool exceptionThrown); + public delegate void TryCode(object? userData); } public sealed partial class RuntimeWrappedException : System.Exception { @@ -6884,7 +6916,7 @@ namespace System.Runtime.CompilerServices public T Value; public StrongBox() { } public StrongBox(T value) { } - object System.Runtime.CompilerServices.IStrongBox.Value { get { throw null; } set { } } + object? System.Runtime.CompilerServices.IStrongBox.Value { get { throw null; } set { } } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Module)] public sealed partial class SuppressIldasmAttribute : System.Attribute @@ -6911,8 +6943,8 @@ namespace System.Runtime.CompilerServices [System.CLSCompliantAttribute(false)] public sealed partial class TupleElementNamesAttribute : System.Attribute { - public TupleElementNamesAttribute(string[] transformNames) { } - public System.Collections.Generic.IList TransformNames { get { throw null; } } + public TupleElementNamesAttribute(string?[] transformNames) { } + public System.Collections.Generic.IList TransformNames { get { throw null; } } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Struct, Inherited=false, AllowMultiple=false)] public sealed partial class TypeForwardedFromAttribute : System.Attribute @@ -6947,7 +6979,6 @@ namespace System.Runtime.CompilerServices public void OnCompleted(System.Action continuation) { } public void UnsafeOnCompleted(System.Action continuation) { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public readonly partial struct YieldAwaitable { public System.Runtime.CompilerServices.YieldAwaitable.YieldAwaiter GetAwaiter() { throw null; } @@ -7047,9 +7078,9 @@ namespace System.Runtime.InteropServices { public ExternalException() { } protected ExternalException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public ExternalException(string message) { } - public ExternalException(string message, System.Exception inner) { } - public ExternalException(string message, int errorCode) { } + public ExternalException(string? message) { } + public ExternalException(string? message, System.Exception? inner) { } + public ExternalException(string? message, int errorCode) { } public virtual int ErrorCode { get { throw null; } } public override string ToString() { throw null; } } @@ -7063,11 +7094,11 @@ namespace System.Runtime.InteropServices { private int _dummyPrimitive; public bool IsAllocated { get { throw null; } } - public object Target { get { throw null; } set { } } + public object? Target { get { throw null; } set { } } public System.IntPtr AddrOfPinnedObject() { throw null; } - public static System.Runtime.InteropServices.GCHandle Alloc(object value) { throw null; } - public static System.Runtime.InteropServices.GCHandle Alloc(object value, System.Runtime.InteropServices.GCHandleType type) { throw null; } - public override bool Equals(object o) { throw null; } + public static System.Runtime.InteropServices.GCHandle Alloc(object? value) { throw null; } + public static System.Runtime.InteropServices.GCHandle Alloc(object? value, System.Runtime.InteropServices.GCHandleType type) { throw null; } + public override bool Equals(object? o) { throw null; } public void Free() { } public static System.Runtime.InteropServices.GCHandle FromIntPtr(System.IntPtr value) { throw null; } public override int GetHashCode() { throw null; } @@ -7132,8 +7163,8 @@ namespace System.Runtime.Remoting { public partial class ObjectHandle : System.MarshalByRefObject { - public ObjectHandle(object o) { } - public object Unwrap() { throw null; } + public ObjectHandle(object? o) { } + public object? Unwrap() { throw null; } } } namespace System.Runtime.Serialization @@ -7141,12 +7172,12 @@ namespace System.Runtime.Serialization public sealed partial class DeserializationBlockedException : System.Exception { public DeserializationBlockedException() { } - public DeserializationBlockedException(System.Exception innerException) { } - public DeserializationBlockedException(string message) { } + public DeserializationBlockedException(System.Exception? innerException) { } + public DeserializationBlockedException(string? message) { } } public partial interface IDeserializationCallback { - void OnDeserialization(object sender); + void OnDeserialization(object? sender); } [System.CLSCompliantAttribute(false)] public partial interface IFormatterConverter @@ -7164,7 +7195,7 @@ namespace System.Runtime.Serialization long ToInt64(object value); sbyte ToSByte(object value); float ToSingle(object value); - string ToString(object value); + string? ToString(object value); ushort ToUInt16(object value); uint ToUInt32(object value); ulong ToUInt64(object value); @@ -7218,14 +7249,14 @@ namespace System.Runtime.Serialization private readonly object _dummy; public string Name { get { throw null; } } public System.Type ObjectType { get { throw null; } } - public object Value { get { throw null; } } + public object? Value { get { throw null; } } } public partial class SerializationException : System.SystemException { public SerializationException() { } protected SerializationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public SerializationException(string message) { } - public SerializationException(string message, System.Exception innerException) { } + public SerializationException(string? message) { } + public SerializationException(string? message, System.Exception? innerException) { } } public sealed partial class SerializationInfo { @@ -7248,8 +7279,8 @@ namespace System.Runtime.Serialization public void AddValue(string name, short value) { } public void AddValue(string name, int value) { } public void AddValue(string name, long value) { } - public void AddValue(string name, object value) { } - public void AddValue(string name, object value, System.Type type) { } + public void AddValue(string name, object? value) { } + public void AddValue(string name, object? value, System.Type type) { } [System.CLSCompliantAttribute(false)] public void AddValue(string name, sbyte value) { } public void AddValue(string name, float value) { } @@ -7272,14 +7303,14 @@ namespace System.Runtime.Serialization [System.CLSCompliantAttribute(false)] public sbyte GetSByte(string name) { throw null; } public float GetSingle(string name) { throw null; } - public string GetString(string name) { throw null; } + public string? GetString(string name) { throw null; } [System.CLSCompliantAttribute(false)] public ushort GetUInt16(string name) { throw null; } [System.CLSCompliantAttribute(false)] public uint GetUInt32(string name) { throw null; } [System.CLSCompliantAttribute(false)] public ulong GetUInt64(string name) { throw null; } - public object GetValue(string name, System.Type type) { throw null; } + public object? GetValue(string name, System.Type type) { throw null; } public void SetType(System.Type type) { } } public sealed partial class SerializationInfoEnumerator : System.Collections.IEnumerator @@ -7288,8 +7319,8 @@ namespace System.Runtime.Serialization public System.Runtime.Serialization.SerializationEntry Current { get { throw null; } } public string Name { get { throw null; } } public System.Type ObjectType { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } - public object Value { get { throw null; } } + object? System.Collections.IEnumerator.Current { get { throw null; } } + public object? Value { get { throw null; } } public bool MoveNext() { throw null; } public void Reset() { } } @@ -7298,10 +7329,10 @@ namespace System.Runtime.Serialization private readonly object _dummy; private readonly int _dummyPrimitive; public StreamingContext(System.Runtime.Serialization.StreamingContextStates state) { throw null; } - public StreamingContext(System.Runtime.Serialization.StreamingContextStates state, object additional) { throw null; } - public object Context { get { throw null; } } + public StreamingContext(System.Runtime.Serialization.StreamingContextStates state, object? additional) { throw null; } + public object? Context { get { throw null; } } public System.Runtime.Serialization.StreamingContextStates State { get { throw null; } } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } } [System.FlagsAttribute] @@ -7324,7 +7355,7 @@ namespace System.Runtime.Versioning public sealed partial class TargetFrameworkAttribute : System.Attribute { public TargetFrameworkAttribute(string frameworkName) { } - public string FrameworkDisplayName { get { throw null; } set { } } + public string? FrameworkDisplayName { get { throw null; } set { } } public string FrameworkName { get { throw null; } } } } @@ -7359,20 +7390,20 @@ namespace System.Security { public SecurityException() { } protected SecurityException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public SecurityException(string message) { } - public SecurityException(string message, System.Exception inner) { } - public SecurityException(string message, System.Type type) { } - public SecurityException(string message, System.Type type, string state) { } - public object Demanded { get { throw null; } set { } } - public object DenySetInstance { get { throw null; } set { } } - public System.Reflection.AssemblyName FailedAssemblyInfo { get { throw null; } set { } } - public string GrantedSet { get { throw null; } set { } } - public System.Reflection.MethodInfo Method { get { throw null; } set { } } - public string PermissionState { get { throw null; } set { } } - public System.Type PermissionType { get { throw null; } set { } } - public object PermitOnlySetInstance { get { throw null; } set { } } - public string RefusedSet { get { throw null; } set { } } - public string Url { get { throw null; } set { } } + public SecurityException(string? message) { } + public SecurityException(string? message, System.Exception? inner) { } + public SecurityException(string? message, System.Type? type) { } + public SecurityException(string? message, System.Type? type, string? state) { } + public object? Demanded { get { throw null; } set { } } + public object? DenySetInstance { get { throw null; } set { } } + public System.Reflection.AssemblyName? FailedAssemblyInfo { get { throw null; } set { } } + public string? GrantedSet { get { throw null; } set { } } + public System.Reflection.MethodInfo? Method { get { throw null; } set { } } + public string? PermissionState { get { throw null; } set { } } + public System.Type? PermissionType { get { throw null; } set { } } + public object? PermitOnlySetInstance { get { throw null; } set { } } + public string? RefusedSet { get { throw null; } set { } } + public string? Url { get { throw null; } set { } } public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } } @@ -7419,8 +7450,8 @@ namespace System.Security { public VerificationException() { } protected VerificationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public VerificationException(string message) { } - public VerificationException(string message, System.Exception innerException) { } + public VerificationException(string? message) { } + public VerificationException(string? message, System.Exception? innerException) { } } } namespace System.Security.Cryptography @@ -7430,9 +7461,9 @@ namespace System.Security.Cryptography public CryptographicException() { } public CryptographicException(int hr) { } protected CryptographicException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public CryptographicException(string message) { } - public CryptographicException(string message, System.Exception inner) { } - public CryptographicException(string format, string insert) { } + public CryptographicException(string? message) { } + public CryptographicException(string? message, System.Exception? inner) { } + public CryptographicException(string format, string? insert) { } } } namespace System.Text @@ -7440,7 +7471,7 @@ namespace System.Text public abstract partial class Decoder { protected Decoder() { } - public System.Text.DecoderFallback Fallback { get { throw null; } set { } } + public System.Text.DecoderFallback? Fallback { get { throw null; } set { } } public System.Text.DecoderFallbackBuffer FallbackBuffer { get { throw null; } } [System.CLSCompliantAttribute(false)] public unsafe virtual void Convert(byte* bytes, int byteCount, char* chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed) { throw null; } @@ -7463,7 +7494,7 @@ namespace System.Text public DecoderExceptionFallback() { } public override int MaxCharCount { get { throw null; } } public override System.Text.DecoderFallbackBuffer CreateFallbackBuffer() { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } } public sealed partial class DecoderExceptionFallbackBuffer : System.Text.DecoderFallbackBuffer @@ -7494,10 +7525,10 @@ namespace System.Text public sealed partial class DecoderFallbackException : System.ArgumentException { public DecoderFallbackException() { } - public DecoderFallbackException(string message) { } - public DecoderFallbackException(string message, byte[] bytesUnknown, int index) { } - public DecoderFallbackException(string message, System.Exception innerException) { } - public byte[] BytesUnknown { get { throw null; } } + public DecoderFallbackException(string? message) { } + public DecoderFallbackException(string? message, byte[]? bytesUnknown, int index) { } + public DecoderFallbackException(string? message, System.Exception? innerException) { } + public byte[]? BytesUnknown { get { throw null; } } public int Index { get { throw null; } } } public sealed partial class DecoderReplacementFallback : System.Text.DecoderFallback @@ -7507,7 +7538,7 @@ namespace System.Text public string DefaultString { get { throw null; } } public override int MaxCharCount { get { throw null; } } public override System.Text.DecoderFallbackBuffer CreateFallbackBuffer() { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } } public sealed partial class DecoderReplacementFallbackBuffer : System.Text.DecoderFallbackBuffer @@ -7522,7 +7553,7 @@ namespace System.Text public abstract partial class Encoder { protected Encoder() { } - public System.Text.EncoderFallback Fallback { get { throw null; } set { } } + public System.Text.EncoderFallback? Fallback { get { throw null; } set { } } public System.Text.EncoderFallbackBuffer FallbackBuffer { get { throw null; } } [System.CLSCompliantAttribute(false)] public unsafe virtual void Convert(char* chars, int charCount, byte* bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed) { throw null; } @@ -7543,7 +7574,7 @@ namespace System.Text public EncoderExceptionFallback() { } public override int MaxCharCount { get { throw null; } } public override System.Text.EncoderFallbackBuffer CreateFallbackBuffer() { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } } public sealed partial class EncoderExceptionFallbackBuffer : System.Text.EncoderFallbackBuffer @@ -7576,8 +7607,8 @@ namespace System.Text public sealed partial class EncoderFallbackException : System.ArgumentException { public EncoderFallbackException() { } - public EncoderFallbackException(string message) { } - public EncoderFallbackException(string message, System.Exception innerException) { } + public EncoderFallbackException(string? message) { } + public EncoderFallbackException(string? message, System.Exception? innerException) { } public char CharUnknown { get { throw null; } } public char CharUnknownHigh { get { throw null; } } public char CharUnknownLow { get { throw null; } } @@ -7591,7 +7622,7 @@ namespace System.Text public string DefaultString { get { throw null; } } public override int MaxCharCount { get { throw null; } } public override System.Text.EncoderFallbackBuffer CreateFallbackBuffer() { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public override int GetHashCode() { throw null; } } public sealed partial class EncoderReplacementFallbackBuffer : System.Text.EncoderFallbackBuffer @@ -7608,7 +7639,7 @@ namespace System.Text { protected Encoding() { } protected Encoding(int codePage) { } - protected Encoding(int codePage, System.Text.EncoderFallback encoderFallback, System.Text.DecoderFallback decoderFallback) { } + protected Encoding(int codePage, System.Text.EncoderFallback? encoderFallback, System.Text.DecoderFallback? decoderFallback) { } public static System.Text.Encoding ASCII { get { throw null; } } public static System.Text.Encoding BigEndianUnicode { get { throw null; } } public virtual string BodyName { get { throw null; } } @@ -7634,7 +7665,7 @@ namespace System.Text public virtual object Clone() { throw null; } public static byte[] Convert(System.Text.Encoding srcEncoding, System.Text.Encoding dstEncoding, byte[] bytes) { throw null; } public static byte[] Convert(System.Text.Encoding srcEncoding, System.Text.Encoding dstEncoding, byte[] bytes, int index, int count) { throw null; } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe virtual int GetByteCount(char* chars, int count) { throw null; } public virtual int GetByteCount(char[] chars) { throw null; } @@ -7688,17 +7719,17 @@ namespace System.Text public int CodePage { get { throw null; } } public string DisplayName { get { throw null; } } public string Name { get { throw null; } } - public override bool Equals(object value) { throw null; } + public override bool Equals(object? value) { throw null; } public System.Text.Encoding GetEncoding() { throw null; } public override int GetHashCode() { throw null; } } public abstract partial class EncodingProvider { public EncodingProvider() { } - public abstract System.Text.Encoding GetEncoding(int codepage); - public virtual System.Text.Encoding GetEncoding(int codepage, System.Text.EncoderFallback encoderFallback, System.Text.DecoderFallback decoderFallback) { throw null; } - public abstract System.Text.Encoding GetEncoding(string name); - public virtual System.Text.Encoding GetEncoding(string name, System.Text.EncoderFallback encoderFallback, System.Text.DecoderFallback decoderFallback) { throw null; } + public abstract System.Text.Encoding? GetEncoding(int codepage); + public virtual System.Text.Encoding? GetEncoding(int codepage, System.Text.EncoderFallback encoderFallback, System.Text.DecoderFallback decoderFallback) { throw null; } + public abstract System.Text.Encoding? GetEncoding(string name); + public virtual System.Text.Encoding? GetEncoding(string name, System.Text.EncoderFallback encoderFallback, System.Text.DecoderFallback decoderFallback) { throw null; } } public enum NormalizationForm { @@ -7729,7 +7760,7 @@ namespace System.Text public static System.Buffers.OperationStatus DecodeLastFromUtf8(System.ReadOnlySpan source, out System.Text.Rune value, out int bytesConsumed) { throw null; } public int EncodeToUtf16(System.Span destination) { throw null; } public int EncodeToUtf8(System.Span destination) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.Text.Rune other) { throw null; } public override int GetHashCode() { throw null; } public static double GetNumericValue(System.Text.Rune value) { throw null; } @@ -7778,9 +7809,9 @@ namespace System.Text public StringBuilder() { } public StringBuilder(int capacity) { } public StringBuilder(int capacity, int maxCapacity) { } - public StringBuilder(string value) { } - public StringBuilder(string value, int capacity) { } - public StringBuilder(string value, int startIndex, int length, int capacity) { } + public StringBuilder(string? value) { } + public StringBuilder(string? value, int capacity) { } + public StringBuilder(string? value, int startIndex, int length, int capacity) { } public int Capacity { get { throw null; } set { } } [System.Runtime.CompilerServices.IndexerName("Chars")] public char this[int index] { get { throw null; } set { } } @@ -7792,69 +7823,69 @@ namespace System.Text [System.CLSCompliantAttribute(false)] public unsafe System.Text.StringBuilder Append(char* value, int valueCount) { throw null; } public System.Text.StringBuilder Append(char value, int repeatCount) { throw null; } - public System.Text.StringBuilder Append(char[] value) { throw null; } - public System.Text.StringBuilder Append(char[] value, int startIndex, int charCount) { throw null; } + public System.Text.StringBuilder Append(char[]? value) { throw null; } + public System.Text.StringBuilder Append(char[]? value, int startIndex, int charCount) { throw null; } public System.Text.StringBuilder Append(decimal value) { throw null; } public System.Text.StringBuilder Append(double value) { throw null; } public System.Text.StringBuilder Append(short value) { throw null; } public System.Text.StringBuilder Append(int value) { throw null; } public System.Text.StringBuilder Append(long value) { throw null; } - public System.Text.StringBuilder Append(object value) { throw null; } + public System.Text.StringBuilder Append(object? value) { throw null; } public System.Text.StringBuilder Append(System.ReadOnlyMemory value) { throw null; } public System.Text.StringBuilder Append(System.ReadOnlySpan value) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Append(sbyte value) { throw null; } public System.Text.StringBuilder Append(float value) { throw null; } - public System.Text.StringBuilder Append(string value) { throw null; } - public System.Text.StringBuilder Append(string value, int startIndex, int count) { throw null; } - public System.Text.StringBuilder Append(System.Text.StringBuilder value) { throw null; } - public System.Text.StringBuilder Append(System.Text.StringBuilder value, int startIndex, int count) { throw null; } + public System.Text.StringBuilder Append(string? value) { throw null; } + public System.Text.StringBuilder Append(string? value, int startIndex, int count) { throw null; } + public System.Text.StringBuilder Append(System.Text.StringBuilder? value) { throw null; } + public System.Text.StringBuilder Append(System.Text.StringBuilder? value, int startIndex, int count) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Append(ushort value) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Append(uint value) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Append(ulong value) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider provider, string format, object arg0) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider provider, string format, object arg0, object arg1) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider provider, string format, object arg0, object arg1, object arg2) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider provider, string format, params object[] args) { throw null; } - public System.Text.StringBuilder AppendFormat(string format, object arg0) { throw null; } - public System.Text.StringBuilder AppendFormat(string format, object arg0, object arg1) { throw null; } - public System.Text.StringBuilder AppendFormat(string format, object arg0, object arg1, object arg2) { throw null; } - public System.Text.StringBuilder AppendFormat(string format, params object[] 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; } - public System.Text.StringBuilder AppendJoin(string separator, params string[] values) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, string format, object? arg0) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, string format, object? arg0, object? arg1) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, string format, object? arg0, object? arg1, object? arg2) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, string format, params object?[] args) { throw null; } + public System.Text.StringBuilder AppendFormat(string format, object? arg0) { throw null; } + public System.Text.StringBuilder AppendFormat(string format, object? arg0, object? arg1) { throw null; } + public System.Text.StringBuilder AppendFormat(string format, object? arg0, object? arg1, object? arg2) { throw null; } + public System.Text.StringBuilder AppendFormat(string format, params object?[] 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; } + public System.Text.StringBuilder AppendJoin(string? separator, params string?[] values) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, System.Collections.Generic.IEnumerable values) { throw null; } - public System.Text.StringBuilder AppendJoin(string separator, System.Collections.Generic.IEnumerable values) { throw null; } + public System.Text.StringBuilder AppendJoin(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public System.Text.StringBuilder AppendLine() { throw null; } - public System.Text.StringBuilder AppendLine(string value) { throw null; } + public System.Text.StringBuilder AppendLine(string? value) { throw null; } public System.Text.StringBuilder Clear() { throw null; } public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count) { } public void CopyTo(int sourceIndex, System.Span destination, int count) { } public int EnsureCapacity(int capacity) { throw null; } public bool Equals(System.ReadOnlySpan span) { throw null; } - public bool Equals(System.Text.StringBuilder sb) { throw null; } + public bool Equals(System.Text.StringBuilder? sb) { throw null; } public System.Text.StringBuilder.ChunkEnumerator GetChunks() { throw null; } public System.Text.StringBuilder Insert(int index, bool value) { throw null; } public System.Text.StringBuilder Insert(int index, byte value) { throw null; } public System.Text.StringBuilder Insert(int index, char value) { throw null; } - public System.Text.StringBuilder Insert(int index, char[] value) { throw null; } - public System.Text.StringBuilder Insert(int index, char[] value, int startIndex, int charCount) { throw null; } + public System.Text.StringBuilder Insert(int index, char[]? value) { throw null; } + public System.Text.StringBuilder Insert(int index, char[]? value, int startIndex, int charCount) { throw null; } public System.Text.StringBuilder Insert(int index, decimal value) { throw null; } public System.Text.StringBuilder Insert(int index, double value) { throw null; } public System.Text.StringBuilder Insert(int index, short value) { throw null; } public System.Text.StringBuilder Insert(int index, int value) { throw null; } public System.Text.StringBuilder Insert(int index, long value) { throw null; } - public System.Text.StringBuilder Insert(int index, object value) { throw null; } + public System.Text.StringBuilder Insert(int index, object? value) { throw null; } public System.Text.StringBuilder Insert(int index, System.ReadOnlySpan value) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Insert(int index, sbyte value) { throw null; } public System.Text.StringBuilder Insert(int index, float value) { throw null; } - public System.Text.StringBuilder Insert(int index, string value) { throw null; } - public System.Text.StringBuilder Insert(int index, string value, int count) { throw null; } + public System.Text.StringBuilder Insert(int index, string? value) { throw null; } + public System.Text.StringBuilder Insert(int index, string? value, int count) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Insert(int index, ushort value) { throw null; } [System.CLSCompliantAttribute(false)] @@ -7864,8 +7895,8 @@ namespace System.Text 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(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(string oldValue, string? newValue) { throw null; } + public System.Text.StringBuilder Replace(string oldValue, string? 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; } @@ -7883,7 +7914,7 @@ namespace System.Text private object _dummy; private int _dummyPrimitive; public System.Text.Rune Current { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } + object? System.Collections.IEnumerator.Current { get { throw null; } } public System.Text.StringRuneEnumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } @@ -7910,17 +7941,17 @@ namespace System.Threading public bool IsCancellationRequested { get { throw null; } } public static System.Threading.CancellationToken None { get { throw null; } } public System.Threading.WaitHandle WaitHandle { get { throw null; } } - public override bool Equals(object other) { throw null; } + public override bool Equals(object? other) { throw null; } public bool Equals(System.Threading.CancellationToken other) { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.Threading.CancellationToken left, System.Threading.CancellationToken right) { throw null; } public static bool operator !=(System.Threading.CancellationToken left, System.Threading.CancellationToken right) { throw null; } public System.Threading.CancellationTokenRegistration Register(System.Action callback) { throw null; } public System.Threading.CancellationTokenRegistration Register(System.Action callback, bool useSynchronizationContext) { throw null; } - public System.Threading.CancellationTokenRegistration Register(System.Action callback, object state) { throw null; } - public System.Threading.CancellationTokenRegistration Register(System.Action callback, object state, bool useSynchronizationContext) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, object? state) { throw null; } + public System.Threading.CancellationTokenRegistration Register(System.Action callback, object? state, bool useSynchronizationContext) { throw null; } public void ThrowIfCancellationRequested() { } - public System.Threading.CancellationTokenRegistration UnsafeRegister(System.Action callback, object state) { throw null; } + public System.Threading.CancellationTokenRegistration UnsafeRegister(System.Action callback, object? state) { throw null; } } public readonly partial struct CancellationTokenRegistration : System.IAsyncDisposable, System.IDisposable, System.IEquatable { @@ -7929,7 +7960,7 @@ namespace System.Threading public System.Threading.CancellationToken Token { get { throw null; } } public void Dispose() { } public System.Threading.Tasks.ValueTask DisposeAsync() { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.Threading.CancellationTokenRegistration other) { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.Threading.CancellationTokenRegistration left, System.Threading.CancellationTokenRegistration right) { throw null; } @@ -7980,7 +8011,7 @@ namespace System.Threading public static partial class WaitHandleExtensions { public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle(this System.Threading.WaitHandle waitHandle) { throw null; } - public static void SetSafeWaitHandle(this System.Threading.WaitHandle waitHandle, Microsoft.Win32.SafeHandles.SafeWaitHandle value) { } + public static void SetSafeWaitHandle(this System.Threading.WaitHandle waitHandle, Microsoft.Win32.SafeHandles.SafeWaitHandle? value) { } } } namespace System.Threading.Tasks @@ -7991,15 +8022,15 @@ namespace System.Threading.Tasks public Task(System.Action action, System.Threading.CancellationToken cancellationToken) { } public Task(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } public Task(System.Action action, System.Threading.Tasks.TaskCreationOptions creationOptions) { } - public Task(System.Action action, object state) { } - public Task(System.Action action, object state, System.Threading.CancellationToken cancellationToken) { } - public Task(System.Action action, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } - public Task(System.Action action, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { } - public object AsyncState { get { throw null; } } + public Task(System.Action action, object? state) { } + public Task(System.Action action, object? state, System.Threading.CancellationToken cancellationToken) { } + public Task(System.Action action, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public Task(System.Action action, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { } + public object? AsyncState { get { throw null; } } public static System.Threading.Tasks.Task CompletedTask { get { throw null; } } public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } public static int? CurrentId { get { throw null; } } - public System.AggregateException Exception { get { throw null; } } + public System.AggregateException? Exception { get { throw null; } } public static System.Threading.Tasks.TaskFactory Factory { get { throw null; } } public int Id { get { throw null; } } public bool IsCanceled { get { throw null; } } @@ -8010,21 +8041,21 @@ namespace System.Threading.Tasks System.Threading.WaitHandle System.IAsyncResult.AsyncWaitHandle { get { throw null; } } bool System.IAsyncResult.CompletedSynchronously { get { throw null; } } public System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object? state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object? state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, object? state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action continuationAction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object? state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object? state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, object? state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } @@ -8044,12 +8075,12 @@ namespace System.Threading.Tasks public System.Runtime.CompilerServices.TaskAwaiter GetAwaiter() { throw null; } public static System.Threading.Tasks.Task Run(System.Action action) { throw null; } public static System.Threading.Tasks.Task Run(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } - public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } - public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } public void RunSynchronously() { } public void RunSynchronously(System.Threading.Tasks.TaskScheduler scheduler) { } - public static System.Threading.Tasks.Task Run(System.Func> function) { throw null; } - public static System.Threading.Tasks.Task Run(System.Func> function, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func?> function) { throw null; } + public static System.Threading.Tasks.Task Run(System.Func?> function, System.Threading.CancellationToken cancellationToken) { throw null; } public static System.Threading.Tasks.Task Run(System.Func function) { throw null; } public static System.Threading.Tasks.Task Run(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } public void Start() { } @@ -8113,13 +8144,13 @@ namespace System.Threading.Tasks { public TaskFactory() { } public TaskFactory(System.Threading.CancellationToken cancellationToken) { } - public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler? scheduler) { } public TaskFactory(System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { } - public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.Tasks.TaskScheduler? scheduler) { } public System.Threading.CancellationToken CancellationToken { get { throw null; } } public System.Threading.Tasks.TaskContinuationOptions ContinuationOptions { get { throw null; } } public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } - public System.Threading.Tasks.TaskScheduler Scheduler { get { throw null; } } + public System.Threading.Tasks.TaskScheduler? Scheduler { get { throw null; } } public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction) { throw null; } public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Action continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } @@ -8152,40 +8183,40 @@ namespace System.Threading.Tasks public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Action endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Action endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task StartNew(System.Action action) { throw null; } public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task StartNew(System.Action action, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Action action, object state) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Action action, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object? state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Action action, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task StartNew(System.Func function) { throw null; } public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } @@ -8195,13 +8226,13 @@ namespace System.Threading.Tasks { public TaskFactory() { } public TaskFactory(System.Threading.CancellationToken cancellationToken) { } - public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler? scheduler) { } public TaskFactory(System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { } - public TaskFactory(System.Threading.Tasks.TaskScheduler scheduler) { } + public TaskFactory(System.Threading.Tasks.TaskScheduler? scheduler) { } public System.Threading.CancellationToken CancellationToken { get { throw null; } } public System.Threading.Tasks.TaskContinuationOptions ContinuationOptions { get { throw null; } } public System.Threading.Tasks.TaskCreationOptions CreationOptions { get { throw null; } } - public System.Threading.Tasks.TaskScheduler Scheduler { get { throw null; } } + public System.Threading.Tasks.TaskScheduler? Scheduler { get { throw null; } } public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction) { throw null; } public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWhenAll(System.Threading.Tasks.Task[] tasks, System.Func continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } @@ -8218,21 +8249,21 @@ namespace System.Threading.Tasks public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWhenAny(System.Threading.Tasks.Task[] tasks, System.Func, TResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task FromAsync(System.IAsyncResult asyncResult, System.Func endMethod, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state) { throw null; } - public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task StartNew(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state) { throw null; } + public System.Threading.Tasks.Task FromAsync(System.Func beginMethod, System.Func endMethod, TArg1 arg1, TArg2 arg2, TArg3 arg3, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task StartNew(System.Func function, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) { throw null; } public System.Threading.Tasks.Task StartNew(System.Func function) { throw null; } public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task StartNew(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } @@ -8247,7 +8278,7 @@ namespace System.Threading.Tasks public virtual int MaximumConcurrencyLevel { get { throw null; } } public static event System.EventHandler UnobservedTaskException { add { } remove { } } public static System.Threading.Tasks.TaskScheduler FromCurrentSynchronizationContext() { throw null; } - protected abstract System.Collections.Generic.IEnumerable GetScheduledTasks(); + protected abstract System.Collections.Generic.IEnumerable? GetScheduledTasks(); protected internal abstract void QueueTask(System.Threading.Tasks.Task task); protected internal virtual bool TryDequeue(System.Threading.Tasks.Task task) { throw null; } protected bool TryExecuteTask(System.Threading.Tasks.Task task) { throw null; } @@ -8266,10 +8297,10 @@ namespace System.Threading.Tasks } public partial class Task : System.Threading.Tasks.Task { - public Task(System.Func function, object state) : base (default(System.Action)) { } - public Task(System.Func function, object state, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } - public Task(System.Func function, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } - public Task(System.Func function, object state, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function, object? state) : base (default(System.Action)) { } + public Task(System.Func function, object? state, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } + public Task(System.Func function, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } + public Task(System.Func function, object? state, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } public Task(System.Func function) : base (default(System.Action)) { } public Task(System.Func function, System.Threading.CancellationToken cancellationToken) : base (default(System.Action)) { } public Task(System.Func function, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskCreationOptions creationOptions) : base (default(System.Action)) { } @@ -8277,21 +8308,21 @@ namespace System.Threading.Tasks public static new System.Threading.Tasks.TaskFactory Factory { get { throw null; } } public TResult Result { get { throw null; } } public new System.Runtime.CompilerServices.ConfiguredTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Action, object> continuationAction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object?> continuationAction, object? state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object?> continuationAction, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object?> continuationAction, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object?> continuationAction, object? state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Action, object?> continuationAction, object? state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Action> continuationAction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.CancellationToken cancellationToken) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } - public System.Threading.Tasks.Task ContinueWith(System.Func, object, TNewResult> continuationFunction, object state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object?, TNewResult> continuationFunction, object? state) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object?, TNewResult> continuationFunction, object? state, System.Threading.CancellationToken cancellationToken) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object?, TNewResult> continuationFunction, object? state, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object?, TNewResult> continuationFunction, object? state, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; } + public System.Threading.Tasks.Task ContinueWith(System.Func, object?, TNewResult> continuationFunction, object? state, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.CancellationToken cancellationToken) { throw null; } public System.Threading.Tasks.Task ContinueWith(System.Func, TNewResult> continuationFunction, System.Threading.CancellationToken cancellationToken, System.Threading.Tasks.TaskContinuationOptions continuationOptions, System.Threading.Tasks.TaskScheduler scheduler) { throw null; } @@ -8301,8 +8332,8 @@ namespace System.Threading.Tasks } public partial class UnobservedTaskExceptionEventArgs : System.EventArgs { - public UnobservedTaskExceptionEventArgs(System.AggregateException exception) { } - public System.AggregateException Exception { get { throw null; } } + public UnobservedTaskExceptionEventArgs(System.AggregateException? exception) { } + public System.AggregateException? Exception { get { throw null; } } public bool Observed { get { throw null; } } public void SetObserved() { } } @@ -8319,7 +8350,7 @@ namespace System.Threading.Tasks public bool IsFaulted { get { throw null; } } public System.Threading.Tasks.Task AsTask() { throw null; } public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.Threading.Tasks.ValueTask other) { throw null; } public System.Runtime.CompilerServices.ValueTaskAwaiter GetAwaiter() { throw null; } public override int GetHashCode() { throw null; } @@ -8343,14 +8374,14 @@ namespace System.Threading.Tasks public TResult Result { get { throw null; } } public System.Threading.Tasks.Task AsTask() { throw null; } public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable ConfigureAwait(bool continueOnCapturedContext) { throw null; } - public override bool Equals(object obj) { throw null; } + public override bool Equals(object? obj) { throw null; } public bool Equals(System.Threading.Tasks.ValueTask other) { throw null; } public System.Runtime.CompilerServices.ValueTaskAwaiter GetAwaiter() { throw null; } public override int GetHashCode() { throw null; } public static bool operator ==(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) { throw null; } public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) { throw null; } public System.Threading.Tasks.ValueTask Preserve() { throw null; } - public override string ToString() { throw null; } + public override string? ToString() { throw null; } } } namespace System.Threading.Tasks.Sources @@ -8359,13 +8390,13 @@ namespace System.Threading.Tasks.Sources { void GetResult(short token); System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus(short token); - void OnCompleted(System.Action continuation, object state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); + void OnCompleted(System.Action continuation, object? state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); } public partial interface IValueTaskSource { TResult GetResult(short token); System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus(short token); - void OnCompleted(System.Action continuation, object state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); + void OnCompleted(System.Action continuation, object? state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags); } public partial struct ManualResetValueTaskSourceCore { @@ -8376,7 +8407,7 @@ namespace System.Threading.Tasks.Sources public short Version { get { throw null; } } public TResult GetResult(short token) { throw null; } public System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus(short token) { throw null; } - public void OnCompleted(System.Action continuation, object state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags) { } + public void OnCompleted(System.Action continuation, object? state, short token, System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags flags) { } public void Reset() { } public void SetException(System.Exception error) { } public void SetResult(TResult result) { } diff --git a/src/libraries/System.Runtime/ref/System.Runtime.csproj b/src/libraries/System.Runtime/ref/System.Runtime.csproj index 3db39a0..6d33bf7 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.csproj +++ b/src/libraries/System.Runtime/ref/System.Runtime.csproj @@ -7,6 +7,7 @@ $(NoWarn);0809;0618 netcoreapp-Debug;netcoreapp-Release;uap-Debug;uap-Release + enable -- 2.7.4