public static object? CreateInstance([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type, params object?[]? args) { throw null; }
public static object? CreateInstance([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type, object?[]? args, object?[]? activationAttributes) { throw null; }
public static object? CreateInstance([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture) { throw null; }
- public static object? CreateInstance([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; }
+ public static object? CreateInstance([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")]
public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName) { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")]
public ArgumentNullException(string? message, System.Exception? innerException) { }
public ArgumentNullException(string? paramName, string? message) { }
public static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNullAttribute] object? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; }
- [System.CLSCompliant(false)]
- public static unsafe void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNullAttribute] void* argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public unsafe static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNullAttribute] void* argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; }
}
public partial class ArgumentOutOfRangeException : System.ArgumentException
{
{
public static readonly bool IsLittleEndian;
public static long DoubleToInt64Bits(double value) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static ulong DoubleToUInt64Bits(double value) { throw null; }
public static byte[] GetBytes(bool value) { throw null; }
public static byte[] GetBytes(char value) { throw null; }
public static byte[] GetBytes(double value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static byte[] GetBytes(ulong value) { throw null; }
public static short HalfToInt16Bits(System.Half value) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static ushort HalfToUInt16Bits(System.Half value) { throw null; }
public static System.Half Int16BitsToHalf(short value) { throw null; }
public static float Int32BitsToSingle(int value) { throw null; }
public static double Int64BitsToDouble(long value) { throw null; }
public static int SingleToInt32Bits(float value) { throw null; }
[System.CLSCompliantAttribute(false)]
- public static ulong DoubleToUInt64Bits(double value) { throw null; }
- [System.CLSCompliantAttribute(false)]
- public static double UInt64BitsToDouble(ulong value) { throw null; }
- [System.CLSCompliantAttribute(false)]
public static uint SingleToUInt32Bits(float value) { throw null; }
- [System.CLSCompliantAttribute(false)]
- public static float UInt32BitsToSingle(uint value) { throw null; }
- [System.CLSCompliantAttribute(false)]
- public static ushort HalfToUInt16Bits(System.Half value) { throw null; }
- [System.CLSCompliantAttribute(false)]
- public static System.Half UInt16BitsToHalf(ushort value) { throw null; }
public static bool ToBoolean(byte[] value, int startIndex) { throw null; }
public static bool ToBoolean(System.ReadOnlySpan<byte> value) { throw null; }
public static char ToChar(byte[] value, int startIndex) { throw null; }
public static bool TryWriteBytes(System.Span<byte> destination, uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static bool TryWriteBytes(System.Span<byte> destination, ulong value) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static System.Half UInt16BitsToHalf(ushort value) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static float UInt32BitsToSingle(uint value) { throw null; }
+ [System.CLSCompliantAttribute(false)]
+ public static double UInt64BitsToDouble(ulong value) { throw null; }
}
public readonly partial struct Boolean : System.IComparable, System.IComparable<bool>, System.IConvertible, System.IEquatable<bool>
{
private readonly char _dummyPrimitive;
public const char MaxValue = '\uFFFF';
public const char MinValue = '\0';
- public static bool IsAscii(System.Char c) { throw null; }
public int CompareTo(System.Char value) { throw null; }
public int CompareTo(object? value) { throw null; }
public static string ConvertFromUtf32(int utf32) { throw null; }
public System.TypeCode GetTypeCode() { throw null; }
public static System.Globalization.UnicodeCategory GetUnicodeCategory(System.Char c) { throw null; }
public static System.Globalization.UnicodeCategory GetUnicodeCategory(string s, int index) { throw null; }
+ public static bool IsAscii(System.Char c) { throw null; }
public static bool IsControl(System.Char c) { throw null; }
public static bool IsControl(string s, int index) { throw null; }
public static bool IsDigit(System.Char c) { throw null; }
public static object? ChangeType(object? value, System.TypeCode typeCode, System.IFormatProvider? provider) { throw null; }
public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) { throw null; }
public static byte[] FromBase64String(string s) { throw null; }
+ public static byte[] FromHexString(System.ReadOnlySpan<char> chars) { throw null; }
+ public static byte[] FromHexString(string s) { throw null; }
public static System.TypeCode GetTypeCode(object? value) { throw null; }
public static bool IsDBNull([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; }
public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut) { throw null; }
public static double ToDouble(uint value) { throw null; }
[System.CLSCompliantAttribute(false)]
public static double ToDouble(ulong value) { throw null; }
- public static byte[] FromHexString(string s) { throw null; }
- public static byte[] FromHexString(System.ReadOnlySpan<char> chars) { throw null; }
public static string ToHexString(byte[] inArray) { throw null; }
public static string ToHexString(byte[] inArray, int offset, int length) { throw null; }
public static string ToHexString(System.ReadOnlySpan<byte> bytes) { 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<TEnum>(System.ReadOnlySpan<char> value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; }
- public static bool TryParse<TEnum>([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; }
public static bool TryParse<TEnum>(System.ReadOnlySpan<char> value, out TEnum result) where TEnum : struct { throw null; }
+ public static bool TryParse<TEnum>([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value, bool ignoreCase, out TEnum result) where TEnum : struct { throw null; }
public static bool TryParse<TEnum>([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value, out TEnum result) where TEnum : struct { throw null; }
}
public static partial class Environment
public static string MachineName { get { throw null; } }
public static string NewLine { get { throw null; } }
public static System.OperatingSystem OSVersion { get { throw null; } }
- public static string? ProcessPath { get { throw null; } }
public static int ProcessId { get { throw null; } }
public static int ProcessorCount { get { throw null; } }
+ public static string? ProcessPath { get { throw null; } }
public static string StackTrace { get { throw null; } }
public static string SystemDirectory { get { throw null; } }
public static int SystemPageSize { get { throw null; } }
}
public readonly partial struct GCMemoryInfo
{
+ private readonly object _dummy;
private readonly int _dummyPrimitive;
public bool Compacted { get { throw null; } }
public bool Concurrent { get { throw null; } }
public partial struct HashCode
{
private int _dummyPrimitive;
+ public void AddBytes(System.ReadOnlySpan<byte> value) { }
public void Add<T>(T value) { }
public void Add<T>(T value, System.Collections.Generic.IEqualityComparer<T>? comparer) { }
- public void AddBytes(System.ReadOnlySpan<byte> value) { }
public static int Combine<T1>(T1 value1) { throw null; }
public static int Combine<T1, T2>(T1 value1, T2 value2) { throw null; }
public static int Combine<T1, T2, T3>(T1 value1, T2 value2, T3 value3) { throw null; }
public ObjectDisposedException(string? objectName, string? message) { }
public override string Message { get { throw null; } }
public string ObjectName { get { throw null; } }
- public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, object instance) => throw null;
- public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, Type type) => throw null;
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+ public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, object instance) => throw null;
+ public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, System.Type type) => throw null;
}
[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, Inherited=false)]
public sealed partial class ObsoleteAttribute : System.Attribute
public string VersionString { get { throw null; } }
public object Clone() { throw null; }
public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
- public override string ToString() { throw null; }
- public static bool IsOSPlatform(string platform) { throw null; }
- public static bool IsOSPlatformVersionAtLeast(string platform, int major, int minor = 0, int build = 0, int revision = 0) { throw null; }
+ public static bool IsAndroid() { throw null; }
+ public static bool IsAndroidVersionAtLeast(int major, int minor = 0, int build = 0, int revision = 0) { throw null; }
public static bool IsBrowser() { throw null; }
- public static bool IsLinux() { throw null; }
public static bool IsFreeBSD() { throw null; }
public static bool IsFreeBSDVersionAtLeast(int major, int minor = 0, int build = 0, int revision = 0) { throw null; }
- public static bool IsAndroid() { throw null; }
- public static bool IsAndroidVersionAtLeast(int major, int minor = 0, int build = 0, int revision = 0) { throw null; }
[System.Runtime.Versioning.SupportedOSPlatformGuardAttribute("maccatalyst")]
public static bool IsIOS() { throw null; }
[System.Runtime.Versioning.SupportedOSPlatformGuardAttribute("maccatalyst")]
public static bool IsIOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; }
- public static bool IsMacOS() { throw null; }
- public static bool IsMacOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; }
+ public static bool IsLinux() { throw null; }
public static bool IsMacCatalyst() { throw null; }
public static bool IsMacCatalystVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; }
+ public static bool IsMacOS() { throw null; }
+ public static bool IsMacOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; }
+ public static bool IsOSPlatform(string platform) { throw null; }
+ public static bool IsOSPlatformVersionAtLeast(string platform, int major, int minor = 0, int build = 0, int revision = 0) { throw null; }
public static bool IsTvOS() { throw null; }
public static bool IsTvOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; }
public static bool IsWatchOS() { throw null; }
public static bool IsWatchOSVersionAtLeast(int major, int minor = 0, int build = 0) { throw null; }
public static bool IsWindows() { throw null; }
public static bool IsWindowsVersionAtLeast(int major, int minor = 0, int build = 0, int revision = 0) { throw null; }
+ public override string ToString() { throw null; }
}
public partial class OperationCanceledException : System.SystemException
{
{
public Random() { }
public Random(int Seed) { }
+ public static System.Random Shared { get { throw null; } }
public virtual int Next() { throw null; }
public virtual int Next(int maxValue) { throw null; }
public virtual int Next(int minValue, int maxValue) { throw null; }
+ public virtual void NextBytes(byte[] buffer) { }
+ public virtual void NextBytes(System.Span<byte> buffer) { }
+ public virtual double NextDouble() { throw null; }
public virtual long NextInt64() { throw null; }
public virtual long NextInt64(long maxValue) { throw null; }
public virtual long NextInt64(long minValue, long maxValue) { throw null; }
- public virtual void NextBytes(byte[] buffer) { }
- public virtual void NextBytes(System.Span<byte> buffer) { }
public virtual float NextSingle() { throw null; }
- public virtual double NextDouble() { throw null; }
protected virtual double Sample() { throw null; }
- public static System.Random Shared { get { throw null; } }
}
public readonly partial struct Range : System.IEquatable<System.Range>
{
public static System.String Copy(System.String str) { throw null; }
public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count) { }
public void CopyTo(System.Span<char> destination) { }
+ public static System.String Create(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; }
+ public static System.String Create(System.IFormatProvider? provider, System.Span<char> initialBuffer, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "provider", "initialBuffer"})] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; }
public static System.String Create<TState>(int length, TState state, System.Buffers.SpanAction<char, TState> action) { throw null; }
- public static string Create(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; }
- public static string Create(System.IFormatProvider? provider, System.Span<char> initialBuffer, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider", "initialBuffer")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { 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 System.TimeSpan BaseUtcOffset { get { throw null; } }
public string DaylightName { get { throw null; } }
public string DisplayName { get { throw null; } }
- public bool HasIanaId { get; }
+ public bool HasIanaId { get { throw null; } }
public string Id { get { throw null; } }
public static System.TimeZoneInfo Local { get { throw null; } }
public string StandardName { get { throw null; } }
public string ToSerializedString() { throw null; }
public override string ToString() { throw null; }
public static bool TryConvertIanaIdToWindowsId(string ianaId, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? windowsId) { throw null; }
- public static bool TryConvertWindowsIdToIanaId(string windowsId, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? ianaId) { throw null; }
public static bool TryConvertWindowsIdToIanaId(string windowsId, string? region, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? ianaId) { throw null; }
+ public static bool TryConvertWindowsIdToIanaId(string windowsId, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out string? ianaId) { throw null; }
public sealed partial class AdjustmentRule : System.IEquatable<System.TimeZoneInfo.AdjustmentRule?>, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable
{
internal AdjustmentRule() { }
+ public System.TimeSpan BaseUtcOffsetDelta { get { throw null; } }
public System.DateTime DateEnd { get { throw null; } }
public System.DateTime DateStart { get { throw null; } }
public System.TimeSpan DaylightDelta { get { throw null; } }
- public System.TimeSpan BaseUtcOffsetDelta { get { throw null; } }
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 abstract System.Type UnderlyingSystemType { get; }
public override bool Equals(object? o) { throw null; }
public virtual bool Equals(System.Type? o) { throw null; }
- [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
+ [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public virtual System.Type[] FindInterfaces(System.Reflection.TypeFilter filter, object? filterCriteria) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All)]
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();
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
- public System.Reflection.ConstructorInfo? GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Type[] types) { throw null; }
- [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
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; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public System.Reflection.ConstructorInfo? GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; }
+ [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
+ public System.Reflection.ConstructorInfo? GetConstructor(System.Reflection.BindingFlags bindingAttr, System.Type[] types) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public System.Reflection.ConstructorInfo? GetConstructor(System.Type[] types) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public virtual System.Type GetGenericTypeDefinition() { throw null; }
public override int GetHashCode() { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
- [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
+ [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public System.Type? GetInterface(string name) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
- [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
+ [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public abstract System.Type? GetInterface(string name, bool ignoreCase);
- public virtual System.Reflection.InterfaceMapping GetInterfaceMap([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] System.Type interfaceType) { throw null; }
+ public virtual System.Reflection.InterfaceMapping GetInterfaceMap([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] System.Type interfaceType) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public abstract System.Type[] GetInterfaces();
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public virtual System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.BindingFlags bindingAttr) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public virtual System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw null; }
- public virtual System.Reflection.MemberInfo GetMemberWithSameMetadataDefinitionAs(System.Reflection.MemberInfo member) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public System.Reflection.MemberInfo[] GetMembers() { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public abstract System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr);
+ public virtual System.Reflection.MemberInfo GetMemberWithSameMetadataDefinitionAs(System.Reflection.MemberInfo member) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
public System.Reflection.MethodInfo? GetMethod(string name) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
- public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Type[] types) { throw null; }
- [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
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; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; }
+ [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
+ public System.Reflection.MethodInfo? GetMethod(string name, System.Reflection.BindingFlags bindingAttr, System.Type[] types) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
public System.Reflection.MethodInfo? GetMethod(string name, System.Type[] types) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
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.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.Type? c) { throw null; }
- public bool IsAssignableTo([System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? targetType) { throw null; }
+ public bool IsAssignableTo([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.Type? targetType) { throw null; }
protected abstract bool IsByRefImpl();
protected abstract bool IsCOMObjectImpl();
protected virtual bool IsContextfulImpl() { throw null; }
public override int GetHashCode() { throw null; }
public override string ToString() { throw null; }
}
- public partial struct UriCreationOptions
- {
- public bool DangerousDisablePathAndQueryCanonicalization { readonly get { throw null; } set { } }
- }
[System.FlagsAttribute]
public enum UriComponents
{
NormalizedHost = 256,
KeepDelimiter = 1073741824,
}
+ public partial struct UriCreationOptions
+ {
+ private int _dummyPrimitive;
+ public bool DangerousDisablePathAndQueryCanonicalization { readonly get { throw null; } set { } }
+ }
public enum UriFormat
{
UriEscaped = 1,
public override int GetHashCode() { throw null; }
public override string? ToString() { throw null; }
}
- public sealed partial class Version : System.ICloneable, System.IComparable, System.IComparable<System.Version?>, System.IEquatable<System.Version?>, System.ISpanFormattable
+ public sealed partial class Version : System.ICloneable, System.IComparable, System.IComparable<System.Version?>, System.IEquatable<System.Version?>, System.IFormattable, System.ISpanFormattable
{
public Version() { }
public Version(int major, int minor) { }
public static bool operator <=(System.Version? v1, System.Version? v2) { throw null; }
public static System.Version Parse(System.ReadOnlySpan<char> input) { throw null; }
public static System.Version Parse(string input) { throw null; }
+ string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; }
+ bool System.ISpanFormattable.TryFormat(System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider) { throw null; }
public override string ToString() { throw null; }
public string ToString(int fieldCount) { throw null; }
public bool TryFormat(System.Span<char> destination, int fieldCount, out int charsWritten) { throw null; }
public bool TryFormat(System.Span<char> destination, out int charsWritten) { throw null; }
public static bool TryParse(System.ReadOnlySpan<char> input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version? result) { throw null; }
public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version? result) { throw null; }
- bool System.ISpanFormattable.TryFormat(System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider) { throw null; }
- string System.IFormattable.ToString(string? format, IFormatProvider? formatProvider) { throw null; }
}
public partial struct Void
{
public override void Write(string format, params object?[] arg) { }
public override System.Threading.Tasks.Task WriteAsync(char value) { throw null; }
public override System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; }
+ public override System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public override System.Threading.Tasks.Task WriteAsync(string? value) { throw null; }
- public override System.Threading.Tasks.Task WriteAsync(ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default) { throw null; }
- public override System.Threading.Tasks.Task WriteAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default) { throw null; }
+ public override System.Threading.Tasks.Task WriteAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public override void WriteLine() { }
public override void WriteLine(bool value) { }
public override void WriteLine(char value) { }
public override void WriteLine(string format, params object?[] arg) { }
[System.CLSCompliantAttribute(false)]
public override void WriteLine(uint value) { }
- public void WriteLineNoTabs(string? s) { }
- public System.Threading.Tasks.Task WriteLineNoTabsAsync(string? s) { throw null; }
public override System.Threading.Tasks.Task WriteLineAsync() { throw null; }
public override System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; }
public override System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; }
+ public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public override System.Threading.Tasks.Task WriteLineAsync(string? value) { throw null; }
- public override System.Threading.Tasks.Task WriteLineAsync(ReadOnlyMemory<char> buffer, System.Threading.CancellationToken cancellationToken = default) { throw null; }
- public override System.Threading.Tasks.Task WriteLineAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default) { throw null; }
+ public override System.Threading.Tasks.Task WriteLineAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public void WriteLineNoTabs(string? s) { }
+ public System.Threading.Tasks.Task WriteLineNoTabsAsync(string? s) { throw null; }
}
}
namespace System.Collections
public DefaultValueAttribute(sbyte value) { }
public DefaultValueAttribute(float value) { }
public DefaultValueAttribute(string? value) { }
- [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
- public DefaultValueAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All)] System.Type type, string? value) { }
+ [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
+ public DefaultValueAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All)] System.Type type, string? value) { }
[System.CLSCompliantAttribute(false)]
public DefaultValueAttribute(ushort value) { }
[System.CLSCompliantAttribute(false)]
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
- public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, string? message) { }
- [System.Diagnostics.Conditional("DEBUG")]
public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.AssertInterpolatedStringHandler message) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
- public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, string? message, string? detailMessage) { }
- [System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.AssertInterpolatedStringHandler message, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.AssertInterpolatedStringHandler detailMessage) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
+ public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, string? message) { }
+ [System.Diagnostics.ConditionalAttribute("DEBUG")]
+ public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, string? message, string? detailMessage) { }
+ [System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(false)] bool condition, string? message, string detailMessageFormat, params object?[] args) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void Close() { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void Write(string? message, string? category) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
+ public static void WriteIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message) { }
+ [System.Diagnostics.ConditionalAttribute("DEBUG")]
+ public static void WriteIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message, string? category) { }
+ [System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteIf(bool condition, object? value) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteIf(bool condition, object? value, string? category) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteIf(bool condition, string? message) { }
- [System.Diagnostics.Conditional("DEBUG")]
- public static void WriteIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteIf(bool condition, string? message, string? category) { }
- [System.Diagnostics.Conditional("DEBUG")]
- public static void WriteIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message, string? category) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteLine(object? value) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteLine(string? message, string? category) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
+ public static void WriteLineIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message) { }
+ [System.Diagnostics.ConditionalAttribute("DEBUG")]
+ public static void WriteLineIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message, string? category) { }
+ [System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteLineIf(bool condition, object? value) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteLineIf(bool condition, object? value, string? category) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteLineIf(bool condition, string? message) { }
[System.Diagnostics.ConditionalAttribute("DEBUG")]
- public static void WriteLineIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message) { }
- [System.Diagnostics.ConditionalAttribute("DEBUG")]
public static void WriteLineIf(bool condition, string? message, string? category) { }
- [System.Diagnostics.ConditionalAttribute("DEBUG")]
- public static void WriteLineIf(bool condition, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("condition")] ref System.Diagnostics.Debug.WriteIfInterpolatedStringHandler message, string? category) { }
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute]
- public struct AssertInterpolatedStringHandler
+ public partial struct AssertInterpolatedStringHandler
{
private object _dummy;
private int _dummyPrimitive;
public AssertInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, out bool shouldAppend) { throw null; }
- public void AppendLiteral(string value) { }
+ public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted(System.ReadOnlySpan<char> value) { }
+ public void AppendFormatted(System.ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted(string? value) { }
+ public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
public void AppendFormatted<T>(T value) { }
- public void AppendFormatted<T>(T value, string? format) { }
public void AppendFormatted<T>(T value, int alignment) { }
public void AppendFormatted<T>(T value, int alignment, string? format) { }
- public void AppendFormatted(ReadOnlySpan<char> value) { }
- public void AppendFormatted(ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
- public void AppendFormatted(string? value) { }
- public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
- public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted<T>(T value, string? format) { }
+ public void AppendLiteral(string value) { }
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute]
- public struct WriteIfInterpolatedStringHandler
+ public partial struct WriteIfInterpolatedStringHandler
{
private object _dummy;
private int _dummyPrimitive;
public WriteIfInterpolatedStringHandler(int literalLength, int formattedCount, bool condition, out bool shouldAppend) { throw null; }
- public void AppendLiteral(string value) { }
+ public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted(System.ReadOnlySpan<char> value) { }
+ public void AppendFormatted(System.ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted(string? value) { }
+ public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
public void AppendFormatted<T>(T value) { }
- public void AppendFormatted<T>(T value, string? format) { }
public void AppendFormatted<T>(T value, int alignment) { }
public void AppendFormatted<T>(T value, int alignment, string? format) { }
- public void AppendFormatted(ReadOnlySpan<char> value) { }
- public void AppendFormatted(ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
- public void AppendFormatted(string? value) { }
- public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
- public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted<T>(T value, string? format) { }
+ public void AppendLiteral(string value) { }
}
}
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Module, AllowMultiple=false)]
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All)]
public string VisualizerTypeName { get { throw null; } }
}
- [System.AttributeUsage(AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.Constructor | System.AttributeTargets.Struct, Inherited = false)]
- public sealed partial class StackTraceHiddenAttribute : Attribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Struct, Inherited=false)]
+ public sealed partial class StackTraceHiddenAttribute : System.Attribute
{
public StackTraceHiddenAttribute() { }
}
public AllowNullAttribute() { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)]
- public sealed class ConstantExpectedAttribute : Attribute
+ public sealed partial class ConstantExpectedAttribute : System.Attribute
{
- public object? Min { get { throw null; } set { } }
+ public ConstantExpectedAttribute() { }
public object? Max { get { throw null; } set { } }
+ public object? Min { get { throw null; } set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, Inherited=false)]
public sealed partial class DisallowNullAttribute : System.Attribute
public DoesNotReturnIfAttribute(bool parameterValue) { }
public bool ParameterValue { get { throw null; } }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.GenericParameter | System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue | AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct, Inherited=false)]
+ [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.GenericParameter | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue | System.AttributeTargets.Struct, Inherited=false)]
public sealed partial class DynamicallyAccessedMembersAttribute : System.Attribute
{
public DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes) { }
public sealed partial class ExcludeFromCodeCoverageAttribute : System.Attribute
{
public ExcludeFromCodeCoverageAttribute() { }
- public string? Justification { get; set; }
+ public string? Justification { get { throw null; } set { } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue, Inherited=false)]
public sealed partial class MaybeNullAttribute : System.Attribute
public NotNullWhenAttribute(bool returnValue) { }
public bool ReturnValue { get { throw null; } }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Event | System.AttributeTargets.Method | System.AttributeTargets.Property, Inherited = false, AllowMultiple = false)]
+ [System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Event | System.AttributeTargets.Method | System.AttributeTargets.Property, Inherited=false, AllowMultiple=false)]
public sealed partial class RequiresAssemblyFilesAttribute : System.Attribute
{
public RequiresAssemblyFilesAttribute() { }
public string? Message { get { throw null; } }
public string? Url { get { throw null; } set { } }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Method, Inherited = false)]
+ [System.AttributeUsageAttribute(System.AttributeTargets.Constructor | System.AttributeTargets.Method, Inherited=false)]
public sealed partial class RequiresDynamicCodeAttribute : System.Attribute
{
public RequiresDynamicCodeAttribute(string message) { }
public override int GetHashCode() { throw null; }
public static string GetNextTextElement(string str) { throw null; }
public static string GetNextTextElement(string str, int index) { throw null; }
+ public static int GetNextTextElementLength(System.ReadOnlySpan<char> str) { throw null; }
public static int GetNextTextElementLength(string str) { throw null; }
public static int GetNextTextElementLength(string str, int index) { throw null; }
- public static int GetNextTextElementLength(System.ReadOnlySpan<char> str) { throw null; }
public static System.Globalization.TextElementEnumerator GetTextElementEnumerator(string str) { throw null; }
public static System.Globalization.TextElementEnumerator GetTextElementEnumerator(string str, int index) { throw null; }
public static int[] ParseCombiningCharacters(string str) { throw null; }
public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public override void WriteByte(byte value) { }
}
+ public static partial class Directory
+ {
+ public static System.IO.DirectoryInfo CreateDirectory(string path) { throw null; }
+ public static System.IO.FileSystemInfo CreateSymbolicLink(string path, string pathToTarget) { throw null; }
+ public static void Delete(string path) { }
+ public static void Delete(string path, bool recursive) { }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path, string searchPattern) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path, string searchPattern) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public static bool Exists([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; }
+ public static System.DateTime GetCreationTime(string path) { throw null; }
+ public static System.DateTime GetCreationTimeUtc(string path) { throw null; }
+ public static string GetCurrentDirectory() { throw null; }
+ public static string[] GetDirectories(string path) { throw null; }
+ public static string[] GetDirectories(string path, string searchPattern) { throw null; }
+ public static string[] GetDirectories(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public static string[] GetDirectories(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public static string GetDirectoryRoot(string path) { throw null; }
+ public static string[] GetFiles(string path) { throw null; }
+ public static string[] GetFiles(string path, string searchPattern) { throw null; }
+ public static string[] GetFiles(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public static string[] GetFiles(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public static string[] GetFileSystemEntries(string path) { throw null; }
+ public static string[] GetFileSystemEntries(string path, string searchPattern) { throw null; }
+ public static string[] GetFileSystemEntries(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public static string[] GetFileSystemEntries(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public static System.DateTime GetLastAccessTime(string path) { throw null; }
+ public static System.DateTime GetLastAccessTimeUtc(string path) { throw null; }
+ public static System.DateTime GetLastWriteTime(string path) { throw null; }
+ public static System.DateTime GetLastWriteTimeUtc(string path) { throw null; }
+ public static string[] GetLogicalDrives() { throw null; }
+ public static System.IO.DirectoryInfo? GetParent(string path) { throw null; }
+ public static void Move(string sourceDirName, string destDirName) { }
+ public static System.IO.FileSystemInfo? ResolveLinkTarget(string linkPath, bool returnFinalTarget) { throw null; }
+ public static void SetCreationTime(string path, System.DateTime creationTime) { }
+ public static void SetCreationTimeUtc(string path, System.DateTime creationTimeUtc) { }
+ public static void SetCurrentDirectory(string path) { }
+ public static void SetLastAccessTime(string path, System.DateTime lastAccessTime) { }
+ public static void SetLastAccessTimeUtc(string path, System.DateTime lastAccessTimeUtc) { }
+ public static void SetLastWriteTime(string path, System.DateTime lastWriteTime) { }
+ public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) { }
+ }
+ public sealed partial class DirectoryInfo : System.IO.FileSystemInfo
+ {
+ public DirectoryInfo(string path) { }
+ public override bool Exists { get { throw null; } }
+ public override string Name { get { throw null; } }
+ public System.IO.DirectoryInfo? Parent { get { throw null; } }
+ public System.IO.DirectoryInfo Root { get { throw null; } }
+ public void Create() { }
+ public System.IO.DirectoryInfo CreateSubdirectory(string path) { throw null; }
+ public override void Delete() { }
+ public void Delete(bool recursive) { }
+ public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories() { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories(string searchPattern) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles() { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles(string searchPattern) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos() { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos(string searchPattern) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public System.IO.DirectoryInfo[] GetDirectories() { throw null; }
+ public System.IO.DirectoryInfo[] GetDirectories(string searchPattern) { throw null; }
+ public System.IO.DirectoryInfo[] GetDirectories(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public System.IO.DirectoryInfo[] GetDirectories(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public System.IO.FileInfo[] GetFiles() { throw null; }
+ public System.IO.FileInfo[] GetFiles(string searchPattern) { throw null; }
+ public System.IO.FileInfo[] GetFiles(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public System.IO.FileInfo[] GetFiles(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public System.IO.FileSystemInfo[] GetFileSystemInfos() { throw null; }
+ public System.IO.FileSystemInfo[] GetFileSystemInfos(string searchPattern) { throw null; }
+ public System.IO.FileSystemInfo[] GetFileSystemInfos(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
+ public System.IO.FileSystemInfo[] GetFileSystemInfos(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
+ public void MoveTo(string destDirName) { }
+ public override string ToString() { throw null; }
+ }
public partial class DirectoryNotFoundException : System.IO.IOException
{
public DirectoryNotFoundException() { }
public EndOfStreamException(string? message) { }
public EndOfStreamException(string? message, System.Exception? innerException) { }
}
- [System.FlagsAttribute]
- public enum FileAccess
+ public partial class EnumerationOptions
{
- Read = 1,
- Write = 2,
- ReadWrite = 3,
+ public EnumerationOptions() { }
+ public System.IO.FileAttributes AttributesToSkip { get { throw null; } set { } }
+ public int BufferSize { get { throw null; } set { } }
+ public bool IgnoreInaccessible { get { throw null; } set { } }
+ public System.IO.MatchCasing MatchCasing { get { throw null; } set { } }
+ public System.IO.MatchType MatchType { get { throw null; } set { } }
+ public int MaxRecursionDepth { get { throw null; } set { } }
+ public bool RecurseSubdirectories { get { throw null; } set { } }
+ public bool ReturnSpecialDirectories { get { throw null; } set { } }
}
- [System.FlagsAttribute]
- public enum FileAttributes
+ public static partial class File
{
- ReadOnly = 1,
- Hidden = 2,
+ public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
+ public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
+ public static System.Threading.Tasks.Task AppendAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task AppendAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static void AppendAllText(string path, string? contents) { }
+ public static void AppendAllText(string path, string? contents, System.Text.Encoding encoding) { }
+ public static System.Threading.Tasks.Task AppendAllTextAsync(string path, string? contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task AppendAllTextAsync(string path, string? contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.IO.StreamWriter AppendText(string path) { throw null; }
+ public static void Copy(string sourceFileName, string destFileName) { }
+ public static void Copy(string sourceFileName, string destFileName, bool overwrite) { }
+ public static System.IO.FileStream Create(string path) { throw null; }
+ public static System.IO.FileStream Create(string path, int bufferSize) { throw null; }
+ public static System.IO.FileStream Create(string path, int bufferSize, System.IO.FileOptions options) { throw null; }
+ public static System.IO.FileSystemInfo CreateSymbolicLink(string path, string pathToTarget) { throw null; }
+ public static System.IO.StreamWriter CreateText(string path) { throw null; }
+ [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
+ public static void Decrypt(string path) { }
+ public static void Delete(string path) { }
+ [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
+ public static void Encrypt(string path) { }
+ public static bool Exists([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; }
+ public static System.IO.FileAttributes GetAttributes(string path) { throw null; }
+ public static System.DateTime GetCreationTime(string path) { throw null; }
+ public static System.DateTime GetCreationTimeUtc(string path) { throw null; }
+ public static System.DateTime GetLastAccessTime(string path) { throw null; }
+ public static System.DateTime GetLastAccessTimeUtc(string path) { throw null; }
+ public static System.DateTime GetLastWriteTime(string path) { throw null; }
+ public static System.DateTime GetLastWriteTimeUtc(string path) { throw null; }
+ public static void Move(string sourceFileName, string destFileName) { }
+ public static void Move(string sourceFileName, string destFileName, bool overwrite) { }
+ public static System.IO.FileStream Open(string path, System.IO.FileMode mode) { throw null; }
+ public static System.IO.FileStream Open(string path, System.IO.FileMode mode, System.IO.FileAccess access) { throw null; }
+ public static System.IO.FileStream Open(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; }
+ public static System.IO.FileStream Open(string path, System.IO.FileStreamOptions options) { throw null; }
+ public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenHandle(string path, System.IO.FileMode mode = System.IO.FileMode.Open, System.IO.FileAccess access = System.IO.FileAccess.Read, System.IO.FileShare share = System.IO.FileShare.Read, System.IO.FileOptions options = System.IO.FileOptions.None, long preallocationSize = (long)0) { throw null; }
+ public static System.IO.FileStream OpenRead(string path) { throw null; }
+ public static System.IO.StreamReader OpenText(string path) { throw null; }
+ public static System.IO.FileStream OpenWrite(string path) { throw null; }
+ public static byte[] ReadAllBytes(string path) { throw null; }
+ public static System.Threading.Tasks.Task<byte[]> ReadAllBytesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static string[] ReadAllLines(string path) { throw null; }
+ public static string[] ReadAllLines(string path, System.Text.Encoding encoding) { throw null; }
+ public static System.Threading.Tasks.Task<string[]> ReadAllLinesAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task<string[]> ReadAllLinesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static string ReadAllText(string path) { throw null; }
+ public static string ReadAllText(string path, System.Text.Encoding encoding) { throw null; }
+ public static System.Threading.Tasks.Task<string> ReadAllTextAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task<string> ReadAllTextAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> ReadLines(string path) { throw null; }
+ public static System.Collections.Generic.IEnumerable<string> ReadLines(string path, System.Text.Encoding encoding) { throw null; }
+ public static void Replace(string sourceFileName, string destinationFileName, string? destinationBackupFileName) { }
+ public static void Replace(string sourceFileName, string destinationFileName, string? destinationBackupFileName, bool ignoreMetadataErrors) { }
+ public static System.IO.FileSystemInfo? ResolveLinkTarget(string linkPath, bool returnFinalTarget) { throw null; }
+ public static void SetAttributes(string path, System.IO.FileAttributes fileAttributes) { }
+ public static void SetCreationTime(string path, System.DateTime creationTime) { }
+ public static void SetCreationTimeUtc(string path, System.DateTime creationTimeUtc) { }
+ public static void SetLastAccessTime(string path, System.DateTime lastAccessTime) { }
+ public static void SetLastAccessTimeUtc(string path, System.DateTime lastAccessTimeUtc) { }
+ public static void SetLastWriteTime(string path, System.DateTime lastWriteTime) { }
+ public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) { }
+ public static void WriteAllBytes(string path, byte[] bytes) { }
+ public static System.Threading.Tasks.Task WriteAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static void WriteAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
+ public static void WriteAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
+ public static void WriteAllLines(string path, string[] contents) { }
+ public static void WriteAllLines(string path, string[] contents, System.Text.Encoding encoding) { }
+ public static System.Threading.Tasks.Task WriteAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task WriteAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static void WriteAllText(string path, string? contents) { }
+ public static void WriteAllText(string path, string? contents, System.Text.Encoding encoding) { }
+ public static System.Threading.Tasks.Task WriteAllTextAsync(string path, string? contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.Task WriteAllTextAsync(string path, string? contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+ [System.FlagsAttribute]
+ public enum FileAccess
+ {
+ Read = 1,
+ Write = 2,
+ ReadWrite = 3,
+ }
+ [System.FlagsAttribute]
+ public enum FileAttributes
+ {
+ ReadOnly = 1,
+ Hidden = 2,
System = 4,
Directory = 16,
Archive = 32,
IntegrityStream = 32768,
NoScrubData = 131072,
}
+ public sealed partial class FileInfo : System.IO.FileSystemInfo
+ {
+ public FileInfo(string fileName) { }
+ public System.IO.DirectoryInfo? Directory { get { throw null; } }
+ public string? DirectoryName { get { throw null; } }
+ public override bool Exists { get { throw null; } }
+ public bool IsReadOnly { get { throw null; } set { } }
+ public long Length { get { throw null; } }
+ public override string Name { get { throw null; } }
+ public System.IO.StreamWriter AppendText() { throw null; }
+ public System.IO.FileInfo CopyTo(string destFileName) { throw null; }
+ public System.IO.FileInfo CopyTo(string destFileName, bool overwrite) { throw null; }
+ public System.IO.FileStream Create() { throw null; }
+ public System.IO.StreamWriter CreateText() { throw null; }
+ [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
+ public void Decrypt() { }
+ public override void Delete() { }
+ [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
+ public void Encrypt() { }
+ public void MoveTo(string destFileName) { }
+ public void MoveTo(string destFileName, bool overwrite) { }
+ public System.IO.FileStream Open(System.IO.FileMode mode) { throw null; }
+ public System.IO.FileStream Open(System.IO.FileMode mode, System.IO.FileAccess access) { throw null; }
+ public System.IO.FileStream Open(System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; }
+ public System.IO.FileStream Open(System.IO.FileStreamOptions options) { throw null; }
+ public System.IO.FileStream OpenRead() { throw null; }
+ public System.IO.StreamReader OpenText() { throw null; }
+ public System.IO.FileStream OpenWrite() { throw null; }
+ public System.IO.FileInfo Replace(string destinationFileName, string? destinationBackupFileName) { throw null; }
+ public System.IO.FileInfo Replace(string destinationFileName, string? destinationBackupFileName, bool ignoreMetadataErrors) { throw null; }
+ }
public partial class FileLoadException : System.IO.IOException
{
public FileLoadException() { }
Delete = 4,
Inheritable = 16,
}
- public sealed class FileStreamOptions
- {
- public FileStreamOptions() { }
- public System.IO.FileMode Mode { get; set; }
- public System.IO.FileAccess Access { get; set; }
- public System.IO.FileShare Share { get; set; }
- public System.IO.FileOptions Options { get; set; }
- public long PreallocationSize { get; set; }
- public int BufferSize { get; set; }
- }
public partial class FileStream : System.IO.Stream
{
public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access) { }
public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public override void WriteByte(byte value) { }
}
- public static partial class Directory
+ public sealed partial class FileStreamOptions
{
- public static System.IO.DirectoryInfo CreateDirectory(string path) { throw null; }
- public static System.IO.FileSystemInfo CreateSymbolicLink(string path, string pathToTarget) { throw null; }
- public static void Delete(string path) { }
- public static void Delete(string path, bool recursive) { }
- public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path, string searchPattern) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateDirectories(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path, string searchPattern) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFiles(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> EnumerateFileSystemEntries(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public static bool Exists([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; }
- public static System.DateTime GetCreationTime(string path) { throw null; }
- public static System.DateTime GetCreationTimeUtc(string path) { throw null; }
- public static string GetCurrentDirectory() { throw null; }
- public static string[] GetDirectories(string path) { throw null; }
- public static string[] GetDirectories(string path, string searchPattern) { throw null; }
- public static string[] GetDirectories(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public static string[] GetDirectories(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public static string GetDirectoryRoot(string path) { throw null; }
- public static string[] GetFiles(string path) { throw null; }
- public static string[] GetFiles(string path, string searchPattern) { throw null; }
- public static string[] GetFiles(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public static string[] GetFiles(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public static string[] GetFileSystemEntries(string path) { throw null; }
- public static string[] GetFileSystemEntries(string path, string searchPattern) { throw null; }
- public static string[] GetFileSystemEntries(string path, string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public static string[] GetFileSystemEntries(string path, string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public static System.DateTime GetLastAccessTime(string path) { throw null; }
- public static System.DateTime GetLastAccessTimeUtc(string path) { throw null; }
- public static System.DateTime GetLastWriteTime(string path) { throw null; }
- public static System.DateTime GetLastWriteTimeUtc(string path) { throw null; }
- public static string[] GetLogicalDrives() { throw null; }
- public static System.IO.DirectoryInfo? GetParent(string path) { throw null; }
- public static void Move(string sourceDirName, string destDirName) { }
- public static System.IO.FileSystemInfo? ResolveLinkTarget(string linkPath, bool returnFinalTarget) { throw null; }
- public static void SetCreationTime(string path, System.DateTime creationTime) { }
- public static void SetCreationTimeUtc(string path, System.DateTime creationTimeUtc) { }
- public static void SetCurrentDirectory(string path) { }
- public static void SetLastAccessTime(string path, System.DateTime lastAccessTime) { }
- public static void SetLastAccessTimeUtc(string path, System.DateTime lastAccessTimeUtc) { }
- public static void SetLastWriteTime(string path, System.DateTime lastWriteTime) { }
- public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) { }
+ public FileStreamOptions() { }
+ public System.IO.FileAccess Access { get { throw null; } set { } }
+ public int BufferSize { get { throw null; } set { } }
+ public System.IO.FileMode Mode { get { throw null; } set { } }
+ public System.IO.FileOptions Options { get { throw null; } set { } }
+ public long PreallocationSize { get { throw null; } set { } }
+ public System.IO.FileShare Share { get { throw null; } set { } }
}
public abstract partial class FileSystemInfo : System.MarshalByRefObject, System.Runtime.Serialization.ISerializable
{
public System.IO.FileSystemInfo? ResolveLinkTarget(bool returnFinalTarget) { throw null; }
public override string ToString() { throw null; }
}
- public sealed partial class DirectoryInfo : System.IO.FileSystemInfo
- {
- public DirectoryInfo(string path) { }
- public override bool Exists { get { throw null; } }
- public override string Name { get { throw null; } }
- public System.IO.DirectoryInfo? Parent { get { throw null; } }
- public System.IO.DirectoryInfo Root { get { throw null; } }
- public void Create() { }
- public System.IO.DirectoryInfo CreateSubdirectory(string path) { throw null; }
- public override void Delete() { }
- public void Delete(bool recursive) { }
- public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories() { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories(string searchPattern) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.DirectoryInfo> EnumerateDirectories(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles() { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles(string searchPattern) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileInfo> EnumerateFiles(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos() { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos(string searchPattern) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo> EnumerateFileSystemInfos(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public System.IO.DirectoryInfo[] GetDirectories() { throw null; }
- public System.IO.DirectoryInfo[] GetDirectories(string searchPattern) { throw null; }
- public System.IO.DirectoryInfo[] GetDirectories(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public System.IO.DirectoryInfo[] GetDirectories(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public System.IO.FileInfo[] GetFiles() { throw null; }
- public System.IO.FileInfo[] GetFiles(string searchPattern) { throw null; }
- public System.IO.FileInfo[] GetFiles(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public System.IO.FileInfo[] GetFiles(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public System.IO.FileSystemInfo[] GetFileSystemInfos() { throw null; }
- public System.IO.FileSystemInfo[] GetFileSystemInfos(string searchPattern) { throw null; }
- public System.IO.FileSystemInfo[] GetFileSystemInfos(string searchPattern, System.IO.EnumerationOptions enumerationOptions) { throw null; }
- public System.IO.FileSystemInfo[] GetFileSystemInfos(string searchPattern, System.IO.SearchOption searchOption) { throw null; }
- public void MoveTo(string destDirName) { }
- public override string ToString() { throw null; }
- }
- public enum MatchCasing
- {
- PlatformDefault = 0,
- CaseSensitive = 1,
- CaseInsensitive = 2,
- }
- public enum MatchType
- {
- Simple = 0,
- Win32 = 1,
- }
- public enum SearchOption
- {
- TopDirectoryOnly = 0,
- AllDirectories = 1,
- }
- public partial class EnumerationOptions
- {
- public EnumerationOptions() { }
- public System.IO.FileAttributes AttributesToSkip { get { throw null; } set { } }
- public int BufferSize { get { throw null; } set { } }
- public bool IgnoreInaccessible { get { throw null; } set { } }
- public System.IO.MatchCasing MatchCasing { get { throw null; } set { } }
- public System.IO.MatchType MatchType { get { throw null; } set { } }
- public int MaxRecursionDepth { get { throw null; } set { } }
- public bool RecurseSubdirectories { get { throw null; } set { } }
- public bool ReturnSpecialDirectories { get { throw null; } set { } }
- }
- public static partial class File
- {
- public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
- public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
- public static System.Threading.Tasks.Task AppendAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task AppendAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static void AppendAllText(string path, string? contents) { }
- public static void AppendAllText(string path, string? contents, System.Text.Encoding encoding) { }
- public static System.Threading.Tasks.Task AppendAllTextAsync(string path, string? contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task AppendAllTextAsync(string path, string? contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.IO.StreamWriter AppendText(string path) { throw null; }
- public static void Copy(string sourceFileName, string destFileName) { }
- public static void Copy(string sourceFileName, string destFileName, bool overwrite) { }
- public static System.IO.FileStream Create(string path) { throw null; }
- public static System.IO.FileStream Create(string path, int bufferSize) { throw null; }
- public static System.IO.FileStream Create(string path, int bufferSize, System.IO.FileOptions options) { throw null; }
- public static System.IO.FileSystemInfo CreateSymbolicLink(string path, string pathToTarget) { throw null; }
- public static System.IO.StreamWriter CreateText(string path) { throw null; }
- [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
- public static void Decrypt(string path) { }
- public static void Delete(string path) { }
- [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
- public static void Encrypt(string path) { }
- public static bool Exists([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; }
- public static System.IO.FileAttributes GetAttributes(string path) { throw null; }
- public static System.DateTime GetCreationTime(string path) { throw null; }
- public static System.DateTime GetCreationTimeUtc(string path) { throw null; }
- public static System.DateTime GetLastAccessTime(string path) { throw null; }
- public static System.DateTime GetLastAccessTimeUtc(string path) { throw null; }
- public static System.DateTime GetLastWriteTime(string path) { throw null; }
- public static System.DateTime GetLastWriteTimeUtc(string path) { throw null; }
- public static void Move(string sourceFileName, string destFileName) { }
- public static void Move(string sourceFileName, string destFileName, bool overwrite) { }
- public static System.IO.FileStream Open(string path, System.IO.FileMode mode) { throw null; }
- public static System.IO.FileStream Open(string path, System.IO.FileMode mode, System.IO.FileAccess access) { throw null; }
- public static System.IO.FileStream Open(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; }
- public static System.IO.FileStream Open(string path, System.IO.FileStreamOptions options) { throw null; }
- public static Microsoft.Win32.SafeHandles.SafeFileHandle OpenHandle(string path, System.IO.FileMode mode = System.IO.FileMode.Open, System.IO.FileAccess access = System.IO.FileAccess.Read, System.IO.FileShare share = System.IO.FileShare.Read, System.IO.FileOptions options = System.IO.FileOptions.None, long preallocationSize = 0) { throw null; }
- public static System.IO.FileStream OpenRead(string path) { throw null; }
- public static System.IO.StreamReader OpenText(string path) { throw null; }
- public static System.IO.FileStream OpenWrite(string path) { throw null; }
- public static byte[] ReadAllBytes(string path) { throw null; }
- public static System.Threading.Tasks.Task<byte[]> ReadAllBytesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static string[] ReadAllLines(string path) { throw null; }
- public static string[] ReadAllLines(string path, System.Text.Encoding encoding) { throw null; }
- public static System.Threading.Tasks.Task<string[]> ReadAllLinesAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task<string[]> ReadAllLinesAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static string ReadAllText(string path) { throw null; }
- public static string ReadAllText(string path, System.Text.Encoding encoding) { throw null; }
- public static System.Threading.Tasks.Task<string> ReadAllTextAsync(string path, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task<string> ReadAllTextAsync(string path, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> ReadLines(string path) { throw null; }
- public static System.Collections.Generic.IEnumerable<string> ReadLines(string path, System.Text.Encoding encoding) { throw null; }
- public static void Replace(string sourceFileName, string destinationFileName, string? destinationBackupFileName) { }
- public static void Replace(string sourceFileName, string destinationFileName, string? destinationBackupFileName, bool ignoreMetadataErrors) { }
- public static System.IO.FileSystemInfo? ResolveLinkTarget(string linkPath, bool returnFinalTarget) { throw null; }
- public static void SetAttributes(string path, System.IO.FileAttributes fileAttributes) { }
- public static void SetCreationTime(string path, System.DateTime creationTime) { }
- public static void SetCreationTimeUtc(string path, System.DateTime creationTimeUtc) { }
- public static void SetLastAccessTime(string path, System.DateTime lastAccessTime) { }
- public static void SetLastAccessTimeUtc(string path, System.DateTime lastAccessTimeUtc) { }
- public static void SetLastWriteTime(string path, System.DateTime lastWriteTime) { }
- public static void SetLastWriteTimeUtc(string path, System.DateTime lastWriteTimeUtc) { }
- public static void WriteAllBytes(string path, byte[] bytes) { }
- public static System.Threading.Tasks.Task WriteAllBytesAsync(string path, byte[] bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static void WriteAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
- public static void WriteAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
- public static void WriteAllLines(string path, string[] contents) { }
- public static void WriteAllLines(string path, string[] contents, System.Text.Encoding encoding) { }
- public static System.Threading.Tasks.Task WriteAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task WriteAllLinesAsync(string path, System.Collections.Generic.IEnumerable<string> contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static void WriteAllText(string path, string? contents) { }
- public static void WriteAllText(string path, string? contents, System.Text.Encoding encoding) { }
- public static System.Threading.Tasks.Task WriteAllTextAsync(string path, string? contents, System.Text.Encoding encoding, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.Task WriteAllTextAsync(string path, string? contents, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- }
- public sealed partial class FileInfo : System.IO.FileSystemInfo
- {
- public FileInfo(string fileName) { }
- public System.IO.DirectoryInfo? Directory { get { throw null; } }
- public string? DirectoryName { get { throw null; } }
- public override bool Exists { get { throw null; } }
- public bool IsReadOnly { get { throw null; } set { } }
- public long Length { get { throw null; } }
- public override string Name { get { throw null; } }
- public System.IO.StreamWriter AppendText() { throw null; }
- public System.IO.FileInfo CopyTo(string destFileName) { throw null; }
- public System.IO.FileInfo CopyTo(string destFileName, bool overwrite) { throw null; }
- public System.IO.FileStream Create() { throw null; }
- public System.IO.StreamWriter CreateText() { throw null; }
- [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
- public void Decrypt() { }
- public override void Delete() { }
- [System.Runtime.Versioning.SupportedOSPlatformAttribute("windows")]
- public void Encrypt() { }
- public void MoveTo(string destFileName) { }
- public void MoveTo(string destFileName, bool overwrite) { }
- public System.IO.FileStream Open(System.IO.FileMode mode) { throw null; }
- public System.IO.FileStream Open(System.IO.FileMode mode, System.IO.FileAccess access) { throw null; }
- public System.IO.FileStream Open(System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { throw null; }
- public System.IO.FileStream Open(System.IO.FileStreamOptions options) { throw null; }
- public System.IO.FileStream OpenRead() { throw null; }
- public System.IO.StreamReader OpenText() { throw null; }
- public System.IO.FileStream OpenWrite() { throw null; }
- public System.IO.FileInfo Replace(string destinationFileName, string? destinationBackupFileName) { throw null; }
- public System.IO.FileInfo Replace(string destinationFileName, string? destinationBackupFileName, bool ignoreMetadataErrors) { throw null; }
- public override string ToString() { throw null; }
- }
public enum HandleInheritability
{
None = 0,
public IOException(string? message, System.Exception? innerException) { }
public IOException(string? message, int hresult) { }
}
+ public enum MatchCasing
+ {
+ PlatformDefault = 0,
+ CaseSensitive = 1,
+ CaseInsensitive = 2,
+ }
+ public enum MatchType
+ {
+ Simple = 0,
+ Win32 = 1,
+ }
public partial class MemoryStream : System.IO.Stream
{
public MemoryStream() { }
public PathTooLongException(string? message) { }
public PathTooLongException(string? message, System.Exception? innerException) { }
}
+ public static partial class RandomAccess
+ {
+ public static long GetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle) { throw null; }
+ public static long Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.Memory<byte>> buffers, long fileOffset) { throw null; }
+ public static int Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Span<byte> buffer, long fileOffset) { throw null; }
+ public static System.Threading.Tasks.ValueTask<long> ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.Memory<byte>> buffers, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.ValueTask<int> ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Memory<byte> buffer, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.ReadOnlyMemory<byte>> buffers, long fileOffset) { }
+ public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlySpan<byte> buffer, long fileOffset) { }
+ public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.ReadOnlyMemory<byte>> buffers, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlyMemory<byte> buffer, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
+ }
+ public enum SearchOption
+ {
+ TopDirectoryOnly = 0,
+ AllDirectories = 1,
+ }
public enum SeekOrigin
{
Begin = 0,
public StreamReader(System.IO.Stream stream, System.Text.Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize) { }
public StreamReader(System.IO.Stream stream, System.Text.Encoding? encoding = null, bool detectEncodingFromByteOrderMarks = true, int bufferSize = -1, bool leaveOpen = false) { }
public StreamReader(string path) { }
- public StreamReader(string path, System.IO.FileStreamOptions options) { }
public StreamReader(string path, bool detectEncodingFromByteOrderMarks) { }
+ public StreamReader(string path, System.IO.FileStreamOptions options) { }
public StreamReader(string path, System.Text.Encoding encoding) { }
public StreamReader(string path, System.Text.Encoding encoding, bool detectEncodingFromByteOrderMarks) { }
public StreamReader(string path, System.Text.Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize) { }
public StreamWriter(System.IO.Stream stream, System.Text.Encoding encoding, int bufferSize) { }
public StreamWriter(System.IO.Stream stream, System.Text.Encoding? encoding = null, int bufferSize = -1, bool leaveOpen = false) { }
public StreamWriter(string path) { }
- public StreamWriter(string path, System.IO.FileStreamOptions options) { }
public StreamWriter(string path, bool append) { }
public StreamWriter(string path, bool append, System.Text.Encoding encoding) { }
public StreamWriter(string path, bool append, System.Text.Encoding encoding, int bufferSize) { }
+ public StreamWriter(string path, System.IO.FileStreamOptions options) { }
public StreamWriter(string path, System.Text.Encoding encoding, System.IO.FileStreamOptions options) { }
public virtual bool AutoFlush { get { throw null; } set { } }
public virtual System.IO.Stream BaseStream { get { throw null; } }
public override System.Threading.Tasks.ValueTask WriteAsync(System.ReadOnlyMemory<byte> buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public override void WriteByte(byte value) { }
}
- public static partial class RandomAccess
- {
- public static long GetLength(Microsoft.Win32.SafeHandles.SafeFileHandle handle) { throw null; }
- public static int Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Span<byte> buffer, long fileOffset) { throw null; }
- public static long Read(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.Memory<byte>> buffers, long fileOffset) { throw null; }
- public static System.Threading.Tasks.ValueTask<int> ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Memory<byte> buffer, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.ValueTask<long> ReadAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.Memory<byte>> buffers, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlySpan<byte> buffer, long fileOffset) { throw null; }
- public static void Write(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.ReadOnlyMemory<byte>> buffers, long fileOffset) { throw null; }
- public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.ReadOnlyMemory<byte> buffer, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- public static System.Threading.Tasks.ValueTask WriteAsync(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.Collections.Generic.IReadOnlyList<System.ReadOnlyMemory<byte>> buffers, long fileOffset, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
- }
}
namespace System.IO.Enumeration
{
public virtual System.Type ResolveType(int metadataToken, System.Type[]? genericTypeArguments, System.Type[]? genericMethodArguments) { throw null; }
public override string ToString() { throw null; }
}
- public sealed class NullabilityInfoContext
+ public delegate System.Reflection.Module ModuleResolveEventHandler(object sender, System.ResolveEventArgs e);
+ public sealed partial class NullabilityInfo
+ {
+ internal NullabilityInfo() { }
+ public System.Reflection.NullabilityInfo? ElementType { get { throw null; } }
+ public System.Reflection.NullabilityInfo[] GenericTypeArguments { get { throw null; } }
+ public System.Reflection.NullabilityState ReadState { get { throw null; } }
+ public System.Type Type { get { throw null; } }
+ public System.Reflection.NullabilityState WriteState { get { throw null; } }
+ }
+ public sealed partial class NullabilityInfoContext
{
+ public NullabilityInfoContext() { }
public System.Reflection.NullabilityInfo Create(System.Reflection.EventInfo eventInfo) { throw null; }
public System.Reflection.NullabilityInfo Create(System.Reflection.FieldInfo fieldInfo) { throw null; }
public System.Reflection.NullabilityInfo Create(System.Reflection.ParameterInfo parameterInfo) { throw null; }
public System.Reflection.NullabilityInfo Create(System.Reflection.PropertyInfo propertyInfo) { throw null; }
}
- public sealed class NullabilityInfo
- {
- internal NullabilityInfo(System.Type type, System.Reflection.NullabilityState readState, System.Reflection.NullabilityState writeState, System.Reflection.NullabilityInfo? elementType, System.Reflection.NullabilityInfo[] genericTypeArguments) { }
- public System.Type Type { get; }
- public System.Reflection.NullabilityState ReadState { get; }
- public System.Reflection.NullabilityState WriteState { get; }
- public System.Reflection.NullabilityInfo? ElementType { get; }
- public System.Reflection.NullabilityInfo[] GenericTypeArguments { get; }
- }
public enum NullabilityState
{
- Unknown,
- NotNull,
- Nullable
+ Unknown = 0,
+ NotNull = 1,
+ Nullable = 2,
}
- public delegate System.Reflection.Module ModuleResolveEventHandler(object sender, System.ResolveEventArgs e);
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public sealed partial class ObfuscateAssemblyAttribute : System.Attribute
{
{
internal Pointer() { }
public unsafe static object Box(void* ptr, System.Type type) { throw null; }
- void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
- public unsafe static void* Unbox(object ptr) { throw null; }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
+ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
+ public unsafe static void* Unbox(object ptr) { throw null; }
}
[System.FlagsAttribute]
public enum PortableExecutableKinds
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields)]
public override System.Reflection.FieldInfo[] GetFields(System.Reflection.BindingFlags bindingAttr) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
- [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
+ [return: System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public override System.Type? GetInterface(string name, bool ignoreCase) { throw null; }
- public override System.Reflection.InterfaceMapping GetInterfaceMap([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] System.Type interfaceType) { throw null; }
+ public override System.Reflection.InterfaceMapping GetInterfaceMap([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] System.Type interfaceType) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.Interfaces)]
public override System.Type[] GetInterfaces() { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public override System.Reflection.MemberInfo[] GetMember(string name, System.Reflection.MemberTypes type, System.Reflection.BindingFlags bindingAttr) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicProperties | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public override System.Reflection.MemberInfo[] GetMembers(System.Reflection.BindingFlags bindingAttr) { throw null; }
+ public override System.Reflection.MemberInfo GetMemberWithSameMetadataDefinitionAs(System.Reflection.MemberInfo member) { throw null; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
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; }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)]
protected System.Reflection.Assembly? MainAssembly;
protected ResourceManager() { }
public ResourceManager(string baseName, System.Reflection.Assembly assembly) { }
- public ResourceManager(string baseName, System.Reflection.Assembly assembly, [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors)] System.Type? usingResourceSet) { }
+ public ResourceManager(string baseName, System.Reflection.Assembly assembly, [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type? usingResourceSet) { }
public ResourceManager(System.Type resourceSource) { }
public virtual string BaseName { get { throw null; } }
protected System.Resources.UltimateResourceFallbackLocation FallbackLocation { get { throw null; } set { } }
public virtual bool IgnoreCase { get { throw null; } set { } }
- [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors)]
+ [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public virtual System.Type ResourceSetType { get { throw null; } }
- public static System.Resources.ResourceManager CreateFileBasedResourceManager(string baseName, string resourceDir, [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors)] System.Type? usingResourceSet) { throw null; }
+ public static System.Resources.ResourceManager CreateFileBasedResourceManager(string baseName, string resourceDir, [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type? usingResourceSet) { throw null; }
protected static System.Globalization.CultureInfo GetNeutralResourcesLanguage(System.Reflection.Assembly a) { throw null; }
public virtual object? GetObject(string name) { throw null; }
public virtual object? GetObject(string name, System.Globalization.CultureInfo? culture) { throw null; }
}
public static partial class JitInfo
{
- public static long GetCompiledILBytes(bool currentThread=false) { throw null; }
- public static long GetCompiledMethodCount(bool currentThread=false) { throw null; }
- public static TimeSpan GetCompilationTime(bool currentThread=false) { throw null; }
+ public static System.TimeSpan GetCompilationTime(bool currentThread = false) { throw null; }
+ public static long GetCompiledILBytes(bool currentThread = false) { throw null; }
+ public static long GetCompiledMethodCount(bool currentThread = false) { throw null; }
}
public sealed partial class MemoryFailPoint : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable
{
{
public CallConvStdcall() { }
}
- public class CallConvSuppressGCTransition
+ public partial class CallConvSuppressGCTransition
{
public CallConvSuppressGCTransition() { }
}
public DefaultDependencyAttribute(System.Runtime.CompilerServices.LoadHint loadHintArgument) { }
public System.Runtime.CompilerServices.LoadHint LoadHint { get { throw null; } }
}
+ [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute]
+ public ref partial struct DefaultInterpolatedStringHandler
+ {
+ private object _dummy;
+ private int _dummyPrimitive;
+ public DefaultInterpolatedStringHandler(int literalLength, int formattedCount) { throw null; }
+ public DefaultInterpolatedStringHandler(int literalLength, int formattedCount, System.IFormatProvider? provider) { throw null; }
+ public DefaultInterpolatedStringHandler(int literalLength, int formattedCount, System.IFormatProvider? provider, System.Span<char> initialBuffer) { throw null; }
+ public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted(System.ReadOnlySpan<char> value) { }
+ public void AppendFormatted(System.ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted(string? value) { }
+ public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted<T>(T value) { }
+ public void AppendFormatted<T>(T value, int alignment) { }
+ public void AppendFormatted<T>(T value, int alignment, string? format) { }
+ public void AppendFormatted<T>(T value, string? format) { }
+ public void AppendLiteral(string value) { }
+ public override string ToString() { throw null; }
+ public string ToStringAndClear() { throw null; }
+ }
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=true)]
public sealed partial class DependencyAttribute : System.Attribute
{
public bool AllInternalsVisible { get { throw null; } set { } }
public string AssemblyName { get { throw null; } }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple = false, Inherited = false)]
- public sealed class InterpolatedStringHandlerAttribute : System.Attribute
- {
- public InterpolatedStringHandlerAttribute() { }
- }
- [System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple = false, Inherited = false)]
- public sealed class InterpolatedStringHandlerArgumentAttribute : System.Attribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)]
+ public sealed partial class InterpolatedStringHandlerArgumentAttribute : System.Attribute
{
public InterpolatedStringHandlerArgumentAttribute(string argument) { }
public InterpolatedStringHandlerArgumentAttribute(params string[] arguments) { }
public string[] Arguments { get { throw null; } }
}
- [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute]
- public ref struct DefaultInterpolatedStringHandler
+ [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
+ public sealed partial class InterpolatedStringHandlerAttribute : System.Attribute
{
- private readonly object _dummy;
- private readonly int _dummyPrimitive;
- public DefaultInterpolatedStringHandler(int literalLength, int formattedCount) { throw null; }
- public DefaultInterpolatedStringHandler(int literalLength, int formattedCount, System.IFormatProvider? provider) { throw null; }
- public DefaultInterpolatedStringHandler(int literalLength, int formattedCount, System.IFormatProvider? provider, System.Span<char> initialBuffer) { throw null; }
- public void AppendLiteral(string value) { }
- public void AppendFormatted(System.ReadOnlySpan<char> value) { }
- public void AppendFormatted(System.ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
- public void AppendFormatted<T>(T value) { }
- public void AppendFormatted<T>(T value, string? format) { }
- public void AppendFormatted<T>(T value, int alignment) { }
- public void AppendFormatted<T>(T value, int alignment, string? format) { }
- public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
- public void AppendFormatted(string? value) { throw null; }
- public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
- public override string ToString() { throw null; }
- public string ToStringAndClear() { throw null; }
+ public InterpolatedStringHandlerAttribute() { }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Struct)]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
{
public const string CovariantReturnsOfClasses = "CovariantReturnsOfClasses";
public const string DefaultImplementationsOfInterfaces = "DefaultImplementationsOfInterfaces";
- public const string UnmanagedSignatureCallingConvention = "UnmanagedSignatureCallingConvention";
public const string PortablePdb = "PortablePdb";
+ public const string UnmanagedSignatureCallingConvention = "UnmanagedSignatureCallingConvention";
[System.Runtime.Versioning.RequiresPreviewFeaturesAttribute("Generic Math is in preview.", Url = "https://aka.ms/dotnet-warnings/generic-math-preview")]
public const string VirtualStaticsInInterfaces = "VirtualStaticsInInterfaces";
public static bool IsDynamicCodeCompiled { get { throw null; } }
[System.ObsoleteAttribute("OffsetToStringData has been deprecated. Use string.GetPinnableReference() instead.")]
public static int OffsetToStringData { get { throw null; } }
public static System.IntPtr AllocateTypeAssociatedMemory(System.Type type, int size) { throw null; }
+ public static System.ReadOnlySpan<T> CreateSpan<T>(System.RuntimeFieldHandle fldHandle) { throw null; }
public static void EnsureSufficientExecutionStack() { }
public static new bool Equals(object? o1, object? o2) { throw null; }
[System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public static T[] GetSubArray<T>(T[] array, System.Range range) { throw null; }
public static object GetUninitializedObject([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type) { throw null; }
public static void InitializeArray(System.Array array, System.RuntimeFieldHandle fldHandle) { }
- public static ReadOnlySpan<T> CreateSpan<T>(System.RuntimeFieldHandle fldHandle) { throw null; }
public static bool IsReferenceOrContainsReferences<T>() { throw null; }
[System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId = "SYSLIB0004", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
public static void PrepareConstrainedRegions() { }
public static bool operator !=(System.Runtime.Versioning.FrameworkName? left, System.Runtime.Versioning.FrameworkName? right) { throw null; }
public override string ToString() { throw null; }
}
- public abstract class OSPlatformAttribute : System.Attribute
+ public abstract partial class OSPlatformAttribute : System.Attribute
{
private protected OSPlatformAttribute(string platformName) { }
- public string PlatformName { get; }
+ public string PlatformName { get { throw null; } }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)]
public sealed partial class RequiresPreviewFeaturesAttribute : System.Attribute
Private = 16,
Assembly = 32,
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
- public sealed class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)]
+ public sealed partial class SupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
{
public SupportedOSPlatformAttribute(string platformName) : base(platformName) { }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple = true, Inherited = false)]
- public sealed class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
+ public sealed partial class SupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute
{
public SupportedOSPlatformGuardAttribute(string platformName) : base(platformName) { }
}
public string? FrameworkDisplayName { get { throw null; } set { } }
public string FrameworkName { get { throw null; } }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple = false, Inherited = false)]
- public sealed class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
+ public sealed partial class TargetPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
{
public TargetPlatformAttribute(string platformName) : base(platformName) { }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple = true, Inherited = false)]
- public sealed class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)]
+ public sealed partial class UnsupportedOSPlatformAttribute : System.Runtime.Versioning.OSPlatformAttribute
{
public UnsupportedOSPlatformAttribute(string platformName) : base(platformName) { }
}
- [System.AttributeUsageAttribute(System.AttributeTargets.Field |System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple = true, Inherited = false)]
- public sealed class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute
+ [System.AttributeUsageAttribute(System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true, Inherited=false)]
+ public sealed partial class UnsupportedOSPlatformGuardAttribute : System.Runtime.Versioning.OSPlatformAttribute
{
public UnsupportedOSPlatformGuardAttribute(string platformName) : base(platformName) { }
}
{
FormC = 1,
FormD = 2,
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
FormKC = 5,
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
FormKD = 6,
}
- public readonly partial struct Rune : System.IComparable, System.IComparable<System.Text.Rune>, System.IEquatable<System.Text.Rune>, System.ISpanFormattable
+ public readonly partial struct Rune : System.IComparable, System.IComparable<System.Text.Rune>, System.IEquatable<System.Text.Rune>, System.IFormattable, System.ISpanFormattable
{
private readonly int _dummyPrimitive;
public Rune(char ch) { throw null; }
public static bool operator !=(System.Text.Rune left, System.Text.Rune right) { throw null; }
public static bool operator <(System.Text.Rune left, System.Text.Rune right) { throw null; }
public static bool operator <=(System.Text.Rune left, System.Text.Rune right) { throw null; }
+ int System.IComparable.CompareTo(object? obj) { throw null; }
+ string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; }
+ bool System.ISpanFormattable.TryFormat(System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider) { throw null; }
public static System.Text.Rune ToLower(System.Text.Rune value, System.Globalization.CultureInfo culture) { throw null; }
public static System.Text.Rune ToLowerInvariant(System.Text.Rune value) { throw null; }
public override string ToString() { throw null; }
public bool TryEncodeToUtf16(System.Span<char> destination, out int charsWritten) { throw null; }
public bool TryEncodeToUtf8(System.Span<byte> destination, out int bytesWritten) { throw null; }
public static bool TryGetRuneAt(string input, int index, out System.Text.Rune value) { throw null; }
- int System.IComparable.CompareTo(object? obj) { throw null; }
- bool System.ISpanFormattable.TryFormat(System.Span<char> destination, out int charsWritten, System.ReadOnlySpan<char> format, System.IFormatProvider? provider) { throw null; }
- string System.IFormattable.ToString(string? format, IFormatProvider? formatProvider) { throw null; }
}
public sealed partial class StringBuilder : System.Runtime.Serialization.ISerializable
{
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(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "", "provider"})] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { 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(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([System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("")] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { 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 Append([System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("")] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { throw null; }
- public System.Text.StringBuilder Append(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("", "provider")] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { 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 AppendJoin<T>(char separator, System.Collections.Generic.IEnumerable<T> values) { throw null; }
public System.Text.StringBuilder AppendJoin<T>(string? separator, System.Collections.Generic.IEnumerable<T> values) { throw null; }
public System.Text.StringBuilder AppendLine() { throw null; }
+ public System.Text.StringBuilder AppendLine(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "", "provider"})] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { throw null; }
public System.Text.StringBuilder AppendLine(string? value) { throw null; }
public System.Text.StringBuilder AppendLine([System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("")] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { throw null; }
- public System.Text.StringBuilder AppendLine(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("", "provider")] ref System.Text.StringBuilder.AppendInterpolatedStringHandler handler) { 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<char> destination, int count) { }
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; }
- public partial struct ChunkEnumerator
- {
- private object _dummy;
- private int _dummyPrimitive;
- public System.ReadOnlyMemory<char> Current { get { throw null; } }
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- public System.Text.StringBuilder.ChunkEnumerator GetEnumerator() { throw null; }
- public bool MoveNext() { throw null; }
- }
- [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute]
- public struct AppendInterpolatedStringHandler
+ public partial struct AppendInterpolatedStringHandler
{
private object _dummy;
private int _dummyPrimitive;
public AppendInterpolatedStringHandler(int literalLength, int formattedCount, System.Text.StringBuilder stringBuilder) { throw null; }
public AppendInterpolatedStringHandler(int literalLength, int formattedCount, System.Text.StringBuilder stringBuilder, System.IFormatProvider? provider) { throw null; }
- public void AppendLiteral(string value) { }
- public void AppendFormatted<T>(T value) { }
- public void AppendFormatted<T>(T value, string? format) { }
- public void AppendFormatted<T>(T value, int alignment) { }
- public void AppendFormatted<T>(T value, int alignment, string? format) { }
+ public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
public void AppendFormatted(System.ReadOnlySpan<char> value) { }
public void AppendFormatted(System.ReadOnlySpan<char> value, int alignment = 0, string? format = null) { }
public void AppendFormatted(string? value) { }
public void AppendFormatted(string? value, int alignment = 0, string? format = null) { }
- public void AppendFormatted(object? value, int alignment = 0, string? format = null) { }
+ public void AppendFormatted<T>(T value) { }
+ public void AppendFormatted<T>(T value, int alignment) { }
+ public void AppendFormatted<T>(T value, int alignment, string? format) { }
+ public void AppendFormatted<T>(T value, string? format) { }
+ public void AppendLiteral(string value) { }
+ }
+ public partial struct ChunkEnumerator
+ {
+ private object _dummy;
+ private int _dummyPrimitive;
+ public System.ReadOnlyMemory<char> Current { get { throw null; } }
+ public System.Text.StringBuilder.ChunkEnumerator GetEnumerator() { throw null; }
+ public bool MoveNext() { throw null; }
}
}
public partial struct StringRuneEnumerator : System.Collections.Generic.IEnumerable<System.Text.Rune>, System.Collections.Generic.IEnumerator<System.Text.Rune>, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable
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<object?> callback, object? state) { throw null; }
public System.Threading.CancellationTokenRegistration Register(System.Action<object?, System.Threading.CancellationToken> callback, object? state) { throw null; }
+ public System.Threading.CancellationTokenRegistration Register(System.Action<object?> callback, object? state) { throw null; }
public System.Threading.CancellationTokenRegistration Register(System.Action<object?> callback, object? state, bool useSynchronizationContext) { throw null; }
public void ThrowIfCancellationRequested() { }
- public System.Threading.CancellationTokenRegistration UnsafeRegister(System.Action<object?> callback, object? state) { throw null; }
public System.Threading.CancellationTokenRegistration UnsafeRegister(System.Action<object?, System.Threading.CancellationToken> callback, object? state) { throw null; }
+ public System.Threading.CancellationTokenRegistration UnsafeRegister(System.Action<object?> callback, object? state) { throw null; }
}
public readonly partial struct CancellationTokenRegistration : System.IAsyncDisposable, System.IDisposable, System.IEquatable<System.Threading.CancellationTokenRegistration>
{
PublicationOnly = 1,
ExecutionAndPublication = 2,
}
- public sealed class PeriodicTimer : System.IDisposable
+ public sealed partial class PeriodicTimer : System.IDisposable
{
public PeriodicTimer(System.TimeSpan period) { }
- public System.Threading.Tasks.ValueTask<bool> WaitForNextTickAsync(System.Threading.CancellationToken cancellationToken = default) { throw null; }
public void Dispose() { }
+ ~PeriodicTimer() { }
+ public System.Threading.Tasks.ValueTask<bool> WaitForNextTickAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
}
public static partial class Timeout
{
public bool Wait(int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; }
public void Wait(System.Threading.CancellationToken cancellationToken) { }
public bool Wait(System.TimeSpan timeout) { throw null; }
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static void WaitAll(params System.Threading.Tasks.Task[] tasks) { }
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static bool WaitAll(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout) { throw null; }
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static bool WaitAll(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; }
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static void WaitAll(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) { }
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static bool WaitAll(System.Threading.Tasks.Task[] tasks, System.TimeSpan timeout) { throw null; }
public static int WaitAny(params System.Threading.Tasks.Task[] tasks) { throw null; }
public static int WaitAny(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout) { throw null; }
public static int WaitAny(System.Threading.Tasks.Task[] tasks, int millisecondsTimeout, System.Threading.CancellationToken cancellationToken) { throw null; }
public static int WaitAny(System.Threading.Tasks.Task[] tasks, System.Threading.CancellationToken cancellationToken) { throw null; }
public static int WaitAny(System.Threading.Tasks.Task[] tasks, System.TimeSpan timeout) { throw null; }
- public Task WaitAsync(System.TimeSpan timeout) { throw null; }
- public Task WaitAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
- public Task WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) { throw null; }
+ public System.Threading.Tasks.Task WaitAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout) { throw null; }
+ public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) { throw null; }
public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task> tasks) { throw null; }
public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; }
public static System.Threading.Tasks.Task<TResult[]> WhenAll<TResult>(System.Collections.Generic.IEnumerable<System.Threading.Tasks.Task<TResult>> tasks) { throw null; }
{
public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this System.IAsyncDisposable source, bool continueOnCapturedContext) { throw null; }
public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T>(this System.Collections.Generic.IAsyncEnumerable<T> source, bool continueOnCapturedContext) { throw null; }
- [System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
- public static System.Collections.Generic.IEnumerable<T> ToBlockingEnumerable<T>(this System.Collections.Generic.IAsyncEnumerable<T> source, System.Threading.CancellationToken cancellationToken = default) { throw null; }
+ [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
+ public static System.Collections.Generic.IEnumerable<T> ToBlockingEnumerable<T>(this System.Collections.Generic.IAsyncEnumerable<T> source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> WithCancellation<T>(this System.Collections.Generic.IAsyncEnumerable<T> source, System.Threading.CancellationToken cancellationToken) { throw null; }
}
public partial class TaskCanceledException : System.OperationCanceledException
public System.Threading.Tasks.Task<TNewResult> ContinueWith<TNewResult>(System.Func<System.Threading.Tasks.Task<TResult>, TNewResult> continuationFunction, System.Threading.Tasks.TaskContinuationOptions continuationOptions) { throw null; }
public System.Threading.Tasks.Task<TNewResult> ContinueWith<TNewResult>(System.Func<System.Threading.Tasks.Task<TResult>, TNewResult> continuationFunction, System.Threading.Tasks.TaskScheduler scheduler) { throw null; }
public new System.Runtime.CompilerServices.TaskAwaiter<TResult> GetAwaiter() { throw null; }
- public new System.Threading.Tasks.Task<TResult> WaitAsync(System.TimeSpan timeout) { throw null; }
public new System.Threading.Tasks.Task<TResult> WaitAsync(System.Threading.CancellationToken cancellationToken) { throw null; }
+ public new System.Threading.Tasks.Task<TResult> WaitAsync(System.TimeSpan timeout) { throw null; }
public new System.Threading.Tasks.Task<TResult> WaitAsync(System.TimeSpan timeout, System.Threading.CancellationToken cancellationToken) { throw null; }
}
public partial class UnobservedTaskExceptionEventArgs : System.EventArgs