From 02cd4a85d7afc823e933791e6297e2b9889c3ac1 Mon Sep 17 00:00:00 2001 From: "Alex Covington (Advanced Micro Devices Inc)" Date: Mon, 29 Sep 2025 09:24:32 -0700 Subject: [PATCH 1/7] Start AVX512BMM --- src/coreclr/inc/corinfoinstructionset.h | 4 +++ src/coreclr/jit/hwintrinsic.cpp | 1 + src/coreclr/jit/hwintrinsiclistxarch.h | 4 +++ src/coreclr/jit/instrsxarch.h | 2 ++ .../System.Private.CoreLib.Shared.projitems | 2 ++ .../X86/Avx512Bmm.PlatformNotSupported.cs | 19 +++++++++++ .../Runtime/Intrinsics/X86/Avx512Bmm.cs | 32 +++++++++++++++++++ 7 files changed, 64 insertions(+) create mode 100644 src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs create mode 100644 src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs diff --git a/src/coreclr/inc/corinfoinstructionset.h b/src/coreclr/inc/corinfoinstructionset.h index eff234962cef65..25c8fe5fb90877 100644 --- a/src/coreclr/inc/corinfoinstructionset.h +++ b/src/coreclr/inc/corinfoinstructionset.h @@ -97,6 +97,8 @@ enum CORINFO_InstructionSet InstructionSet_SHA_X64=43, InstructionSet_WAITPKG_X64=44, InstructionSet_X86Serialize_X64=45, + InstructionSet_AVX512BMM=46, + InstructionSet_AVX512BMM_X64=47, #endif // TARGET_AMD64 #ifdef TARGET_X86 InstructionSet_X86Base=1, @@ -144,6 +146,8 @@ enum CORINFO_InstructionSet InstructionSet_SHA_X64=43, InstructionSet_WAITPKG_X64=44, InstructionSet_X86Serialize_X64=45, + InstructionSet_AVX512BMM=46, + InstructionSet_AVX512BMM_X64=47, #endif // TARGET_X86 }; diff --git a/src/coreclr/jit/hwintrinsic.cpp b/src/coreclr/jit/hwintrinsic.cpp index d34171ac299e6a..baa8d3eeba0ece 100644 --- a/src/coreclr/jit/hwintrinsic.cpp +++ b/src/coreclr/jit/hwintrinsic.cpp @@ -987,6 +987,7 @@ static const HWIntrinsicIsaRange hwintrinsicIsaRangeArray[] = { { NI_Illegal, NI_Illegal }, // SHA_X64 { NI_Illegal, NI_Illegal }, // WAITPKG_X64 { NI_Illegal, NI_Illegal }, // X86Serialize_X64 + { FIRST_NI_AVX512BMM, LAST_NI_AVX512BMM }, // AVX512BMM #elif defined (TARGET_ARM64) { FIRST_NI_ArmBase, LAST_NI_ArmBase }, // ArmBase { FIRST_NI_AdvSimd, LAST_NI_AdvSimd }, // AdvSimd diff --git a/src/coreclr/jit/hwintrinsiclistxarch.h b/src/coreclr/jit/hwintrinsiclistxarch.h index 584a1994539d64..c6624c2802a655 100644 --- a/src/coreclr/jit/hwintrinsiclistxarch.h +++ b/src/coreclr/jit/hwintrinsiclistxarch.h @@ -1092,6 +1092,10 @@ HARDWARE_INTRINSIC(AVX10v2, MultipleSumAbsoluteDifferences, HARDWARE_INTRINSIC(AVX10v2, StoreScalar, 16, 2, {INS_invalid, INS_invalid, INS_vmovw_simd, INS_vmovw_simd, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_MemoryStore, HW_Flag_NoRMWSemantics|HW_Flag_BaseTypeFromSecondArg) #define LAST_NI_AVX10v2 NI_AVX10v2_StoreScalar +#define FIRST_NI_AVX512BMM NI_AVX512BMM_Vbmacor16x16x16 +HARDWARE_INTRINSIC(AVX512BMM, Vbmacor16x16x16, -1, -1, {INS_invalid, INS_invalid, INS_vbmacor16x16x16, INS_vbmacor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) +#define LAST_NI_AVX512BMM NI_AVX512BMM_Vbmacor16x16x16 + // *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** // ISA Function name SIMD size NumArg Instructions Category Flags // {TYP_BYTE, TYP_UBYTE, TYP_SHORT, TYP_USHORT, TYP_INT, TYP_UINT, TYP_LONG, TYP_ULONG, TYP_FLOAT, TYP_DOUBLE} diff --git a/src/coreclr/jit/instrsxarch.h b/src/coreclr/jit/instrsxarch.h index 6234502cced6bd..96fe17144c74d9 100644 --- a/src/coreclr/jit/instrsxarch.h +++ b/src/coreclr/jit/instrsxarch.h @@ -1131,6 +1131,8 @@ INST3(vucomxsd, "vucomxsd", IUM_RD, BAD_CODE, BAD_ INST3(vucomxss, "vucomxss", IUM_RD, BAD_CODE, BAD_CODE, SSEDBL(0x2E), 3C, 1C, INS_TT_TUPLE1_SCALAR, Input_32Bit | REX_W0 | Encoding_EVEX | Writes_OF | Writes_SF | Writes_ZF | Writes_PF | Writes_CF | Resets_AF) // Perform an unordered compare of single precision floating point values and set flags #define LAST_AVX512_INSTRUCTION INS_vucomxss +INST3(vbmacor16x16x16, "vbmacor16x16x16", IUM_WR, BAD_CODE, BAD_CODE, PCKFLTMAP(0x06, 0x80), ILLEGAL, ILLEGAL, INS_TT_FULL_MEM, Input_16Bit | KMask_Base8 | REX_W0 | Encoding_EVEX) // Multiply Packed FP16 Values + // id nm um mr mi rm lat tp tt flags #define FIRST_APX_INSTRUCTION INS_ccmpo #define FIRST_CCMP_INSTRUCTION INS_ccmpo diff --git a/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems b/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems index c744f85d3e05ce..654f8dbe6c46e0 100644 --- a/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems +++ b/src/libraries/System.Private.CoreLib/src/System.Private.CoreLib.Shared.projitems @@ -2729,6 +2729,7 @@ + @@ -2765,6 +2766,7 @@ + diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs new file mode 100644 index 00000000000000..8987043597fe7e --- /dev/null +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs @@ -0,0 +1,19 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; + +namespace System.Runtime.Intrinsics.X86 +{ + [CLSCompliant(false)] + public abstract class Avx512Bmm : Avx512F + { + /// Gets a value that indicates whether the APIs in this class are supported. + /// if the APIs are supported; otherwise, . + /// A value of indicates that the APIs will throw . + public static new bool IsSupported { [Intrinsic] get { return false; } } + + public static Vector256 Vbmacor16x16x16(Vector256 x, Vector256 y, Vector256 z) { throw new PlatformNotSupportedException(); } + } +} diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs new file mode 100644 index 00000000000000..bd531fed05adcf --- /dev/null +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs @@ -0,0 +1,32 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Diagnostics.CodeAnalysis; +using System.Runtime.CompilerServices; + +namespace System.Runtime.Intrinsics.X86 +{ + [Intrinsic] + [CLSCompliant(false)] + public abstract class Avx512Bmm : Avx512F + { + internal Avx512Bmm() { } + + /// Gets a value that indicates whether the APIs in this class are supported. + /// if the APIs are supported; otherwise, . + /// A value of indicates that the APIs will throw . + public static new bool IsSupported { get => IsSupported; } + public static Vector256 Vbmacor16x16x16(Vector256 x, Vector256 y, Vector256 z) => Vbmacor16x16x16(x, y, z); + + [Intrinsic] + public new abstract class X64 : Avx512F.X64 + { + internal X64() { } + + /// Gets a value that indicates whether the APIs in this class are supported. + /// if the APIs are supported; otherwise, . + /// A value of indicates that the APIs will throw . + public static new bool IsSupported { get => IsSupported; } + } + } +} From e1a37737334554df1c48bcc10b0391de87fcda6c Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 2 Feb 2026 10:32:01 -0800 Subject: [PATCH 2/7] Finish remaining intrinsics and tests --- src/coreclr/inc/clrconfigvalues.h | 1 + src/coreclr/inc/corinfoinstructionset.h | 2 + src/coreclr/jit/emitxarch.cpp | 20 ++- src/coreclr/jit/hwintrinsiccodegenxarch.cpp | 7 + src/coreclr/jit/hwintrinsiclistxarch.h | 6 +- src/coreclr/jit/hwintrinsicxarch.cpp | 4 + src/coreclr/jit/instrsxarch.h | 7 +- src/coreclr/jit/jitconfigvalues.h | 1 + src/coreclr/jit/lowerxarch.cpp | 3 +- src/coreclr/vm/codeman.cpp | 5 + .../X86/Avx512Bmm.PlatformNotSupported.cs | 6 + .../Runtime/Intrinsics/X86/Avx512Bmm.cs | 7 +- .../ref/System.Runtime.Intrinsics.cs | 19 +++ src/native/minipal/cpufeatures.c | 6 + src/native/minipal/cpufeatures.h | 1 + .../Avx512Bmm/Avx512Bmm_handwritten_r.csproj | 14 ++ .../Avx512Bmm/Avx512Bmm_handwritten_ro.csproj | 14 ++ .../X86_Avx512/Avx512Bmm/Avx512Bmm_r.csproj | 14 ++ .../X86_Avx512/Avx512Bmm/Avx512Bmm_ro.csproj | 14 ++ .../Avx512Bmm/HandwrittenProgram.cs | 158 ++++++++++++++++++ .../X86_Avx512/Avx512Bmm/Program.Avx512Bmm.cs | 16 ++ 21 files changed, 318 insertions(+), 7 deletions(-) create mode 100644 src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_r.csproj create mode 100644 src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_ro.csproj create mode 100644 src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_r.csproj create mode 100644 src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_ro.csproj create mode 100644 src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs create mode 100644 src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Program.Avx512Bmm.cs diff --git a/src/coreclr/inc/clrconfigvalues.h b/src/coreclr/inc/clrconfigvalues.h index c14b1d06987288..fd64be3df1b59f 100644 --- a/src/coreclr/inc/clrconfigvalues.h +++ b/src/coreclr/inc/clrconfigvalues.h @@ -678,6 +678,7 @@ RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableHWIntrinsic, W("EnableHWIntri RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableAVX, W("EnableAVX"), 1, "Allows AVX and dependent hardware intrinsics to be disabled") RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableAVX2, W("EnableAVX2"), 1, "Allows AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE and dependent hardware intrinsics to be disabled") RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableAVX512, W("EnableAVX512"), 1, "Allows AVX512 F+BW+CD+DQ+VL and depdendent hardware intrinsics to be disabled") +RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableAVX512BMM, W("EnableAVX512BMM"), 1, "Allows AVX512BMM and depdendent hardware intrinsics to be disabled") RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableAVX512v2, W("EnableAVX512v2"), 1, "Allows AVX512 IFMA+VBMI and depdendent hardware intrinsics to be disabled") RETAIL_CONFIG_DWORD_INFO(EXTERNAL_EnableAVX512v3, W("EnableAVX512v3"), 1, "Allows AVX512 BITALG+VBMI2+VNNI+VPOPCNTDQ and depdendent hardware intrinsics to be disabled") diff --git a/src/coreclr/inc/corinfoinstructionset.h b/src/coreclr/inc/corinfoinstructionset.h index 25c8fe5fb90877..0c2548a16a73f9 100644 --- a/src/coreclr/inc/corinfoinstructionset.h +++ b/src/coreclr/inc/corinfoinstructionset.h @@ -299,6 +299,8 @@ struct CORINFO_InstructionSetFlags AddInstructionSet(InstructionSet_WAITPKG_X64); if (HasInstructionSet(InstructionSet_X86Serialize)) AddInstructionSet(InstructionSet_X86Serialize_X64); + if (HasInstructionSet(InstructionSet_AVX512BMM)) + AddInstructionSet(InstructionSet_AVX512BMM); #endif // TARGET_AMD64 #ifdef TARGET_X86 #endif // TARGET_X86 diff --git a/src/coreclr/jit/emitxarch.cpp b/src/coreclr/jit/emitxarch.cpp index 80fd72b3ced9af..e0c302a75f5336 100644 --- a/src/coreclr/jit/emitxarch.cpp +++ b/src/coreclr/jit/emitxarch.cpp @@ -128,6 +128,7 @@ bool emitter::Is3OpRmwInstruction(instruction ins) { return ((ins >= FIRST_FMA_INSTRUCTION) && (ins <= LAST_FMA_INSTRUCTION)) || (IsAVXVNNIFamilyInstruction(ins)) || + ((ins >= FIRST_AVX512BMM_INSTRUCTION) && (ins <= LAST_AVX512BMM_INSTRUCTION)) || ((ins >= FIRST_AVXIFMA_INSTRUCTION) && (ins <= LAST_AVXIFMA_INSTRUCTION)); } } @@ -3104,7 +3105,7 @@ emitter::code_t emitter::emitExtractEvexPrefix(instruction ins, code_t& code) co // 0x0000RM11. leadingBytes = (code >> 16) & 0xFF; assert(leadingBytes == 0x0F || - (m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX10v2) && leadingBytes >= 0x00 && + ((m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX10v2) || emitComp->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)) && leadingBytes >= 0x00 && leadingBytes <= 0x07) || (IsApxExtendedEvexInstruction(ins) && leadingBytes == 0)); code &= 0xFFFF; @@ -3164,10 +3165,16 @@ emitter::code_t emitter::emitExtractEvexPrefix(instruction ins, code_t& code) co break; } + case 0x06: + { + assert(emitComp->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)); + evexPrefix |= (0x6 << 16); + break; + } + case 0x01: case 0x02: case 0x03: - case 0x06: case 0x07: default: { @@ -21377,6 +21384,15 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins break; } + case INS_vbmacor16x16x16: + case INS_vbmacxor16x16x16: + case INS_vbitrev: + { + result.insLatency = PERFSCORE_LATENCY_1C; + result.insThroughput = PERFSCORE_THROUGHPUT_1C; + break; + } + default: { assert((unsigned)ins < ArrLen(insThroughputInfos)); diff --git a/src/coreclr/jit/hwintrinsiccodegenxarch.cpp b/src/coreclr/jit/hwintrinsiccodegenxarch.cpp index 019553921e7431..39122daf72a8a9 100644 --- a/src/coreclr/jit/hwintrinsiccodegenxarch.cpp +++ b/src/coreclr/jit/hwintrinsiccodegenxarch.cpp @@ -911,6 +911,13 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node) break; } + case NI_AVX512BMM_Vbmacor16x16x16: + case NI_AVX512BMM_Vbmacxor16x16x16: + { + genHWIntrinsic_R_R_R_RM(ins, simdSize, targetReg, op1Reg, op2Reg, op3, instOptions); + break; + } + default: { unreached(); diff --git a/src/coreclr/jit/hwintrinsiclistxarch.h b/src/coreclr/jit/hwintrinsiclistxarch.h index c6624c2802a655..94604c812a117f 100644 --- a/src/coreclr/jit/hwintrinsiclistxarch.h +++ b/src/coreclr/jit/hwintrinsiclistxarch.h @@ -1092,9 +1092,11 @@ HARDWARE_INTRINSIC(AVX10v2, MultipleSumAbsoluteDifferences, HARDWARE_INTRINSIC(AVX10v2, StoreScalar, 16, 2, {INS_invalid, INS_invalid, INS_vmovw_simd, INS_vmovw_simd, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_MemoryStore, HW_Flag_NoRMWSemantics|HW_Flag_BaseTypeFromSecondArg) #define LAST_NI_AVX10v2 NI_AVX10v2_StoreScalar -#define FIRST_NI_AVX512BMM NI_AVX512BMM_Vbmacor16x16x16 +#define FIRST_NI_AVX512BMM NI_AVX512BMM_BitReverse +HARDWARE_INTRINSIC(AVX512BMM, BitReverse, -1, -1, {INS_invalid, INS_vbitrev, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) HARDWARE_INTRINSIC(AVX512BMM, Vbmacor16x16x16, -1, -1, {INS_invalid, INS_invalid, INS_vbmacor16x16x16, INS_vbmacor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) -#define LAST_NI_AVX512BMM NI_AVX512BMM_Vbmacor16x16x16 +HARDWARE_INTRINSIC(AVX512BMM, Vbmacxor16x16x16, -1, -1, {INS_invalid, INS_invalid, INS_vbmacxor16x16x16, INS_vbmacxor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) +#define LAST_NI_AVX512BMM NI_AVX512BMM_Vbmacxor16x16x16 // *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** // ISA Function name SIMD size NumArg Instructions Category Flags diff --git a/src/coreclr/jit/hwintrinsicxarch.cpp b/src/coreclr/jit/hwintrinsicxarch.cpp index 93c75e263682db..ec2d51c27a179b 100644 --- a/src/coreclr/jit/hwintrinsicxarch.cpp +++ b/src/coreclr/jit/hwintrinsicxarch.cpp @@ -215,6 +215,10 @@ CORINFO_InstructionSet Compiler::lookupInstructionSet(const char* className) { return InstructionSet_AVX512; } + else if (strcmp(className + 7, "mm") == 0) + { + return InstructionSet_AVX512BMM; + } } else if ((strcmp(className + 6, "CD") == 0) || (strcmp(className + 6, "DQ") == 0)) { diff --git a/src/coreclr/jit/instrsxarch.h b/src/coreclr/jit/instrsxarch.h index 96fe17144c74d9..efae88e02a76eb 100644 --- a/src/coreclr/jit/instrsxarch.h +++ b/src/coreclr/jit/instrsxarch.h @@ -1097,6 +1097,12 @@ INST3(vucomish, "vucomish", IUM_RD, BAD_CODE, BAD_ INST3(vp2intersectd, "vp2intersectd", IUM_WR, BAD_CODE, BAD_CODE, PSSE38(0xF2, 0x68), ILLEGAL, ILLEGAL, INS_TT_FULL, Input_32Bit | KMask_Base4 | REX_W0 | Encoding_EVEX) // Compute Intersection Between DWORDS to a Pair of Mask Registers INST3(vp2intersectq, "vp2intersectq", IUM_WR, BAD_CODE, BAD_CODE, PSSE38(0xF2, 0x68), ILLEGAL, ILLEGAL, INS_TT_FULL, Input_64Bit | KMask_Base2 | REX_W1 | Encoding_EVEX) // Compute Intersection Between QWORDS to a Pair of Mask Registers +#define FIRST_AVX512BMM_INSTRUCTION INS_vbmacor16x16x16 +INST3(vbmacor16x16x16, "vbmacor16x16x16", IUM_WR, BAD_CODE, BAD_CODE, PCKFLTMAP(0x06, 0x80), ILLEGAL, ILLEGAL, INS_TT_FULL_MEM, Input_16Bit | REX_W0 | Encoding_EVEX | INS_Flags_IsDstSrcSrcAVXInstruction) // Multiply Packed FP16 Values // Convert Scalar FP16 Value to Scalar Single Precision FP Value +INST3(vbmacxor16x16x16, "vbmacxor16x16x16", IUM_WR, BAD_CODE, BAD_CODE, PCKFLTMAP(0x06, 0x80), ILLEGAL, ILLEGAL, INS_TT_FULL_MEM, Input_16Bit | REX_W1 | Encoding_EVEX | INS_Flags_IsDstSrcSrcAVXInstruction) // Multiply Packed FP16 Values // Convert Scalar FP16 Value to Scalar Single Precision FP Value +INST3(vbitrev, "vbitrev", IUM_WR, BAD_CODE, BAD_CODE, PCKFLTMAP(0x06, 0x81), ILLEGAL, ILLEGAL, INS_TT_FULL_MEM, Input_8Bit | KMask_Base16 | REX_W0 | Encoding_EVEX ) // Multiply Packed FP16 Values // Convert Scalar FP16 Value to Scalar Single Precision FP Value +#define LAST_AVX512BMM_INSTRUCTION INS_vbitrev + // Instructions for AVX10v2 INST3(vcomxsd, "vcomxsd", IUM_RD, BAD_CODE, BAD_CODE, SSEFLT(0x2f), 3C, 1C, INS_TT_TUPLE1_SCALAR, Input_64Bit | REX_W1 | Encoding_EVEX | Writes_OF | Writes_SF | Writes_ZF | Writes_PF | Writes_CF | Resets_AF) // Compare double precision floating point values and set flags INST3(vcomxss, "vcomxss", IUM_RD, BAD_CODE, BAD_CODE, SSEDBL(0x2f), 3C, 1C, INS_TT_TUPLE1_SCALAR, Input_32Bit | REX_W0 | Encoding_EVEX | Writes_OF | Writes_SF | Writes_ZF | Writes_PF | Writes_CF | Resets_AF) // Compare single precision floating point values and set flags @@ -1131,7 +1137,6 @@ INST3(vucomxsd, "vucomxsd", IUM_RD, BAD_CODE, BAD_ INST3(vucomxss, "vucomxss", IUM_RD, BAD_CODE, BAD_CODE, SSEDBL(0x2E), 3C, 1C, INS_TT_TUPLE1_SCALAR, Input_32Bit | REX_W0 | Encoding_EVEX | Writes_OF | Writes_SF | Writes_ZF | Writes_PF | Writes_CF | Resets_AF) // Perform an unordered compare of single precision floating point values and set flags #define LAST_AVX512_INSTRUCTION INS_vucomxss -INST3(vbmacor16x16x16, "vbmacor16x16x16", IUM_WR, BAD_CODE, BAD_CODE, PCKFLTMAP(0x06, 0x80), ILLEGAL, ILLEGAL, INS_TT_FULL_MEM, Input_16Bit | KMask_Base8 | REX_W0 | Encoding_EVEX) // Multiply Packed FP16 Values // id nm um mr mi rm lat tp tt flags #define FIRST_APX_INSTRUCTION INS_ccmpo diff --git a/src/coreclr/jit/jitconfigvalues.h b/src/coreclr/jit/jitconfigvalues.h index 0ce78c2c314cad..f7d1c57b85d9f1 100644 --- a/src/coreclr/jit/jitconfigvalues.h +++ b/src/coreclr/jit/jitconfigvalues.h @@ -400,6 +400,7 @@ RELEASE_CONFIG_INTEGER(EnableHWIntrinsic, "EnableHWIntrinsic", RELEASE_CONFIG_INTEGER(EnableAVX, "EnableAVX", 1) // Allows AVX and dependent hardware intrinsics to be disabled RELEASE_CONFIG_INTEGER(EnableAVX2, "EnableAVX2", 1) // Allows AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE and dependent hardware intrinsics to be disabled RELEASE_CONFIG_INTEGER(EnableAVX512, "EnableAVX512", 1) // Allows AVX512 F+BW+CD+DQ+VL and depdendent hardware intrinsics to be disabled +RELEASE_CONFIG_INTEGER(EnableAVX512BMM, "EnableAVX512BMM", 1) // Allows AVX10v2 and depdendent hardware intrinsics to be disabled RELEASE_CONFIG_INTEGER(EnableAVX512v2, "EnableAVX512v2", 1) // Allows AVX512 IFMA+VBMI and depdendent hardware intrinsics to be disabled RELEASE_CONFIG_INTEGER(EnableAVX512v3, "EnableAVX512v3", 1) // Allows AVX512 BITALG+VBMI2+VNNI+VPOPCNTDQ and depdendent hardware intrinsics to be disabled diff --git a/src/coreclr/jit/lowerxarch.cpp b/src/coreclr/jit/lowerxarch.cpp index eb3edc5933402f..aa070590ae3d49 100644 --- a/src/coreclr/jit/lowerxarch.cpp +++ b/src/coreclr/jit/lowerxarch.cpp @@ -10281,7 +10281,8 @@ void Lowering::ContainCheckHWIntrinsic(GenTreeHWIntrinsic* node) default: { assert((intrinsicId == NI_X86Base_DivRem) || (intrinsicId == NI_X86Base_X64_DivRem) || - (intrinsicId >= FIRST_NI_AVXVNNI && intrinsicId <= LAST_NI_AVXVNNIINT_V512)); + (intrinsicId >= FIRST_NI_AVXVNNI && intrinsicId <= LAST_NI_AVXVNNIINT_V512) || + (intrinsicId >= FIRST_NI_AVX512BMM && intrinsicId <= LAST_NI_AVX512BMM)); TryMakeSrcContainedOrRegOptional(node, op3); break; } diff --git a/src/coreclr/vm/codeman.cpp b/src/coreclr/vm/codeman.cpp index a5aed03e99b042..e52fa2c6bdefec 100644 --- a/src/coreclr/vm/codeman.cpp +++ b/src/coreclr/vm/codeman.cpp @@ -1297,6 +1297,11 @@ void EEJitManager::SetCpuInfo() CPUCompileFlags.Set(InstructionSet_AVX512v3); } + if (((cpuFeatures & XArchIntrinsicConstants_AVX512Bmm) != 0) && CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_EnableAVX512BMM)) + { + CPUCompileFlags.Set(InstructionSet_AVX512BMM); + } + if (((cpuFeatures & XArchIntrinsicConstants_Avx10v1) != 0) && CLRConfig::GetConfigValue(CLRConfig::EXTERNAL_EnableAVX10v1)) { CPUCompileFlags.Set(InstructionSet_AVX10v1); diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs index 8987043597fe7e..272faf56e0e321 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs @@ -14,6 +14,12 @@ public abstract class Avx512Bmm : Avx512F /// A value of indicates that the APIs will throw . public static new bool IsSupported { [Intrinsic] get { return false; } } + public static Vector128 BitReverse(Vector128 x) { throw new PlatformNotSupportedException(); } + public static Vector256 BitReverse(Vector256 x) { throw new PlatformNotSupportedException(); } + public static Vector512 BitReverse(Vector512 x) { throw new PlatformNotSupportedException(); } public static Vector256 Vbmacor16x16x16(Vector256 x, Vector256 y, Vector256 z) { throw new PlatformNotSupportedException(); } + public static Vector512 Vbmacor16x16x16(Vector512 x, Vector512 y, Vector512 z) { throw new PlatformNotSupportedException(); } + public static Vector256 Vbmacxor16x16x16(Vector256 x, Vector256 y, Vector256 z) { throw new PlatformNotSupportedException(); } + public static Vector512 Vbmacxor16x16x16(Vector512 x, Vector512 y, Vector512 z) { throw new PlatformNotSupportedException(); } } } diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs index bd531fed05adcf..3920e266f46171 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs @@ -16,8 +16,13 @@ internal Avx512Bmm() { } /// if the APIs are supported; otherwise, . /// A value of indicates that the APIs will throw . public static new bool IsSupported { get => IsSupported; } + public static Vector128 BitReverse(Vector128 x) => BitReverse(x); + public static Vector256 BitReverse(Vector256 x) => BitReverse(x); + public static Vector512 BitReverse(Vector512 x) => BitReverse(x); public static Vector256 Vbmacor16x16x16(Vector256 x, Vector256 y, Vector256 z) => Vbmacor16x16x16(x, y, z); - + public static Vector512 Vbmacor16x16x16(Vector512 x, Vector512 y, Vector512 z) => Vbmacor16x16x16(x, y, z); + public static Vector256 Vbmacxor16x16x16(Vector256 x, Vector256 y, Vector256 z) => Vbmacxor16x16x16(x, y, z); + public static Vector512 Vbmacxor16x16x16(Vector512 x, Vector512 y, Vector512 z) => Vbmacxor16x16x16(x, y, z); [Intrinsic] public new abstract class X64 : Avx512F.X64 { diff --git a/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs b/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs index a1f06da80d0c81..3ddc4875136244 100644 --- a/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs +++ b/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs @@ -8580,6 +8580,25 @@ internal V512() { } } } + [System.CLSCompliantAttribute(false)] + public abstract partial class Avx512Bmm : System.Runtime.Intrinsics.X86.Avx512F + { + internal Avx512Bmm() { } + public static new bool IsSupported { get { throw null; } } + public static System.Runtime.Intrinsics.Vector128 BitReverse(System.Runtime.Intrinsics.Vector128 x) { throw null; } + public static System.Runtime.Intrinsics.Vector256 BitReverse(System.Runtime.Intrinsics.Vector256 x) { throw null; } + public static System.Runtime.Intrinsics.Vector512 BitReverse(System.Runtime.Intrinsics.Vector512 x) { throw null; } + public static System.Runtime.Intrinsics.Vector256 Vbmacor16x16x16(System.Runtime.Intrinsics.Vector256 x, System.Runtime.Intrinsics.Vector256 y, System.Runtime.Intrinsics.Vector256 z) { throw null; } + public static System.Runtime.Intrinsics.Vector512 Vbmacor16x16x16(System.Runtime.Intrinsics.Vector512 x, System.Runtime.Intrinsics.Vector512 y, System.Runtime.Intrinsics.Vector512 z) { throw null; } + public static System.Runtime.Intrinsics.Vector256 Vbmacxor16x16x16(System.Runtime.Intrinsics.Vector256 x, System.Runtime.Intrinsics.Vector256 y, System.Runtime.Intrinsics.Vector256 z) { throw null; } + public static System.Runtime.Intrinsics.Vector512 Vbmacxor16x16x16(System.Runtime.Intrinsics.Vector512 x, System.Runtime.Intrinsics.Vector512 y, System.Runtime.Intrinsics.Vector512 z) { throw null; } + public new abstract partial class X64 : System.Runtime.Intrinsics.X86.Avx512F.X64 + { + internal X64() { } + public static new bool IsSupported { get { throw null; } } + } + } + [System.CLSCompliantAttribute(false)] public abstract partial class Avx512BW : System.Runtime.Intrinsics.X86.Avx512F { diff --git a/src/native/minipal/cpufeatures.c b/src/native/minipal/cpufeatures.c index 5b12f4fc76babf..416e607d83dc0d 100644 --- a/src/native/minipal/cpufeatures.c +++ b/src/native/minipal/cpufeatures.c @@ -446,6 +446,12 @@ int minipal_getcpufeatures(void) } } } + + __cpuidex(cpuidInfo, 0x80000021, 0x0); + if ((cpuidInfo[CPUID_EAX] & (1 << 23)) != 0) + { + result |= XArchIntrinsicConstants_AVX512Bmm; + } } #endif // HOST_X86 || HOST_AMD64 diff --git a/src/native/minipal/cpufeatures.h b/src/native/minipal/cpufeatures.h index eebdcae905b0f5..66ac726259b7a7 100644 --- a/src/native/minipal/cpufeatures.h +++ b/src/native/minipal/cpufeatures.h @@ -30,6 +30,7 @@ #define XArchIntrinsicConstants_Vaes (1 << 15) #define XArchIntrinsicConstants_WaitPkg (1 << 16) #define XArchIntrinsicConstants_X86Serialize (1 << 17) +#define XArchIntrinsicConstants_AVX512Bmm (1 << 18) #endif // HOST_X86 || HOST_AMD64 #if defined(HOST_ARM64) diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_r.csproj b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_r.csproj new file mode 100644 index 00000000000000..2a11e21688bd2d --- /dev/null +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_r.csproj @@ -0,0 +1,14 @@ + + + X86_Avx512Bmm_handwritten_r + true + + + Embedded + + + + + + + diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_ro.csproj b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_ro.csproj new file mode 100644 index 00000000000000..5fc89423c0c5e6 --- /dev/null +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_handwritten_ro.csproj @@ -0,0 +1,14 @@ + + + X86_Avx512Bmm_handwritten_ro + true + + + Embedded + True + + + + + + diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_r.csproj b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_r.csproj new file mode 100644 index 00000000000000..518b8773b33296 --- /dev/null +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_r.csproj @@ -0,0 +1,14 @@ + + + X86_Avx512Bmm_r + true + + + Embedded + + + + + + + diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_ro.csproj b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_ro.csproj new file mode 100644 index 00000000000000..02c9a4d59b417b --- /dev/null +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Avx512Bmm_ro.csproj @@ -0,0 +1,14 @@ + + + X86_Avx512Bmm_ro + true + + + Embedded + True + + + + + + diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs new file mode 100644 index 00000000000000..455a069c17a090 --- /dev/null +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs @@ -0,0 +1,158 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; +using System.Collections.Generic; +using System.Runtime.Intrinsics; +using System.Runtime.Intrinsics.X86; +using Xunit; + +namespace JIT.HardwareIntrinsics.X86._Avx512Bmm +{ + public static partial class Program + { + static Program() + { + + } + + [Fact] + public static void CheckSupported() + { + (int Eax, int Ebx, int Ecx, int Edx) = X86Base.CpuId(unchecked((int)0x80000021), (int)0x0); + bool isSupported = (Eax & (1 << 23)) != 0; + Assert.Equal(isSupported, Avx512Bmm.IsSupported); + } + + [Fact] + public static void Vbmacor16x16x16_Vector256() + { + if (!Avx512Bmm.IsSupported) return; + Vector256 x = Vector256.Create((ushort)0x1); + Vector256 y = Vector256.Create((ushort)0x1); + Vector256 z = Vector256.Create((ushort)0x1011); + Vector256 result = Avx512Bmm.Vbmacor16x16x16(x, y, z); + Assert.Equal(result, Vector256.Create((ushort)0x1011)); + } + + [Fact] + public static void Vbmacor16x16x16_Vector512() + { + if (!Avx512Bmm.IsSupported) return; + Vector512 x = Vector512.Create((ushort)0x1); + Vector512 y = Vector512.Create((ushort)0x1); + Vector512 z = Vector512.Create((ushort)0x1011); + Vector512 result = Avx512Bmm.Vbmacor16x16x16(x, y, z); + Assert.Equal(result, Vector512.Create((ushort)0x1011)); + } + + [Fact] + public static void Vbmacxor16x16x16_Vector256() + { + if (!Avx512Bmm.IsSupported) return; + Vector256 x = Vector256.Create((ushort)0x1); + Vector256 y = Vector256.Create((ushort)0x1); + Vector256 z = Vector256.Create((ushort)0x1011); + Vector256 result = Avx512Bmm.Vbmacxor16x16x16(x, y, z); + Assert.Equal(result, Vector256.Create((ushort)0x1010)); + } + + [Fact] + public static void Vbmacxor16x16x16_Vector512() + { + if (!Avx512Bmm.IsSupported) return; + Vector512 x = Vector512.Create((ushort)0x1); + Vector512 y = Vector512.Create((ushort)0x1); + Vector512 z = Vector512.Create((ushort)0x1011); + Vector512 result = Avx512Bmm.Vbmacxor16x16x16(x, y, z); + Assert.Equal(result, Vector512.Create((ushort)0x1010)); + } + + [Fact] + public static void BitReverse_Vector128() + { + if (!Avx512Bmm.IsSupported) return; + Vector128 x = Vector128.Create((byte)0xAA); + Vector128 y = Avx512Bmm.BitReverse(x); + Assert.Equal(y, Vector128.Create((byte)0x55)); + } + + [Fact] + public static void BitReverse_Vector128_Mask() + { + if (!Avx512Bmm.IsSupported) return; + Vector128 x = Vector128.Create((byte)0xAA); + Vector128 mask = Vector128.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + Vector128 y = Avx512BW.BlendVariable(x, Avx512Bmm.BitReverse(x), mask); + Assert.Equal(y, Vector128.Create((byte)0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA)); + } + + [Fact] + public static void BitReverse_Vector128_Maskz() + { + if (!Avx512Bmm.IsSupported) return; + Vector128 x = Vector128.Create((byte)0xAA); + Vector128 mask = Vector128.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + Vector128 y = Avx512BW.BlendVariable(Vector128.Zero, Avx512Bmm.BitReverse(x), mask); + Assert.Equal(y, Vector128.Create((byte)0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); + } + + [Fact] + public static void BitReverse_Vector256() + { + if (!Avx512Bmm.IsSupported) return; + Vector256 x = Vector256.Create((byte)0xAA); + Vector256 y = Avx512Bmm.BitReverse(x); + Assert.Equal(y, Vector256.Create((byte)0x55)); + } + + [Fact] + public static void BitReverse_Vector256_Mask() + { + if (!Avx512Bmm.IsSupported) return; + Vector256 x = Vector256.Create((byte)0xAA); + Vector256 mask = Vector256.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + Vector256 y = Avx512BW.BlendVariable(x, Avx512Bmm.BitReverse(x), mask); + Assert.Equal(y, Vector256.Create((byte)0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA)); + } + + [Fact] + public static void BitReverse_Vector256_Maskz() + { + if (!Avx512Bmm.IsSupported) return; + Vector256 x = Vector256.Create((byte)0xAA); + Vector256 mask = Vector256.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + Vector256 y = Avx512BW.BlendVariable(Vector256.Zero, Avx512Bmm.BitReverse(x), mask); + Assert.Equal(y, Vector256.Create((byte)0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); + } + + [Fact] + public static void BitReverse_Vector512() + { + if (!Avx512Bmm.IsSupported) return; + Vector512 x = Vector512.Create((byte)0xAA); + Vector512 y = Avx512Bmm.BitReverse(x); + Assert.Equal(y, Vector512.Create((byte)0x55)); + } + + [Fact] + public static void BitReverse_Vector512_Mask() + { + if (!Avx512Bmm.IsSupported) return; + Vector512 x = Vector512.Create((byte)0xAA); + Vector512 mask = Vector512.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + Vector512 y = Avx512BW.BlendVariable(x, Avx512Bmm.BitReverse(x), mask); + Assert.Equal(y, Vector512.Create((byte)0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA)); + } + + [Fact] + public static void BitReverse_Vector512_Maskz() + { + if (!Avx512Bmm.IsSupported) return; + Vector512 x = Vector512.Create((byte)0xAA); + Vector512 mask = Vector512.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); + Vector512 y = Avx512BW.BlendVariable(Vector512.Zero, Avx512Bmm.BitReverse(x), mask); + Assert.Equal(y, Vector512.Create((byte)0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); + } + } +} diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Program.Avx512Bmm.cs b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Program.Avx512Bmm.cs new file mode 100644 index 00000000000000..f7eced3e0f9e4c --- /dev/null +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/Program.Avx512Bmm.cs @@ -0,0 +1,16 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; +using System.Collections.Generic; + +namespace JIT.HardwareIntrinsics.X86._Avx512Bmm +{ + public static partial class Program + { + static Program() + { + + } + } +} From bc2b3c2ac0db0a85db1bf8fe746c5413588ae269 Mon Sep 17 00:00:00 2001 From: "Alex Covington (Advanced Micro Devices Inc)" Date: Thu, 19 Feb 2026 13:17:22 -0800 Subject: [PATCH 3/7] Adjust API to match approved version, updated tests --- src/coreclr/jit/hwintrinsiccodegenxarch.cpp | 4 +- src/coreclr/jit/hwintrinsiclistxarch.h | 10 +- .../X86/Avx512Bmm.PlatformNotSupported.cs | 48 +++++- .../Runtime/Intrinsics/X86/Avx512Bmm.cs | 50 +++++- .../ref/System.Runtime.Intrinsics.cs | 14 +- .../Avx512Bmm/HandwrittenProgram.cs | 150 ++++++++++++++---- 6 files changed, 213 insertions(+), 63 deletions(-) diff --git a/src/coreclr/jit/hwintrinsiccodegenxarch.cpp b/src/coreclr/jit/hwintrinsiccodegenxarch.cpp index 39122daf72a8a9..93f7b08bbf53a9 100644 --- a/src/coreclr/jit/hwintrinsiccodegenxarch.cpp +++ b/src/coreclr/jit/hwintrinsiccodegenxarch.cpp @@ -911,8 +911,8 @@ void CodeGen::genHWIntrinsic(GenTreeHWIntrinsic* node) break; } - case NI_AVX512BMM_Vbmacor16x16x16: - case NI_AVX512BMM_Vbmacxor16x16x16: + case NI_AVX512BMM_BitMultiplyMatrix16x16WithOrReduction: + case NI_AVX512BMM_BitMultiplyMatrix16x16WithXorReduction: { genHWIntrinsic_R_R_R_RM(ins, simdSize, targetReg, op1Reg, op2Reg, op3, instOptions); break; diff --git a/src/coreclr/jit/hwintrinsiclistxarch.h b/src/coreclr/jit/hwintrinsiclistxarch.h index 94604c812a117f..0dbc14ddd92916 100644 --- a/src/coreclr/jit/hwintrinsiclistxarch.h +++ b/src/coreclr/jit/hwintrinsiclistxarch.h @@ -1092,11 +1092,11 @@ HARDWARE_INTRINSIC(AVX10v2, MultipleSumAbsoluteDifferences, HARDWARE_INTRINSIC(AVX10v2, StoreScalar, 16, 2, {INS_invalid, INS_invalid, INS_vmovw_simd, INS_vmovw_simd, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_MemoryStore, HW_Flag_NoRMWSemantics|HW_Flag_BaseTypeFromSecondArg) #define LAST_NI_AVX10v2 NI_AVX10v2_StoreScalar -#define FIRST_NI_AVX512BMM NI_AVX512BMM_BitReverse -HARDWARE_INTRINSIC(AVX512BMM, BitReverse, -1, -1, {INS_invalid, INS_vbitrev, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) -HARDWARE_INTRINSIC(AVX512BMM, Vbmacor16x16x16, -1, -1, {INS_invalid, INS_invalid, INS_vbmacor16x16x16, INS_vbmacor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) -HARDWARE_INTRINSIC(AVX512BMM, Vbmacxor16x16x16, -1, -1, {INS_invalid, INS_invalid, INS_vbmacxor16x16x16, INS_vbmacxor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) -#define LAST_NI_AVX512BMM NI_AVX512BMM_Vbmacxor16x16x16 +#define FIRST_NI_AVX512BMM NI_AVX512BMM_BitMultiplyMatrix16x16WithOrReduction +HARDWARE_INTRINSIC(AVX512BMM, BitMultiplyMatrix16x16WithOrReduction, -1, -1, {INS_invalid, INS_invalid, INS_vbmacor16x16x16, INS_vbmacor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) +HARDWARE_INTRINSIC(AVX512BMM, BitMultiplyMatrix16x16WithXorReduction, -1, -1, {INS_invalid, INS_invalid, INS_vbmacxor16x16x16, INS_vbmacxor16x16x16, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) +HARDWARE_INTRINSIC(AVX512BMM, ReverseBits, -1, -1, {INS_invalid, INS_vbitrev, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid, INS_invalid}, HW_Category_SimpleSIMD, HW_Flag_BaseTypeFromFirstArg) +#define LAST_NI_AVX512BMM NI_AVX512BMM_ReverseBits // *************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** // ISA Function name SIMD size NumArg Instructions Category Flags diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs index 272faf56e0e321..5e331d0ab6ce56 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.PlatformNotSupported.cs @@ -14,12 +14,46 @@ public abstract class Avx512Bmm : Avx512F /// A value of indicates that the APIs will throw . public static new bool IsSupported { [Intrinsic] get { return false; } } - public static Vector128 BitReverse(Vector128 x) { throw new PlatformNotSupportedException(); } - public static Vector256 BitReverse(Vector256 x) { throw new PlatformNotSupportedException(); } - public static Vector512 BitReverse(Vector512 x) { throw new PlatformNotSupportedException(); } - public static Vector256 Vbmacor16x16x16(Vector256 x, Vector256 y, Vector256 z) { throw new PlatformNotSupportedException(); } - public static Vector512 Vbmacor16x16x16(Vector512 x, Vector512 y, Vector512 z) { throw new PlatformNotSupportedException(); } - public static Vector256 Vbmacxor16x16x16(Vector256 x, Vector256 y, Vector256 z) { throw new PlatformNotSupportedException(); } - public static Vector512 Vbmacxor16x16x16(Vector512 x, Vector512 y, Vector512 z) { throw new PlatformNotSupportedException(); } + /// + /// __m128i _mm_bitrev_epi8 (__m128i values) + /// VBITREV xmm1{k1}{z}, xmm2/m128 + /// + public static Vector128 ReverseBits(Vector128 values) { throw new PlatformNotSupportedException(); } + + /// + /// __m256i _mm256_bitrev_epi8 (__m256i values) + /// VBITREV ymm1{k1}{z}, ymm2/m256 + /// + public static Vector256 ReverseBits(Vector256 values) { throw new PlatformNotSupportedException(); } + + /// + /// __m512i _mm512_bitrev_epi8 (__m512i values) + /// VBITREV zmm1{k1}{z}, zmm2/m512 + /// + public static Vector512 ReverseBits(Vector512 values) { throw new PlatformNotSupportedException(); } + + /// + /// __m256i _mm256_bmacor16x16x16 (__m256i left, __m256i right, __m256i addend) + /// VBMACOR16x16x16 ymm1, ymm2, ymm3/m256 + /// + public static Vector256 BitMultiplyMatrix16x16WithOrReduction(Vector256 left, Vector256 right, Vector256 addend) { throw new PlatformNotSupportedException(); } + + /// + /// __m512i _mm512_bmacor16x16x16 (__m512i left, __m512i right, __m512i addend) + /// VBMACOR16x16x16 zmm1, zmm2, zmm3/m256 + /// + public static Vector512 BitMultiplyMatrix16x16WithOrReduction(Vector512 left, Vector512 right, Vector512 addend) { throw new PlatformNotSupportedException(); } + + /// + /// __m256i _mm256_bmacxor16x16x16 (__m256i left, __m256i right, __m256i addend) + /// VBMACXOR16x16x16 ymm1, ymm2, ymm3/m256 + /// + public static Vector256 BitMultiplyMatrix16x16WithXorReduction(Vector256 left, Vector256 right, Vector256 addend) { throw new PlatformNotSupportedException(); } + + /// + /// __m512i _mm512_bmacxor16x16x16 (__m512i left, __m512i right, __m512i addend) + /// VBMACXOR16x16x16 zmm1, zmm2, zmm3/m256 + /// + public static Vector512 BitMultiplyMatrix16x16WithXorReduction(Vector512 left, Vector512 right, Vector512 addend) { throw new PlatformNotSupportedException(); } } } diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs index 3920e266f46171..ef299da60811df 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/X86/Avx512Bmm.cs @@ -16,13 +16,49 @@ internal Avx512Bmm() { } /// if the APIs are supported; otherwise, . /// A value of indicates that the APIs will throw . public static new bool IsSupported { get => IsSupported; } - public static Vector128 BitReverse(Vector128 x) => BitReverse(x); - public static Vector256 BitReverse(Vector256 x) => BitReverse(x); - public static Vector512 BitReverse(Vector512 x) => BitReverse(x); - public static Vector256 Vbmacor16x16x16(Vector256 x, Vector256 y, Vector256 z) => Vbmacor16x16x16(x, y, z); - public static Vector512 Vbmacor16x16x16(Vector512 x, Vector512 y, Vector512 z) => Vbmacor16x16x16(x, y, z); - public static Vector256 Vbmacxor16x16x16(Vector256 x, Vector256 y, Vector256 z) => Vbmacxor16x16x16(x, y, z); - public static Vector512 Vbmacxor16x16x16(Vector512 x, Vector512 y, Vector512 z) => Vbmacxor16x16x16(x, y, z); + + /// + /// __m128i _mm_bitrev_epi8 (__m128i values) + /// VBITREV xmm1{k1}{z}, xmm2/m128 + /// + public static Vector128 ReverseBits(Vector128 values) => ReverseBits(values); + + /// + /// __m256i _mm256_bitrev_epi8 (__m256i values) + /// VBITREV ymm1{k1}{z}, ymm2/m256 + /// + public static Vector256 ReverseBits(Vector256 values) => ReverseBits(values); + + /// + /// __m512i _mm512_bitrev_epi8 (__m512i values) + /// VBITREV zmm1{k1}{z}, zmm2/m512 + /// + public static Vector512 ReverseBits(Vector512 values) => ReverseBits(values); + + /// + /// __m256i _mm256_bmacor16x16x16 (__m256i left, __m256i right, __m256i addend) + /// VBMACOR16x16x16 ymm1, ymm2, ymm3/m256 + /// + public static Vector256 BitMultiplyMatrix16x16WithOrReduction(Vector256 left, Vector256 right, Vector256 addend) => BitMultiplyMatrix16x16WithOrReduction(left, right, addend); + + /// + /// __m512i _mm512_bmacor16x16x16 (__m512i left, __m512i right, __m512i addend) + /// VBMACOR16x16x16 zmm1, zmm2, zmm3/m256 + /// + public static Vector512 BitMultiplyMatrix16x16WithOrReduction(Vector512 left, Vector512 right, Vector512 addend) => BitMultiplyMatrix16x16WithOrReduction(left, right, addend); + + /// + /// __m256i _mm256_bmacxor16x16x16 (__m256i left, __m256i right, __m256i addend) + /// VBMACXOR16x16x16 ymm1, ymm2, ymm3/m256 + /// + public static Vector256 BitMultiplyMatrix16x16WithXorReduction(Vector256 left, Vector256 right, Vector256 addend) => BitMultiplyMatrix16x16WithXorReduction(left, right, addend); + + /// + /// __m512i _mm512_bmacxor16x16x16 (__m512i left, __m512i right, __m512i addend) + /// VBMACXOR16x16x16 zmm1, zmm2, zmm3/m256 + /// + public static Vector512 BitMultiplyMatrix16x16WithXorReduction(Vector512 left, Vector512 right, Vector512 addend) => BitMultiplyMatrix16x16WithXorReduction(left, right, addend); + [Intrinsic] public new abstract class X64 : Avx512F.X64 { diff --git a/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs b/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs index 3ddc4875136244..ce3788b2323036 100644 --- a/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs +++ b/src/libraries/System.Runtime.Intrinsics/ref/System.Runtime.Intrinsics.cs @@ -8585,13 +8585,13 @@ public abstract partial class Avx512Bmm : System.Runtime.Intrinsics.X86.Avx512F { internal Avx512Bmm() { } public static new bool IsSupported { get { throw null; } } - public static System.Runtime.Intrinsics.Vector128 BitReverse(System.Runtime.Intrinsics.Vector128 x) { throw null; } - public static System.Runtime.Intrinsics.Vector256 BitReverse(System.Runtime.Intrinsics.Vector256 x) { throw null; } - public static System.Runtime.Intrinsics.Vector512 BitReverse(System.Runtime.Intrinsics.Vector512 x) { throw null; } - public static System.Runtime.Intrinsics.Vector256 Vbmacor16x16x16(System.Runtime.Intrinsics.Vector256 x, System.Runtime.Intrinsics.Vector256 y, System.Runtime.Intrinsics.Vector256 z) { throw null; } - public static System.Runtime.Intrinsics.Vector512 Vbmacor16x16x16(System.Runtime.Intrinsics.Vector512 x, System.Runtime.Intrinsics.Vector512 y, System.Runtime.Intrinsics.Vector512 z) { throw null; } - public static System.Runtime.Intrinsics.Vector256 Vbmacxor16x16x16(System.Runtime.Intrinsics.Vector256 x, System.Runtime.Intrinsics.Vector256 y, System.Runtime.Intrinsics.Vector256 z) { throw null; } - public static System.Runtime.Intrinsics.Vector512 Vbmacxor16x16x16(System.Runtime.Intrinsics.Vector512 x, System.Runtime.Intrinsics.Vector512 y, System.Runtime.Intrinsics.Vector512 z) { throw null; } + public static System.Runtime.Intrinsics.Vector128 ReverseBits(System.Runtime.Intrinsics.Vector128 values) { throw null; } + public static System.Runtime.Intrinsics.Vector256 ReverseBits(System.Runtime.Intrinsics.Vector256 values) { throw null; } + public static System.Runtime.Intrinsics.Vector512 ReverseBits(System.Runtime.Intrinsics.Vector512 values) { throw null; } + public static System.Runtime.Intrinsics.Vector256 BitMultiplyMatrix16x16WithOrReduction(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right, System.Runtime.Intrinsics.Vector256 addend) { throw null; } + public static System.Runtime.Intrinsics.Vector512 BitMultiplyMatrix16x16WithOrReduction(System.Runtime.Intrinsics.Vector512 left, System.Runtime.Intrinsics.Vector512 right, System.Runtime.Intrinsics.Vector512 addend) { throw null; } + public static System.Runtime.Intrinsics.Vector256 BitMultiplyMatrix16x16WithXorReduction(System.Runtime.Intrinsics.Vector256 left, System.Runtime.Intrinsics.Vector256 right, System.Runtime.Intrinsics.Vector256 addend) { throw null; } + public static System.Runtime.Intrinsics.Vector512 BitMultiplyMatrix16x16WithXorReduction(System.Runtime.Intrinsics.Vector512 left, System.Runtime.Intrinsics.Vector512 right, System.Runtime.Intrinsics.Vector512 addend) { throw null; } public new abstract partial class X64 : System.Runtime.Intrinsics.X86.Avx512F.X64 { internal X64() { } diff --git a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs index 455a069c17a090..b17cc98976fab2 100644 --- a/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs +++ b/src/tests/JIT/HardwareIntrinsics/X86_Avx512/Avx512Bmm/HandwrittenProgram.cs @@ -6,6 +6,8 @@ using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; using Xunit; +using System.Runtime.CompilerServices; + namespace JIT.HardwareIntrinsics.X86._Avx512Bmm { @@ -16,142 +18,220 @@ static Program() } - [Fact] - public static void CheckSupported() + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector256 BitMultiplyMatrix16x16WithOrReduction_Vector256(Vector256 x, Vector256 y, Vector256 z) + { + return Avx512Bmm.BitMultiplyMatrix16x16WithOrReduction(x, y, z); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector512 BitMultiplyMatrix16x16WithOrReduction_Vector512(Vector512 x, Vector512 y, Vector512 z) + { + return Avx512Bmm.BitMultiplyMatrix16x16WithOrReduction(x, y, z); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector256 BitMultiplyMatrix16x16WithXorReduction_Vector256(Vector256 x, Vector256 y, Vector256 z) + { + return Avx512Bmm.BitMultiplyMatrix16x16WithXorReduction(x, y, z); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector512 BitMultiplyMatrix16x16WithXorReduction_Vector512(Vector512 x, Vector512 y, Vector512 z) + { + return Avx512Bmm.BitMultiplyMatrix16x16WithXorReduction(x, y, z); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector128 ReverseBits_Vector128(Vector128 values) + { + return Avx512Bmm.ReverseBits(values); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector256 ReverseBits_Vector256(Vector256 values) + { + return Avx512Bmm.ReverseBits(values); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector512 ReverseBits_Vector512(Vector512 values) + { + return Avx512Bmm.ReverseBits(values); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector128 ReverseBits_Mask_Vector128(Vector128 values, Vector128 mask) + { + return Avx512BW.BlendVariable(values, Avx512Bmm.ReverseBits(values), mask); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector256 ReverseBits_Mask_Vector256(Vector256 values, Vector256 mask) + { + return Avx512BW.BlendVariable(values, Avx512Bmm.ReverseBits(values), mask); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector512 ReverseBits_Mask_Vector512(Vector512 values, Vector512 mask) + { + return Avx512BW.BlendVariable(values, Avx512Bmm.ReverseBits(values), mask); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector128 ReverseBits_Maskz_Vector128(Vector128 values, Vector128 mask) + { + return Avx512BW.BlendVariable(Vector128.Zero, Avx512Bmm.ReverseBits(values), mask); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector256 ReverseBits_Maskz_Vector256(Vector256 values, Vector256 mask) + { + return Avx512BW.BlendVariable(Vector256.Zero, Avx512Bmm.ReverseBits(values), mask); + } + + [MethodImpl(MethodImplOptions.NoInlining)] + private static Vector512 ReverseBits_Maskz_Vector512(Vector512 values, Vector512 mask) + { + return Avx512BW.BlendVariable(Vector512.Zero, Avx512Bmm.ReverseBits(values), mask); + } + + [Fact] + public static void CheckSupported() { (int Eax, int Ebx, int Ecx, int Edx) = X86Base.CpuId(unchecked((int)0x80000021), (int)0x0); bool isSupported = (Eax & (1 << 23)) != 0; Assert.Equal(isSupported, Avx512Bmm.IsSupported); } - [Fact] - public static void Vbmacor16x16x16_Vector256() - { + [Fact] + public static void BitMultiplyMatrix16x16WithOrReduction_Vector256_Test() + { if (!Avx512Bmm.IsSupported) return; - Vector256 x = Vector256.Create((ushort)0x1); - Vector256 y = Vector256.Create((ushort)0x1); - Vector256 z = Vector256.Create((ushort)0x1011); - Vector256 result = Avx512Bmm.Vbmacor16x16x16(x, y, z); - Assert.Equal(result, Vector256.Create((ushort)0x1011)); - } + Vector256 x = Vector256.Create((ushort)0x1); + Vector256 y = Vector256.Create((ushort)0x1); + Vector256 z = Vector256.Create((ushort)0x1011); + Vector256 result = BitMultiplyMatrix16x16WithOrReduction_Vector256(x, y, z); + Assert.Equal(result, Vector256.Create((ushort)0x1011)); + } [Fact] - public static void Vbmacor16x16x16_Vector512() + public static void BitMultiplyMatrix16x16WithOrReduction_Vector512_Test() { if (!Avx512Bmm.IsSupported) return; Vector512 x = Vector512.Create((ushort)0x1); Vector512 y = Vector512.Create((ushort)0x1); Vector512 z = Vector512.Create((ushort)0x1011); - Vector512 result = Avx512Bmm.Vbmacor16x16x16(x, y, z); + Vector512 result = BitMultiplyMatrix16x16WithOrReduction_Vector512(x, y, z); Assert.Equal(result, Vector512.Create((ushort)0x1011)); } [Fact] - public static void Vbmacxor16x16x16_Vector256() + public static void BitMultiplyMatrix16x16WithXorReduction_Vector256_Test() { if (!Avx512Bmm.IsSupported) return; Vector256 x = Vector256.Create((ushort)0x1); Vector256 y = Vector256.Create((ushort)0x1); Vector256 z = Vector256.Create((ushort)0x1011); - Vector256 result = Avx512Bmm.Vbmacxor16x16x16(x, y, z); + Vector256 result = BitMultiplyMatrix16x16WithXorReduction_Vector256(x, y, z); Assert.Equal(result, Vector256.Create((ushort)0x1010)); } [Fact] - public static void Vbmacxor16x16x16_Vector512() + public static void BitMultiplyMatrix16x16WithXorReduction_Vector512_Test() { if (!Avx512Bmm.IsSupported) return; Vector512 x = Vector512.Create((ushort)0x1); Vector512 y = Vector512.Create((ushort)0x1); Vector512 z = Vector512.Create((ushort)0x1011); - Vector512 result = Avx512Bmm.Vbmacxor16x16x16(x, y, z); + Vector512 result = BitMultiplyMatrix16x16WithXorReduction_Vector512(x, y, z); Assert.Equal(result, Vector512.Create((ushort)0x1010)); } [Fact] - public static void BitReverse_Vector128() + public static void ReverseBits_Vector128_Test() { if (!Avx512Bmm.IsSupported) return; Vector128 x = Vector128.Create((byte)0xAA); - Vector128 y = Avx512Bmm.BitReverse(x); + Vector128 y = ReverseBits_Vector128(x); Assert.Equal(y, Vector128.Create((byte)0x55)); } [Fact] - public static void BitReverse_Vector128_Mask() + public static void ReverseBits_Vector128_Mask_Test() { if (!Avx512Bmm.IsSupported) return; Vector128 x = Vector128.Create((byte)0xAA); Vector128 mask = Vector128.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); - Vector128 y = Avx512BW.BlendVariable(x, Avx512Bmm.BitReverse(x), mask); + Vector128 y = ReverseBits_Mask_Vector128(x, mask); Assert.Equal(y, Vector128.Create((byte)0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA)); } [Fact] - public static void BitReverse_Vector128_Maskz() + public static void ReverseBits_Vector128_Maskz_Test() { if (!Avx512Bmm.IsSupported) return; Vector128 x = Vector128.Create((byte)0xAA); Vector128 mask = Vector128.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); - Vector128 y = Avx512BW.BlendVariable(Vector128.Zero, Avx512Bmm.BitReverse(x), mask); + Vector128 y = ReverseBits_Maskz_Vector128(x, mask); Assert.Equal(y, Vector128.Create((byte)0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); } [Fact] - public static void BitReverse_Vector256() + public static void ReverseBits_Vector256_Test() { if (!Avx512Bmm.IsSupported) return; Vector256 x = Vector256.Create((byte)0xAA); - Vector256 y = Avx512Bmm.BitReverse(x); + Vector256 y = ReverseBits_Vector256(x); Assert.Equal(y, Vector256.Create((byte)0x55)); } [Fact] - public static void BitReverse_Vector256_Mask() + public static void ReverseBits_Vector256_Mask_Test() { if (!Avx512Bmm.IsSupported) return; Vector256 x = Vector256.Create((byte)0xAA); Vector256 mask = Vector256.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); - Vector256 y = Avx512BW.BlendVariable(x, Avx512Bmm.BitReverse(x), mask); + Vector256 y = ReverseBits_Mask_Vector256(x, mask); Assert.Equal(y, Vector256.Create((byte)0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA)); } [Fact] - public static void BitReverse_Vector256_Maskz() + public static void ReverseBits_Vector256_Maskz_Test() { if (!Avx512Bmm.IsSupported) return; Vector256 x = Vector256.Create((byte)0xAA); Vector256 mask = Vector256.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); - Vector256 y = Avx512BW.BlendVariable(Vector256.Zero, Avx512Bmm.BitReverse(x), mask); + Vector256 y = ReverseBits_Maskz_Vector256(x, mask); Assert.Equal(y, Vector256.Create((byte)0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); } [Fact] - public static void BitReverse_Vector512() + public static void ReverseBits_Vector512_Test() { if (!Avx512Bmm.IsSupported) return; Vector512 x = Vector512.Create((byte)0xAA); - Vector512 y = Avx512Bmm.BitReverse(x); + Vector512 y = ReverseBits_Vector512(x); Assert.Equal(y, Vector512.Create((byte)0x55)); } [Fact] - public static void BitReverse_Vector512_Mask() + public static void ReverseBits_Vector512_Mask_Test() { if (!Avx512Bmm.IsSupported) return; Vector512 x = Vector512.Create((byte)0xAA); Vector512 mask = Vector512.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); - Vector512 y = Avx512BW.BlendVariable(x, Avx512Bmm.BitReverse(x), mask); + Vector512 y = ReverseBits_Mask_Vector512(x, mask); Assert.Equal(y, Vector512.Create((byte)0x55, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA)); } [Fact] - public static void BitReverse_Vector512_Maskz() + public static void ReverseBits_Vector512_Maskz_Test() { if (!Avx512Bmm.IsSupported) return; Vector512 x = Vector512.Create((byte)0xAA); Vector512 mask = Vector512.Create(0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); - Vector512 y = Avx512BW.BlendVariable(Vector512.Zero, Avx512Bmm.BitReverse(x), mask); + Vector512 y = ReverseBits_Maskz_Vector512(x, mask); Assert.Equal(y, Vector512.Create((byte)0x55, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00)); } } From 7d6fd4d120e6eb8b5f8e9c45381645e2a53bcc1a Mon Sep 17 00:00:00 2001 From: "Alex Covington (Advanced Micro Devices Inc)" Date: Thu, 19 Feb 2026 13:31:56 -0800 Subject: [PATCH 4/7] Fixup after rebase --- src/coreclr/jit/emitxarch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/jit/emitxarch.cpp b/src/coreclr/jit/emitxarch.cpp index e0c302a75f5336..22ea56930f6807 100644 --- a/src/coreclr/jit/emitxarch.cpp +++ b/src/coreclr/jit/emitxarch.cpp @@ -3105,7 +3105,7 @@ emitter::code_t emitter::emitExtractEvexPrefix(instruction ins, code_t& code) co // 0x0000RM11. leadingBytes = (code >> 16) & 0xFF; assert(leadingBytes == 0x0F || - ((m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX10v2) || emitComp->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)) && leadingBytes >= 0x00 && + ((m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX10v2) || m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)) && leadingBytes >= 0x00 && leadingBytes <= 0x07) || (IsApxExtendedEvexInstruction(ins) && leadingBytes == 0)); code &= 0xFFFF; @@ -3167,7 +3167,7 @@ emitter::code_t emitter::emitExtractEvexPrefix(instruction ins, code_t& code) co case 0x06: { - assert(emitComp->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)); + assert(m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)); evexPrefix |= (0x6 << 16); break; } From f377ada3e7db91c6b48508a109ae53b0bc42cb17 Mon Sep 17 00:00:00 2001 From: "Alex Covington (Advanced Micro Devices Inc)" Date: Fri, 20 Feb 2026 08:51:07 -0800 Subject: [PATCH 5/7] JIT formatting --- src/coreclr/jit/emitxarch.cpp | 7 ++++--- src/coreclr/jit/lowerxarch.cpp | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/coreclr/jit/emitxarch.cpp b/src/coreclr/jit/emitxarch.cpp index 22ea56930f6807..ff65e2d883a25f 100644 --- a/src/coreclr/jit/emitxarch.cpp +++ b/src/coreclr/jit/emitxarch.cpp @@ -3105,8 +3105,9 @@ emitter::code_t emitter::emitExtractEvexPrefix(instruction ins, code_t& code) co // 0x0000RM11. leadingBytes = (code >> 16) & 0xFF; assert(leadingBytes == 0x0F || - ((m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX10v2) || m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)) && leadingBytes >= 0x00 && - leadingBytes <= 0x07) || + ((m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX10v2) || + m_compiler->compIsaSupportedDebugOnly(InstructionSet_AVX512BMM)) && + leadingBytes >= 0x00 && leadingBytes <= 0x07) || (IsApxExtendedEvexInstruction(ins) && leadingBytes == 0)); code &= 0xFFFF; } @@ -21388,7 +21389,7 @@ emitter::insExecutionCharacteristics emitter::getInsExecutionCharacteristics(ins case INS_vbmacxor16x16x16: case INS_vbitrev: { - result.insLatency = PERFSCORE_LATENCY_1C; + result.insLatency = PERFSCORE_LATENCY_1C; result.insThroughput = PERFSCORE_THROUGHPUT_1C; break; } diff --git a/src/coreclr/jit/lowerxarch.cpp b/src/coreclr/jit/lowerxarch.cpp index aa070590ae3d49..065e567fedb415 100644 --- a/src/coreclr/jit/lowerxarch.cpp +++ b/src/coreclr/jit/lowerxarch.cpp @@ -10282,7 +10282,7 @@ void Lowering::ContainCheckHWIntrinsic(GenTreeHWIntrinsic* node) { assert((intrinsicId == NI_X86Base_DivRem) || (intrinsicId == NI_X86Base_X64_DivRem) || (intrinsicId >= FIRST_NI_AVXVNNI && intrinsicId <= LAST_NI_AVXVNNIINT_V512) || - (intrinsicId >= FIRST_NI_AVX512BMM && intrinsicId <= LAST_NI_AVX512BMM)); + (intrinsicId >= FIRST_NI_AVX512BMM && intrinsicId <= LAST_NI_AVX512BMM)); TryMakeSrcContainedOrRegOptional(node, op3); break; } From 1fc53744720904f3e295993af8f0154e0e2e2232 Mon Sep 17 00:00:00 2001 From: "Alex Covington (Advanced Micro Devices Inc)" Date: Tue, 24 Feb 2026 10:10:40 -0800 Subject: [PATCH 6/7] Update System.Runtime ref --- .../System.Runtime/ref/System.Runtime.cs | 2171 +++++++---------- 1 file changed, 910 insertions(+), 1261 deletions(-) diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index 65b98d13078b29..d07b3bb5ba63ca 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -8,36 +8,35 @@ namespace Microsoft.Win32.SafeHandles { public abstract partial class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { - protected CriticalHandleMinusOneIsInvalid() : base (default(System.IntPtr)) { } + protected CriticalHandleMinusOneIsInvalid() : base (default(nint)) { } public override bool IsInvalid { get { throw null; } } } public abstract partial class CriticalHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { - protected CriticalHandleZeroOrMinusOneIsInvalid() : base (default(System.IntPtr)) { } + protected CriticalHandleZeroOrMinusOneIsInvalid() : base (default(nint)) { } public override bool IsInvalid { get { throw null; } } } public sealed partial class SafeFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public SafeFileHandle() : base (default(bool)) { } - public SafeFileHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { } - public override bool IsInvalid { get { throw null; } } + public SafeFileHandle(nint preexistingHandle, bool ownsHandle) : base (default(bool)) { } public bool IsAsync { get { throw null; } } protected override bool ReleaseHandle() { throw null; } } public abstract partial class SafeHandleMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { - protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base (default(System.IntPtr), default(bool)) { } + protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base (default(nint), default(bool)) { } public override bool IsInvalid { get { throw null; } } } public abstract partial class SafeHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { - protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base (default(System.IntPtr), default(bool)) { } + protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base (default(nint), default(bool)) { } public override bool IsInvalid { get { throw null; } } } public sealed partial class SafeWaitHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public SafeWaitHandle() : base (default(bool)) { } - public SafeWaitHandle(System.IntPtr existingHandle, bool ownsHandle) : base (default(bool)) { } + public SafeWaitHandle(nint existingHandle, bool ownsHandle) : base (default(bool)) { } protected override bool ReleaseHandle() { throw null; } } } @@ -53,174 +52,22 @@ public AccessViolationException(string? message) { } public AccessViolationException(string? message, System.Exception? innerException) { } } public delegate void Action(); - public delegate void Action(T obj) - where T : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2) - where T1 : allows ref struct - where T2 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where T14 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where T14 : allows ref struct - where T15 : allows ref struct; - - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where T14 : allows ref struct - where T15 : allows ref struct - where T16 : allows ref struct; - + public delegate void Action(T obj); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); + public delegate void Action(T1 arg1, T2 arg2); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); public static partial class Activator { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")] @@ -241,7 +88,7 @@ public static partial class Activator public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")] public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName, object?[]? activationAttributes) { throw null; } - public static T CreateInstance<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T>() where T : allows ref struct { throw null; } + public static T CreateInstance() { throw null; } } public partial class AggregateException : System.Exception { @@ -443,8 +290,8 @@ public ArgumentException(string? message, string? paramName, System.Exception? i [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static void ThrowIfNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; } - public static void ThrowIfNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; } + public static void ThrowIfNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { } + public static void ThrowIfNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { } } public partial class ArgumentNullException : System.ArgumentException { @@ -455,9 +302,9 @@ protected ArgumentNullException(System.Runtime.Serialization.SerializationInfo i public ArgumentNullException(string? paramName) { } 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; } + public static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNullAttribute] object? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = 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 unsafe static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNullAttribute] void* argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { } } public partial class ArgumentOutOfRangeException : System.ArgumentException { @@ -579,7 +426,7 @@ public void Initialize() { } public static int LastIndexOf(T[] array, T value) { throw null; } public static int LastIndexOf(T[] array, T value, int startIndex) { throw null; } public static int LastIndexOf(T[] array, T value, int startIndex, int count) { throw null; } - public static void Resize([System.Diagnostics.CodeAnalysis.NotNullAttribute] ref T[]? array, int newSize) { throw null; } + public static void Resize([System.Diagnostics.CodeAnalysis.NotNullAttribute] ref T[]? array, int newSize) { } public static void Reverse(System.Array array) { } public static void Reverse(System.Array array, int index, int length) { } public static void Reverse(T[] array) { } @@ -609,15 +456,15 @@ public static void Sort(TKey[] keys, TValue[]? items) { } public static void Sort(TKey[] keys, TValue[]? items, System.Collections.Generic.IComparer? comparer) { } public static void Sort(TKey[] keys, TValue[]? items, int index, int length) { } public static void Sort(TKey[] keys, TValue[]? items, int index, int length, System.Collections.Generic.IComparer? comparer) { } - int System.Collections.IList.Add(object? value) { throw null; } + int System.Collections.IList.Add(object value) { throw null; } void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object? value) { throw null; } - int System.Collections.IList.IndexOf(object? value) { throw null; } - void System.Collections.IList.Insert(int index, object? value) { } - void System.Collections.IList.Remove(object? value) { } + bool System.Collections.IList.Contains(object value) { throw null; } + int System.Collections.IList.IndexOf(object value) { throw null; } + void System.Collections.IList.Insert(int index, object value) { } + void System.Collections.IList.Remove(object value) { } void System.Collections.IList.RemoveAt(int index) { } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } public static bool TrueForAll(T[] array, System.Predicate match) { throw null; } } @@ -797,6 +644,7 @@ public static partial class BitConverter public static byte[] GetBytes(short value) { throw null; } public static byte[] GetBytes(int value) { throw null; } public static byte[] GetBytes(long value) { throw null; } + public static byte[] GetBytes(System.Numerics.BFloat16 value) { throw null; } public static byte[] GetBytes(float value) { throw null; } [System.CLSCompliantAttribute(false)] public static byte[] GetBytes(System.UInt128 value) { throw null; } @@ -806,7 +654,6 @@ public static partial class BitConverter public static byte[] GetBytes(uint value) { throw null; } [System.CLSCompliantAttribute(false)] public static byte[] GetBytes(ulong value) { throw null; } - public static byte[] GetBytes(System.Numerics.BFloat16 value) { throw null; } public static short HalfToInt16Bits(System.Half value) { throw null; } [System.CLSCompliantAttribute(false)] public static ushort HalfToUInt16Bits(System.Half value) { throw null; } @@ -864,6 +711,7 @@ public static partial class BitConverter public static bool TryWriteBytes(System.Span destination, short value) { throw null; } public static bool TryWriteBytes(System.Span destination, int value) { throw null; } public static bool TryWriteBytes(System.Span destination, long value) { throw null; } + public static bool TryWriteBytes(System.Span destination, System.Numerics.BFloat16 value) { throw null; } public static bool TryWriteBytes(System.Span destination, float value) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryWriteBytes(System.Span destination, System.UInt128 value) { throw null; } @@ -873,7 +721,6 @@ public static partial class BitConverter public static bool TryWriteBytes(System.Span destination, uint value) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryWriteBytes(System.Span destination, ulong value) { throw null; } - public static bool TryWriteBytes(System.Span destination, System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] public static System.Numerics.BFloat16 UInt16BitsToBFloat16(ushort value) { throw null; } [System.CLSCompliantAttribute(false)] @@ -896,25 +743,25 @@ public static partial class BitConverter public System.TypeCode GetTypeCode() { throw null; } public static bool Parse(System.ReadOnlySpan value) { throw null; } public static bool Parse(string value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } - static bool System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } - static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out bool result) { throw null; } - static bool System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } - static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out bool result) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + static bool System.IParsable.Parse(string s, System.IFormatProvider provider) { throw null; } + static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.IFormatProvider provider, out bool result) { throw null; } + static bool System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out bool result) { throw null; } public override string ToString() { throw null; } public string ToString(System.IFormatProvider? provider) { throw null; } public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } @@ -975,21 +822,21 @@ public static void SetByte(System.Array array, int index, byte value) { } public static byte RotateLeft(byte value, int rotateAmount) { throw null; } public static byte RotateRight(byte value, int rotateAmount) { throw null; } public static int Sign(byte value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static byte System.Numerics.IAdditionOperators.operator +(byte left, byte right) { throw null; } static byte System.Numerics.IAdditionOperators.operator checked +(byte left, byte right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -1148,30 +995,30 @@ public CannotUnloadAppDomainException(string? message, System.Exception? innerEx public static bool IsWhiteSpace(char c) { throw null; } public static bool IsWhiteSpace(string s, int index) { throw null; } public static char Parse(string s) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } - string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } - static char System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } - static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out char result) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - static char System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } - static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out char result) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - static char System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out char result) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + string System.IFormattable.ToString(string format, System.IFormatProvider formatProvider) { throw null; } + static char System.IParsable.Parse(string s, System.IFormatProvider provider) { throw null; } + static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.IFormatProvider provider, out char result) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + static char System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out char result) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + static char System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, out char result) { throw null; } static char System.Numerics.IAdditionOperators.operator +(char left, char right) { throw null; } static char System.Numerics.IAdditionOperators.operator checked +(char left, char right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -1228,16 +1075,16 @@ public CannotUnloadAppDomainException(string? message, System.Exception? innerEx static char System.Numerics.INumberBase.MinMagnitude(char x, char y) { throw null; } static char System.Numerics.INumberBase.MinMagnitudeNumber(char x, char y) { throw null; } static char System.Numerics.INumberBase.MultiplyAddEstimate(char left, char right, char addend) { throw null; } - static char System.Numerics.INumberBase.Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } - static char System.Numerics.INumberBase.Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + static char System.Numerics.INumberBase.Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } + static char System.Numerics.INumberBase.Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out char result) { throw null; } static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out char result) { throw null; } static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out char result) { throw null; } static bool System.Numerics.INumberBase.TryConvertToChecked(char value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } static bool System.Numerics.INumberBase.TryConvertToSaturating(char value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } static bool System.Numerics.INumberBase.TryConvertToTruncating(char value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } - static bool System.Numerics.INumberBase.TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out char result) { throw null; } - static bool System.Numerics.INumberBase.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out char result) { throw null; } + static bool System.Numerics.INumberBase.TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out char result) { throw null; } + static bool System.Numerics.INumberBase.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out char result) { throw null; } static char System.Numerics.IShiftOperators.operator <<(char value, int shiftAmount) { throw null; } static char System.Numerics.IShiftOperators.operator >>(char value, int shiftAmount) { throw null; } static char System.Numerics.IShiftOperators.operator >>>(char value, int shiftAmount) { throw null; } @@ -1273,7 +1120,7 @@ public sealed partial class CLSCompliantAttribute : System.Attribute public CLSCompliantAttribute(bool isCompliant) { } public bool IsCompliant { get { throw null; } } } - public delegate int Comparison(T x, T y) where T : allows ref struct; + public delegate int Comparison(T x, T y); public abstract partial class ContextBoundObject : System.MarshalByRefObject { protected ContextBoundObject() { } @@ -1306,8 +1153,8 @@ public static partial class Convert public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) { throw null; } public static byte[] FromBase64String(string s) { throw null; } public static byte[] FromHexString(System.ReadOnlySpan utf8Source) { throw null; } - public static byte[] FromHexString(System.ReadOnlySpan chars) { throw null; } public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan utf8Source, System.Span destination, out int bytesConsumed, out int bytesWritten) { throw null; } + public static byte[] FromHexString(System.ReadOnlySpan chars) { throw null; } public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan source, System.Span destination, out int charsConsumed, out int bytesWritten) { throw null; } public static byte[] FromHexString(string s) { throw null; } public static System.Buffers.OperationStatus FromHexString(string source, System.Span destination, out int charsConsumed, out int bytesWritten) { throw null; } @@ -1756,7 +1603,7 @@ public static partial class Convert public static bool TryToHexStringLower(System.ReadOnlySpan source, System.Span utf8Destination, out int bytesWritten) { throw null; } public static bool TryToHexStringLower(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } } - public delegate TOutput Converter(TInput input) where TInput : allows ref struct where TOutput : allows ref struct; + public delegate TOutput Converter(TInput input); public readonly partial struct DateOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable { private readonly int _dummyPrimitive; @@ -1921,21 +1768,21 @@ public static partial class Convert public static System.DateTime SpecifyKind(System.DateTime value, System.DateTimeKind kind) { throw null; } public System.TimeSpan Subtract(System.DateTime value) { throw null; } public System.DateTime Subtract(System.TimeSpan value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public long ToBinary() { throw null; } public long ToFileTime() { throw null; } @@ -2051,8 +1898,8 @@ public enum DateTimeKind public static System.DateTimeOffset ParseExact(string input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] string[] formats, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } public System.TimeSpan Subtract(System.DateTimeOffset value) { throw null; } public System.DateTimeOffset Subtract(System.TimeSpan value) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + int System.IComparable.CompareTo(object obj) { throw null; } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public long ToFileTime() { throw null; } public System.DateTimeOffset ToLocalTime() { throw null; } @@ -2095,21 +1942,21 @@ internal DBNull() { } [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public System.TypeCode GetTypeCode() { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } public override string ToString() { throw null; } public string ToString(System.IFormatProvider? provider) { throw null; } } @@ -2156,8 +2003,8 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static int Compare(decimal d1, decimal d2) { throw null; } public int CompareTo(decimal value) { throw null; } public int CompareTo(object? value) { throw null; } - public static TInteger ConvertToInteger(decimal value) where TInteger : System.Numerics.IBinaryInteger { throw null; } public static TInteger ConvertToIntegerNative(decimal value) where TInteger : System.Numerics.IBinaryInteger { throw null; } + public static TInteger ConvertToInteger(decimal value) where TInteger : System.Numerics.IBinaryInteger { throw null; } public static decimal CopySign(decimal value, decimal sign) { throw null; } public static decimal CreateChecked(TOther value) where TOther : System.Numerics.INumberBase { throw null; } public static decimal CreateSaturating(TOther value) where TOther : System.Numerics.INumberBase { throw null; } @@ -2244,21 +2091,21 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static decimal Round(decimal d, System.MidpointRounding mode) { throw null; } public static int Sign(decimal d) { throw null; } public static decimal Subtract(decimal d1, decimal d2) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } int System.Numerics.IFloatingPoint.GetExponentByteCount() { throw null; } int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() { throw null; } int System.Numerics.IFloatingPoint.GetSignificandBitLength() { throw null; } @@ -2289,7 +2136,7 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S static bool System.Numerics.INumberBase.TryConvertToTruncating(decimal value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } static decimal System.Numerics.INumber.MaxNumber(decimal x, decimal y) { throw null; } static decimal System.Numerics.INumber.MinNumber(decimal x, decimal y) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static byte ToByte(decimal value) { throw null; } public static double ToDouble(decimal d) { throw null; } @@ -2337,7 +2184,7 @@ protected Delegate([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAt [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("b")] public static System.Delegate? Combine(System.Delegate? a, System.Delegate? b) { throw null; } public static System.Delegate? Combine(params System.Delegate?[]? delegates) { throw null; } - public static System.Delegate? Combine(params System.ReadOnlySpan delegates) { throw null; } + public static System.Delegate? Combine([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan delegates) { throw null; } protected virtual System.Delegate CombineImpl(System.Delegate? d) { throw null; } public static System.Delegate CreateDelegate(System.Type type, object? firstArgument, System.Reflection.MethodInfo method) { throw null; } public static System.Delegate? CreateDelegate(System.Type type, object? firstArgument, System.Reflection.MethodInfo method, bool throwOnBindFailure) { throw null; } @@ -2369,6 +2216,9 @@ public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo protected virtual System.Delegate? RemoveImpl(System.Delegate d) { throw null; } public partial struct InvocationListEnumerator where TDelegate : System.Delegate { + private TDelegate _current; + private object _dummy; + private int _dummyPrimitive; public TDelegate Current { get { throw null; } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public System.Delegate.InvocationListEnumerator GetEnumerator() { throw null; } @@ -2393,7 +2243,7 @@ public DivideByZeroException(string? message, System.Exception? innerException) public const double MinValue = -1.7976931348623157E+308; public const double NaN = 0.0 / 0.0; public const double NegativeInfinity = -1.0 / 0.0; - public const double NegativeZero = -0.0; + public const double NegativeZero = -0; public const double Pi = 3.141592653589793; public const double PositiveInfinity = 1.0 / 0.0; public const double Tau = 6.283185307179586; @@ -2523,21 +2373,21 @@ public DivideByZeroException(string? message, System.Exception? innerException) public static double Sinh(double x) { throw null; } public static double SinPi(double x) { throw null; } public static double Sqrt(double x) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static double System.Numerics.IAdditionOperators.operator +(double left, double right) { throw null; } static double System.Numerics.IBitwiseOperators.operator &(double left, double right) { throw null; } static double System.Numerics.IBitwiseOperators.operator |(double left, double right) { throw null; } @@ -2617,18 +2467,18 @@ protected Enum() { } public override int GetHashCode() { throw null; } public static string? GetName(System.Type enumType, object value) { throw null; } public static string[] GetNames(System.Type enumType) { throw null; } - public static string[] GetNames() where TEnum : struct, System.Enum { throw null; } - public static string? GetName(TEnum value) where TEnum : struct, System.Enum { throw null; } + public static string[] GetNames() where TEnum : struct { throw null; } + public static string? GetName(TEnum value) where TEnum : struct { throw null; } public System.TypeCode GetTypeCode() { throw null; } public static System.Type GetUnderlyingType(System.Type enumType) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("It might not be possible to create an array of the enum type at runtime. Use the GetValues overload or the GetValuesAsUnderlyingType method instead.")] public static System.Array GetValues(System.Type enumType) { throw null; } public static System.Array GetValuesAsUnderlyingType(System.Type enumType) { throw null; } - public static System.Array GetValuesAsUnderlyingType() where TEnum : struct, System.Enum { throw null; } - public static TEnum[] GetValues() where TEnum : struct, System.Enum { throw null; } + public static System.Array GetValuesAsUnderlyingType() where TEnum : struct { throw null; } + public static TEnum[] GetValues() where TEnum : struct { throw null; } public bool HasFlag(System.Enum flag) { throw null; } public static bool IsDefined(System.Type enumType, object value) { throw null; } - public static bool IsDefined(TEnum value) where TEnum : struct, System.Enum { throw null; } + public static bool IsDefined(TEnum value) where TEnum : struct { throw null; } public static object Parse(System.Type enumType, System.ReadOnlySpan value) { throw null; } public static object Parse(System.Type enumType, System.ReadOnlySpan value, bool ignoreCase) { throw null; } public static object Parse(System.Type enumType, string value) { throw null; } @@ -2637,22 +2487,22 @@ protected Enum() { } public static TEnum Parse(System.ReadOnlySpan value, bool ignoreCase) where TEnum : struct { throw null; } public static TEnum Parse(string value) where TEnum : struct { throw null; } public static TEnum Parse(string value, bool ignoreCase) where TEnum : struct { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } public static object ToObject(System.Type enumType, byte value) { throw null; } public static object ToObject(System.Type enumType, short value) { throw null; } public static object ToObject(System.Type enumType, int value) { throw null; } @@ -2685,10 +2535,10 @@ protected Enum() { } public static partial class Environment { public static string CommandLine { get { throw null; } } + [System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] - [System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] // this needs to come after the ios attribute due to limitations in the platform analyzer public static System.Environment.ProcessCpuUsage CpuUsage { get { throw null; } } public static string CurrentDirectory { get { throw null; } set { } } public static int CurrentManagedThreadId { get { throw null; } } @@ -2714,12 +2564,12 @@ public static partial class Environment public static System.Version Version { get { throw null; } } public static long WorkingSet { get { throw null; } } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void Exit(int exitCode) { throw null; } + public static void Exit(int exitCode) { } public static string ExpandEnvironmentVariables(string name) { throw null; } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void FailFast(string? message) { throw null; } + public static void FailFast(string? message) { } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void FailFast(string? message, System.Exception? exception) { throw null; } + public static void FailFast(string? message, System.Exception? exception) { } public static string[] GetCommandLineArgs() { throw null; } public static string? GetEnvironmentVariable(string variable) { throw null; } public static string? GetEnvironmentVariable(string variable, System.EnvironmentVariableTarget target) { throw null; } @@ -2806,8 +2656,8 @@ public partial class EventArgs public EventArgs() { } } public delegate void EventHandler(object? sender, System.EventArgs e); - public delegate void EventHandler(object? sender, TEventArgs e) where TEventArgs : allows ref struct; - public delegate void EventHandler(TSender sender, TEventArgs e) where TSender : allows ref struct where TEventArgs : allows ref struct; + public delegate void EventHandler(object? sender, TEventArgs e); + public delegate void EventHandler(TSender sender, TEventArgs e); public partial class Exception : System.Runtime.Serialization.ISerializable { public Exception() { } @@ -2873,197 +2723,27 @@ protected FormattableString() { } public abstract object? GetArgument(int index); public abstract object?[] GetArguments(); public static string Invariant(System.FormattableString formattable) { throw null; } - string System.IFormattable.ToString(string? ignored, System.IFormatProvider? formatProvider) { throw null; } + string System.IFormattable.ToString(string ignored, System.IFormatProvider formatProvider) { throw null; } public override string ToString() { throw null; } public abstract string ToString(System.IFormatProvider? formatProvider); } - public delegate TResult Func() - where TResult : allows ref struct; - - public delegate TResult Func(T arg) - where T : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2) - where T1 : allows ref struct - where T2 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where T14 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where T14 : allows ref struct - where T15 : allows ref struct - where TResult : allows ref struct; - - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16) - where T1 : allows ref struct - where T2 : allows ref struct - where T3 : allows ref struct - where T4 : allows ref struct - where T5 : allows ref struct - where T6 : allows ref struct - where T7 : allows ref struct - where T8 : allows ref struct - where T9 : allows ref struct - where T10 : allows ref struct - where T11 : allows ref struct - where T12 : allows ref struct - where T13 : allows ref struct - where T14 : allows ref struct - where T15 : allows ref struct - where T16 : allows ref struct - where TResult : allows ref struct; - + public delegate TResult Func(); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); + public delegate TResult Func(T arg); + public delegate TResult Func(T1 arg1, T2 arg2); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); public static partial class GC { public static int MaxGeneration { get { throw null; } } @@ -3194,8 +2874,8 @@ public enum GCNotificationStatus public static System.Guid Parse(string s, System.IFormatProvider? provider) { throw null; } public static System.Guid ParseExact(System.ReadOnlySpan input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format) { throw null; } public static System.Guid ParseExact(string input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string format) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } public byte[] ToByteArray() { throw null; } public byte[] ToByteArray(bool bigEndian) { throw null; } public override string ToString() { throw null; } @@ -3494,7 +3174,7 @@ public partial interface IComparable { int CompareTo(object? obj); } - public partial interface IComparable where T : allows ref struct + public partial interface IComparable { int CompareTo(T? other); } @@ -3527,7 +3207,7 @@ public partial interface IDisposable { void Dispose(); } - public partial interface IEquatable where T : allows ref struct + public partial interface IEquatable { bool Equals(T? other); } @@ -3811,21 +3491,21 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static short RotateLeft(short value, int rotateAmount) { throw null; } public static short RotateRight(short value, int rotateAmount) { throw null; } public static int Sign(short value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static short System.Numerics.IAdditionOperators.operator +(short left, short right) { throw null; } static short System.Numerics.IAdditionOperators.operator checked +(short left, short right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -3952,21 +3632,21 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static int RotateLeft(int value, int rotateAmount) { throw null; } public static int RotateRight(int value, int rotateAmount) { throw null; } public static int Sign(int value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static int System.Numerics.IAdditionOperators.operator +(int left, int right) { throw null; } static int System.Numerics.IAdditionOperators.operator checked +(int left, int right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -4057,7 +3737,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep static long System.Numerics.INumberBase.Zero { get { throw null; } } static long System.Numerics.ISignedNumber.NegativeOne { get { throw null; } } public static long Abs(long value) { throw null; } - public static Int128 BigMul(long left, long right) { throw null; } + public static System.Int128 BigMul(long left, long right) { throw null; } public static long Clamp(long value, long min, long max) { throw null; } public int CompareTo(long value) { throw null; } public int CompareTo(object? value) { throw null; } @@ -4093,21 +3773,21 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static long RotateLeft(long value, int rotateAmount) { throw null; } public static long RotateRight(long value, int rotateAmount) { throw null; } public static int Sign(long value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static long System.Numerics.IAdditionOperators.operator +(long left, long right) { throw null; } static long System.Numerics.IAdditionOperators.operator checked +(long left, long right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -4185,7 +3865,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep } public readonly partial struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.ISerializable { - private readonly unsafe void* _dummyPrimitive; + private readonly nint _dummyPrimitive; public static readonly nint Zero; public IntPtr(int value) { throw null; } public IntPtr(long value) { throw null; } @@ -4402,7 +4082,7 @@ public partial interface IUtf8SpanParsable where TSelf : System.IUtf8Span static abstract TSelf Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider); static abstract bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); } - public partial class Lazy<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T> + public partial class Lazy { public Lazy() { } public Lazy(bool isThreadSafe) { } @@ -4415,7 +4095,7 @@ public Lazy(T value) { } public T Value { get { throw null; } } public override string? ToString() { throw null; } } - public partial class Lazy<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T, TMetadata> : System.Lazy + public partial class Lazy : System.Lazy { public Lazy(System.Func valueFactory, TMetadata metadata) { } public Lazy(System.Func valueFactory, TMetadata metadata, bool isThreadSafe) { } @@ -4705,7 +4385,7 @@ public enum MidpointRounding ToNegativeInfinity = 3, ToPositiveInfinity = 4, } - public partial class MissingFieldException : System.MissingMemberException + public partial class MissingFieldException : System.MissingMemberException, System.Runtime.Serialization.ISerializable { public MissingFieldException() { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -4779,7 +4459,7 @@ public sealed partial class MTAThreadAttribute : System.Attribute { public MTAThreadAttribute() { } } - public abstract partial class MulticastDelegate : System.Delegate + public abstract partial class MulticastDelegate : System.Delegate, System.Runtime.Serialization.ISerializable { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The target method might be removed")] protected MulticastDelegate(object target, string method) : base (default(object), default(string)) { } @@ -4847,7 +4527,7 @@ public static partial class Nullable public static int Compare(T? n1, T? n2) where T : struct { throw null; } public static bool Equals(T? n1, T? n2) where T : struct { throw null; } public static System.Type? GetUnderlyingType(System.Type nullableType) { throw null; } - public static ref readonly T GetValueRefOrDefaultRef(ref readonly T? nullable) where T : struct { throw null; } + public static ref readonly T GetValueRefOrDefaultRef([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T? nullable) where T : struct { throw null; } } public partial struct Nullable where T : struct { @@ -4881,7 +4561,7 @@ public Object() { } ~Object() { } public virtual int GetHashCode() { throw null; } public System.Type GetType() { throw null; } - protected object MemberwiseClone() { throw null; } + protected internal object MemberwiseClone() { throw null; } public static bool ReferenceEquals(object? objA, object? objB) { throw null; } public virtual string? ToString() { throw null; } } @@ -4898,8 +4578,8 @@ public ObjectDisposedException(string? objectName, string? message) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, object instance) => throw null; - public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, System.Type type) => throw null; + public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, object instance) { } + public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, System.Type type) { } } [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 @@ -5009,7 +4689,7 @@ protected PlatformNotSupportedException(System.Runtime.Serialization.Serializati public PlatformNotSupportedException(string? message) { } public PlatformNotSupportedException(string? message, System.Exception? inner) { } } - public delegate bool Predicate(T obj) where T : allows ref struct; + public delegate bool Predicate(T obj); public partial class Progress : System.IProgress { public Progress() { } @@ -5024,7 +4704,7 @@ public Random() { } public Random(int Seed) { } public static System.Random Shared { get { throw null; } } public string GetHexString(int stringLength, bool lowercase = false) { throw null; } - public void GetHexString(System.Span destination, bool lowercase = false) { throw null; } + public void GetHexString(System.Span destination, bool lowercase = false) { } public T[] GetItems(System.ReadOnlySpan choices, int length) { throw null; } public void GetItems(System.ReadOnlySpan choices, System.Span destination) { } public T[] GetItems(T[] choices, int length) { throw null; } @@ -5099,14 +4779,14 @@ public readonly ref partial struct ReadOnlySpan private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] public unsafe ReadOnlySpan(void* pointer, int length) { throw null; } - public ReadOnlySpan(ref readonly T reference) { throw null; } + public ReadOnlySpan([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T reference) { throw null; } public ReadOnlySpan(T[]? array) { throw null; } public ReadOnlySpan(T[]? array, int start, int length) { throw null; } public static System.ReadOnlySpan Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ref readonly T this[int index] { get { throw null; } } public int Length { get { throw null; } } - public static System.ReadOnlySpan CastUp(System.ReadOnlySpan items) where TDerived : class?, T { throw null; } + public static System.ReadOnlySpan CastUp(System.ReadOnlySpan items) where TDerived : class?, T? { throw null; } public void CopyTo(System.Span destination) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("Equals() on ReadOnlySpan will always throw an exception. Use the equality operator instead.")] @@ -5131,11 +4811,11 @@ public void CopyTo(System.Span destination) { } private object _dummy; private int _dummyPrimitive; public ref readonly T Current { get { throw null; } } - public bool MoveNext() { throw null; } T System.Collections.Generic.IEnumerator.Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } - void System.Collections.IEnumerator.Reset() { throw null; } - void System.IDisposable.Dispose() { throw null; } + public bool MoveNext() { throw null; } + void System.Collections.IEnumerator.Reset() { } + void System.IDisposable.Dispose() { } } } public partial class ResolveEventArgs : System.EventArgs @@ -5154,43 +4834,43 @@ public partial struct RuntimeFieldHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { private object _dummy; private int _dummyPrimitive; - public System.IntPtr Value { get { throw null; } } + public nint Value { get { throw null; } } public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeMethodHandle handle) { throw null; } - public static System.RuntimeMethodHandle FromIntPtr(System.IntPtr value) { throw null; } - public System.IntPtr GetFunctionPointer() { throw null; } + public static System.RuntimeMethodHandle FromIntPtr(nint value) { throw null; } + public nint GetFunctionPointer() { throw null; } public override int GetHashCode() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static bool operator ==(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) { throw null; } public static bool operator !=(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) { throw null; } - public static System.IntPtr ToIntPtr(System.RuntimeMethodHandle value) { throw null; } + public static nint ToIntPtr(System.RuntimeMethodHandle value) { throw null; } } public partial struct RuntimeTypeHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { private object _dummy; private int _dummyPrimitive; - public System.IntPtr Value { get { throw null; } } + public nint Value { get { throw null; } } public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeTypeHandle handle) { throw null; } - public static System.RuntimeTypeHandle FromIntPtr(System.IntPtr value) { throw null; } + public static System.RuntimeTypeHandle FromIntPtr(nint value) { throw null; } public override int GetHashCode() { throw null; } public System.ModuleHandle GetModuleHandle() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -5200,7 +4880,7 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static bool operator ==(System.RuntimeTypeHandle left, object? right) { throw null; } public static bool operator !=(object? left, System.RuntimeTypeHandle right) { throw null; } public static bool operator !=(System.RuntimeTypeHandle left, object? right) { throw null; } - public static System.IntPtr ToIntPtr(System.RuntimeTypeHandle value) { throw null; } + public static nint ToIntPtr(System.RuntimeTypeHandle value) { throw null; } } [System.CLSCompliantAttribute(false)] public readonly partial struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators @@ -5253,21 +4933,21 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static sbyte RotateLeft(sbyte value, int rotateAmount) { throw null; } public static sbyte RotateRight(sbyte value, int rotateAmount) { throw null; } public static int Sign(sbyte value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static sbyte System.Numerics.IAdditionOperators.operator +(sbyte left, sbyte right) { throw null; } static sbyte System.Numerics.IAdditionOperators.operator checked +(sbyte left, sbyte right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -5358,7 +5038,7 @@ public SerializableAttribute() { } public const float MinValue = -3.4028235E+38f; public const float NaN = 0.0f / 0.0f; public const float NegativeInfinity = -1.0f / 0.0f; - public const float NegativeZero = -0.0f; + public const float NegativeZero = -0f; public const float Pi = 3.1415927f; public const float PositiveInfinity = 1.0f / 0.0f; public const float Tau = 6.2831855f; @@ -5488,21 +5168,21 @@ public SerializableAttribute() { } public static float Sinh(float x) { throw null; } public static float SinPi(float x) { throw null; } public static float Sqrt(float x) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static float System.Numerics.IAdditionOperators.operator +(float left, float right) { throw null; } static float System.Numerics.IBitwiseOperators.operator &(float left, float right) { throw null; } static float System.Numerics.IBitwiseOperators.operator |(float left, float right) { throw null; } @@ -5595,11 +5275,11 @@ public void Fill(T value) { } private object _dummy; private int _dummyPrimitive; public ref T Current { get { throw null; } } - public bool MoveNext() { throw null; } T System.Collections.Generic.IEnumerator.Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } - void System.Collections.IEnumerator.Reset() { throw null; } - void System.IDisposable.Dispose() { throw null; } + public bool MoveNext() { throw null; } + void System.Collections.IEnumerator.Reset() { } + void System.IDisposable.Dispose() { } } } public sealed partial class StackOverflowException : System.SystemException @@ -5653,22 +5333,22 @@ public unsafe String(sbyte* value, int startIndex, int length, System.Text.Encod public static string Concat(object? arg0, object? arg1) { throw null; } public static string Concat(object? arg0, object? arg1, object? arg2) { throw null; } public static string Concat(params object?[] args) { throw null; } - public static string Concat(params System.ReadOnlySpan args) { throw null; } public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1) { throw null; } public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2) { throw null; } public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2, System.ReadOnlySpan str3) { throw null; } + public static string Concat([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public static string Concat([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public static string Concat(string? str0, string? str1) { throw null; } public static string Concat(string? str0, string? str1, string? str2) { throw null; } public static string Concat(string? str0, string? str1, string? str2, string? str3) { throw null; } public static string Concat(params string?[] values) { throw null; } - public static string Concat(params System.ReadOnlySpan values) { throw null; } public static string Concat(System.Collections.Generic.IEnumerable values) { throw null; } public bool Contains(char value) { throw null; } public bool Contains(char value, System.StringComparison comparisonType) { throw null; } - public bool Contains(System.Text.Rune value) { throw null; } - public bool Contains(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public bool Contains(string value) { throw null; } public bool Contains(string value, System.StringComparison comparisonType) { throw null; } + public bool Contains(System.Text.Rune value) { throw null; } + public bool Contains(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API should not be used to create mutable strings. See https://go.microsoft.com/fwlink/?linkid=2084035 for alternatives.")] public static string Copy(string str) { throw null; } @@ -5676,14 +5356,14 @@ public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, in public void CopyTo(System.Span destination) { } public static string Create(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } public static string Create(System.IFormatProvider? provider, System.Span initialBuffer, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "provider", "initialBuffer"})] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } - public static string Create(int length, TState state, System.Buffers.SpanAction action) where TState : allows ref struct { throw null; } + public static string Create(int length, TState state, System.Buffers.SpanAction action) { throw null; } public bool EndsWith(char value) { throw null; } public bool EndsWith(char value, System.StringComparison comparisonType) { throw null; } - public bool EndsWith(System.Text.Rune value) { throw null; } - public bool EndsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public bool EndsWith(string value) { throw null; } public bool EndsWith(string value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public bool EndsWith(string value, System.StringComparison comparisonType) { throw null; } + public bool EndsWith(System.Text.Rune value) { throw null; } + public bool EndsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public System.Text.StringRuneEnumerator EnumerateRunes() { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value) { throw null; } @@ -5694,14 +5374,14 @@ public void CopyTo(System.Span destination) { } public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } + public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } - public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, params System.ReadOnlySpan args) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } + public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } @@ -5716,9 +5396,9 @@ public void CopyTo(System.Span destination) { } public int IndexOf(char value) { throw null; } public int IndexOf(char value, int startIndex) { throw null; } public int IndexOf(char value, int startIndex, int count) { throw null; } - public int IndexOf(char value, System.StringComparison comparisonType) { throw null; } - public int IndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } public int IndexOf(char value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } + public int IndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int IndexOf(char value, System.StringComparison comparisonType) { throw null; } public int IndexOf(string value) { throw null; } public int IndexOf(string value, int startIndex) { throw null; } public int IndexOf(string value, int startIndex, int count) { throw null; } @@ -5728,9 +5408,9 @@ public void CopyTo(System.Span destination) { } public int IndexOf(System.Text.Rune value) { throw null; } public int IndexOf(System.Text.Rune value, int startIndex) { throw null; } public int IndexOf(System.Text.Rune value, int startIndex, int count) { throw null; } - public int IndexOf(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } - public int IndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } public int IndexOf(System.Text.Rune value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } + public int IndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int IndexOf(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public int IndexOfAny(char[] anyOf) { throw null; } public int IndexOfAny(char[] anyOf, int startIndex) { throw null; } public int IndexOfAny(char[] anyOf, int startIndex, int count) { throw null; } @@ -5742,24 +5422,24 @@ public void CopyTo(System.Span destination) { } public static bool IsNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] string? value) { throw null; } public static bool IsNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] string? value) { throw null; } public static string Join(char separator, params object?[] values) { throw null; } - public static string Join(char separator, params System.ReadOnlySpan values) { throw null; } + public static string Join(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public static string Join(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { throw null; } public static string Join(char separator, params string?[] value) { throw null; } - public static string Join(char separator, params System.ReadOnlySpan value) { throw null; } public static string Join(char separator, string?[] value, int startIndex, int count) { throw null; } public static string Join(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public static string Join(string? separator, params object?[] values) { throw null; } - public static string Join(string? separator, params System.ReadOnlySpan values) { throw null; } + public static string Join(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public static string Join(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { throw null; } public static string Join(string? separator, params string?[] value) { throw null; } - public static string Join(string? separator, params System.ReadOnlySpan value) { throw null; } public static string Join(string? separator, string?[] value, int startIndex, int count) { throw null; } public static string Join(char separator, System.Collections.Generic.IEnumerable values) { throw null; } public static string Join(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public int LastIndexOf(char value) { throw null; } public int LastIndexOf(char value, int startIndex) { throw null; } public int LastIndexOf(char value, int startIndex, int count) { throw null; } - public int LastIndexOf(char value, System.StringComparison comparisonType) { throw null; } - public int LastIndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } public int LastIndexOf(char value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(char value, System.StringComparison comparisonType) { throw null; } public int LastIndexOf(string value) { throw null; } public int LastIndexOf(string value, int startIndex) { throw null; } public int LastIndexOf(string value, int startIndex, int count) { throw null; } @@ -5769,9 +5449,9 @@ public void CopyTo(System.Span destination) { } public int LastIndexOf(System.Text.Rune value) { throw null; } public int LastIndexOf(System.Text.Rune value, int startIndex) { throw null; } public int LastIndexOf(System.Text.Rune value, int startIndex, int count) { throw null; } - public int LastIndexOf(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } - public int LastIndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } public int LastIndexOf(System.Text.Rune value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public int LastIndexOfAny(char[] anyOf) { throw null; } public int LastIndexOfAny(char[] anyOf, int startIndex) { throw null; } public int LastIndexOfAny(char[] anyOf, int startIndex, int count) { throw null; } @@ -5787,55 +5467,55 @@ public void CopyTo(System.Span destination) { } public string Remove(int startIndex) { throw null; } public string Remove(int startIndex, int count) { throw null; } public string Replace(char oldChar, char newChar) { throw null; } - public string Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } public string Replace(string oldValue, string? newValue) { throw null; } public string Replace(string oldValue, string? newValue, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public string Replace(string oldValue, string? newValue, System.StringComparison comparisonType) { throw null; } + public string Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } public string ReplaceLineEndings() { throw null; } public string ReplaceLineEndings(string replacementText) { throw null; } public string[] Split(char separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(char separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } - public string[] Split(System.Text.Rune separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } - public string[] Split(System.Text.Rune separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(params char[]? separator) { throw null; } - public string[] Split(params System.ReadOnlySpan separator) { throw null; } public string[] Split(char[]? separator, int count) { throw null; } public string[] Split(char[]? separator, int count, System.StringSplitOptions options) { throw null; } public string[] Split(char[]? separator, System.StringSplitOptions options) { throw null; } + public string[] Split([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan separator) { throw null; } public string[] Split(string? separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(string? separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(string[]? separator, int count, System.StringSplitOptions options) { throw null; } public string[] Split(string[]? separator, System.StringSplitOptions options) { throw null; } + public string[] Split(System.Text.Rune separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } + public string[] Split(System.Text.Rune separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public bool StartsWith(char value) { throw null; } public bool StartsWith(char value, System.StringComparison comparisonType) { throw null; } - public bool StartsWith(System.Text.Rune value) { throw null; } - public bool StartsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public bool StartsWith(string value) { throw null; } public bool StartsWith(string value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public bool StartsWith(string value, System.StringComparison comparisonType) { throw null; } + public bool StartsWith(System.Text.Rune value) { throw null; } + public bool StartsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public string Substring(int startIndex) { throw null; } public string Substring(int startIndex, int length) { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } - static string System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } - static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } - static string System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } - static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + static string System.IParsable.Parse(string s, System.IFormatProvider provider) { throw null; } + static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } + static string System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } public char[] ToCharArray() { throw null; } public char[] ToCharArray(int startIndex, int length) { throw null; } public string ToLower() { throw null; } @@ -5848,16 +5528,19 @@ public void CopyTo(System.Span destination) { } public string ToUpperInvariant() { throw null; } public string Trim() { throw null; } public string Trim(char trimChar) { throw null; } - public string Trim(System.Text.Rune trimRune) { throw null; } public string Trim(params char[]? trimChars) { throw null; } + public string Trim([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan trimChars) { throw null; } + public string Trim(System.Text.Rune trimRune) { throw null; } public string TrimEnd() { throw null; } public string TrimEnd(char trimChar) { throw null; } - public string TrimEnd(System.Text.Rune trimRune) { throw null; } public string TrimEnd(params char[]? trimChars) { throw null; } + public string TrimEnd([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan trimChars) { throw null; } + public string TrimEnd(System.Text.Rune trimRune) { throw null; } public string TrimStart() { throw null; } public string TrimStart(char trimChar) { throw null; } - public string TrimStart(System.Text.Rune trimRune) { throw null; } public string TrimStart(params char[]? trimChars) { throw null; } + public string TrimStart([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan trimChars) { throw null; } + public string TrimStart(System.Text.Rune trimRune) { throw null; } public bool TryCopyTo(System.Span destination) { throw null; } } public abstract partial class StringComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.IComparer, System.Collections.IEqualityComparer @@ -5892,13 +5575,13 @@ public enum StringComparison } public static partial class StringNormalizationExtensions { + public static int GetNormalizedLength(this System.ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } + public static bool IsNormalized(this System.ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } public static bool IsNormalized(this string strInput) { throw null; } public static bool IsNormalized(this string strInput, System.Text.NormalizationForm normalizationForm) { throw null; } - public static bool IsNormalized(this ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } public static string Normalize(this string strInput) { throw null; } - public static bool TryNormalize(this ReadOnlySpan source, Span destination, out int charsWritten, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } public static string Normalize(this string strInput, System.Text.NormalizationForm normalizationForm) { throw null; } - public static int GetNormalizedLength(this ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } + public static bool TryNormalize(this System.ReadOnlySpan source, System.Span destination, out int charsWritten, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } } [System.FlagsAttribute] public enum StringSplitOptions @@ -6203,7 +5886,7 @@ public static void ClearCachedData() { } public bool IsDaylightSavingTime(System.DateTime dateTime) { throw null; } public bool IsDaylightSavingTime(System.DateTimeOffset dateTimeOffset) { throw null; } public bool IsInvalidTime(System.DateTime dateTime) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public string ToSerializedString() { throw null; } public override string ToString() { throw null; } @@ -6225,7 +5908,7 @@ internal AdjustmentRule() { } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.TimeZoneInfo.AdjustmentRule? other) { throw null; } public override int GetHashCode() { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public readonly partial struct TransitionTime : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable @@ -6244,7 +5927,7 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public override int GetHashCode() { throw null; } public static bool operator ==(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) { throw null; } public static bool operator !=(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } } @@ -6363,10 +6046,10 @@ public Tuple(T1 item1) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6378,10 +6061,10 @@ public Tuple(T1 item1, T2 item2) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6394,10 +6077,10 @@ public Tuple(T1 item1, T2 item2, T3 item3) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6411,10 +6094,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6429,10 +6112,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6448,10 +6131,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6468,10 +6151,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple where TRest : notnull @@ -6489,10 +6172,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? obj) { throw null; } + int System.IComparable.CompareTo(object obj) { throw null; } public override string ToString() { throw null; } } public abstract partial class Type : System.Reflection.MemberInfo, System.Reflection.IReflect @@ -6824,7 +6507,7 @@ public ref partial struct TypedReference public static System.TypedReference MakeTypedReference(object target, System.Reflection.FieldInfo[] flds) { throw null; } public static void SetTypedReference(System.TypedReference target, object? value) { } public static System.RuntimeTypeHandle TargetTypeToken(System.TypedReference value) { throw null; } - public static object ToObject(System.TypedReference value) { throw null; } + public static object? ToObject(System.TypedReference value) { throw null; } } public sealed partial class TypeInitializationException : System.SystemException { @@ -7094,21 +6777,21 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static ushort RotateLeft(ushort value, int rotateAmount) { throw null; } public static ushort RotateRight(ushort value, int rotateAmount) { throw null; } public static int Sign(ushort value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static ushort System.Numerics.IAdditionOperators.operator +(ushort left, ushort right) { throw null; } static ushort System.Numerics.IAdditionOperators.operator checked +(ushort left, ushort right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -7235,21 +6918,21 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static uint RotateLeft(uint value, int rotateAmount) { throw null; } public static uint RotateRight(uint value, int rotateAmount) { throw null; } public static int Sign(uint value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static uint System.Numerics.IAdditionOperators.operator +(uint left, uint right) { throw null; } static uint System.Numerics.IAdditionOperators.operator checked +(uint left, uint right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -7376,21 +7059,21 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static ulong RotateLeft(ulong value, int rotateAmount) { throw null; } public static ulong RotateRight(ulong value, int rotateAmount) { throw null; } public static int Sign(ulong value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } static ulong System.Numerics.IAdditionOperators.operator +(ulong left, ulong right) { throw null; } static ulong System.Numerics.IAdditionOperators.operator checked +(ulong left, ulong right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -7475,7 +7158,7 @@ public TypeUnloadedException(string? message, System.Exception? innerException) [System.CLSCompliantAttribute(false)] public readonly partial struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.Runtime.Serialization.ISerializable { - private readonly unsafe void* _dummyPrimitive; + private readonly nuint _dummyPrimitive; public static readonly nuint Zero; public UIntPtr(uint value) { throw null; } public UIntPtr(ulong value) { throw null; } @@ -7649,10 +7332,10 @@ public partial struct ValueTuple : System.Collections.IStructuralComparable, Sys public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -7665,10 +7348,10 @@ public partial struct ValueTuple : System.Collections.IStructuralComparable, public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2)>, System.IEquatable<(T1, T2)>, System.Runtime.CompilerServices.ITuple @@ -7682,10 +7365,10 @@ public partial struct ValueTuple : System.Collections.IStructuralCompara public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3)>, System.IEquatable<(T1, T2, T3)>, System.Runtime.CompilerServices.ITuple @@ -7700,10 +7383,10 @@ public partial struct ValueTuple : System.Collections.IStructuralCom public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4)>, System.IEquatable<(T1, T2, T3, T4)>, System.Runtime.CompilerServices.ITuple @@ -7719,10 +7402,10 @@ public partial struct ValueTuple : System.Collections.IStructura public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5)>, System.IEquatable<(T1, T2, T3, T4, T5)>, System.Runtime.CompilerServices.ITuple @@ -7739,10 +7422,10 @@ public partial struct ValueTuple : System.Collections.IStruc public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6)>, System.IEquatable<(T1, T2, T3, T4, T5, T6)>, System.Runtime.CompilerServices.ITuple @@ -7760,10 +7443,10 @@ public partial struct ValueTuple : System.Collections.IS public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5, T6) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6, T7)>, System.IEquatable<(T1, T2, T3, T4, T5, T6, T7)>, System.Runtime.CompilerServices.ITuple @@ -7782,13 +7465,13 @@ public partial struct ValueTuple : System.Collection public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5, T6, T7) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } - public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple where TRest : struct + public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6, T7, TRest)>, System.IEquatable<(T1, T2, T3, T4, T5, T6, T7, TRest)>, System.Runtime.CompilerServices.ITuple where TRest : struct { public T1 Item1; public T2 Item2; @@ -7801,14 +7484,14 @@ public partial struct ValueTuple : System.Col public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) { throw null; } object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public int CompareTo(System.ValueTuple other) { throw null; } + public int CompareTo((T1, T2, T3, T4, T5, T6, T7, TRest) other) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } - public bool Equals(System.ValueTuple other) { throw null; } + public bool Equals((T1, T2, T3, T4, T5, T6, T7, TRest) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object? other) { throw null; } + int System.IComparable.CompareTo(object other) { throw null; } public override string ToString() { throw null; } } public abstract partial class ValueType @@ -7846,11 +7529,11 @@ public Version(string version) { } public static System.Version Parse(System.ReadOnlySpan utf8Text) { throw null; } public static System.Version Parse(System.ReadOnlySpan 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 destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - static System.Version System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version result) { throw null; } + string System.IFormattable.ToString(string format, System.IFormatProvider formatProvider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + static System.Version System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version result) { throw null; } public override string ToString() { throw null; } public string ToString(int fieldCount) { throw null; } public bool TryFormat(System.Span utf8Destination, int fieldCount, out int bytesWritten) { throw null; } @@ -7941,11 +7624,11 @@ public enum OperationStatus NeedMoreData = 2, InvalidData = 3, } - public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg) where TArg : allows ref struct; + public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg); public static partial class SearchValues { - public static System.Buffers.SearchValues Create(params System.ReadOnlySpan values) { throw null; } - public static System.Buffers.SearchValues Create(params System.ReadOnlySpan values) { throw null; } + public static System.Buffers.SearchValues Create([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public static System.Buffers.SearchValues Create([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public static System.Buffers.SearchValues Create(System.ReadOnlySpan values, System.StringComparison comparisonType) { throw null; } } public partial class SearchValues where T : System.IEquatable? @@ -7953,7 +7636,7 @@ public partial class SearchValues where T : System.IEquatable? internal SearchValues() { } public bool Contains(T value) { throw null; } } - public delegate void SpanAction(System.Span span, TArg arg) where TArg : allows ref struct; + public delegate void SpanAction(System.Span span, TArg arg); } namespace System.Buffers.Text { @@ -8056,11 +7739,13 @@ public override void Write(string? s) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } + public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } + public override void Write(System.Text.Rune value) { } 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 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(System.Text.Rune value) { 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) { } @@ -8076,7 +7761,8 @@ public override void WriteLine(string? s) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } + public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } + public override void WriteLine(System.Text.Rune value) { } [System.CLSCompliantAttribute(false)] public override void WriteLine(uint value) { } public override System.Threading.Tasks.Task WriteLineAsync() { throw null; } @@ -8084,6 +7770,7 @@ public override void WriteLine(uint value) { } public override System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory 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(System.Text.Rune value) { 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; } @@ -8166,6 +7853,7 @@ public partial struct DictionaryEntry public object? Value { get { throw null; } set { } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Deconstruct(out object key, out object? value) { throw null; } + public override string ToString() { throw null; } } public partial class Hashtable : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { @@ -8259,9 +7947,7 @@ public partial interface IEnumerable } public partial interface IEnumerator { -#nullable disable // explicitly leaving Current as "oblivious" to avoid spurious warnings in foreach over non-generic enumerables object Current { get; } -#nullable restore bool MoveNext(); void Reset(); } @@ -8300,17 +7986,17 @@ public partial interface IStructuralEquatable } namespace System.Collections.Generic { - public partial interface IAlternateEqualityComparer where TAlternate : allows ref struct where T : allows ref struct + public partial interface IAlternateEqualityComparer { + T Create(TAlternate alternate); bool Equals(TAlternate alternate, T other); int GetHashCode(TAlternate alternate); - T Create(TAlternate alternate); } - public partial interface IAsyncEnumerable where T : allows ref struct + public partial interface IAsyncEnumerable { System.Collections.Generic.IAsyncEnumerator GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - public partial interface IAsyncEnumerator : System.IAsyncDisposable where T : allows ref struct + public partial interface IAsyncEnumerator : System.IAsyncDisposable { T Current { get; } System.Threading.Tasks.ValueTask MoveNextAsync(); @@ -8325,7 +8011,7 @@ public partial interface ICollection : System.Collections.Generic.IEnumerable void CopyTo(T[] array, int arrayIndex); bool Remove(T item); } - public partial interface IComparer where T : allows ref struct + public partial interface IComparer { int Compare(T? x, T? y); } @@ -8339,15 +8025,15 @@ public partial interface IDictionary : System.Collections.Generic. bool Remove(TKey key); bool TryGetValue(TKey key, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TValue value); } - public partial interface IEnumerable : System.Collections.IEnumerable where T : allows ref struct + public partial interface IEnumerable : System.Collections.IEnumerable { new System.Collections.Generic.IEnumerator GetEnumerator(); } - public partial interface IEnumerator : System.Collections.IEnumerator, System.IDisposable where T : allows ref struct + public partial interface IEnumerator : System.Collections.IEnumerator, System.IDisposable { new T Current { get; } } - public partial interface IEqualityComparer where T : allows ref struct + public partial interface IEqualityComparer { bool Equals(T? x, T? y); int GetHashCode([System.Diagnostics.CodeAnalysis.DisallowNullAttribute] T obj); @@ -8416,7 +8102,6 @@ public readonly partial struct KeyValuePair { private readonly TKey key; private readonly TValue value; - private readonly int _dummyPrimitive; public KeyValuePair(TKey key, TValue value) { throw null; } public TKey Key { get { throw null; } } public TValue Value { get { throw null; } } @@ -8455,18 +8140,18 @@ protected virtual void RemoveItem(int index) { } protected virtual void SetItem(int index, T item) { } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object? value) { throw null; } - bool System.Collections.IList.Contains(object? value) { throw null; } - int System.Collections.IList.IndexOf(object? value) { throw null; } - void System.Collections.IList.Insert(int index, object? value) { } - void System.Collections.IList.Remove(object? value) { } + int System.Collections.IList.Add(object value) { throw null; } + bool System.Collections.IList.Contains(object value) { throw null; } + int System.Collections.IList.IndexOf(object value) { throw null; } + void System.Collections.IList.Insert(int index, object value) { } + void System.Collections.IList.Remove(object value) { } } public static partial class ReadOnlyCollection { - public static System.Collections.ObjectModel.ReadOnlyCollection CreateCollection(params System.ReadOnlySpan values) { throw null; } - public static System.Collections.ObjectModel.ReadOnlySet CreateSet(params System.ReadOnlySpan values) { throw null; } + public static System.Collections.ObjectModel.ReadOnlyCollection CreateCollection([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public static System.Collections.ObjectModel.ReadOnlySet CreateSet([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } } - [System.Runtime.CompilerServices.CollectionBuilder(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateCollection")] + [System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateCollection")] public partial class ReadOnlyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public ReadOnlyCollection(System.Collections.Generic.IList list) { } @@ -8492,12 +8177,12 @@ void System.Collections.Generic.IList.Insert(int index, T value) { } void System.Collections.Generic.IList.RemoveAt(int index) { } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object? value) { throw null; } + int System.Collections.IList.Add(object value) { throw null; } void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object? value) { throw null; } - int System.Collections.IList.IndexOf(object? value) { throw null; } - void System.Collections.IList.Insert(int index, object? value) { } - void System.Collections.IList.Remove(object? value) { } + bool System.Collections.IList.Contains(object value) { throw null; } + int System.Collections.IList.IndexOf(object value) { throw null; } + void System.Collections.IList.Insert(int index, object value) { } + void System.Collections.IList.Remove(object value) { } void System.Collections.IList.RemoveAt(int index) { } } public partial class ReadOnlyDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable where TKey : notnull @@ -8532,7 +8217,7 @@ public ReadOnlyDictionary(System.Collections.Generic.IDictionary d void System.Collections.Generic.IDictionary.Add(TKey key, TValue value) { } bool System.Collections.Generic.IDictionary.Remove(TKey key) { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - void System.Collections.IDictionary.Add(object key, object? value) { } + void System.Collections.IDictionary.Add(object key, object value) { } void System.Collections.IDictionary.Clear() { } bool System.Collections.IDictionary.Contains(object key) { throw null; } System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator() { throw null; } @@ -8572,7 +8257,7 @@ void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } } - [System.Runtime.CompilerServices.CollectionBuilder(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateSet")] + [System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateSet")] public partial class ReadOnlySet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable { public ReadOnlySet(System.Collections.Generic.ISet @set) { } @@ -8696,10 +8381,10 @@ public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttrib public static void Close() { } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] [System.Diagnostics.ConditionalAttribute("DEBUG")] - public static void Fail(string? message) => throw null; + public static void Fail(string? message) { } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] [System.Diagnostics.ConditionalAttribute("DEBUG")] - public static void Fail(string? message, string? detailMessage) => throw null; + public static void Fail(string? message, string? detailMessage) { } [System.Diagnostics.ConditionalAttribute("DEBUG")] public static void Flush() { } [System.Diagnostics.ConditionalAttribute("DEBUG")] @@ -8953,8 +8638,8 @@ public sealed partial class DoesNotReturnIfAttribute : System.Attribute public DoesNotReturnIfAttribute(bool parameterValue) { } public bool ParameterValue { get { throw null; } } } + [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)] [System.Runtime.CompilerServices.CompilerLoweringPreserveAttribute] - [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) { } @@ -9004,8 +8689,8 @@ public DynamicDependencyAttribute(string memberSignature) { } public DynamicDependencyAttribute(string memberSignature, string typeName, string assemblyName) { } public DynamicDependencyAttribute(string memberSignature, System.Type type) { } public string? AssemblyName { get { throw null; } } - [System.Obsolete("This property is no longer supported.")] - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.ObsoleteAttribute("This property is no longer supported.")] public string? Condition { get { throw null; } set { } } public string? MemberSignature { get { throw null; } } public System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes MemberTypes { get { throw null; } } @@ -9093,7 +8778,7 @@ public RequiresAssemblyFilesAttribute(string message) { } public sealed partial class RequiresDynamicCodeAttribute : System.Attribute { public RequiresDynamicCodeAttribute(string message) { } - public bool ExcludeStatics { get; set; } + public bool ExcludeStatics { get { throw null; } set { } } public string Message { get { throw null; } } public string? Url { get { throw null; } set { } } } @@ -9101,7 +8786,7 @@ public RequiresDynamicCodeAttribute(string message) { } public sealed partial class RequiresUnreferencedCodeAttribute : System.Attribute { public RequiresUnreferencedCodeAttribute(string message) { } - public bool ExcludeStatics { get; set; } + public bool ExcludeStatics { get { throw null; } set { } } public string Message { get { throw null; } } public string? Url { get { throw null; } set { } } } @@ -9316,7 +9001,7 @@ internal CompareInfo() { } public int LastIndexOf(string source, string value, int startIndex, System.Globalization.CompareOptions options) { throw null; } public int LastIndexOf(string source, string value, int startIndex, int count) { throw null; } public int LastIndexOf(string source, string value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } public override string ToString() { throw null; } } [System.FlagsAttribute] @@ -9954,14 +9639,14 @@ internal TextInfo() { } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } public static System.Globalization.TextInfo ReadOnly(System.Globalization.TextInfo textInfo) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } public char ToLower(char c) { throw null; } public string ToLower(string str) { throw null; } + public System.Text.Rune ToLower(System.Text.Rune value) { throw null; } public override string ToString() { throw null; } public string ToTitleCase(string str) { throw null; } public char ToUpper(char c) { throw null; } public string ToUpper(string str) { throw null; } - public System.Text.Rune ToLower(System.Text.Rune value) { throw null; } public System.Text.Rune ToUpper(System.Text.Rune value) { throw null; } } public partial class ThaiBuddhistCalendar : System.Globalization.Calendar @@ -10550,16 +10235,16 @@ public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.F public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access) instead.")] - public FileStream(System.IntPtr handle, System.IO.FileAccess access) { } + public FileStream(nint handle, System.IO.FileAccess access) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")] - public FileStream(System.IntPtr handle, System.IO.FileAccess access, bool ownsHandle) { } + public FileStream(nint handle, System.IO.FileAccess access, bool ownsHandle) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")] - public FileStream(System.IntPtr handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize) { } + public FileStream(nint handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")] - public FileStream(System.IntPtr handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize, bool isAsync) { } + public FileStream(nint handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize, bool isAsync) { } public FileStream(string path, System.IO.FileMode mode) { } public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access) { } public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { } @@ -10571,7 +10256,7 @@ public FileStream(string path, System.IO.FileStreamOptions options) { } public override bool CanSeek { get { throw null; } } public override bool CanWrite { get { throw null; } } [System.ObsoleteAttribute("FileStream.Handle has been deprecated. Use FileStream's SafeFileHandle property instead.")] - public virtual System.IntPtr Handle { get { throw null; } } + public virtual nint Handle { get { throw null; } } public virtual bool IsAsync { get { throw null; } } public override long Length { get { throw null; } } public virtual string Name { get { throw null; } } @@ -10700,13 +10385,9 @@ public MemoryStream(int capacity) { } public virtual int Capacity { get { throw null; } set { } } public override long Length { get { throw null; } } public override long Position { get { throw null; } set { } } - public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw null; } - public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw null; } public override void CopyTo(System.IO.Stream destination, int bufferSize) { } public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; } protected override void Dispose(bool disposing) { } - public override int EndRead(System.IAsyncResult asyncResult) { throw null; } - public override void EndWrite(System.IAsyncResult asyncResult) { } public override void Flush() { } public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public virtual byte[] GetBuffer() { throw null; } @@ -10736,11 +10417,11 @@ public static partial class Path public static readonly char VolumeSeparatorChar; [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("path")] public static string? ChangeExtension(string? path, string? extension) { throw null; } + public static string Combine([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan paths) { throw null; } public static string Combine(string path1, string path2) { throw null; } public static string Combine(string path1, string path2, string path3) { throw null; } public static string Combine(string path1, string path2, string path3, string path4) { throw null; } public static string Combine(params string[] paths) { throw null; } - public static string Combine(params System.ReadOnlySpan paths) { throw null; } public static bool EndsInDirectorySeparator(System.ReadOnlySpan path) { throw null; } public static bool EndsInDirectorySeparator([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; } public static bool Exists([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; } @@ -10774,11 +10455,11 @@ public static partial class Path public static string Join(System.ReadOnlySpan path1, System.ReadOnlySpan path2) { throw null; } public static string Join(System.ReadOnlySpan path1, System.ReadOnlySpan path2, System.ReadOnlySpan path3) { throw null; } public static string Join(System.ReadOnlySpan path1, System.ReadOnlySpan path2, System.ReadOnlySpan path3, System.ReadOnlySpan path4) { throw null; } + public static string Join([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan paths) { throw null; } public static string Join(string? path1, string? path2) { throw null; } public static string Join(string? path1, string? path2, string? path3) { throw null; } public static string Join(string? path1, string? path2, string? path3, string? path4) { throw null; } public static string Join(params string?[] paths) { throw null; } - public static string Join(params System.ReadOnlySpan paths) { throw null; } public static System.ReadOnlySpan TrimEndingDirectorySeparator(System.ReadOnlySpan path) { throw null; } public static string TrimEndingDirectorySeparator(string path) { throw null; } public static bool TryJoin(System.ReadOnlySpan path1, System.ReadOnlySpan path2, System.ReadOnlySpan path3, System.Span destination, out int charsWritten) { throw null; } @@ -10945,7 +10626,7 @@ public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribut public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } + public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan 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 buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -10956,7 +10637,7 @@ public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttr public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } + public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } 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; } @@ -11060,7 +10741,6 @@ public virtual void Flush() { } public static System.IO.TextWriter Synchronized(System.IO.TextWriter writer) { throw null; } public virtual void Write(bool value) { } public virtual void Write(char value) { } - public virtual void Write(System.Text.Rune value) { } public virtual void Write(char[]? buffer) { } public virtual void Write(char[] buffer, int index, int count) { } public virtual void Write(decimal value) { } @@ -11075,24 +10755,24 @@ public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } + public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } + public virtual void Write(System.Text.Rune value) { } public virtual void Write(System.Text.StringBuilder? value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(ulong value) { } public virtual System.Threading.Tasks.Task WriteAsync(char value) { throw null; } - public virtual System.Threading.Tasks.Task WriteAsync(System.Text.Rune value) { throw null; } public System.Threading.Tasks.Task WriteAsync(char[]? buffer) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(string? value) { throw null; } public System.Threading.Tasks.Task WriteAsync(string? value, System.Threading.CancellationToken cancellationToken) { throw null; } + public virtual System.Threading.Tasks.Task WriteAsync(System.Text.Rune value) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual void WriteLine() { } public virtual void WriteLine(bool value) { } public virtual void WriteLine(char value) { } - public virtual void WriteLine(System.Text.Rune value) { } public virtual void WriteLine(char[]? buffer) { } public virtual void WriteLine(char[] buffer, int index, int count) { } public virtual void WriteLine(decimal value) { } @@ -11107,22 +10787,23 @@ public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttri public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } + public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } + public virtual void WriteLine(System.Text.Rune value) { } public virtual void WriteLine(System.Text.StringBuilder? value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(ulong value) { } public virtual System.Threading.Tasks.Task WriteLineAsync() { throw null; } - public System.Threading.Tasks.Task WriteLineAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } - public virtual System.Threading.Tasks.Task WriteLineAsync(System.Text.Rune value) { throw null; } public System.Threading.Tasks.Task WriteLineAsync(char[]? buffer) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(string? value) { throw null; } public System.Threading.Tasks.Task WriteLineAsync(string? value, System.Threading.CancellationToken cancellationToken) { throw null; } + public virtual System.Threading.Tasks.Task WriteLineAsync(System.Text.Rune value) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public System.Threading.Tasks.Task WriteLineAsync(System.Threading.CancellationToken cancellationToken) { throw null; } } [System.FlagsAttribute] public enum UnixFileMode @@ -11217,6 +10898,7 @@ public FileSystemEnumerator(string directory, System.IO.EnumerationOptions? opti protected virtual bool ContinueOnError(int error) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } + ~FileSystemEnumerator() { } public bool MoveNext() { throw null; } protected virtual void OnDirectoryFinished(System.ReadOnlySpan directory) { } public void Reset() { } @@ -11268,7 +10950,7 @@ namespace System.Numerics public static System.Numerics.BFloat16 One { get { throw null; } } public static System.Numerics.BFloat16 Pi { get { throw null; } } public static System.Numerics.BFloat16 PositiveInfinity { get { throw null; } } - static System.Numerics.BFloat16 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get { throw null; } } + static System.Numerics.BFloat16 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get { throw null; } } static System.Numerics.BFloat16 System.Numerics.IBinaryNumber.AllBitsSet { get { throw null; } } static int System.Numerics.INumberBase.Radix { get { throw null; } } public static System.Numerics.BFloat16 Tau { get { throw null; } } @@ -11346,76 +11028,76 @@ namespace System.Numerics public static System.Numerics.BFloat16 MinMagnitudeNumber(System.Numerics.BFloat16 x, System.Numerics.BFloat16 y) { throw null; } public static System.Numerics.BFloat16 MinNumber(System.Numerics.BFloat16 x, System.Numerics.BFloat16 y) { throw null; } public static System.Numerics.BFloat16 operator +(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } - public static explicit operator checked byte(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked char(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked short(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked int(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked long(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked System.Int128(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked nint(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked byte (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked char (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked short (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked int (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked long (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked System.Int128 (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked nint (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked sbyte(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked sbyte (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked ushort(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked ushort (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked uint(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked uint (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked ulong(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked ulong (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked System.UInt128(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked System.UInt128 (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked nuint(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked nuint (System.Numerics.BFloat16 value) { throw null; } public static System.Numerics.BFloat16 operator --(System.Numerics.BFloat16 value) { throw null; } public static System.Numerics.BFloat16 operator /(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } public static bool operator ==(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } - public static explicit operator System.Numerics.BFloat16(char value) { throw null; } - public static explicit operator System.Numerics.BFloat16(decimal value) { throw null; } - public static explicit operator System.Numerics.BFloat16(double value) { throw null; } - public static explicit operator System.Numerics.BFloat16(System.Half value) { throw null; } - public static explicit operator System.Numerics.BFloat16(System.Int128 value) { throw null; } - public static explicit operator System.Numerics.BFloat16(short value) { throw null; } - public static explicit operator System.Numerics.BFloat16(int value) { throw null; } - public static explicit operator System.Numerics.BFloat16(long value) { throw null; } - public static explicit operator System.Numerics.BFloat16(nint value) { throw null; } - public static explicit operator byte(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator char(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator decimal(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator double(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator System.Half(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator System.Int128(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator short(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator int(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator long(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator nint(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (char value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (decimal value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (double value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (System.Half value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (System.Int128 value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (short value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (int value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (long value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (nint value) { throw null; } + public static explicit operator byte (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator char (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator decimal (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator double (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Half (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Int128 (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator short (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator int (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator long (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator nint (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator sbyte(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator float(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator sbyte (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator float (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.UInt128(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.UInt128 (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator ushort(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator ushort (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator uint(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator uint (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator ulong(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator ulong (System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator nuint(System.Numerics.BFloat16 value) { throw null; } - public static explicit operator System.Numerics.BFloat16(float value) { throw null; } + public static explicit operator nuint (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (float value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16(System.UInt128 value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (System.UInt128 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16(ushort value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (ushort value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16(uint value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (uint value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16(ulong value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (ulong value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16(nuint value) { throw null; } + public static explicit operator System.Numerics.BFloat16 (nuint value) { throw null; } public static bool operator >(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } public static bool operator >=(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } - public static implicit operator System.Numerics.BFloat16(byte value) { throw null; } + public static implicit operator System.Numerics.BFloat16 (byte value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.BFloat16(sbyte value) { throw null; } + public static implicit operator System.Numerics.BFloat16 (sbyte value) { throw null; } public static System.Numerics.BFloat16 operator ++(System.Numerics.BFloat16 value) { throw null; } public static bool operator !=(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } public static bool operator <(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } @@ -11568,7 +11250,7 @@ public enum DivisionRounding public partial interface IAdditionOperators where TSelf : System.Numerics.IAdditionOperators? { static abstract TResult operator +(TSelf left, TOther right); - static virtual TResult operator checked +(TSelf left, TOther right) { throw null; } + static TResult operator checked +(TSelf left, TOther right) { throw null; } } public partial interface IAdditiveIdentity where TSelf : System.Numerics.IAdditiveIdentity? { @@ -11577,24 +11259,24 @@ public partial interface IAdditiveIdentity where TSelf : System. public partial interface IBinaryFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryFloatingPointIeee754? { } - public partial interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger? + public partial interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger? { - static virtual TSelf Divide(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } - static virtual (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right) { throw null; } - static virtual (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } - static virtual TSelf Remainder(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } + static TSelf Divide(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } + static (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right) { throw null; } + static (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } int GetByteCount(); int GetShortestBitLength(); - static virtual TSelf LeadingZeroCount(TSelf value) { throw null; } + static TSelf LeadingZeroCount(TSelf value) { throw null; } static abstract TSelf PopCount(TSelf value); - static virtual TSelf ReadBigEndian(byte[] source, bool isUnsigned) { throw null; } - static virtual TSelf ReadBigEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } - static virtual TSelf ReadBigEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } - static virtual TSelf ReadLittleEndian(byte[] source, bool isUnsigned) { throw null; } - static virtual TSelf ReadLittleEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } - static virtual TSelf ReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } - static virtual TSelf RotateLeft(TSelf value, int rotateAmount) { throw null; } - static virtual TSelf RotateRight(TSelf value, int rotateAmount) { throw null; } + static TSelf ReadBigEndian(byte[] source, bool isUnsigned) { throw null; } + static TSelf ReadBigEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } + static TSelf ReadBigEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } + static TSelf ReadLittleEndian(byte[] source, bool isUnsigned) { throw null; } + static TSelf ReadLittleEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } + static TSelf ReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } + static TSelf Remainder(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } + static TSelf RotateLeft(TSelf value, int rotateAmount) { throw null; } + static TSelf RotateRight(TSelf value, int rotateAmount) { throw null; } static abstract TSelf TrailingZeroCount(TSelf value); static abstract bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out TSelf value); static abstract bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out TSelf value); @@ -11607,9 +11289,9 @@ public partial interface IBinaryInteger : System.IComparable, System.ICom int WriteLittleEndian(byte[] destination, int startIndex) { throw null; } int WriteLittleEndian(System.Span destination) { throw null; } } - public partial interface IBinaryNumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryNumber? + public partial interface IBinaryNumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryNumber? { - static virtual TSelf AllBitsSet { get { throw null; } } + static TSelf AllBitsSet { get { throw null; } } static abstract bool IsPow2(TSelf value); static abstract TSelf Log2(TSelf value); } @@ -11629,12 +11311,12 @@ public partial interface IComparisonOperators : System.N } public partial interface IDecrementOperators where TSelf : System.Numerics.IDecrementOperators? { - static virtual TSelf operator checked --(TSelf value) { throw null; } + static TSelf operator checked --(TSelf value) { throw null; } static abstract TSelf operator --(TSelf value); } public partial interface IDivisionOperators where TSelf : System.Numerics.IDivisionOperators? { - static virtual TResult operator checked /(TSelf left, TOther right) { throw null; } + static TResult operator checked /(TSelf left, TOther right) { throw null; } static abstract TResult operator /(TSelf left, TOther right); } public partial interface IEqualityOperators where TSelf : System.Numerics.IEqualityOperators? @@ -11646,10 +11328,10 @@ public partial interface IExponentialFunctions : System.IEquatable { static abstract TSelf Exp(TSelf x); static abstract TSelf Exp10(TSelf x); - static virtual TSelf Exp10M1(TSelf x) { throw null; } + static TSelf Exp10M1(TSelf x) { throw null; } static abstract TSelf Exp2(TSelf x); - static virtual TSelf Exp2M1(TSelf x) { throw null; } - static virtual TSelf ExpM1(TSelf x) { throw null; } + static TSelf Exp2M1(TSelf x) { throw null; } + static TSelf ExpM1(TSelf x) { throw null; } } public partial interface IFloatingPointConstants : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointConstants? { @@ -11671,26 +11353,26 @@ public partial interface IFloatingPointIeee754 : System.IComparable, Syst static abstract TSelf FusedMultiplyAdd(TSelf left, TSelf right, TSelf addend); static abstract TSelf Ieee754Remainder(TSelf left, TSelf right); static abstract int ILogB(TSelf x); - static virtual TSelf Lerp(TSelf value1, TSelf value2, TSelf amount) { throw null; } - static virtual TSelf ReciprocalEstimate(TSelf x) { throw null; } - static virtual TSelf ReciprocalSqrtEstimate(TSelf x) { throw null; } + static TSelf Lerp(TSelf value1, TSelf value2, TSelf amount) { throw null; } + static TSelf ReciprocalEstimate(TSelf x) { throw null; } + static TSelf ReciprocalSqrtEstimate(TSelf x) { throw null; } static abstract TSelf ScaleB(TSelf x, int n); } - public partial interface IFloatingPoint : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPoint? + public partial interface IFloatingPoint : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPoint? { - static virtual TSelf Ceiling(TSelf x) { throw null; } - static virtual TInteger ConvertToInteger(TSelf value) where TInteger : System.Numerics.IBinaryInteger { throw null; } - static virtual TInteger ConvertToIntegerNative(TSelf value) where TInteger : System.Numerics.IBinaryInteger { throw null; } - static virtual TSelf Floor(TSelf x) { throw null; } + static TSelf Ceiling(TSelf x) { throw null; } + static TInteger ConvertToIntegerNative(TSelf value) { throw null; } + static TInteger ConvertToInteger(TSelf value) { throw null; } + static TSelf Floor(TSelf x) { throw null; } int GetExponentByteCount(); int GetExponentShortestBitLength(); int GetSignificandBitLength(); int GetSignificandByteCount(); - static virtual TSelf Round(TSelf x) { throw null; } - static virtual TSelf Round(TSelf x, int digits) { throw null; } + static TSelf Round(TSelf x) { throw null; } + static TSelf Round(TSelf x, int digits) { throw null; } static abstract TSelf Round(TSelf x, int digits, System.MidpointRounding mode); - static virtual TSelf Round(TSelf x, System.MidpointRounding mode) { throw null; } - static virtual TSelf Truncate(TSelf x) { throw null; } + static TSelf Round(TSelf x, System.MidpointRounding mode) { throw null; } + static TSelf Truncate(TSelf x) { throw null; } bool TryWriteExponentBigEndian(System.Span destination, out int bytesWritten); bool TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten); bool TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten); @@ -11719,7 +11401,7 @@ public partial interface IHyperbolicFunctions : System.IEquatable, } public partial interface IIncrementOperators where TSelf : System.Numerics.IIncrementOperators? { - static virtual TSelf operator checked ++(TSelf value) { throw null; } + static TSelf operator checked ++(TSelf value) { throw null; } static abstract TSelf operator ++(TSelf value); } public partial interface ILogarithmicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ILogarithmicFunctions? @@ -11727,10 +11409,10 @@ public partial interface ILogarithmicFunctions : System.IEquatable static abstract TSelf Log(TSelf x); static abstract TSelf Log(TSelf x, TSelf newBase); static abstract TSelf Log10(TSelf x); - static virtual TSelf Log10P1(TSelf x) { throw null; } + static TSelf Log10P1(TSelf x) { throw null; } static abstract TSelf Log2(TSelf x); - static virtual TSelf Log2P1(TSelf x) { throw null; } - static virtual TSelf LogP1(TSelf x) { throw null; } + static TSelf Log2P1(TSelf x) { throw null; } + static TSelf LogP1(TSelf x) { throw null; } } public partial interface IMinMaxValue where TSelf : System.Numerics.IMinMaxValue? { @@ -11747,7 +11429,7 @@ public partial interface IMultiplicativeIdentity where TSelf : S } public partial interface IMultiplyOperators where TSelf : System.Numerics.IMultiplyOperators? { - static virtual TResult operator checked *(TSelf left, TOther right) { throw null; } + static TResult operator checked *(TSelf left, TOther right) { throw null; } static abstract TResult operator *(TSelf left, TOther right); } public partial interface INumberBase : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumberBase? @@ -11756,18 +11438,9 @@ public partial interface INumberBase : System.IEquatable, System.I static abstract int Radix { get; } static abstract TSelf Zero { get; } static abstract TSelf Abs(TSelf value); - static virtual TSelf CreateChecked(TOther value) -#nullable disable - where TOther : System.Numerics.INumberBase { throw null; } -#nullable restore - static virtual TSelf CreateSaturating(TOther value) -#nullable disable - where TOther : System.Numerics.INumberBase { throw null; } -#nullable restore - static virtual TSelf CreateTruncating(TOther value) -#nullable disable - where TOther : System.Numerics.INumberBase { throw null; } -#nullable restore + static TSelf CreateChecked(TOther value) { throw null; } + static TSelf CreateSaturating(TOther value) { throw null; } + static TSelf CreateTruncating(TOther value) { throw null; } static abstract bool IsCanonical(TSelf value); static abstract bool IsComplexNumber(TSelf value); static abstract bool IsEvenInteger(TSelf value); @@ -11789,59 +11462,41 @@ static virtual TSelf CreateTruncating(TOther value) static abstract TSelf MaxMagnitudeNumber(TSelf x, TSelf y); static abstract TSelf MinMagnitude(TSelf x, TSelf y); static abstract TSelf MinMagnitudeNumber(TSelf x, TSelf y); - static virtual TSelf MultiplyAddEstimate(TSelf left, TSelf right, TSelf addend) { throw null; } - static virtual TSelf Parse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + static TSelf MultiplyAddEstimate(TSelf left, TSelf right, TSelf addend) { throw null; } + static TSelf Parse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } static abstract TSelf Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider); static abstract TSelf Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider); - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - static TSelf System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) { throw null; } - protected static abstract bool TryConvertFromChecked(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) -#nullable disable - where TOther : System.Numerics.INumberBase; -#nullable restore - protected static abstract bool TryConvertFromSaturating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) -#nullable disable - where TOther : System.Numerics.INumberBase; -#nullable restore - protected static abstract bool TryConvertFromTruncating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) -#nullable disable - where TOther : System.Numerics.INumberBase; -#nullable restore - protected static abstract bool TryConvertToChecked(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TOther result) -#nullable disable - where TOther : System.Numerics.INumberBase; -#nullable restore - protected static abstract bool TryConvertToSaturating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TOther result) -#nullable disable - where TOther : System.Numerics.INumberBase; -#nullable restore - protected static abstract bool TryConvertToTruncating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TOther result) -#nullable disable - where TOther : System.Numerics.INumberBase; -#nullable restore - static virtual bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) { throw null; } - static abstract bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result); - static abstract bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result); - } - public partial interface INumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumber? - { - static virtual TSelf Clamp(TSelf value, TSelf min, TSelf max) { throw null; } - static virtual TSelf ClampNative(TSelf value, TSelf min, TSelf max) { throw null; } - static virtual TSelf CopySign(TSelf value, TSelf sign) { throw null; } - static virtual TSelf Max(TSelf x, TSelf y) { throw null; } - static virtual TSelf MaxNative(TSelf x, TSelf y) { throw null; } - static virtual TSelf MaxNumber(TSelf x, TSelf y) { throw null; } - static virtual TSelf Min(TSelf x, TSelf y) { throw null; } - static virtual TSelf MinNative(TSelf x, TSelf y) { throw null; } - static virtual TSelf MinNumber(TSelf x, TSelf y) { throw null; } - static virtual int Sign(TSelf value) { throw null; } - } - public partial interface IPowerFunctions : System.Numerics.INumberBase where TSelf : System.Numerics.IPowerFunctions? + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + static TSelf System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result) { throw null; } + static abstract bool TryConvertFromChecked(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); + static abstract bool TryConvertFromSaturating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); + static abstract bool TryConvertFromTruncating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); + static abstract bool TryConvertToChecked(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result); + static abstract bool TryConvertToSaturating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result); + static abstract bool TryConvertToTruncating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result); + static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result) { throw null; } + static abstract bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); + static abstract bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); + } + public partial interface INumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumber? + { + static TSelf Clamp(TSelf value, TSelf min, TSelf max) { throw null; } + static TSelf ClampNative(TSelf value, TSelf min, TSelf max) { throw null; } + static TSelf CopySign(TSelf value, TSelf sign) { throw null; } + static TSelf Max(TSelf x, TSelf y) { throw null; } + static TSelf MaxNative(TSelf x, TSelf y) { throw null; } + static TSelf MaxNumber(TSelf x, TSelf y) { throw null; } + static TSelf Min(TSelf x, TSelf y) { throw null; } + static TSelf MinNative(TSelf x, TSelf y) { throw null; } + static TSelf MinNumber(TSelf x, TSelf y) { throw null; } + static int Sign(TSelf value) { throw null; } + } + public partial interface IPowerFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IPowerFunctions? { static abstract TSelf Pow(TSelf x, TSelf y); } - public partial interface IRootFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.IRootFunctions? + public partial interface IRootFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IRootFunctions? { static abstract TSelf Cbrt(TSelf x); static abstract TSelf Hypot(TSelf x, TSelf y); @@ -11854,16 +11509,16 @@ public partial interface IShiftOperators where TSelf : S static abstract TResult operator >>(TSelf value, TOther shiftAmount); static abstract TResult operator >>>(TSelf value, TOther shiftAmount); } - public partial interface ISignedNumber : System.Numerics.INumberBase where TSelf : System.Numerics.ISignedNumber? + public partial interface ISignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ISignedNumber? { static abstract TSelf NegativeOne { get; } } public partial interface ISubtractionOperators where TSelf : System.Numerics.ISubtractionOperators? { - static virtual TResult operator checked -(TSelf left, TOther right) { throw null; } + static TResult operator checked -(TSelf left, TOther right) { throw null; } static abstract TResult operator -(TSelf left, TOther right); } - public partial interface ITrigonometricFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.ITrigonometricFunctions? + public partial interface ITrigonometricFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ITrigonometricFunctions? { static abstract TSelf Acos(TSelf x); static abstract TSelf AcosPi(TSelf x); @@ -11873,8 +11528,8 @@ public partial interface ITrigonometricFunctions : System.Numerics.IFloat static abstract TSelf AtanPi(TSelf x); static abstract TSelf Cos(TSelf x); static abstract TSelf CosPi(TSelf x); - static virtual TSelf DegreesToRadians(TSelf degrees) { throw null; } - static virtual TSelf RadiansToDegrees(TSelf radians) { throw null; } + static TSelf DegreesToRadians(TSelf degrees) { throw null; } + static TSelf RadiansToDegrees(TSelf radians) { throw null; } static abstract TSelf Sin(TSelf x); static abstract (TSelf Sin, TSelf Cos) SinCos(TSelf x); static abstract (TSelf SinPi, TSelf CosPi) SinCosPi(TSelf x); @@ -11884,14 +11539,14 @@ public partial interface ITrigonometricFunctions : System.Numerics.IFloat } public partial interface IUnaryNegationOperators where TSelf : System.Numerics.IUnaryNegationOperators? { - static virtual TResult operator checked -(TSelf value) { throw null; } + static TResult operator checked -(TSelf value) { throw null; } static abstract TResult operator -(TSelf value); } public partial interface IUnaryPlusOperators where TSelf : System.Numerics.IUnaryPlusOperators? { static abstract TResult operator +(TSelf value); } - public partial interface IUnsignedNumber : System.Numerics.INumberBase where TSelf : System.Numerics.IUnsignedNumber? + public partial interface IUnsignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IUnsignedNumber? { } public readonly partial struct TotalOrderIeee754Comparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.IEquatable> where T : System.Numerics.IFloatingPointIeee754? @@ -12003,7 +11658,7 @@ public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] public static System.Reflection.Assembly LoadFrom(string assemblyFile) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] - [System.ObsoleteAttribute("LoadFrom with a custom AssemblyHashAlgorithm is obsolete. Use overloads without an AssemblyHashAlgorithm.", DiagnosticId = "SYSLIB0056", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("LoadFrom with a custom AssemblyHashAlgorithm is obsolete. Use overloads without an AssemblyHashAlgorithm.", DiagnosticId="SYSLIB0056", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static System.Reflection.Assembly LoadFrom(string assemblyFile, byte[]? hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded module depends on might be removed")] public System.Reflection.Module LoadModule(string moduleName, byte[]? rawModule) { throw null; } @@ -12285,12 +11940,10 @@ protected CustomAttributeData() { } public virtual System.Reflection.ConstructorInfo Constructor { get { throw null; } } public virtual System.Collections.Generic.IList ConstructorArguments { get { throw null; } } public virtual System.Collections.Generic.IList NamedArguments { get { throw null; } } - public override bool Equals(object? obj) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.Assembly target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.MemberInfo target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.Module target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.ParameterInfo target) { throw null; } - public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } public static partial class CustomAttributeExtensions @@ -12903,10 +12556,7 @@ public enum ParameterAttributes Reserved4 = 32768, ReservedMask = 61440, } - public partial class ParameterInfo : System.Reflection.ICustomAttributeProvider -#pragma warning disable SYSLIB0050 // IObjectReference is obsolete - , System.Runtime.Serialization.IObjectReference -#pragma warning restore SYSLIB0050 + public partial class ParameterInfo : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.IObjectReference { protected System.Reflection.ParameterAttributes AttrsImpl; protected System.Type? ClassImpl; @@ -13092,7 +12742,7 @@ public StrongNameKeyPair(System.IO.FileStream keyPairFile) { } protected StrongNameKeyPair(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public StrongNameKeyPair(string keyPairContainer) { } public byte[] PublicKey { get { throw null; } } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class TargetException : System.ApplicationException @@ -13180,6 +12830,7 @@ public TypeDelegator([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers public override string? Namespace { get { throw null; } } public override System.RuntimeTypeHandle TypeHandle { get { throw null; } } public override System.Type UnderlyingSystemType { get { throw null; } } + public override int GetArrayRank() { throw null; } protected override System.Reflection.TypeAttributes GetAttributeFlagsImpl() { throw null; } [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] protected override System.Reflection.ConstructorInfo? GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } @@ -13304,6 +12955,7 @@ public NeutralResourcesLanguageAttribute(string cultureName, System.Resources.Ul } public partial class ResourceManager { + protected string BaseNameField; public static readonly int HeaderVersionNumber; public static readonly int MagicNumber; protected System.Reflection.Assembly? MainAssembly; @@ -13342,6 +12994,7 @@ public void Dispose() { } } public partial class ResourceSet : System.Collections.IEnumerable, System.IDisposable { + protected System.Resources.IResourceReader? Reader; protected ResourceSet() { } public ResourceSet(System.IO.Stream stream) { } public ResourceSet(System.Resources.IResourceReader reader) { } @@ -13393,7 +13046,6 @@ public static void Run(System.Action action, System.Threading.CancellationToken } public partial struct DependentHandle : System.IDisposable { - private object _dummy; private int _dummyPrimitive; public DependentHandle(object? target, object? dependent) { throw null; } public object? Dependent { readonly get { throw null; } set { } } @@ -13453,6 +13105,22 @@ public sealed partial class AccessedThroughPropertyAttribute : System.Attribute public AccessedThroughPropertyAttribute(string propertyName) { } public string PropertyName { get { throw null; } } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static partial class AsyncHelpers + { + public static void Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { } + public static void Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { } + public static void Await(System.Threading.Tasks.Task task) { } + public static void Await(System.Threading.Tasks.ValueTask task) { } + public static void AwaitAwaiter(TAwaiter awaiter) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion { } + public static T Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { throw null; } + public static T Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { throw null; } + public static T Await(System.Threading.Tasks.Task task) { throw null; } + public static T Await(System.Threading.Tasks.ValueTask task) { throw null; } + public static void HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { } + public static int HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { throw null; } + public static void UnsafeAwaitAwaiter(TAwaiter awaiter) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion { } + } public partial struct AsyncIteratorMethodBuilder { private object _dummy; @@ -13605,11 +13273,6 @@ public enum CompilationRelaxations { NoStringInterning = 8, } - [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited = false)] - public sealed class CompilerLoweringPreserveAttribute : System.Attribute - { - public CompilerLoweringPreserveAttribute() { } - } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.Module)] public partial class CompilationRelaxationsAttribute : System.Attribute { @@ -13624,7 +13287,7 @@ public sealed partial class CompilerFeatureRequiredAttribute : System.Attribute public const string RequiredMembers = "RequiredMembers"; public CompilerFeatureRequiredAttribute(string featureName) { } public string FeatureName { get { throw null; } } - public bool IsOptional { get { throw null; } init { } } + public bool IsOptional { get { throw null; } set { } } } [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=true)] public sealed partial class CompilerGeneratedAttribute : System.Attribute @@ -13636,15 +13299,20 @@ public partial class CompilerGlobalScopeAttribute : System.Attribute { public CompilerGlobalScopeAttribute() { } } - public sealed partial class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class? + [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=false)] + public sealed partial class CompilerLoweringPreserveAttribute : System.Attribute + { + public CompilerLoweringPreserveAttribute() { } + } + public sealed partial class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class? { public ConditionalWeakTable() { } public void Add(TKey key, TValue value) { } public void AddOrUpdate(TKey key, TValue value) { } public void Clear() { } - public TValue GetOrAdd(TKey key, TValue value) { throw null; } public TValue GetOrAdd(TKey key, System.Func valueFactory) { throw null; } - public TValue GetOrAdd(TKey key, System.Func valueFactory, TArg factoryArgument) where TArg : allows ref struct { throw null; } + public TValue GetOrAdd(TKey key, TValue value) { throw null; } + public TValue GetOrAdd(TKey key, System.Func valueFactory, TArg factoryArgument) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public TValue GetOrCreateValue(TKey key) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -13665,7 +13333,6 @@ public readonly partial struct ConfiguredAsyncDisposable public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } } public readonly partial struct ConfiguredCancelableAsyncEnumerable - where T : allows ref struct { private readonly object _dummy; private readonly int _dummyPrimitive; @@ -13775,9 +13442,10 @@ public ref partial struct DefaultInterpolatedStringHandler 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 initialBuffer) { throw null; } + public System.ReadOnlySpan Text { get { throw null; } } public void AppendFormatted(object? value, int alignment = 0, string? format = null) { } - public void AppendFormatted(scoped System.ReadOnlySpan value) { } - public void AppendFormatted(scoped System.ReadOnlySpan value, int alignment = 0, string? format = null) { } + public void AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { } + public void AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan 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 value) { } @@ -13786,7 +13454,6 @@ public void AppendFormatted(T value, int alignment, string? format) { } public void AppendFormatted(T value, string? format) { } public void AppendLiteral(string value) { } public void Clear() { } - public System.ReadOnlySpan Text { get { throw null; } } public override string ToString() { throw null; } public string ToStringAndClear() { throw null; } } @@ -13823,8 +13490,8 @@ public sealed partial class ExtensionAttribute : System.Attribute { public ExtensionAttribute() { } } + [System.AttributeUsageAttribute(System.AttributeTargets.Class | 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)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Event | System.AttributeTargets.Interface | System.AttributeTargets.Delegate, Inherited = false)] public sealed partial class ExtensionMarkerAttribute : System.Attribute { public ExtensionMarkerAttribute(string name) { } @@ -13860,78 +13527,78 @@ public sealed partial class IndexerNameAttribute : System.Attribute { public IndexerNameAttribute(string indexerName) { } } - [System.Runtime.CompilerServices.InlineArray(2)] - public struct InlineArray2 + [System.Runtime.CompilerServices.InlineArrayAttribute(10)] + public partial struct InlineArray10 { private T t; } - [System.Runtime.CompilerServices.InlineArray(3)] - public struct InlineArray3 + [System.Runtime.CompilerServices.InlineArrayAttribute(11)] + public partial struct InlineArray11 { private T t; } - [System.Runtime.CompilerServices.InlineArray(4)] - public struct InlineArray4 + [System.Runtime.CompilerServices.InlineArrayAttribute(12)] + public partial struct InlineArray12 { private T t; } - [System.Runtime.CompilerServices.InlineArray(5)] - public struct InlineArray5 + [System.Runtime.CompilerServices.InlineArrayAttribute(13)] + public partial struct InlineArray13 { private T t; } - [System.Runtime.CompilerServices.InlineArray(6)] - public struct InlineArray6 + [System.Runtime.CompilerServices.InlineArrayAttribute(14)] + public partial struct InlineArray14 { private T t; } - [System.Runtime.CompilerServices.InlineArray(7)] - public struct InlineArray7 + [System.Runtime.CompilerServices.InlineArrayAttribute(15)] + public partial struct InlineArray15 { private T t; } - [System.Runtime.CompilerServices.InlineArray(8)] - public struct InlineArray8 + [System.Runtime.CompilerServices.InlineArrayAttribute(16)] + public partial struct InlineArray16 { private T t; } - [System.Runtime.CompilerServices.InlineArray(9)] - public struct InlineArray9 + [System.Runtime.CompilerServices.InlineArrayAttribute(2)] + public partial struct InlineArray2 { private T t; } - [System.Runtime.CompilerServices.InlineArray(10)] - public struct InlineArray10 + [System.Runtime.CompilerServices.InlineArrayAttribute(3)] + public partial struct InlineArray3 { private T t; } - [System.Runtime.CompilerServices.InlineArray(11)] - public struct InlineArray11 + [System.Runtime.CompilerServices.InlineArrayAttribute(4)] + public partial struct InlineArray4 { private T t; } - [System.Runtime.CompilerServices.InlineArray(12)] - public struct InlineArray12 + [System.Runtime.CompilerServices.InlineArrayAttribute(5)] + public partial struct InlineArray5 { private T t; } - [System.Runtime.CompilerServices.InlineArray(13)] - public struct InlineArray13 + [System.Runtime.CompilerServices.InlineArrayAttribute(6)] + public partial struct InlineArray6 { private T t; } - [System.Runtime.CompilerServices.InlineArray(14)] - public struct InlineArray14 + [System.Runtime.CompilerServices.InlineArrayAttribute(7)] + public partial struct InlineArray7 { private T t; } - [System.Runtime.CompilerServices.InlineArray(15)] - public struct InlineArray15 + [System.Runtime.CompilerServices.InlineArrayAttribute(8)] + public partial struct InlineArray8 { private T t; } - [System.Runtime.CompilerServices.InlineArray(16)] - public struct InlineArray16 + [System.Runtime.CompilerServices.InlineArrayAttribute(9)] + public partial struct InlineArray9 { private T t; } @@ -14039,8 +13706,8 @@ public enum MethodImplOptions PreserveSig = 128, AggressiveInlining = 256, AggressiveOptimization = 512, - Async = 8192, InternalCall = 4096, + Async = 8192, } [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] public sealed partial class ModuleInitializerAttribute : System.Attribute @@ -14164,8 +13831,8 @@ public static partial class RuntimeHelpers { [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.IntPtr AllocateTypeAssociatedMemory(System.Type type, int size, int alignment) { throw null; } + public static nint AllocateTypeAssociatedMemory(System.Type type, int size) { throw null; } + public static nint AllocateTypeAssociatedMemory(System.Type type, int size, int alignment) { throw null; } public static object? Box(ref byte target, System.RuntimeTypeHandle type) { throw null; } public static System.ReadOnlySpan CreateSpan(System.RuntimeFieldHandle fldHandle) { throw null; } public static void EnsureSufficientExecutionStack() { } @@ -14178,7 +13845,7 @@ public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServi public static T[] GetSubArray(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 bool IsReferenceOrContainsReferences() where T: allows ref struct { throw null; } + public static bool IsReferenceOrContainsReferences() { throw null; } [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public static void PrepareConstrainedRegions() { } [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] @@ -14198,22 +13865,6 @@ public static void RunModuleConstructor(System.ModuleHandle module) { } public delegate void CleanupCode(object? userData, bool exceptionThrown); public delegate void TryCode(object? userData); } - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public static partial class AsyncHelpers - { - public static void UnsafeAwaitAwaiter(TAwaiter awaiter) where TAwaiter : ICriticalNotifyCompletion { } - public static void AwaitAwaiter(TAwaiter awaiter) where TAwaiter : INotifyCompletion { } - public static void Await(System.Threading.Tasks.Task task) { throw null; } - public static T Await(System.Threading.Tasks.Task task) { throw null; } - public static void Await(System.Threading.Tasks.ValueTask task) { throw null; } - public static T Await(System.Threading.Tasks.ValueTask task) { throw null; } - public static void Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { throw null; } - public static void Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { throw null; } - public static T Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { throw null; } - public static T Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { throw null; } - public static void HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { } - public static int HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { throw null; } - } public sealed partial class RuntimeWrappedException : System.Exception { public RuntimeWrappedException(object thrownObject) { } @@ -14315,38 +13966,38 @@ public TypeForwardedToAttribute(System.Type destination) { } } public static partial class Unsafe { - public static ref T AddByteOffset(ref T source, System.IntPtr byteOffset) where T : allows ref struct { throw null; } + public static ref T AddByteOffset(ref T source, nint byteOffset) { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T AddByteOffset(ref T source, nuint byteOffset) where T : allows ref struct { throw null; } + public static ref T AddByteOffset(ref T source, nuint byteOffset) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static void* Add(void* source, int elementOffset) where T : allows ref struct { throw null; } - public static ref T Add(ref T source, int elementOffset) where T : allows ref struct { throw null; } - public static ref T Add(ref T source, System.IntPtr elementOffset) where T : allows ref struct { throw null; } + public unsafe static void* Add(void* source, int elementOffset) { throw null; } + public static ref T Add(ref T source, int elementOffset) { throw null; } + public static ref T Add(ref T source, nint elementOffset) { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T Add(ref T source, nuint elementOffset) where T : allows ref struct { throw null; } - public static bool AreSame([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } + public static ref T Add(ref T source, nuint elementOffset) { throw null; } + public static bool AreSame([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static void* AsPointer(ref readonly T value) where T : allows ref struct { throw null; } + public unsafe static void* AsPointer([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T value) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static ref T AsRef(void* source) where T : allows ref struct { throw null; } - public static ref T AsRef(scoped ref readonly T source) where T : allows ref struct { throw null; } + public unsafe static ref T AsRef(void* source) { throw null; } + public static ref T AsRef([System.Runtime.CompilerServices.RequiresLocationAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] ref T source) { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("o")] - public static T? As(object? o) where T : class? { throw null; } - public static ref TTo As(ref TFrom source) where TFrom : allows ref struct where TTo : allows ref struct { throw null; } - public static TTo BitCast(TFrom source) where TFrom : allows ref struct where TTo : allows ref struct { throw null; } - public static System.IntPtr ByteOffset([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T origin, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T target) where T : allows ref struct { throw null; } + public static T? As(object? o) where T : class { throw null; } + public static ref TTo As(ref TFrom source) { throw null; } + public static TTo BitCast(TFrom source) { throw null; } + public static nint ByteOffset([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T origin, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T target) { throw null; } [System.CLSCompliantAttribute(false)] - public static void CopyBlock(ref byte destination, ref readonly byte source, uint byteCount) { } + public static void CopyBlock(ref byte destination, [System.Runtime.CompilerServices.RequiresLocationAttribute] ref byte source, uint byteCount) { } [System.CLSCompliantAttribute(false)] public unsafe static void CopyBlock(void* destination, void* source, uint byteCount) { } [System.CLSCompliantAttribute(false)] - public static void CopyBlockUnaligned(ref byte destination, ref readonly byte source, uint byteCount) { } + public static void CopyBlockUnaligned(ref byte destination, [System.Runtime.CompilerServices.RequiresLocationAttribute] ref byte source, uint byteCount) { } [System.CLSCompliantAttribute(false)] public unsafe static void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } [System.CLSCompliantAttribute(false)] - public unsafe static void Copy(void* destination, ref readonly T source) where T : allows ref struct { } + public unsafe static void Copy(void* destination, [System.Runtime.CompilerServices.RequiresLocationAttribute] ref T source) { } [System.CLSCompliantAttribute(false)] - public unsafe static void Copy(ref T destination, void* source) where T : allows ref struct { } + public unsafe static void Copy(ref T destination, void* source) { } [System.CLSCompliantAttribute(false)] public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } [System.CLSCompliantAttribute(false)] @@ -14355,34 +14006,34 @@ public unsafe static void InitBlock(void* startAddress, byte value, uint byteCou public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } [System.CLSCompliantAttribute(false)] public unsafe static void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } - public static bool IsAddressGreaterThan([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } - public static bool IsAddressGreaterThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } - public static bool IsAddressLessThan([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } - public static bool IsAddressLessThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } - public static bool IsNullRef(ref readonly T source) where T : allows ref struct { throw null; } - public static ref T NullRef() where T : allows ref struct { throw null; } - public static T ReadUnaligned(scoped ref readonly byte source) where T : allows ref struct { throw null; } + public static bool IsAddressGreaterThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } + public static bool IsAddressGreaterThan([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } + public static bool IsAddressLessThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } + public static bool IsAddressLessThan([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } + public static bool IsNullRef([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T source) { throw null; } + public static ref T NullRef() { throw null; } + public static T ReadUnaligned([System.Runtime.CompilerServices.RequiresLocationAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] ref byte source) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static T ReadUnaligned(void* source) where T : allows ref struct { throw null; } + public unsafe static T ReadUnaligned(void* source) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static T Read(void* source) where T : allows ref struct { throw null; } - public static int SizeOf() where T : allows ref struct { throw null; } - public static void SkipInit(out T value) where T : allows ref struct { throw null; } - public static ref T SubtractByteOffset(ref T source, System.IntPtr byteOffset) where T : allows ref struct { throw null; } + public unsafe static T Read(void* source) { throw null; } + public static int SizeOf() { throw null; } + public static void SkipInit(out T value) { throw null; } + public static ref T SubtractByteOffset(ref T source, nint byteOffset) { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T SubtractByteOffset(ref T source, nuint byteOffset) where T : allows ref struct { throw null; } + public static ref T SubtractByteOffset(ref T source, nuint byteOffset) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static void* Subtract(void* source, int elementOffset) where T : allows ref struct { throw null; } - public static ref T Subtract(ref T source, int elementOffset) where T : allows ref struct { throw null; } - public static ref T Subtract(ref T source, System.IntPtr elementOffset) where T : allows ref struct { throw null; } + public unsafe static void* Subtract(void* source, int elementOffset) { throw null; } + public static ref T Subtract(ref T source, int elementOffset) { throw null; } + public static ref T Subtract(ref T source, nint elementOffset) { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T Subtract(ref T source, nuint elementOffset) where T : allows ref struct { throw null; } + public static ref T Subtract(ref T source, nuint elementOffset) { throw null; } public static ref T Unbox(object box) where T : struct { throw null; } - public static void WriteUnaligned(ref byte destination, T value) where T : allows ref struct { } + public static void WriteUnaligned(ref byte destination, T value) { } [System.CLSCompliantAttribute(false)] - public unsafe static void WriteUnaligned(void* destination, T value) where T : allows ref struct { } + public unsafe static void WriteUnaligned(void* destination, T value) { } [System.CLSCompliantAttribute(false)] - public unsafe static void Write(void* destination, T value) where T : allows ref struct { } + public unsafe static void Write(void* destination, T value) { } } [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)] public sealed partial class UnsafeAccessorAttribute : System.Attribute @@ -14487,14 +14138,14 @@ internal ExceptionDispatchInfo() { } public static System.Exception SetCurrentStackTrace(System.Exception source) { throw null; } public static System.Exception SetRemoteStackTrace(System.Exception source, string stackTrace) { throw null; } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public void Throw() => throw null; + public void Throw() { } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void Throw(System.Exception source) => throw null; + public static void Throw(System.Exception source) { } } public static partial class ExceptionHandling { - public static void SetUnhandledExceptionHandler(System.Func handler) { } public static void RaiseAppDomainUnhandledExceptionEvent(object exception) { } + public static void SetUnhandledExceptionHandler(System.Func handler) { } } public partial class FirstChanceExceptionEventArgs : System.EventArgs { @@ -14538,8 +14189,8 @@ public ComVisibleAttribute(bool visibility) { } } public abstract partial class CriticalHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { - protected System.IntPtr handle; - protected CriticalHandle(System.IntPtr invalidHandleValue) { } + protected nint handle; + protected CriticalHandle(nint invalidHandleValue) { } public bool IsClosed { get { throw null; } } public abstract bool IsInvalid { get; } public void Close() { } @@ -14547,12 +14198,11 @@ public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~CriticalHandle() { } protected abstract bool ReleaseHandle(); - protected void SetHandle(System.IntPtr handle) { } + protected void SetHandle(nint handle) { } public void SetHandleAsInvalid() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Struct, Inherited=false)] - public sealed class ExtendedLayoutAttribute : System.Attribute + public sealed partial class ExtendedLayoutAttribute : System.Attribute { public ExtendedLayoutAttribute(System.Runtime.InteropServices.ExtendedLayoutKind layoutKind) { } } @@ -14584,48 +14234,26 @@ public partial struct GCHandle : System.IEquatable : System.IDisposable, System.IEquatable> where T : class? - { - private int _dummyPrimitive; - public void Dispose() { } - public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } - public readonly bool Equals(System.Runtime.InteropServices.GCHandle other) { throw null; } - public static System.Runtime.InteropServices.GCHandle FromIntPtr(System.IntPtr value) { throw null; } - public override readonly int GetHashCode() { throw null; } - public GCHandle(T target) { } - public readonly bool IsAllocated { get { throw null; } } - public readonly T Target { get { throw null; } set { } } - public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.GCHandle value) { throw null; } + public static nint ToIntPtr(System.Runtime.InteropServices.GCHandle value) { throw null; } } - public static class GCHandleExtensions + public static partial class GCHandleExtensions { [System.CLSCompliantAttribute(false)] - public static unsafe T* GetAddressOfArrayData( -#nullable disable - this System.Runtime.InteropServices.PinnedGCHandle handle) -#nullable restore - { throw null; } + public unsafe static T* GetAddressOfArrayData(this System.Runtime.InteropServices.PinnedGCHandle handle) { throw null; } [System.CLSCompliantAttribute(false)] -#nullable disable - public static unsafe char* GetAddressOfStringData( -#nullable disable - this System.Runtime.InteropServices.PinnedGCHandle handle) -#nullable restore - { throw null; } + public unsafe static char* GetAddressOfStringData(this System.Runtime.InteropServices.PinnedGCHandle handle) { throw null; } } public enum GCHandleType { @@ -14634,6 +14262,19 @@ public enum GCHandleType Normal = 2, Pinned = 3, } + public partial struct GCHandle : System.IDisposable, System.IEquatable> where T : class? + { + private int _dummyPrimitive; + public GCHandle(T target) { throw null; } + public readonly bool IsAllocated { get { throw null; } } + public readonly T Target { get { throw null; } set { } } + public void Dispose() { } + public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } + public readonly bool Equals(System.Runtime.InteropServices.GCHandle other) { throw null; } + public static System.Runtime.InteropServices.GCHandle FromIntPtr(nint value) { throw null; } + public override readonly int GetHashCode() { throw null; } + public static nint ToIntPtr(System.Runtime.InteropServices.GCHandle value) { throw null; } + } [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] public sealed partial class InAttribute : System.Attribute { @@ -14661,8 +14302,8 @@ public static partial class MemoryMarshal public unsafe static System.ReadOnlySpan CreateReadOnlySpanFromNullTerminated(byte* value) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe static System.ReadOnlySpan CreateReadOnlySpanFromNullTerminated(char* value) { throw null; } - public static System.ReadOnlySpan CreateReadOnlySpan(scoped ref readonly T reference, int length) { throw null; } - public static System.Span CreateSpan(scoped ref T reference, int length) { throw null; } + public static System.ReadOnlySpan CreateReadOnlySpan([System.Runtime.CompilerServices.RequiresLocationAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] ref T reference, int length) { throw null; } + public static System.Span CreateSpan([System.Runtime.CompilerServices.ScopedRefAttribute] ref T reference, int length) { throw null; } public static ref byte GetArrayDataReference(System.Array array) { throw null; } public static ref T GetArrayDataReference(T[] array) { throw null; } public static ref T GetReference(System.ReadOnlySpan span) { throw null; } @@ -14701,17 +14342,17 @@ public OutAttribute() { } public partial struct PinnedGCHandle : System.IDisposable, System.IEquatable> where T : class? { private int _dummyPrimitive; + public PinnedGCHandle(T target) { throw null; } + public readonly bool IsAllocated { get { throw null; } } + public readonly T Target { get { throw null; } set { } } public void Dispose() { } public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public readonly bool Equals(System.Runtime.InteropServices.PinnedGCHandle other) { throw null; } - public static System.Runtime.InteropServices.PinnedGCHandle FromIntPtr(System.IntPtr value) { throw null; } + public static System.Runtime.InteropServices.PinnedGCHandle FromIntPtr(nint value) { throw null; } [System.CLSCompliantAttribute(false)] - public readonly unsafe void* GetAddressOfObjectData() { throw null; } + public unsafe readonly void* GetAddressOfObjectData() { throw null; } public override readonly int GetHashCode() { throw null; } - public readonly bool IsAllocated { get { throw null; } } - public PinnedGCHandle(T target) { } - public T Target { readonly get { throw null; } set { } } - public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.PinnedGCHandle value) { throw null; } + public static nint ToIntPtr(System.Runtime.InteropServices.PinnedGCHandle value) { throw null; } } public static partial class RuntimeInformation { @@ -14751,19 +14392,19 @@ public void Write(ulong byteOffset, T value) where T : struct { } } public abstract partial class SafeHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { - protected System.IntPtr handle; - protected SafeHandle(System.IntPtr invalidHandleValue, bool ownsHandle) { } + protected nint handle; + protected SafeHandle(nint invalidHandleValue, bool ownsHandle) { } public bool IsClosed { get { throw null; } } public abstract bool IsInvalid { get; } public void Close() { } public void DangerousAddRef(ref bool success) { } - public System.IntPtr DangerousGetHandle() { throw null; } + public nint DangerousGetHandle() { throw null; } public void DangerousRelease() { } public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~SafeHandle() { } protected abstract bool ReleaseHandle(); - protected void SetHandle(System.IntPtr handle) { } + protected internal void SetHandle(nint handle) { } public void SetHandleAsInvalid() { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -14835,19 +14476,19 @@ public enum UnmanagedType HString = 47, LPUTF8Str = 48, } - public partial struct WeakGCHandle : System.IDisposable, System.IEquatable> where T : class? + public partial struct WeakGCHandle : System.IDisposable, System.IEquatable> where T : class { private int _dummyPrimitive; + public WeakGCHandle(T target, bool trackResurrection = false) { throw null; } + public readonly bool IsAllocated { get { throw null; } } public void Dispose() { } public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public readonly bool Equals(System.Runtime.InteropServices.WeakGCHandle other) { throw null; } - public static System.Runtime.InteropServices.WeakGCHandle FromIntPtr(System.IntPtr value) { throw null; } + public static System.Runtime.InteropServices.WeakGCHandle FromIntPtr(nint value) { throw null; } public override readonly int GetHashCode() { throw null; } - public readonly bool IsAllocated { get { throw null; } } public readonly void SetTarget(T target) { } - public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.WeakGCHandle value) { throw null; } + public static nint ToIntPtr(System.Runtime.InteropServices.WeakGCHandle value) { throw null; } public readonly bool TryGetTarget([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out T? target) { throw null; } - public WeakGCHandle(T target, bool trackResurrection = false) { } } } namespace System.Runtime.InteropServices.Marshalling @@ -14892,10 +14533,11 @@ public NativeMarshallingAttribute(System.Type nativeType) { } [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.ManagedToUnmanagedIn))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.ManagedToUnmanagedOut))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.UnmanagedToManagedOut))] - public static unsafe partial class ReadOnlySpanMarshaller where TUnmanagedElement : unmanaged + public static partial class ReadOnlySpanMarshaller where TUnmanagedElement : struct { public ref partial struct ManagedToUnmanagedIn { + private unsafe TUnmanagedElement* _allocatedMemory; private object _dummy; private int _dummyPrimitive; public static int BufferSize { get { throw null; } } @@ -14909,6 +14551,8 @@ public void FromManaged(System.ReadOnlySpan managed, System.Span.ManagedToUnmanagedIn))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedOut))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedRef, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedRef))] - public static partial class SafeHandleMarshaller<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] T> where T : System.Runtime.InteropServices.SafeHandle + public static partial class SafeHandleMarshaller where T : System.Runtime.InteropServices.SafeHandle { public partial struct ManagedToUnmanagedIn { private T _handle; + private object _dummy; private int _dummyPrimitive; public void Free() { } public void FromManaged(T handle) { } @@ -14940,6 +14585,7 @@ public void FromManaged(T handle) { } public partial struct ManagedToUnmanagedOut { private T _newHandle; + private object _dummy; private int _dummyPrimitive; public ManagedToUnmanagedOut() { throw null; } public void Free() { } @@ -14949,6 +14595,9 @@ public void FromUnmanaged(nint value) { } public partial struct ManagedToUnmanagedRef { private T _handle; + private T _newHandle; + private T _handleToReturn; + private object _dummy; private int _dummyPrimitive; public ManagedToUnmanagedRef() { throw null; } public void Free() { } @@ -14963,7 +14612,7 @@ public void OnInvoked() { } [System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshallerAttribute] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>.ManagedToUnmanagedIn))] - public static partial class SpanMarshaller where TUnmanagedElement : unmanaged + public static partial class SpanMarshaller where TUnmanagedElement : struct { public unsafe static System.Span AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) { throw null; } public unsafe static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.Span managed, out int numElements) { throw null; } @@ -14974,6 +14623,7 @@ public unsafe static void Free(TUnmanagedElement* unmanaged) { } public unsafe static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanaged, int numElements) { throw null; } public ref partial struct ManagedToUnmanagedIn { + private unsafe TUnmanagedElement* _allocatedMemory; private object _dummy; private int _dummyPrimitive; public static int BufferSize { get { throw null; } } @@ -15010,9 +14660,9 @@ public readonly partial struct SwiftSelf public unsafe SwiftSelf(void* value) { throw null; } public unsafe void* Value { get { throw null; } } } - public readonly partial struct SwiftSelf where T: unmanaged + public readonly partial struct SwiftSelf where T : struct { - private readonly T _dummyPrimitive; + private readonly T _Value_k__BackingField; public SwiftSelf(T value) { throw null; } public T Value { get { throw null; } } } @@ -16021,12 +15671,12 @@ public enum NormalizationForm 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 destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } - static System.Text.Rune System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out System.Text.Rune result) { 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 destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + static System.Text.Rune System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, out System.Text.Rune result) { 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; } @@ -16044,41 +15694,43 @@ public enum NormalizationForm public readonly partial struct RunePosition : System.IEquatable { private readonly int _dummyPrimitive; - public static System.Text.RunePosition.Utf16Enumerator EnumerateUtf16(System.ReadOnlySpan span) { throw null; } - public static System.Text.RunePosition.Utf8Enumerator EnumerateUtf8(System.ReadOnlySpan span) { throw null; } + public RunePosition(System.Text.Rune rune, int startIndex, int length, bool wasReplaced) { throw null; } + public int Length { get { throw null; } } public System.Text.Rune Rune { get { throw null; } } public int StartIndex { get { throw null; } } - public int Length { get { throw null; } } public bool WasReplaced { get { throw null; } } - public RunePosition(Rune rune, int startIndex, int length, bool wasReplaced) { throw null; } - public bool Equals(System.Text.RunePosition other) { throw null; } - public override bool Equals(object? obj) { throw null; } - public override int GetHashCode() { throw null; } - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Deconstruct(out System.Text.Rune rune, out int startIndex) { throw null; } - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Deconstruct(out System.Text.Rune rune, out int startIndex, out int length) { throw null; } + public static System.Text.RunePosition.Utf16Enumerator EnumerateUtf16(System.ReadOnlySpan span) { throw null; } + public static System.Text.RunePosition.Utf8Enumerator EnumerateUtf8(System.ReadOnlySpan span) { throw null; } + public override bool Equals(object? obj) { throw null; } + public bool Equals(System.Text.RunePosition other) { throw null; } + public override int GetHashCode() { throw null; } public static bool operator ==(System.Text.RunePosition left, System.Text.RunePosition right) { throw null; } public static bool operator !=(System.Text.RunePosition left, System.Text.RunePosition right) { throw null; } public ref partial struct Utf16Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { - private readonly int _dummyPrimitive; - public System.Text.RunePosition Current { get { throw null; } } + private object _dummy; + private int _dummyPrimitive; + public readonly System.Text.RunePosition Current { get { throw null; } } + object System.Collections.IEnumerator.Current { get { throw null; } } public System.Text.RunePosition.Utf16Enumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } - public void Reset() { throw null; } - object System.Collections.IEnumerator.Current { get { throw null; } } + public void Reset() { } void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } - public ref partial struct Utf8Enumerator: System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable + public ref partial struct Utf8Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { - private readonly int _dummyPrimitive; - public System.Text.RunePosition Current { get { throw null; } } + private object _dummy; + private int _dummyPrimitive; + public readonly System.Text.RunePosition Current { get { throw null; } } + object System.Collections.IEnumerator.Current { get { throw null; } } public System.Text.RunePosition.Utf8Enumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } - public void Reset() { throw null; } - object System.Collections.IEnumerator.Current { get { throw null; } } + public void Reset() { } void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } @@ -16099,7 +15751,6 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder Append(bool value) { throw null; } public System.Text.StringBuilder Append(byte value) { throw null; } public System.Text.StringBuilder Append(char value) { throw null; } - public System.Text.StringBuilder Append(System.Text.Rune value) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe System.Text.StringBuilder Append(char* value, int valueCount) { throw null; } public System.Text.StringBuilder Append(char value, int repeatCount) { throw null; } @@ -16119,6 +15770,7 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder Append(float value) { throw null; } public System.Text.StringBuilder Append(string? value) { throw null; } public System.Text.StringBuilder Append(string? value, int startIndex, int count) { throw null; } + public System.Text.StringBuilder Append(System.Text.Rune value) { 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; } @@ -16132,25 +15784,25 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, params System.ReadOnlySpan args) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } + public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, params object?[] values) { throw null; } + public System.Text.StringBuilder AppendJoin(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public System.Text.StringBuilder AppendJoin(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, params string?[] values) { throw null; } - public System.Text.StringBuilder AppendJoin(char separator, params System.ReadOnlySpan values) { throw null; } - public System.Text.StringBuilder AppendJoin(char separator, params System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, params object?[] values) { throw null; } + public System.Text.StringBuilder AppendJoin(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public System.Text.StringBuilder AppendJoin(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, params string?[] values) { throw null; } - public System.Text.StringBuilder AppendJoin(string? separator, params System.ReadOnlySpan values) { throw null; } - public System.Text.StringBuilder AppendJoin(string? separator, params System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, System.Collections.Generic.IEnumerable values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public System.Text.StringBuilder AppendLine() { throw null; } @@ -16161,15 +15813,14 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count) { } public void CopyTo(int sourceIndex, System.Span destination, int count) { } public int EnsureCapacity(int capacity) { throw null; } + public System.Text.StringBuilderRuneEnumerator EnumerateRunes() { throw null; } public bool Equals(System.ReadOnlySpan span) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.Text.StringBuilder? sb) { throw null; } public System.Text.StringBuilder.ChunkEnumerator GetChunks() { throw null; } - public System.Text.StringBuilderRuneEnumerator EnumerateRunes() { throw null; } - public Rune GetRuneAt(int index) { throw null; } + public System.Text.Rune GetRuneAt(int index) { throw null; } public System.Text.StringBuilder Insert(int index, bool value) { throw null; } public System.Text.StringBuilder Insert(int index, byte value) { throw null; } public System.Text.StringBuilder Insert(int index, char value) { throw null; } - public System.Text.StringBuilder Insert(int index, System.Text.Rune value) { throw null; } public System.Text.StringBuilder Insert(int index, char[]? value) { throw null; } public System.Text.StringBuilder Insert(int index, char[]? value, int startIndex, int charCount) { throw null; } public System.Text.StringBuilder Insert(int index, decimal value) { throw null; } @@ -16184,6 +15835,7 @@ public void CopyTo(int sourceIndex, System.Span destination, int count) { public System.Text.StringBuilder Insert(int index, float value) { throw null; } public System.Text.StringBuilder Insert(int index, string? value) { throw null; } public System.Text.StringBuilder Insert(int index, string? value, int count) { throw null; } + public System.Text.StringBuilder Insert(int index, System.Text.Rune value) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Insert(int index, ushort value) { throw null; } [System.CLSCompliantAttribute(false)] @@ -16193,16 +15845,16 @@ public void CopyTo(int sourceIndex, System.Span destination, int count) { public System.Text.StringBuilder Remove(int startIndex, int length) { throw null; } public System.Text.StringBuilder Replace(char oldChar, char newChar) { throw null; } public System.Text.StringBuilder Replace(char oldChar, char newChar, int startIndex, int count) { throw null; } - public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } - public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune, int startIndex, int count) { throw null; } public System.Text.StringBuilder Replace(System.ReadOnlySpan oldValue, System.ReadOnlySpan newValue) { throw null; } public System.Text.StringBuilder Replace(System.ReadOnlySpan oldValue, System.ReadOnlySpan newValue, int startIndex, int count) { throw null; } public System.Text.StringBuilder Replace(string oldValue, string? newValue) { throw null; } public System.Text.StringBuilder Replace(string oldValue, string? newValue, int startIndex, int count) { throw null; } + public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } + public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune, int startIndex, int count) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } public string ToString(int startIndex, int length) { throw null; } - public bool TryGetRuneAt(int index, out Rune value) { throw null; } + public bool TryGetRuneAt(int index, out System.Text.Rune value) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute] public partial struct AppendInterpolatedStringHandler @@ -16236,14 +15888,14 @@ public partial struct StringBuilderRuneEnumerator : System.Collections.Generic.I { private object _dummy; private int _dummyPrimitive; - public System.Text.Rune Current { get { throw null; } } - object? System.Collections.IEnumerator.Current { get { throw null; } } - public System.Text.StringBuilderRuneEnumerator GetEnumerator() { throw null; } + public readonly System.Text.Rune Current { get { throw null; } } + readonly object? System.Collections.IEnumerator.Current { get { throw null; } } + public readonly System.Text.StringBuilderRuneEnumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } - System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } - System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + readonly System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + readonly System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } void System.Collections.IEnumerator.Reset() { } - void System.IDisposable.Dispose() { } + readonly void System.IDisposable.Dispose() { } } public partial struct StringRuneEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { @@ -16272,15 +15924,15 @@ public static partial class Utf8 [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute] public ref partial struct TryWriteInterpolatedStringHandler { - private readonly object _dummy; - private readonly int _dummyPrimitive; + private object _dummy; + private int _dummyPrimitive; public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, out bool shouldAppend) { throw null; } public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, System.IFormatProvider? provider, out bool shouldAppend) { throw null; } public bool AppendFormatted(object? value, int alignment = 0, string? format = null) { throw null; } - public bool AppendFormatted(scoped System.ReadOnlySpan utf8Value) { throw null; } - public bool AppendFormatted(scoped System.ReadOnlySpan utf8Value, int alignment = 0, string? format = null) { throw null; } - public bool AppendFormatted(scoped System.ReadOnlySpan value) { throw null; } - public bool AppendFormatted(scoped System.ReadOnlySpan value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan utf8Value) { throw null; } + public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan utf8Value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { throw null; } + public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value, int alignment = 0, string? format = null) { throw null; } public bool AppendFormatted(string? value) { throw null; } public bool AppendFormatted(string? value, int alignment = 0, string? format = null) { throw null; } public bool AppendFormatted(T value) { throw null; } @@ -16343,9 +15995,9 @@ public void Cancel(bool throwOnFirstException) { } public void CancelAfter(int millisecondsDelay) { } public void CancelAfter(System.TimeSpan delay) { } public System.Threading.Tasks.Task CancelAsync() { throw null; } + public static System.Threading.CancellationTokenSource CreateLinkedTokenSource([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tokens) { throw null; } public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(System.Threading.CancellationToken token) { throw null; } public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(System.Threading.CancellationToken token1, System.Threading.CancellationToken token2) { throw null; } - public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(params System.ReadOnlySpan tokens) { throw null; } public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(params System.Threading.CancellationToken[] tokens) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } @@ -16489,7 +16141,6 @@ public Task(System.Action action, object? state, System.Threading.Tasks public bool IsCanceled { get { throw null; } } public bool IsCompleted { get { throw null; } } public bool IsCompletedSuccessfully { get { throw null; } } - [System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute(true, nameof(System.Exception))] public bool IsFaulted { get { throw null; } } public System.Threading.Tasks.TaskStatus Status { get { throw null; } } System.Threading.WaitHandle System.IAsyncResult.AsyncWaitHandle { get { throw null; } } @@ -16551,7 +16202,7 @@ public void Wait(System.Threading.CancellationToken cancellationToken) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public static void WaitAll(System.Collections.Generic.IEnumerable tasks, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] - public static void WaitAll(params System.ReadOnlySpan tasks) { } + public static void WaitAll([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public static void WaitAll(params System.Threading.Tasks.Task[] tasks) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] @@ -16573,34 +16224,34 @@ public static void WaitAll(System.Threading.Tasks.Task[] tasks, System.Threading public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.TimeProvider timeProvider) { throw null; } public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.TimeProvider timeProvider, System.Threading.CancellationToken cancellationToken) { throw null; } public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable tasks) { throw null; } - public static System.Threading.Tasks.Task WhenAll(params System.ReadOnlySpan tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { throw null; } public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable> tasks) { throw null; } - public static System.Threading.Tasks.Task WhenAll(params System.ReadOnlySpan> tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan> tasks) { throw null; } public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Threading.Tasks.Task WhenAny(System.Collections.Generic.IEnumerable tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAny([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { throw null; } public static System.Threading.Tasks.Task WhenAny(System.Threading.Tasks.Task task1, System.Threading.Tasks.Task task2) { throw null; } - public static System.Threading.Tasks.Task WhenAny(params System.ReadOnlySpan tasks) { throw null; } public static System.Threading.Tasks.Task WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Threading.Tasks.Task> WhenAny(System.Collections.Generic.IEnumerable> tasks) { throw null; } + public static System.Threading.Tasks.Task> WhenAny([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan> tasks) { throw null; } public static System.Threading.Tasks.Task> WhenAny(System.Threading.Tasks.Task task1, System.Threading.Tasks.Task task2) { throw null; } - public static System.Threading.Tasks.Task> WhenAny(params System.ReadOnlySpan> tasks) { throw null; } public static System.Threading.Tasks.Task> WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable WhenEach(System.Collections.Generic.IEnumerable tasks) { throw null; } + public static System.Collections.Generic.IAsyncEnumerable WhenEach([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable WhenEach(params System.Threading.Tasks.Task[] tasks) { throw null; } - public static System.Collections.Generic.IAsyncEnumerable WhenEach(params System.ReadOnlySpan tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable> WhenEach(System.Collections.Generic.IEnumerable> tasks) { throw null; } + public static System.Collections.Generic.IAsyncEnumerable> WhenEach([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan> tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable> WhenEach(params System.Threading.Tasks.Task[] tasks) { throw null; } - public static System.Collections.Generic.IAsyncEnumerable> WhenEach(params System.ReadOnlySpan> tasks) { throw null; } public static System.Runtime.CompilerServices.YieldAwaitable Yield() { throw null; } } public static partial class TaskAsyncEnumerableExtensions { public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this System.IAsyncDisposable source, bool continueOnCapturedContext) { throw null; } - public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this System.Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) where T : allows ref struct { throw null; } + public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this System.Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) { throw null; } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public static System.Collections.Generic.IEnumerable ToBlockingEnumerable(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) where T : allows ref struct { throw null; } + public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) { throw null; } } public partial class TaskCanceledException : System.OperationCanceledException { @@ -16910,7 +16561,6 @@ public UnobservedTaskExceptionEventArgs(System.AggregateException exception) { } public bool Observed { get { throw null; } } public void SetObserved() { } } - [System.Runtime.CompilerServices.AsyncMethodBuilderAttribute(typeof(System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder))] public readonly partial struct ValueTask : System.IEquatable { private readonly object _dummy; @@ -16937,7 +16587,6 @@ public void SetObserved() { } public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) { throw null; } public System.Threading.Tasks.ValueTask Preserve() { throw null; } } - [System.Runtime.CompilerServices.AsyncMethodBuilderAttribute(typeof(System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>))] public readonly partial struct ValueTask : System.IEquatable> { private readonly TResult _result; @@ -16982,7 +16631,7 @@ public partial struct ManualResetValueTaskSourceCore private TResult _result; private object _dummy; private int _dummyPrimitive; - public bool RunContinuationsAsynchronously { readonly get { throw null; } set { } } + public bool RunContinuationsAsynchronously { get { throw null; } set { } } public short Version { get { throw null; } } public TResult GetResult(short token) { throw null; } public System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus(short token) { throw null; } @@ -17157,8 +16806,8 @@ protected void GetObjectData(System.Runtime.Serialization.SerializationInfo seri public static bool operator !=(System.Uri? uri1, System.Uri? uri2) { throw null; } [System.ObsoleteAttribute("Uri.Parse has been deprecated and is not supported.")] protected virtual void Parse() { } - string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + string System.IFormattable.ToString(string format, System.IFormatProvider formatProvider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } public override string ToString() { throw null; } public static bool TryCreate([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? uriString, in System.UriCreationOptions creationOptions, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; } From 876458c56b7e48133a2afd18ebce1e09db091619 Mon Sep 17 00:00:00 2001 From: "Alex Covington (Advanced Micro Devices Inc)" Date: Tue, 24 Feb 2026 10:23:19 -0800 Subject: [PATCH 7/7] Revert "Update System.Runtime ref" This reverts commit 1fc53744720904f3e295993af8f0154e0e2e2232. --- .../System.Runtime/ref/System.Runtime.cs | 2171 ++++++++++------- 1 file changed, 1261 insertions(+), 910 deletions(-) diff --git a/src/libraries/System.Runtime/ref/System.Runtime.cs b/src/libraries/System.Runtime/ref/System.Runtime.cs index d07b3bb5ba63ca..65b98d13078b29 100644 --- a/src/libraries/System.Runtime/ref/System.Runtime.cs +++ b/src/libraries/System.Runtime/ref/System.Runtime.cs @@ -8,35 +8,36 @@ namespace Microsoft.Win32.SafeHandles { public abstract partial class CriticalHandleMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { - protected CriticalHandleMinusOneIsInvalid() : base (default(nint)) { } + protected CriticalHandleMinusOneIsInvalid() : base (default(System.IntPtr)) { } public override bool IsInvalid { get { throw null; } } } public abstract partial class CriticalHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.CriticalHandle { - protected CriticalHandleZeroOrMinusOneIsInvalid() : base (default(nint)) { } + protected CriticalHandleZeroOrMinusOneIsInvalid() : base (default(System.IntPtr)) { } public override bool IsInvalid { get { throw null; } } } public sealed partial class SafeFileHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public SafeFileHandle() : base (default(bool)) { } - public SafeFileHandle(nint preexistingHandle, bool ownsHandle) : base (default(bool)) { } + public SafeFileHandle(System.IntPtr preexistingHandle, bool ownsHandle) : base (default(bool)) { } + public override bool IsInvalid { get { throw null; } } public bool IsAsync { get { throw null; } } protected override bool ReleaseHandle() { throw null; } } public abstract partial class SafeHandleMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { - protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base (default(nint), default(bool)) { } + protected SafeHandleMinusOneIsInvalid(bool ownsHandle) : base (default(System.IntPtr), default(bool)) { } public override bool IsInvalid { get { throw null; } } } public abstract partial class SafeHandleZeroOrMinusOneIsInvalid : System.Runtime.InteropServices.SafeHandle { - protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base (default(nint), default(bool)) { } + protected SafeHandleZeroOrMinusOneIsInvalid(bool ownsHandle) : base (default(System.IntPtr), default(bool)) { } public override bool IsInvalid { get { throw null; } } } public sealed partial class SafeWaitHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { public SafeWaitHandle() : base (default(bool)) { } - public SafeWaitHandle(nint existingHandle, bool ownsHandle) : base (default(bool)) { } + public SafeWaitHandle(System.IntPtr existingHandle, bool ownsHandle) : base (default(bool)) { } protected override bool ReleaseHandle() { throw null; } } } @@ -52,22 +53,174 @@ public AccessViolationException(string? message) { } public AccessViolationException(string? message, System.Exception? innerException) { } } public delegate void Action(); - public delegate void Action(T obj); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); - public delegate void Action(T1 arg1, T2 arg2); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); - public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); + public delegate void Action(T obj) + where T : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2) + where T1 : allows ref struct + where T2 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where T14 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where T14 : allows ref struct + where T15 : allows ref struct; + + public delegate void Action(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where T14 : allows ref struct + where T15 : allows ref struct + where T16 : allows ref struct; + public static partial class Activator { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")] @@ -88,7 +241,7 @@ public static partial class Activator public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName, bool ignoreCase, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, object?[]? args, System.Globalization.CultureInfo? culture, object?[]? activationAttributes) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Type and its constructor could be removed")] public static System.Runtime.Remoting.ObjectHandle? CreateInstanceFrom(string assemblyFile, string typeName, object?[]? activationAttributes) { throw null; } - public static T CreateInstance() { throw null; } + public static T CreateInstance<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T>() where T : allows ref struct { throw null; } } public partial class AggregateException : System.Exception { @@ -290,8 +443,8 @@ public ArgumentException(string? message, string? paramName, System.Exception? i [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static void ThrowIfNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { } - public static void ThrowIfNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { } + public static void ThrowIfNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; } + public static void ThrowIfNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullAttribute] string? argument, [System.Runtime.CompilerServices.CallerArgumentExpressionAttribute("argument")] string? paramName = null) { throw null; } } public partial class ArgumentNullException : System.ArgumentException { @@ -302,9 +455,9 @@ protected ArgumentNullException(System.Runtime.Serialization.SerializationInfo i public ArgumentNullException(string? paramName) { } 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) { } + public static void ThrowIfNull([System.Diagnostics.CodeAnalysis.NotNullAttribute] object? 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) { } + 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 { @@ -426,7 +579,7 @@ public void Initialize() { } public static int LastIndexOf(T[] array, T value) { throw null; } public static int LastIndexOf(T[] array, T value, int startIndex) { throw null; } public static int LastIndexOf(T[] array, T value, int startIndex, int count) { throw null; } - public static void Resize([System.Diagnostics.CodeAnalysis.NotNullAttribute] ref T[]? array, int newSize) { } + public static void Resize([System.Diagnostics.CodeAnalysis.NotNullAttribute] ref T[]? array, int newSize) { throw null; } public static void Reverse(System.Array array) { } public static void Reverse(System.Array array, int index, int length) { } public static void Reverse(T[] array) { } @@ -456,15 +609,15 @@ public static void Sort(TKey[] keys, TValue[]? items) { } public static void Sort(TKey[] keys, TValue[]? items, System.Collections.Generic.IComparer? comparer) { } public static void Sort(TKey[] keys, TValue[]? items, int index, int length) { } public static void Sort(TKey[] keys, TValue[]? items, int index, int length, System.Collections.Generic.IComparer? comparer) { } - int System.Collections.IList.Add(object value) { throw null; } + int System.Collections.IList.Add(object? value) { throw null; } void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } + bool System.Collections.IList.Contains(object? value) { throw null; } + int System.Collections.IList.IndexOf(object? value) { throw null; } + void System.Collections.IList.Insert(int index, object? value) { } + void System.Collections.IList.Remove(object? value) { } void System.Collections.IList.RemoveAt(int index) { } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } public static bool TrueForAll(T[] array, System.Predicate match) { throw null; } } @@ -644,7 +797,6 @@ public static partial class BitConverter public static byte[] GetBytes(short value) { throw null; } public static byte[] GetBytes(int value) { throw null; } public static byte[] GetBytes(long value) { throw null; } - public static byte[] GetBytes(System.Numerics.BFloat16 value) { throw null; } public static byte[] GetBytes(float value) { throw null; } [System.CLSCompliantAttribute(false)] public static byte[] GetBytes(System.UInt128 value) { throw null; } @@ -654,6 +806,7 @@ public static partial class BitConverter public static byte[] GetBytes(uint value) { throw null; } [System.CLSCompliantAttribute(false)] public static byte[] GetBytes(ulong value) { throw null; } + public static byte[] GetBytes(System.Numerics.BFloat16 value) { throw null; } public static short HalfToInt16Bits(System.Half value) { throw null; } [System.CLSCompliantAttribute(false)] public static ushort HalfToUInt16Bits(System.Half value) { throw null; } @@ -711,7 +864,6 @@ public static partial class BitConverter public static bool TryWriteBytes(System.Span destination, short value) { throw null; } public static bool TryWriteBytes(System.Span destination, int value) { throw null; } public static bool TryWriteBytes(System.Span destination, long value) { throw null; } - public static bool TryWriteBytes(System.Span destination, System.Numerics.BFloat16 value) { throw null; } public static bool TryWriteBytes(System.Span destination, float value) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryWriteBytes(System.Span destination, System.UInt128 value) { throw null; } @@ -721,6 +873,7 @@ public static partial class BitConverter public static bool TryWriteBytes(System.Span destination, uint value) { throw null; } [System.CLSCompliantAttribute(false)] public static bool TryWriteBytes(System.Span destination, ulong value) { throw null; } + public static bool TryWriteBytes(System.Span destination, System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] public static System.Numerics.BFloat16 UInt16BitsToBFloat16(ushort value) { throw null; } [System.CLSCompliantAttribute(false)] @@ -743,25 +896,25 @@ public static partial class BitConverter public System.TypeCode GetTypeCode() { throw null; } public static bool Parse(System.ReadOnlySpan value) { throw null; } public static bool Parse(string value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } - static bool System.IParsable.Parse(string s, System.IFormatProvider provider) { throw null; } - static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.IFormatProvider provider, out bool result) { throw null; } - static bool System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider provider) { throw null; } - static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out bool result) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + static bool System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } + static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out bool result) { throw null; } + static bool System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out bool result) { throw null; } public override string ToString() { throw null; } public string ToString(System.IFormatProvider? provider) { throw null; } public bool TryFormat(System.Span destination, out int charsWritten) { throw null; } @@ -822,21 +975,21 @@ public static void SetByte(System.Array array, int index, byte value) { } public static byte RotateLeft(byte value, int rotateAmount) { throw null; } public static byte RotateRight(byte value, int rotateAmount) { throw null; } public static int Sign(byte value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static byte System.Numerics.IAdditionOperators.operator +(byte left, byte right) { throw null; } static byte System.Numerics.IAdditionOperators.operator checked +(byte left, byte right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -995,30 +1148,30 @@ public CannotUnloadAppDomainException(string? message, System.Exception? innerEx public static bool IsWhiteSpace(char c) { throw null; } public static bool IsWhiteSpace(string s, int index) { throw null; } public static char Parse(string s) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } - string System.IFormattable.ToString(string format, System.IFormatProvider formatProvider) { throw null; } - static char System.IParsable.Parse(string s, System.IFormatProvider provider) { throw null; } - static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.IFormatProvider provider, out char result) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - static char System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider provider) { throw null; } - static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, out char result) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - static char System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, out char result) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } + static char System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } + static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, out char result) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + static char System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, out char result) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + static char System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out char result) { throw null; } static char System.Numerics.IAdditionOperators.operator +(char left, char right) { throw null; } static char System.Numerics.IAdditionOperators.operator checked +(char left, char right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -1075,16 +1228,16 @@ public CannotUnloadAppDomainException(string? message, System.Exception? innerEx static char System.Numerics.INumberBase.MinMagnitude(char x, char y) { throw null; } static char System.Numerics.INumberBase.MinMagnitudeNumber(char x, char y) { throw null; } static char System.Numerics.INumberBase.MultiplyAddEstimate(char left, char right, char addend) { throw null; } - static char System.Numerics.INumberBase.Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } - static char System.Numerics.INumberBase.Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider provider) { throw null; } + static char System.Numerics.INumberBase.Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + static char System.Numerics.INumberBase.Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } static bool System.Numerics.INumberBase.TryConvertFromChecked(TOther value, out char result) { throw null; } static bool System.Numerics.INumberBase.TryConvertFromSaturating(TOther value, out char result) { throw null; } static bool System.Numerics.INumberBase.TryConvertFromTruncating(TOther value, out char result) { throw null; } static bool System.Numerics.INumberBase.TryConvertToChecked(char value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } static bool System.Numerics.INumberBase.TryConvertToSaturating(char value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } static bool System.Numerics.INumberBase.TryConvertToTruncating(char value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } - static bool System.Numerics.INumberBase.TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out char result) { throw null; } - static bool System.Numerics.INumberBase.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.Globalization.NumberStyles style, System.IFormatProvider provider, out char result) { throw null; } + static bool System.Numerics.INumberBase.TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out char result) { throw null; } + static bool System.Numerics.INumberBase.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, out char result) { throw null; } static char System.Numerics.IShiftOperators.operator <<(char value, int shiftAmount) { throw null; } static char System.Numerics.IShiftOperators.operator >>(char value, int shiftAmount) { throw null; } static char System.Numerics.IShiftOperators.operator >>>(char value, int shiftAmount) { throw null; } @@ -1120,7 +1273,7 @@ public sealed partial class CLSCompliantAttribute : System.Attribute public CLSCompliantAttribute(bool isCompliant) { } public bool IsCompliant { get { throw null; } } } - public delegate int Comparison(T x, T y); + public delegate int Comparison(T x, T y) where T : allows ref struct; public abstract partial class ContextBoundObject : System.MarshalByRefObject { protected ContextBoundObject() { } @@ -1153,8 +1306,8 @@ public static partial class Convert public static byte[] FromBase64CharArray(char[] inArray, int offset, int length) { throw null; } public static byte[] FromBase64String(string s) { throw null; } public static byte[] FromHexString(System.ReadOnlySpan utf8Source) { throw null; } - public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan utf8Source, System.Span destination, out int bytesConsumed, out int bytesWritten) { throw null; } public static byte[] FromHexString(System.ReadOnlySpan chars) { throw null; } + public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan utf8Source, System.Span destination, out int bytesConsumed, out int bytesWritten) { throw null; } public static System.Buffers.OperationStatus FromHexString(System.ReadOnlySpan source, System.Span destination, out int charsConsumed, out int bytesWritten) { throw null; } public static byte[] FromHexString(string s) { throw null; } public static System.Buffers.OperationStatus FromHexString(string source, System.Span destination, out int charsConsumed, out int bytesWritten) { throw null; } @@ -1603,7 +1756,7 @@ public static partial class Convert public static bool TryToHexStringLower(System.ReadOnlySpan source, System.Span utf8Destination, out int bytesWritten) { throw null; } public static bool TryToHexStringLower(System.ReadOnlySpan source, System.Span destination, out int charsWritten) { throw null; } } - public delegate TOutput Converter(TInput input); + public delegate TOutput Converter(TInput input) where TInput : allows ref struct where TOutput : allows ref struct; public readonly partial struct DateOnly : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable { private readonly int _dummyPrimitive; @@ -1768,21 +1921,21 @@ public static partial class Convert public static System.DateTime SpecifyKind(System.DateTime value, System.DateTimeKind kind) { throw null; } public System.TimeSpan Subtract(System.DateTime value) { throw null; } public System.DateTime Subtract(System.TimeSpan value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public long ToBinary() { throw null; } public long ToFileTime() { throw null; } @@ -1898,8 +2051,8 @@ public enum DateTimeKind public static System.DateTimeOffset ParseExact(string input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("DateTimeFormat")] string[] formats, System.IFormatProvider? formatProvider, System.Globalization.DateTimeStyles styles) { throw null; } public System.TimeSpan Subtract(System.DateTimeOffset value) { throw null; } public System.DateTimeOffset Subtract(System.TimeSpan value) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + int System.IComparable.CompareTo(object? obj) { throw null; } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public long ToFileTime() { throw null; } public System.DateTimeOffset ToLocalTime() { throw null; } @@ -1942,21 +2095,21 @@ internal DBNull() { } [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public System.TypeCode GetTypeCode() { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } public override string ToString() { throw null; } public string ToString(System.IFormatProvider? provider) { throw null; } } @@ -2003,8 +2156,8 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static int Compare(decimal d1, decimal d2) { throw null; } public int CompareTo(decimal value) { throw null; } public int CompareTo(object? value) { throw null; } - public static TInteger ConvertToIntegerNative(decimal value) where TInteger : System.Numerics.IBinaryInteger { throw null; } public static TInteger ConvertToInteger(decimal value) where TInteger : System.Numerics.IBinaryInteger { throw null; } + public static TInteger ConvertToIntegerNative(decimal value) where TInteger : System.Numerics.IBinaryInteger { throw null; } public static decimal CopySign(decimal value, decimal sign) { throw null; } public static decimal CreateChecked(TOther value) where TOther : System.Numerics.INumberBase { throw null; } public static decimal CreateSaturating(TOther value) where TOther : System.Numerics.INumberBase { throw null; } @@ -2091,21 +2244,21 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static decimal Round(decimal d, System.MidpointRounding mode) { throw null; } public static int Sign(decimal d) { throw null; } public static decimal Subtract(decimal d1, decimal d2) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } int System.Numerics.IFloatingPoint.GetExponentByteCount() { throw null; } int System.Numerics.IFloatingPoint.GetExponentShortestBitLength() { throw null; } int System.Numerics.IFloatingPoint.GetSignificandBitLength() { throw null; } @@ -2136,7 +2289,7 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S static bool System.Numerics.INumberBase.TryConvertToTruncating(decimal value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result) { throw null; } static decimal System.Numerics.INumber.MaxNumber(decimal x, decimal y) { throw null; } static decimal System.Numerics.INumber.MinNumber(decimal x, decimal y) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static byte ToByte(decimal value) { throw null; } public static double ToDouble(decimal d) { throw null; } @@ -2184,7 +2337,7 @@ protected Delegate([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAt [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("b")] public static System.Delegate? Combine(System.Delegate? a, System.Delegate? b) { throw null; } public static System.Delegate? Combine(params System.Delegate?[]? delegates) { throw null; } - public static System.Delegate? Combine([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan delegates) { throw null; } + public static System.Delegate? Combine(params System.ReadOnlySpan delegates) { throw null; } protected virtual System.Delegate CombineImpl(System.Delegate? d) { throw null; } public static System.Delegate CreateDelegate(System.Type type, object? firstArgument, System.Reflection.MethodInfo method) { throw null; } public static System.Delegate? CreateDelegate(System.Type type, object? firstArgument, System.Reflection.MethodInfo method, bool throwOnBindFailure) { throw null; } @@ -2216,9 +2369,6 @@ public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo protected virtual System.Delegate? RemoveImpl(System.Delegate d) { throw null; } public partial struct InvocationListEnumerator where TDelegate : System.Delegate { - private TDelegate _current; - private object _dummy; - private int _dummyPrimitive; public TDelegate Current { get { throw null; } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public System.Delegate.InvocationListEnumerator GetEnumerator() { throw null; } @@ -2243,7 +2393,7 @@ public DivideByZeroException(string? message, System.Exception? innerException) public const double MinValue = -1.7976931348623157E+308; public const double NaN = 0.0 / 0.0; public const double NegativeInfinity = -1.0 / 0.0; - public const double NegativeZero = -0; + public const double NegativeZero = -0.0; public const double Pi = 3.141592653589793; public const double PositiveInfinity = 1.0 / 0.0; public const double Tau = 6.283185307179586; @@ -2373,21 +2523,21 @@ public DivideByZeroException(string? message, System.Exception? innerException) public static double Sinh(double x) { throw null; } public static double SinPi(double x) { throw null; } public static double Sqrt(double x) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static double System.Numerics.IAdditionOperators.operator +(double left, double right) { throw null; } static double System.Numerics.IBitwiseOperators.operator &(double left, double right) { throw null; } static double System.Numerics.IBitwiseOperators.operator |(double left, double right) { throw null; } @@ -2467,18 +2617,18 @@ protected Enum() { } public override int GetHashCode() { throw null; } public static string? GetName(System.Type enumType, object value) { throw null; } public static string[] GetNames(System.Type enumType) { throw null; } - public static string[] GetNames() where TEnum : struct { throw null; } - public static string? GetName(TEnum value) where TEnum : struct { throw null; } + public static string[] GetNames() where TEnum : struct, System.Enum { throw null; } + public static string? GetName(TEnum value) where TEnum : struct, System.Enum { throw null; } public System.TypeCode GetTypeCode() { throw null; } public static System.Type GetUnderlyingType(System.Type enumType) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresDynamicCodeAttribute("It might not be possible to create an array of the enum type at runtime. Use the GetValues overload or the GetValuesAsUnderlyingType method instead.")] public static System.Array GetValues(System.Type enumType) { throw null; } public static System.Array GetValuesAsUnderlyingType(System.Type enumType) { throw null; } - public static System.Array GetValuesAsUnderlyingType() where TEnum : struct { throw null; } - public static TEnum[] GetValues() where TEnum : struct { throw null; } + public static System.Array GetValuesAsUnderlyingType() where TEnum : struct, System.Enum { throw null; } + public static TEnum[] GetValues() where TEnum : struct, System.Enum { throw null; } public bool HasFlag(System.Enum flag) { throw null; } public static bool IsDefined(System.Type enumType, object value) { throw null; } - public static bool IsDefined(TEnum value) where TEnum : struct { throw null; } + public static bool IsDefined(TEnum value) where TEnum : struct, System.Enum { throw null; } public static object Parse(System.Type enumType, System.ReadOnlySpan value) { throw null; } public static object Parse(System.Type enumType, System.ReadOnlySpan value, bool ignoreCase) { throw null; } public static object Parse(System.Type enumType, string value) { throw null; } @@ -2487,22 +2637,22 @@ protected Enum() { } public static TEnum Parse(System.ReadOnlySpan value, bool ignoreCase) where TEnum : struct { throw null; } public static TEnum Parse(string value) where TEnum : struct { throw null; } public static TEnum Parse(string value, bool ignoreCase) where TEnum : struct { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } public static object ToObject(System.Type enumType, byte value) { throw null; } public static object ToObject(System.Type enumType, short value) { throw null; } public static object ToObject(System.Type enumType, int value) { throw null; } @@ -2535,10 +2685,10 @@ protected Enum() { } public static partial class Environment { public static string CommandLine { get { throw null; } } - [System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("ios")] [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("tvos")] + [System.Runtime.Versioning.SupportedOSPlatformAttribute("maccatalyst")] // this needs to come after the ios attribute due to limitations in the platform analyzer public static System.Environment.ProcessCpuUsage CpuUsage { get { throw null; } } public static string CurrentDirectory { get { throw null; } set { } } public static int CurrentManagedThreadId { get { throw null; } } @@ -2564,12 +2714,12 @@ public static partial class Environment public static System.Version Version { get { throw null; } } public static long WorkingSet { get { throw null; } } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void Exit(int exitCode) { } + public static void Exit(int exitCode) { throw null; } public static string ExpandEnvironmentVariables(string name) { throw null; } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void FailFast(string? message) { } + public static void FailFast(string? message) { throw null; } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void FailFast(string? message, System.Exception? exception) { } + public static void FailFast(string? message, System.Exception? exception) { throw null; } public static string[] GetCommandLineArgs() { throw null; } public static string? GetEnvironmentVariable(string variable) { throw null; } public static string? GetEnvironmentVariable(string variable, System.EnvironmentVariableTarget target) { throw null; } @@ -2656,8 +2806,8 @@ public partial class EventArgs public EventArgs() { } } public delegate void EventHandler(object? sender, System.EventArgs e); - public delegate void EventHandler(object? sender, TEventArgs e); - public delegate void EventHandler(TSender sender, TEventArgs e); + public delegate void EventHandler(object? sender, TEventArgs e) where TEventArgs : allows ref struct; + public delegate void EventHandler(TSender sender, TEventArgs e) where TSender : allows ref struct where TEventArgs : allows ref struct; public partial class Exception : System.Runtime.Serialization.ISerializable { public Exception() { } @@ -2723,27 +2873,197 @@ protected FormattableString() { } public abstract object? GetArgument(int index); public abstract object?[] GetArguments(); public static string Invariant(System.FormattableString formattable) { throw null; } - string System.IFormattable.ToString(string ignored, System.IFormatProvider formatProvider) { throw null; } + string System.IFormattable.ToString(string? ignored, System.IFormatProvider? formatProvider) { throw null; } public override string ToString() { throw null; } public abstract string ToString(System.IFormatProvider? formatProvider); } - public delegate TResult Func(); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16); - public delegate TResult Func(T arg); - public delegate TResult Func(T1 arg1, T2 arg2); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7); - public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8); + public delegate TResult Func() + where TResult : allows ref struct; + + public delegate TResult Func(T arg) + where T : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2) + where T1 : allows ref struct + where T2 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where T14 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where T14 : allows ref struct + where T15 : allows ref struct + where TResult : allows ref struct; + + public delegate TResult Func(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12, T13 arg13, T14 arg14, T15 arg15, T16 arg16) + where T1 : allows ref struct + where T2 : allows ref struct + where T3 : allows ref struct + where T4 : allows ref struct + where T5 : allows ref struct + where T6 : allows ref struct + where T7 : allows ref struct + where T8 : allows ref struct + where T9 : allows ref struct + where T10 : allows ref struct + where T11 : allows ref struct + where T12 : allows ref struct + where T13 : allows ref struct + where T14 : allows ref struct + where T15 : allows ref struct + where T16 : allows ref struct + where TResult : allows ref struct; + public static partial class GC { public static int MaxGeneration { get { throw null; } } @@ -2874,8 +3194,8 @@ public enum GCNotificationStatus public static System.Guid Parse(string s, System.IFormatProvider? provider) { throw null; } public static System.Guid ParseExact(System.ReadOnlySpan input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format) { throw null; } public static System.Guid ParseExact(string input, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] string format) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("GuidFormat")] System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } public byte[] ToByteArray() { throw null; } public byte[] ToByteArray(bool bigEndian) { throw null; } public override string ToString() { throw null; } @@ -3174,7 +3494,7 @@ public partial interface IComparable { int CompareTo(object? obj); } - public partial interface IComparable + public partial interface IComparable where T : allows ref struct { int CompareTo(T? other); } @@ -3207,7 +3527,7 @@ public partial interface IDisposable { void Dispose(); } - public partial interface IEquatable + public partial interface IEquatable where T : allows ref struct { bool Equals(T? other); } @@ -3491,21 +3811,21 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static short RotateLeft(short value, int rotateAmount) { throw null; } public static short RotateRight(short value, int rotateAmount) { throw null; } public static int Sign(short value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static short System.Numerics.IAdditionOperators.operator +(short left, short right) { throw null; } static short System.Numerics.IAdditionOperators.operator checked +(short left, short right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -3632,21 +3952,21 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static int RotateLeft(int value, int rotateAmount) { throw null; } public static int RotateRight(int value, int rotateAmount) { throw null; } public static int Sign(int value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static int System.Numerics.IAdditionOperators.operator +(int left, int right) { throw null; } static int System.Numerics.IAdditionOperators.operator checked +(int left, int right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -3737,7 +4057,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep static long System.Numerics.INumberBase.Zero { get { throw null; } } static long System.Numerics.ISignedNumber.NegativeOne { get { throw null; } } public static long Abs(long value) { throw null; } - public static System.Int128 BigMul(long left, long right) { throw null; } + public static Int128 BigMul(long left, long right) { throw null; } public static long Clamp(long value, long min, long max) { throw null; } public int CompareTo(long value) { throw null; } public int CompareTo(object? value) { throw null; } @@ -3773,21 +4093,21 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep public static long RotateLeft(long value, int rotateAmount) { throw null; } public static long RotateRight(long value, int rotateAmount) { throw null; } public static int Sign(long value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static long System.Numerics.IAdditionOperators.operator +(long left, long right) { throw null; } static long System.Numerics.IAdditionOperators.operator checked +(long left, long right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -3865,7 +4185,7 @@ public InsufficientMemoryException(string? message, System.Exception? innerExcep } public readonly partial struct IntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Runtime.Serialization.ISerializable { - private readonly nint _dummyPrimitive; + private readonly unsafe void* _dummyPrimitive; public static readonly nint Zero; public IntPtr(int value) { throw null; } public IntPtr(long value) { throw null; } @@ -4082,7 +4402,7 @@ public partial interface IUtf8SpanParsable where TSelf : System.IUtf8Span static abstract TSelf Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider); static abstract bool TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); } - public partial class Lazy + public partial class Lazy<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T> { public Lazy() { } public Lazy(bool isThreadSafe) { } @@ -4095,7 +4415,7 @@ public Lazy(T value) { } public T Value { get { throw null; } } public override string? ToString() { throw null; } } - public partial class Lazy : System.Lazy + public partial class Lazy<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]T, TMetadata> : System.Lazy { public Lazy(System.Func valueFactory, TMetadata metadata) { } public Lazy(System.Func valueFactory, TMetadata metadata, bool isThreadSafe) { } @@ -4385,7 +4705,7 @@ public enum MidpointRounding ToNegativeInfinity = 3, ToPositiveInfinity = 4, } - public partial class MissingFieldException : System.MissingMemberException, System.Runtime.Serialization.ISerializable + public partial class MissingFieldException : System.MissingMemberException { public MissingFieldException() { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -4459,7 +4779,7 @@ public sealed partial class MTAThreadAttribute : System.Attribute { public MTAThreadAttribute() { } } - public abstract partial class MulticastDelegate : System.Delegate, System.Runtime.Serialization.ISerializable + public abstract partial class MulticastDelegate : System.Delegate { [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The target method might be removed")] protected MulticastDelegate(object target, string method) : base (default(object), default(string)) { } @@ -4527,7 +4847,7 @@ public static partial class Nullable public static int Compare(T? n1, T? n2) where T : struct { throw null; } public static bool Equals(T? n1, T? n2) where T : struct { throw null; } public static System.Type? GetUnderlyingType(System.Type nullableType) { throw null; } - public static ref readonly T GetValueRefOrDefaultRef([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T? nullable) where T : struct { throw null; } + public static ref readonly T GetValueRefOrDefaultRef(ref readonly T? nullable) where T : struct { throw null; } } public partial struct Nullable where T : struct { @@ -4561,7 +4881,7 @@ public Object() { } ~Object() { } public virtual int GetHashCode() { throw null; } public System.Type GetType() { throw null; } - protected internal object MemberwiseClone() { throw null; } + protected object MemberwiseClone() { throw null; } public static bool ReferenceEquals(object? objA, object? objB) { throw null; } public virtual string? ToString() { throw null; } } @@ -4578,8 +4898,8 @@ public ObjectDisposedException(string? objectName, string? message) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } - public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, object instance) { } - public static void ThrowIf([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute(true)] bool condition, System.Type type) { } + 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 @@ -4689,7 +5009,7 @@ protected PlatformNotSupportedException(System.Runtime.Serialization.Serializati public PlatformNotSupportedException(string? message) { } public PlatformNotSupportedException(string? message, System.Exception? inner) { } } - public delegate bool Predicate(T obj); + public delegate bool Predicate(T obj) where T : allows ref struct; public partial class Progress : System.IProgress { public Progress() { } @@ -4704,7 +5024,7 @@ public Random() { } public Random(int Seed) { } public static System.Random Shared { get { throw null; } } public string GetHexString(int stringLength, bool lowercase = false) { throw null; } - public void GetHexString(System.Span destination, bool lowercase = false) { } + public void GetHexString(System.Span destination, bool lowercase = false) { throw null; } public T[] GetItems(System.ReadOnlySpan choices, int length) { throw null; } public void GetItems(System.ReadOnlySpan choices, System.Span destination) { } public T[] GetItems(T[] choices, int length) { throw null; } @@ -4779,14 +5099,14 @@ public readonly ref partial struct ReadOnlySpan private readonly int _dummyPrimitive; [System.CLSCompliantAttribute(false)] public unsafe ReadOnlySpan(void* pointer, int length) { throw null; } - public ReadOnlySpan([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T reference) { throw null; } + public ReadOnlySpan(ref readonly T reference) { throw null; } public ReadOnlySpan(T[]? array) { throw null; } public ReadOnlySpan(T[]? array, int start, int length) { throw null; } public static System.ReadOnlySpan Empty { get { throw null; } } public bool IsEmpty { get { throw null; } } public ref readonly T this[int index] { get { throw null; } } public int Length { get { throw null; } } - public static System.ReadOnlySpan CastUp(System.ReadOnlySpan items) where TDerived : class?, T? { throw null; } + public static System.ReadOnlySpan CastUp(System.ReadOnlySpan items) where TDerived : class?, T { throw null; } public void CopyTo(System.Span destination) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("Equals() on ReadOnlySpan will always throw an exception. Use the equality operator instead.")] @@ -4811,11 +5131,11 @@ public void CopyTo(System.Span destination) { } private object _dummy; private int _dummyPrimitive; public ref readonly T Current { get { throw null; } } + public bool MoveNext() { throw null; } T System.Collections.Generic.IEnumerator.Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } - public bool MoveNext() { throw null; } - void System.Collections.IEnumerator.Reset() { } - void System.IDisposable.Dispose() { } + void System.Collections.IEnumerator.Reset() { throw null; } + void System.IDisposable.Dispose() { throw null; } } } public partial class ResolveEventArgs : System.EventArgs @@ -4834,43 +5154,43 @@ public partial struct RuntimeFieldHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { private object _dummy; private int _dummyPrimitive; - public nint Value { get { throw null; } } + public System.IntPtr Value { get { throw null; } } public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeMethodHandle handle) { throw null; } - public static System.RuntimeMethodHandle FromIntPtr(nint value) { throw null; } - public nint GetFunctionPointer() { throw null; } + public static System.RuntimeMethodHandle FromIntPtr(System.IntPtr value) { throw null; } + public System.IntPtr GetFunctionPointer() { throw null; } public override int GetHashCode() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public static bool operator ==(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) { throw null; } public static bool operator !=(System.RuntimeMethodHandle left, System.RuntimeMethodHandle right) { throw null; } - public static nint ToIntPtr(System.RuntimeMethodHandle value) { throw null; } + public static System.IntPtr ToIntPtr(System.RuntimeMethodHandle value) { throw null; } } public partial struct RuntimeTypeHandle : System.IEquatable, System.Runtime.Serialization.ISerializable { private object _dummy; private int _dummyPrimitive; - public nint Value { get { throw null; } } + public System.IntPtr Value { get { throw null; } } public override bool Equals(object? obj) { throw null; } public bool Equals(System.RuntimeTypeHandle handle) { throw null; } - public static System.RuntimeTypeHandle FromIntPtr(nint value) { throw null; } + public static System.RuntimeTypeHandle FromIntPtr(System.IntPtr value) { throw null; } public override int GetHashCode() { throw null; } public System.ModuleHandle GetModuleHandle() { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -4880,7 +5200,7 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static bool operator ==(System.RuntimeTypeHandle left, object? right) { throw null; } public static bool operator !=(object? left, System.RuntimeTypeHandle right) { throw null; } public static bool operator !=(System.RuntimeTypeHandle left, object? right) { throw null; } - public static nint ToIntPtr(System.RuntimeTypeHandle value) { throw null; } + public static System.IntPtr ToIntPtr(System.RuntimeTypeHandle value) { throw null; } } [System.CLSCompliantAttribute(false)] public readonly partial struct SByte : System.IComparable, System.IComparable, System.IConvertible, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators @@ -4933,21 +5253,21 @@ public void GetObjectData(System.Runtime.Serialization.SerializationInfo info, S public static sbyte RotateLeft(sbyte value, int rotateAmount) { throw null; } public static sbyte RotateRight(sbyte value, int rotateAmount) { throw null; } public static int Sign(sbyte value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static sbyte System.Numerics.IAdditionOperators.operator +(sbyte left, sbyte right) { throw null; } static sbyte System.Numerics.IAdditionOperators.operator checked +(sbyte left, sbyte right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -5038,7 +5358,7 @@ public SerializableAttribute() { } public const float MinValue = -3.4028235E+38f; public const float NaN = 0.0f / 0.0f; public const float NegativeInfinity = -1.0f / 0.0f; - public const float NegativeZero = -0f; + public const float NegativeZero = -0.0f; public const float Pi = 3.1415927f; public const float PositiveInfinity = 1.0f / 0.0f; public const float Tau = 6.2831855f; @@ -5168,21 +5488,21 @@ public SerializableAttribute() { } public static float Sinh(float x) { throw null; } public static float SinPi(float x) { throw null; } public static float Sqrt(float x) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static float System.Numerics.IAdditionOperators.operator +(float left, float right) { throw null; } static float System.Numerics.IBitwiseOperators.operator &(float left, float right) { throw null; } static float System.Numerics.IBitwiseOperators.operator |(float left, float right) { throw null; } @@ -5275,11 +5595,11 @@ public void Fill(T value) { } private object _dummy; private int _dummyPrimitive; public ref T Current { get { throw null; } } + public bool MoveNext() { throw null; } T System.Collections.Generic.IEnumerator.Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } - public bool MoveNext() { throw null; } - void System.Collections.IEnumerator.Reset() { } - void System.IDisposable.Dispose() { } + void System.Collections.IEnumerator.Reset() { throw null; } + void System.IDisposable.Dispose() { throw null; } } } public sealed partial class StackOverflowException : System.SystemException @@ -5333,22 +5653,22 @@ public unsafe String(sbyte* value, int startIndex, int length, System.Text.Encod public static string Concat(object? arg0, object? arg1) { throw null; } public static string Concat(object? arg0, object? arg1, object? arg2) { throw null; } public static string Concat(params object?[] args) { throw null; } + public static string Concat(params System.ReadOnlySpan args) { throw null; } public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1) { throw null; } public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2) { throw null; } public static string Concat(System.ReadOnlySpan str0, System.ReadOnlySpan str1, System.ReadOnlySpan str2, System.ReadOnlySpan str3) { throw null; } - public static string Concat([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } - public static string Concat([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public static string Concat(string? str0, string? str1) { throw null; } public static string Concat(string? str0, string? str1, string? str2) { throw null; } public static string Concat(string? str0, string? str1, string? str2, string? str3) { throw null; } public static string Concat(params string?[] values) { throw null; } + public static string Concat(params System.ReadOnlySpan values) { throw null; } public static string Concat(System.Collections.Generic.IEnumerable values) { throw null; } public bool Contains(char value) { throw null; } public bool Contains(char value, System.StringComparison comparisonType) { throw null; } - public bool Contains(string value) { throw null; } - public bool Contains(string value, System.StringComparison comparisonType) { throw null; } public bool Contains(System.Text.Rune value) { throw null; } public bool Contains(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } + public bool Contains(string value) { throw null; } + public bool Contains(string value, System.StringComparison comparisonType) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This API should not be used to create mutable strings. See https://go.microsoft.com/fwlink/?linkid=2084035 for alternatives.")] public static string Copy(string str) { throw null; } @@ -5356,14 +5676,14 @@ public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, in public void CopyTo(System.Span destination) { } public static string Create(System.IFormatProvider? provider, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute("provider")] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } public static string Create(System.IFormatProvider? provider, System.Span initialBuffer, [System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute(new string[]{ "provider", "initialBuffer"})] ref System.Runtime.CompilerServices.DefaultInterpolatedStringHandler handler) { throw null; } - public static string Create(int length, TState state, System.Buffers.SpanAction action) { throw null; } + public static string Create(int length, TState state, System.Buffers.SpanAction action) where TState : allows ref struct { throw null; } public bool EndsWith(char value) { throw null; } public bool EndsWith(char value, System.StringComparison comparisonType) { throw null; } + public bool EndsWith(System.Text.Rune value) { throw null; } + public bool EndsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public bool EndsWith(string value) { throw null; } public bool EndsWith(string value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public bool EndsWith(string value, System.StringComparison comparisonType) { throw null; } - public bool EndsWith(System.Text.Rune value) { throw null; } - public bool EndsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public System.Text.StringRuneEnumerator EnumerateRunes() { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? value) { throw null; } @@ -5374,14 +5694,14 @@ public void CopyTo(System.Span destination) { } public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public static string Format(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } - public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, params System.ReadOnlySpan args) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public static string Format([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } public static string Format(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } @@ -5396,9 +5716,9 @@ public void CopyTo(System.Span destination) { } public int IndexOf(char value) { throw null; } public int IndexOf(char value, int startIndex) { throw null; } public int IndexOf(char value, int startIndex, int count) { throw null; } - public int IndexOf(char value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } - public int IndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } public int IndexOf(char value, System.StringComparison comparisonType) { throw null; } + public int IndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int IndexOf(char value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } public int IndexOf(string value) { throw null; } public int IndexOf(string value, int startIndex) { throw null; } public int IndexOf(string value, int startIndex, int count) { throw null; } @@ -5408,9 +5728,9 @@ public void CopyTo(System.Span destination) { } public int IndexOf(System.Text.Rune value) { throw null; } public int IndexOf(System.Text.Rune value, int startIndex) { throw null; } public int IndexOf(System.Text.Rune value, int startIndex, int count) { throw null; } - public int IndexOf(System.Text.Rune value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } - public int IndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } public int IndexOf(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } + public int IndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int IndexOf(System.Text.Rune value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } public int IndexOfAny(char[] anyOf) { throw null; } public int IndexOfAny(char[] anyOf, int startIndex) { throw null; } public int IndexOfAny(char[] anyOf, int startIndex, int count) { throw null; } @@ -5422,24 +5742,24 @@ public void CopyTo(System.Span destination) { } public static bool IsNullOrEmpty([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] string? value) { throw null; } public static bool IsNullOrWhiteSpace([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(false)] string? value) { throw null; } public static string Join(char separator, params object?[] values) { throw null; } - public static string Join(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } - public static string Join(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { throw null; } + public static string Join(char separator, params System.ReadOnlySpan values) { throw null; } public static string Join(char separator, params string?[] value) { throw null; } + public static string Join(char separator, params System.ReadOnlySpan value) { throw null; } public static string Join(char separator, string?[] value, int startIndex, int count) { throw null; } public static string Join(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public static string Join(string? separator, params object?[] values) { throw null; } - public static string Join(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } - public static string Join(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { throw null; } + public static string Join(string? separator, params System.ReadOnlySpan values) { throw null; } public static string Join(string? separator, params string?[] value) { throw null; } + public static string Join(string? separator, params System.ReadOnlySpan value) { throw null; } public static string Join(string? separator, string?[] value, int startIndex, int count) { throw null; } public static string Join(char separator, System.Collections.Generic.IEnumerable values) { throw null; } public static string Join(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public int LastIndexOf(char value) { throw null; } public int LastIndexOf(char value, int startIndex) { throw null; } public int LastIndexOf(char value, int startIndex, int count) { throw null; } - public int LastIndexOf(char value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } - public int LastIndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } public int LastIndexOf(char value, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(char value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(char value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } public int LastIndexOf(string value) { throw null; } public int LastIndexOf(string value, int startIndex) { throw null; } public int LastIndexOf(string value, int startIndex, int count) { throw null; } @@ -5449,9 +5769,9 @@ public void CopyTo(System.Span destination) { } public int LastIndexOf(System.Text.Rune value) { throw null; } public int LastIndexOf(System.Text.Rune value, int startIndex) { throw null; } public int LastIndexOf(System.Text.Rune value, int startIndex, int count) { throw null; } - public int LastIndexOf(System.Text.Rune value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } - public int LastIndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } public int LastIndexOf(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(System.Text.Rune value, int startIndex, System.StringComparison comparisonType) { throw null; } + public int LastIndexOf(System.Text.Rune value, int startIndex, int count, System.StringComparison comparisonType) { throw null; } public int LastIndexOfAny(char[] anyOf) { throw null; } public int LastIndexOfAny(char[] anyOf, int startIndex) { throw null; } public int LastIndexOfAny(char[] anyOf, int startIndex, int count) { throw null; } @@ -5467,55 +5787,55 @@ public void CopyTo(System.Span destination) { } public string Remove(int startIndex) { throw null; } public string Remove(int startIndex, int count) { throw null; } public string Replace(char oldChar, char newChar) { throw null; } + public string Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } public string Replace(string oldValue, string? newValue) { throw null; } public string Replace(string oldValue, string? newValue, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public string Replace(string oldValue, string? newValue, System.StringComparison comparisonType) { throw null; } - public string Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } public string ReplaceLineEndings() { throw null; } public string ReplaceLineEndings(string replacementText) { throw null; } public string[] Split(char separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(char separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } + public string[] Split(System.Text.Rune separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } + public string[] Split(System.Text.Rune separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(params char[]? separator) { throw null; } + public string[] Split(params System.ReadOnlySpan separator) { throw null; } public string[] Split(char[]? separator, int count) { throw null; } public string[] Split(char[]? separator, int count, System.StringSplitOptions options) { throw null; } public string[] Split(char[]? separator, System.StringSplitOptions options) { throw null; } - public string[] Split([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan separator) { throw null; } public string[] Split(string? separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(string? separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public string[] Split(string[]? separator, int count, System.StringSplitOptions options) { throw null; } public string[] Split(string[]? separator, System.StringSplitOptions options) { throw null; } - public string[] Split(System.Text.Rune separator, int count, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } - public string[] Split(System.Text.Rune separator, System.StringSplitOptions options = System.StringSplitOptions.None) { throw null; } public bool StartsWith(char value) { throw null; } public bool StartsWith(char value, System.StringComparison comparisonType) { throw null; } + public bool StartsWith(System.Text.Rune value) { throw null; } + public bool StartsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public bool StartsWith(string value) { throw null; } public bool StartsWith(string value, bool ignoreCase, System.Globalization.CultureInfo? culture) { throw null; } public bool StartsWith(string value, System.StringComparison comparisonType) { throw null; } - public bool StartsWith(System.Text.Rune value) { throw null; } - public bool StartsWith(System.Text.Rune value, System.StringComparison comparisonType) { throw null; } public string Substring(int startIndex) { throw null; } public string Substring(int startIndex, int length) { throw null; } System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } - static string System.IParsable.Parse(string s, System.IFormatProvider provider) { throw null; } - static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string s, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } - static string System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider provider) { throw null; } - static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } + static string System.IParsable.Parse(string s, System.IFormatProvider? provider) { throw null; } + static bool System.IParsable.TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } + static string System.ISpanParsable.Parse(System.ReadOnlySpan s, System.IFormatProvider? provider) { throw null; } + static bool System.ISpanParsable.TryParse(System.ReadOnlySpan s, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out string result) { throw null; } public char[] ToCharArray() { throw null; } public char[] ToCharArray(int startIndex, int length) { throw null; } public string ToLower() { throw null; } @@ -5528,19 +5848,16 @@ public void CopyTo(System.Span destination) { } public string ToUpperInvariant() { throw null; } public string Trim() { throw null; } public string Trim(char trimChar) { throw null; } - public string Trim(params char[]? trimChars) { throw null; } - public string Trim([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan trimChars) { throw null; } public string Trim(System.Text.Rune trimRune) { throw null; } + public string Trim(params char[]? trimChars) { throw null; } public string TrimEnd() { throw null; } public string TrimEnd(char trimChar) { throw null; } - public string TrimEnd(params char[]? trimChars) { throw null; } - public string TrimEnd([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan trimChars) { throw null; } public string TrimEnd(System.Text.Rune trimRune) { throw null; } + public string TrimEnd(params char[]? trimChars) { throw null; } public string TrimStart() { throw null; } public string TrimStart(char trimChar) { throw null; } - public string TrimStart(params char[]? trimChars) { throw null; } - public string TrimStart([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan trimChars) { throw null; } public string TrimStart(System.Text.Rune trimRune) { throw null; } + public string TrimStart(params char[]? trimChars) { throw null; } public bool TryCopyTo(System.Span destination) { throw null; } } public abstract partial class StringComparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.Collections.IComparer, System.Collections.IEqualityComparer @@ -5575,13 +5892,13 @@ public enum StringComparison } public static partial class StringNormalizationExtensions { - public static int GetNormalizedLength(this System.ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } - public static bool IsNormalized(this System.ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } public static bool IsNormalized(this string strInput) { throw null; } public static bool IsNormalized(this string strInput, System.Text.NormalizationForm normalizationForm) { throw null; } + public static bool IsNormalized(this ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } public static string Normalize(this string strInput) { throw null; } + public static bool TryNormalize(this ReadOnlySpan source, Span destination, out int charsWritten, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } public static string Normalize(this string strInput, System.Text.NormalizationForm normalizationForm) { throw null; } - public static bool TryNormalize(this System.ReadOnlySpan source, System.Span destination, out int charsWritten, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } + public static int GetNormalizedLength(this ReadOnlySpan source, System.Text.NormalizationForm normalizationForm = System.Text.NormalizationForm.FormC) { throw null; } } [System.FlagsAttribute] public enum StringSplitOptions @@ -5886,7 +6203,7 @@ public static void ClearCachedData() { } public bool IsDaylightSavingTime(System.DateTime dateTime) { throw null; } public bool IsDaylightSavingTime(System.DateTimeOffset dateTimeOffset) { throw null; } public bool IsInvalidTime(System.DateTime dateTime) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public string ToSerializedString() { throw null; } public override string ToString() { throw null; } @@ -5908,7 +6225,7 @@ internal AdjustmentRule() { } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.TimeZoneInfo.AdjustmentRule? other) { throw null; } public override int GetHashCode() { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public readonly partial struct TransitionTime : System.IEquatable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable @@ -5927,7 +6244,7 @@ void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Ser public override int GetHashCode() { throw null; } public static bool operator ==(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) { throw null; } public static bool operator !=(System.TimeZoneInfo.TransitionTime t1, System.TimeZoneInfo.TransitionTime t2) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } } @@ -6046,10 +6363,10 @@ public Tuple(T1 item1) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6061,10 +6378,10 @@ public Tuple(T1 item1, T2 item2) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6077,10 +6394,10 @@ public Tuple(T1 item1, T2 item2, T3 item3) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6094,10 +6411,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6112,10 +6429,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6131,10 +6448,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) { } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple @@ -6151,10 +6468,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public partial class Tuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.Runtime.CompilerServices.ITuple where TRest : notnull @@ -6172,10 +6489,10 @@ public Tuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object obj) { throw null; } + int System.IComparable.CompareTo(object? obj) { throw null; } public override string ToString() { throw null; } } public abstract partial class Type : System.Reflection.MemberInfo, System.Reflection.IReflect @@ -6507,7 +6824,7 @@ public ref partial struct TypedReference public static System.TypedReference MakeTypedReference(object target, System.Reflection.FieldInfo[] flds) { throw null; } public static void SetTypedReference(System.TypedReference target, object? value) { } public static System.RuntimeTypeHandle TargetTypeToken(System.TypedReference value) { throw null; } - public static object? ToObject(System.TypedReference value) { throw null; } + public static object ToObject(System.TypedReference value) { throw null; } } public sealed partial class TypeInitializationException : System.SystemException { @@ -6777,21 +7094,21 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static ushort RotateLeft(ushort value, int rotateAmount) { throw null; } public static ushort RotateRight(ushort value, int rotateAmount) { throw null; } public static int Sign(ushort value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static ushort System.Numerics.IAdditionOperators.operator +(ushort left, ushort right) { throw null; } static ushort System.Numerics.IAdditionOperators.operator checked +(ushort left, ushort right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -6918,21 +7235,21 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static uint RotateLeft(uint value, int rotateAmount) { throw null; } public static uint RotateRight(uint value, int rotateAmount) { throw null; } public static int Sign(uint value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static uint System.Numerics.IAdditionOperators.operator +(uint left, uint right) { throw null; } static uint System.Numerics.IAdditionOperators.operator checked +(uint left, uint right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -7059,21 +7376,21 @@ public TypeUnloadedException(string? message, System.Exception? innerException) public static ulong RotateLeft(ulong value, int rotateAmount) { throw null; } public static ulong RotateRight(ulong value, int rotateAmount) { throw null; } public static int Sign(ulong value) { throw null; } - bool System.IConvertible.ToBoolean(System.IFormatProvider provider) { throw null; } - byte System.IConvertible.ToByte(System.IFormatProvider provider) { throw null; } - char System.IConvertible.ToChar(System.IFormatProvider provider) { throw null; } - System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider provider) { throw null; } - decimal System.IConvertible.ToDecimal(System.IFormatProvider provider) { throw null; } - double System.IConvertible.ToDouble(System.IFormatProvider provider) { throw null; } - short System.IConvertible.ToInt16(System.IFormatProvider provider) { throw null; } - int System.IConvertible.ToInt32(System.IFormatProvider provider) { throw null; } - long System.IConvertible.ToInt64(System.IFormatProvider provider) { throw null; } - sbyte System.IConvertible.ToSByte(System.IFormatProvider provider) { throw null; } - float System.IConvertible.ToSingle(System.IFormatProvider provider) { throw null; } - object System.IConvertible.ToType(System.Type type, System.IFormatProvider provider) { throw null; } - ushort System.IConvertible.ToUInt16(System.IFormatProvider provider) { throw null; } - uint System.IConvertible.ToUInt32(System.IFormatProvider provider) { throw null; } - ulong System.IConvertible.ToUInt64(System.IFormatProvider provider) { throw null; } + bool System.IConvertible.ToBoolean(System.IFormatProvider? provider) { throw null; } + byte System.IConvertible.ToByte(System.IFormatProvider? provider) { throw null; } + char System.IConvertible.ToChar(System.IFormatProvider? provider) { throw null; } + System.DateTime System.IConvertible.ToDateTime(System.IFormatProvider? provider) { throw null; } + decimal System.IConvertible.ToDecimal(System.IFormatProvider? provider) { throw null; } + double System.IConvertible.ToDouble(System.IFormatProvider? provider) { throw null; } + short System.IConvertible.ToInt16(System.IFormatProvider? provider) { throw null; } + int System.IConvertible.ToInt32(System.IFormatProvider? provider) { throw null; } + long System.IConvertible.ToInt64(System.IFormatProvider? provider) { throw null; } + sbyte System.IConvertible.ToSByte(System.IFormatProvider? provider) { throw null; } + float System.IConvertible.ToSingle(System.IFormatProvider? provider) { throw null; } + object System.IConvertible.ToType(System.Type type, System.IFormatProvider? provider) { throw null; } + ushort System.IConvertible.ToUInt16(System.IFormatProvider? provider) { throw null; } + uint System.IConvertible.ToUInt32(System.IFormatProvider? provider) { throw null; } + ulong System.IConvertible.ToUInt64(System.IFormatProvider? provider) { throw null; } static ulong System.Numerics.IAdditionOperators.operator +(ulong left, ulong right) { throw null; } static ulong System.Numerics.IAdditionOperators.operator checked +(ulong left, ulong right) { throw null; } int System.Numerics.IBinaryInteger.GetByteCount() { throw null; } @@ -7158,7 +7475,7 @@ public TypeUnloadedException(string? message, System.Exception? innerException) [System.CLSCompliantAttribute(false)] public readonly partial struct UIntPtr : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryInteger, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMinMaxValue, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators, System.Numerics.IUnsignedNumber, System.Runtime.Serialization.ISerializable { - private readonly nuint _dummyPrimitive; + private readonly unsafe void* _dummyPrimitive; public static readonly nuint Zero; public UIntPtr(uint value) { throw null; } public UIntPtr(ulong value) { throw null; } @@ -7332,10 +7649,10 @@ public partial struct ValueTuple : System.Collections.IStructuralComparable, Sys public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple @@ -7348,10 +7665,10 @@ public partial struct ValueTuple : System.Collections.IStructuralComparable, public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2)>, System.IEquatable<(T1, T2)>, System.Runtime.CompilerServices.ITuple @@ -7365,10 +7682,10 @@ public partial struct ValueTuple : System.Collections.IStructuralCompara public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3)>, System.IEquatable<(T1, T2, T3)>, System.Runtime.CompilerServices.ITuple @@ -7383,10 +7700,10 @@ public partial struct ValueTuple : System.Collections.IStructuralCom public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4)>, System.IEquatable<(T1, T2, T3, T4)>, System.Runtime.CompilerServices.ITuple @@ -7402,10 +7719,10 @@ public partial struct ValueTuple : System.Collections.IStructura public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5)>, System.IEquatable<(T1, T2, T3, T4, T5)>, System.Runtime.CompilerServices.ITuple @@ -7422,10 +7739,10 @@ public partial struct ValueTuple : System.Collections.IStruc public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6)>, System.IEquatable<(T1, T2, T3, T4, T5, T6)>, System.Runtime.CompilerServices.ITuple @@ -7443,10 +7760,10 @@ public partial struct ValueTuple : System.Collections.IS public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5, T6) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6, T7)>, System.IEquatable<(T1, T2, T3, T4, T5, T6, T7)>, System.Runtime.CompilerServices.ITuple @@ -7465,13 +7782,13 @@ public partial struct ValueTuple : System.Collection public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public bool Equals((T1, T2, T3, T4, T5, T6, T7) other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } - public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable<(T1, T2, T3, T4, T5, T6, T7, TRest)>, System.IEquatable<(T1, T2, T3, T4, T5, T6, T7, TRest)>, System.Runtime.CompilerServices.ITuple where TRest : struct + public partial struct ValueTuple : System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable, System.IComparable, System.IComparable>, System.IEquatable>, System.Runtime.CompilerServices.ITuple where TRest : struct { public T1 Item1; public T2 Item2; @@ -7484,14 +7801,14 @@ public partial struct ValueTuple : System.Col public ValueTuple(T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7, TRest rest) { throw null; } object? System.Runtime.CompilerServices.ITuple.this[int index] { get { throw null; } } int System.Runtime.CompilerServices.ITuple.Length { get { throw null; } } - public int CompareTo((T1, T2, T3, T4, T5, T6, T7, TRest) other) { throw null; } + public int CompareTo(System.ValueTuple other) { throw null; } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } - public bool Equals((T1, T2, T3, T4, T5, T6, T7, TRest) other) { throw null; } + public bool Equals(System.ValueTuple other) { throw null; } public override int GetHashCode() { throw null; } - int System.Collections.IStructuralComparable.CompareTo(object other, System.Collections.IComparer comparer) { throw null; } - bool System.Collections.IStructuralEquatable.Equals(object other, System.Collections.IEqualityComparer comparer) { throw null; } + int System.Collections.IStructuralComparable.CompareTo(object? other, System.Collections.IComparer comparer) { throw null; } + bool System.Collections.IStructuralEquatable.Equals(object? other, System.Collections.IEqualityComparer comparer) { throw null; } int System.Collections.IStructuralEquatable.GetHashCode(System.Collections.IEqualityComparer comparer) { throw null; } - int System.IComparable.CompareTo(object other) { throw null; } + int System.IComparable.CompareTo(object? other) { throw null; } public override string ToString() { throw null; } } public abstract partial class ValueType @@ -7529,11 +7846,11 @@ public Version(string version) { } public static System.Version Parse(System.ReadOnlySpan utf8Text) { throw null; } public static System.Version Parse(System.ReadOnlySpan 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 destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - static System.Version System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version result) { throw null; } + string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + static System.Version System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Version result) { throw null; } public override string ToString() { throw null; } public string ToString(int fieldCount) { throw null; } public bool TryFormat(System.Span utf8Destination, int fieldCount, out int bytesWritten) { throw null; } @@ -7624,11 +7941,11 @@ public enum OperationStatus NeedMoreData = 2, InvalidData = 3, } - public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg); + public delegate void ReadOnlySpanAction(System.ReadOnlySpan span, TArg arg) where TArg : allows ref struct; public static partial class SearchValues { - public static System.Buffers.SearchValues Create([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } - public static System.Buffers.SearchValues Create([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public static System.Buffers.SearchValues Create(params System.ReadOnlySpan values) { throw null; } + public static System.Buffers.SearchValues Create(params System.ReadOnlySpan values) { throw null; } public static System.Buffers.SearchValues Create(System.ReadOnlySpan values, System.StringComparison comparisonType) { throw null; } } public partial class SearchValues where T : System.IEquatable? @@ -7636,7 +7953,7 @@ public partial class SearchValues where T : System.IEquatable? internal SearchValues() { } public bool Contains(T value) { throw null; } } - public delegate void SpanAction(System.Span span, TArg arg); + public delegate void SpanAction(System.Span span, TArg arg) where TArg : allows ref struct; } namespace System.Buffers.Text { @@ -7739,13 +8056,11 @@ public override void Write(string? s) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } - public override void Write(System.Text.Rune value) { } + public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan 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 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(System.Text.Rune value) { 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) { } @@ -7761,8 +8076,7 @@ public override void WriteLine(string? s) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } - public override void WriteLine(System.Text.Rune value) { } + public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } [System.CLSCompliantAttribute(false)] public override void WriteLine(uint value) { } public override System.Threading.Tasks.Task WriteLineAsync() { throw null; } @@ -7770,7 +8084,6 @@ public override void WriteLine(uint value) { } public override System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } public override System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory 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(System.Text.Rune value) { 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; } @@ -7853,7 +8166,6 @@ public partial struct DictionaryEntry public object? Value { get { throw null; } set { } } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public void Deconstruct(out object key, out object? value) { throw null; } - public override string ToString() { throw null; } } public partial class Hashtable : System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable, System.ICloneable, System.Runtime.Serialization.IDeserializationCallback, System.Runtime.Serialization.ISerializable { @@ -7947,7 +8259,9 @@ public partial interface IEnumerable } public partial interface IEnumerator { +#nullable disable // explicitly leaving Current as "oblivious" to avoid spurious warnings in foreach over non-generic enumerables object Current { get; } +#nullable restore bool MoveNext(); void Reset(); } @@ -7986,17 +8300,17 @@ public partial interface IStructuralEquatable } namespace System.Collections.Generic { - public partial interface IAlternateEqualityComparer + public partial interface IAlternateEqualityComparer where TAlternate : allows ref struct where T : allows ref struct { - T Create(TAlternate alternate); bool Equals(TAlternate alternate, T other); int GetHashCode(TAlternate alternate); + T Create(TAlternate alternate); } - public partial interface IAsyncEnumerable + public partial interface IAsyncEnumerable where T : allows ref struct { System.Collections.Generic.IAsyncEnumerator GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); } - public partial interface IAsyncEnumerator : System.IAsyncDisposable + public partial interface IAsyncEnumerator : System.IAsyncDisposable where T : allows ref struct { T Current { get; } System.Threading.Tasks.ValueTask MoveNextAsync(); @@ -8011,7 +8325,7 @@ public partial interface ICollection : System.Collections.Generic.IEnumerable void CopyTo(T[] array, int arrayIndex); bool Remove(T item); } - public partial interface IComparer + public partial interface IComparer where T : allows ref struct { int Compare(T? x, T? y); } @@ -8025,15 +8339,15 @@ public partial interface IDictionary : System.Collections.Generic. bool Remove(TKey key); bool TryGetValue(TKey key, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TValue value); } - public partial interface IEnumerable : System.Collections.IEnumerable + public partial interface IEnumerable : System.Collections.IEnumerable where T : allows ref struct { new System.Collections.Generic.IEnumerator GetEnumerator(); } - public partial interface IEnumerator : System.Collections.IEnumerator, System.IDisposable + public partial interface IEnumerator : System.Collections.IEnumerator, System.IDisposable where T : allows ref struct { new T Current { get; } } - public partial interface IEqualityComparer + public partial interface IEqualityComparer where T : allows ref struct { bool Equals(T? x, T? y); int GetHashCode([System.Diagnostics.CodeAnalysis.DisallowNullAttribute] T obj); @@ -8102,6 +8416,7 @@ public readonly partial struct KeyValuePair { private readonly TKey key; private readonly TValue value; + private readonly int _dummyPrimitive; public KeyValuePair(TKey key, TValue value) { throw null; } public TKey Key { get { throw null; } } public TValue Value { get { throw null; } } @@ -8140,18 +8455,18 @@ protected virtual void RemoveItem(int index) { } protected virtual void SetItem(int index, T item) { } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } + int System.Collections.IList.Add(object? value) { throw null; } + bool System.Collections.IList.Contains(object? value) { throw null; } + int System.Collections.IList.IndexOf(object? value) { throw null; } + void System.Collections.IList.Insert(int index, object? value) { } + void System.Collections.IList.Remove(object? value) { } } public static partial class ReadOnlyCollection { - public static System.Collections.ObjectModel.ReadOnlyCollection CreateCollection([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } - public static System.Collections.ObjectModel.ReadOnlySet CreateSet([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } + public static System.Collections.ObjectModel.ReadOnlyCollection CreateCollection(params System.ReadOnlySpan values) { throw null; } + public static System.Collections.ObjectModel.ReadOnlySet CreateSet(params System.ReadOnlySpan values) { throw null; } } - [System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateCollection")] + [System.Runtime.CompilerServices.CollectionBuilder(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateCollection")] public partial class ReadOnlyCollection : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IList, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public ReadOnlyCollection(System.Collections.Generic.IList list) { } @@ -8177,12 +8492,12 @@ void System.Collections.Generic.IList.Insert(int index, T value) { } void System.Collections.Generic.IList.RemoveAt(int index) { } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } - int System.Collections.IList.Add(object value) { throw null; } + int System.Collections.IList.Add(object? value) { throw null; } void System.Collections.IList.Clear() { } - bool System.Collections.IList.Contains(object value) { throw null; } - int System.Collections.IList.IndexOf(object value) { throw null; } - void System.Collections.IList.Insert(int index, object value) { } - void System.Collections.IList.Remove(object value) { } + bool System.Collections.IList.Contains(object? value) { throw null; } + int System.Collections.IList.IndexOf(object? value) { throw null; } + void System.Collections.IList.Insert(int index, object? value) { } + void System.Collections.IList.Remove(object? value) { } void System.Collections.IList.RemoveAt(int index) { } } public partial class ReadOnlyDictionary : System.Collections.Generic.ICollection>, System.Collections.Generic.IDictionary, System.Collections.Generic.IEnumerable>, System.Collections.Generic.IReadOnlyCollection>, System.Collections.Generic.IReadOnlyDictionary, System.Collections.ICollection, System.Collections.IDictionary, System.Collections.IEnumerable where TKey : notnull @@ -8217,7 +8532,7 @@ public ReadOnlyDictionary(System.Collections.Generic.IDictionary d void System.Collections.Generic.IDictionary.Add(TKey key, TValue value) { } bool System.Collections.Generic.IDictionary.Remove(TKey key) { throw null; } void System.Collections.ICollection.CopyTo(System.Array array, int index) { } - void System.Collections.IDictionary.Add(object key, object value) { } + void System.Collections.IDictionary.Add(object key, object? value) { } void System.Collections.IDictionary.Clear() { } bool System.Collections.IDictionary.Contains(object key) { throw null; } System.Collections.IDictionaryEnumerator System.Collections.IDictionary.GetEnumerator() { throw null; } @@ -8257,7 +8572,7 @@ void System.Collections.ICollection.CopyTo(System.Array array, int index) { } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } } - [System.Runtime.CompilerServices.CollectionBuilderAttribute(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateSet")] + [System.Runtime.CompilerServices.CollectionBuilder(typeof(System.Collections.ObjectModel.ReadOnlyCollection), "CreateSet")] public partial class ReadOnlySet : System.Collections.Generic.ICollection, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlySet, System.Collections.Generic.ISet, System.Collections.ICollection, System.Collections.IEnumerable { public ReadOnlySet(System.Collections.Generic.ISet @set) { } @@ -8381,10 +8696,10 @@ public static void Assert([System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttrib public static void Close() { } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] [System.Diagnostics.ConditionalAttribute("DEBUG")] - public static void Fail(string? message) { } + public static void Fail(string? message) => throw null; [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] [System.Diagnostics.ConditionalAttribute("DEBUG")] - public static void Fail(string? message, string? detailMessage) { } + public static void Fail(string? message, string? detailMessage) => throw null; [System.Diagnostics.ConditionalAttribute("DEBUG")] public static void Flush() { } [System.Diagnostics.ConditionalAttribute("DEBUG")] @@ -8638,8 +8953,8 @@ public sealed partial class DoesNotReturnIfAttribute : System.Attribute public DoesNotReturnIfAttribute(bool parameterValue) { } public bool ParameterValue { get { throw null; } } } - [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)] [System.Runtime.CompilerServices.CompilerLoweringPreserveAttribute] + [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) { } @@ -8689,8 +9004,8 @@ public DynamicDependencyAttribute(string memberSignature) { } public DynamicDependencyAttribute(string memberSignature, string typeName, string assemblyName) { } public DynamicDependencyAttribute(string memberSignature, System.Type type) { } public string? AssemblyName { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - [System.ObsoleteAttribute("This property is no longer supported.")] + [System.Obsolete("This property is no longer supported.")] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] public string? Condition { get { throw null; } set { } } public string? MemberSignature { get { throw null; } } public System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes MemberTypes { get { throw null; } } @@ -8778,7 +9093,7 @@ public RequiresAssemblyFilesAttribute(string message) { } public sealed partial class RequiresDynamicCodeAttribute : System.Attribute { public RequiresDynamicCodeAttribute(string message) { } - public bool ExcludeStatics { get { throw null; } set { } } + public bool ExcludeStatics { get; set; } public string Message { get { throw null; } } public string? Url { get { throw null; } set { } } } @@ -8786,7 +9101,7 @@ public RequiresDynamicCodeAttribute(string message) { } public sealed partial class RequiresUnreferencedCodeAttribute : System.Attribute { public RequiresUnreferencedCodeAttribute(string message) { } - public bool ExcludeStatics { get { throw null; } set { } } + public bool ExcludeStatics { get; set; } public string Message { get { throw null; } } public string? Url { get { throw null; } set { } } } @@ -9001,7 +9316,7 @@ internal CompareInfo() { } public int LastIndexOf(string source, string value, int startIndex, System.Globalization.CompareOptions options) { throw null; } public int LastIndexOf(string source, string value, int startIndex, int count) { throw null; } public int LastIndexOf(string source, string value, int startIndex, int count, System.Globalization.CompareOptions options) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } public override string ToString() { throw null; } } [System.FlagsAttribute] @@ -9639,14 +9954,14 @@ internal TextInfo() { } public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public override int GetHashCode() { throw null; } public static System.Globalization.TextInfo ReadOnly(System.Globalization.TextInfo textInfo) { throw null; } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } public char ToLower(char c) { throw null; } public string ToLower(string str) { throw null; } - public System.Text.Rune ToLower(System.Text.Rune value) { throw null; } public override string ToString() { throw null; } public string ToTitleCase(string str) { throw null; } public char ToUpper(char c) { throw null; } public string ToUpper(string str) { throw null; } + public System.Text.Rune ToLower(System.Text.Rune value) { throw null; } public System.Text.Rune ToUpper(System.Text.Rune value) { throw null; } } public partial class ThaiBuddhistCalendar : System.Globalization.Calendar @@ -10235,16 +10550,16 @@ public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.F public FileStream(Microsoft.Win32.SafeHandles.SafeFileHandle handle, System.IO.FileAccess access, int bufferSize, bool isAsync) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access) instead.")] - public FileStream(nint handle, System.IO.FileAccess access) { } + public FileStream(System.IntPtr handle, System.IO.FileAccess access) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")] - public FileStream(nint handle, System.IO.FileAccess access, bool ownsHandle) { } + public FileStream(System.IntPtr handle, System.IO.FileAccess access, bool ownsHandle) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")] - public FileStream(nint handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize) { } + public FileStream(System.IntPtr handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize) { } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This constructor has been deprecated. Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize, bool isAsync) and optionally make a new SafeFileHandle with ownsHandle=false if needed instead.")] - public FileStream(nint handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize, bool isAsync) { } + public FileStream(System.IntPtr handle, System.IO.FileAccess access, bool ownsHandle, int bufferSize, bool isAsync) { } public FileStream(string path, System.IO.FileMode mode) { } public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access) { } public FileStream(string path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) { } @@ -10256,7 +10571,7 @@ public FileStream(string path, System.IO.FileStreamOptions options) { } public override bool CanSeek { get { throw null; } } public override bool CanWrite { get { throw null; } } [System.ObsoleteAttribute("FileStream.Handle has been deprecated. Use FileStream's SafeFileHandle property instead.")] - public virtual nint Handle { get { throw null; } } + public virtual System.IntPtr Handle { get { throw null; } } public virtual bool IsAsync { get { throw null; } } public override long Length { get { throw null; } } public virtual string Name { get { throw null; } } @@ -10385,9 +10700,13 @@ public MemoryStream(int capacity) { } public virtual int Capacity { get { throw null; } set { } } public override long Length { get { throw null; } } public override long Position { get { throw null; } set { } } + public override System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw null; } + public override System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback? callback, object? state) { throw null; } public override void CopyTo(System.IO.Stream destination, int bufferSize) { } public override System.Threading.Tasks.Task CopyToAsync(System.IO.Stream destination, int bufferSize, System.Threading.CancellationToken cancellationToken) { throw null; } protected override void Dispose(bool disposing) { } + public override int EndRead(System.IAsyncResult asyncResult) { throw null; } + public override void EndWrite(System.IAsyncResult asyncResult) { } public override void Flush() { } public override System.Threading.Tasks.Task FlushAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public virtual byte[] GetBuffer() { throw null; } @@ -10417,11 +10736,11 @@ public static partial class Path public static readonly char VolumeSeparatorChar; [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("path")] public static string? ChangeExtension(string? path, string? extension) { throw null; } - public static string Combine([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan paths) { throw null; } public static string Combine(string path1, string path2) { throw null; } public static string Combine(string path1, string path2, string path3) { throw null; } public static string Combine(string path1, string path2, string path3, string path4) { throw null; } public static string Combine(params string[] paths) { throw null; } + public static string Combine(params System.ReadOnlySpan paths) { throw null; } public static bool EndsInDirectorySeparator(System.ReadOnlySpan path) { throw null; } public static bool EndsInDirectorySeparator([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; } public static bool Exists([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? path) { throw null; } @@ -10455,11 +10774,11 @@ public static partial class Path public static string Join(System.ReadOnlySpan path1, System.ReadOnlySpan path2) { throw null; } public static string Join(System.ReadOnlySpan path1, System.ReadOnlySpan path2, System.ReadOnlySpan path3) { throw null; } public static string Join(System.ReadOnlySpan path1, System.ReadOnlySpan path2, System.ReadOnlySpan path3, System.ReadOnlySpan path4) { throw null; } - public static string Join([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan paths) { throw null; } public static string Join(string? path1, string? path2) { throw null; } public static string Join(string? path1, string? path2, string? path3) { throw null; } public static string Join(string? path1, string? path2, string? path3, string? path4) { throw null; } public static string Join(params string?[] paths) { throw null; } + public static string Join(params System.ReadOnlySpan paths) { throw null; } public static System.ReadOnlySpan TrimEndingDirectorySeparator(System.ReadOnlySpan path) { throw null; } public static string TrimEndingDirectorySeparator(string path) { throw null; } public static bool TryJoin(System.ReadOnlySpan path1, System.ReadOnlySpan path2, System.ReadOnlySpan path3, System.Span destination, out int charsWritten) { throw null; } @@ -10626,7 +10945,7 @@ public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribut public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } + public override void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan 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 buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -10637,7 +10956,7 @@ public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttr public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } + public override void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } 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; } @@ -10741,6 +11060,7 @@ public virtual void Flush() { } public static System.IO.TextWriter Synchronized(System.IO.TextWriter writer) { throw null; } public virtual void Write(bool value) { } public virtual void Write(char value) { } + public virtual void Write(System.Text.Rune value) { } public virtual void Write(char[]? buffer) { } public virtual void Write(char[] buffer, int index, int count) { } public virtual void Write(decimal value) { } @@ -10755,24 +11075,24 @@ public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } - public virtual void Write(System.Text.Rune value) { } + public virtual void Write([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } public virtual void Write(System.Text.StringBuilder? value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void Write(ulong value) { } public virtual System.Threading.Tasks.Task WriteAsync(char value) { throw null; } + public virtual System.Threading.Tasks.Task WriteAsync(System.Text.Rune value) { throw null; } public System.Threading.Tasks.Task WriteAsync(char[]? buffer) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(char[] buffer, int index, int count) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(string? value) { throw null; } public System.Threading.Tasks.Task WriteAsync(string? value, System.Threading.CancellationToken cancellationToken) { throw null; } - public virtual System.Threading.Tasks.Task WriteAsync(System.Text.Rune value) { throw null; } public virtual System.Threading.Tasks.Task WriteAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual void WriteLine() { } public virtual void WriteLine(bool value) { } public virtual void WriteLine(char value) { } + public virtual void WriteLine(System.Text.Rune value) { } public virtual void WriteLine(char[]? buffer) { } public virtual void WriteLine(char[] buffer, int index, int count) { } public virtual void WriteLine(decimal value) { } @@ -10787,23 +11107,22 @@ public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttri public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { } public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { } public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] arg) { } - public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan arg) { } - public virtual void WriteLine(System.Text.Rune value) { } + public virtual void WriteLine([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan arg) { } public virtual void WriteLine(System.Text.StringBuilder? value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(uint value) { } [System.CLSCompliantAttribute(false)] public virtual void WriteLine(ulong value) { } public virtual System.Threading.Tasks.Task WriteLineAsync() { throw null; } + public System.Threading.Tasks.Task WriteLineAsync(System.Threading.CancellationToken cancellationToken) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(char value) { throw null; } + public virtual System.Threading.Tasks.Task WriteLineAsync(System.Text.Rune value) { throw null; } public System.Threading.Tasks.Task WriteLineAsync(char[]? buffer) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(char[] buffer, int index, int count) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(System.ReadOnlyMemory buffer, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(string? value) { throw null; } public System.Threading.Tasks.Task WriteLineAsync(string? value, System.Threading.CancellationToken cancellationToken) { throw null; } - public virtual System.Threading.Tasks.Task WriteLineAsync(System.Text.Rune value) { throw null; } public virtual System.Threading.Tasks.Task WriteLineAsync(System.Text.StringBuilder? value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public System.Threading.Tasks.Task WriteLineAsync(System.Threading.CancellationToken cancellationToken) { throw null; } } [System.FlagsAttribute] public enum UnixFileMode @@ -10898,7 +11217,6 @@ public FileSystemEnumerator(string directory, System.IO.EnumerationOptions? opti protected virtual bool ContinueOnError(int error) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } - ~FileSystemEnumerator() { } public bool MoveNext() { throw null; } protected virtual void OnDirectoryFinished(System.ReadOnlySpan directory) { } public void Reset() { } @@ -10950,7 +11268,7 @@ namespace System.Numerics public static System.Numerics.BFloat16 One { get { throw null; } } public static System.Numerics.BFloat16 Pi { get { throw null; } } public static System.Numerics.BFloat16 PositiveInfinity { get { throw null; } } - static System.Numerics.BFloat16 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get { throw null; } } + static System.Numerics.BFloat16 System.Numerics.IAdditiveIdentity.AdditiveIdentity { get { throw null; } } static System.Numerics.BFloat16 System.Numerics.IBinaryNumber.AllBitsSet { get { throw null; } } static int System.Numerics.INumberBase.Radix { get { throw null; } } public static System.Numerics.BFloat16 Tau { get { throw null; } } @@ -11028,76 +11346,76 @@ namespace System.Numerics public static System.Numerics.BFloat16 MinMagnitudeNumber(System.Numerics.BFloat16 x, System.Numerics.BFloat16 y) { throw null; } public static System.Numerics.BFloat16 MinNumber(System.Numerics.BFloat16 x, System.Numerics.BFloat16 y) { throw null; } public static System.Numerics.BFloat16 operator +(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } - public static explicit operator checked byte (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked char (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked short (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked int (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked long (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked System.Int128 (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator checked nint (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked byte(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked char(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked short(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked int(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked long(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked System.Int128(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked nint(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked sbyte (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked sbyte(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked ushort (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked ushort(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked uint (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked uint(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked ulong (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked ulong(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked System.UInt128 (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked System.UInt128(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator checked nuint (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator checked nuint(System.Numerics.BFloat16 value) { throw null; } public static System.Numerics.BFloat16 operator --(System.Numerics.BFloat16 value) { throw null; } public static System.Numerics.BFloat16 operator /(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } public static bool operator ==(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } - public static explicit operator System.Numerics.BFloat16 (char value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (decimal value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (double value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (System.Half value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (System.Int128 value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (short value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (int value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (long value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (nint value) { throw null; } - public static explicit operator byte (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator char (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator decimal (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator double (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator System.Half (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator System.Int128 (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator short (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator int (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator long (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator nint (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Numerics.BFloat16(char value) { throw null; } + public static explicit operator System.Numerics.BFloat16(decimal value) { throw null; } + public static explicit operator System.Numerics.BFloat16(double value) { throw null; } + public static explicit operator System.Numerics.BFloat16(System.Half value) { throw null; } + public static explicit operator System.Numerics.BFloat16(System.Int128 value) { throw null; } + public static explicit operator System.Numerics.BFloat16(short value) { throw null; } + public static explicit operator System.Numerics.BFloat16(int value) { throw null; } + public static explicit operator System.Numerics.BFloat16(long value) { throw null; } + public static explicit operator System.Numerics.BFloat16(nint value) { throw null; } + public static explicit operator byte(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator char(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator decimal(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator double(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Half(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Int128(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator short(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator int(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator long(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator nint(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator sbyte (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator float (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator sbyte(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator float(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.UInt128 (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.UInt128(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator ushort (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator ushort(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator uint (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator uint(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator ulong (System.Numerics.BFloat16 value) { throw null; } + public static explicit operator ulong(System.Numerics.BFloat16 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator nuint (System.Numerics.BFloat16 value) { throw null; } - public static explicit operator System.Numerics.BFloat16 (float value) { throw null; } + public static explicit operator nuint(System.Numerics.BFloat16 value) { throw null; } + public static explicit operator System.Numerics.BFloat16(float value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16 (System.UInt128 value) { throw null; } + public static explicit operator System.Numerics.BFloat16(System.UInt128 value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16 (ushort value) { throw null; } + public static explicit operator System.Numerics.BFloat16(ushort value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16 (uint value) { throw null; } + public static explicit operator System.Numerics.BFloat16(uint value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16 (ulong value) { throw null; } + public static explicit operator System.Numerics.BFloat16(ulong value) { throw null; } [System.CLSCompliantAttribute(false)] - public static explicit operator System.Numerics.BFloat16 (nuint value) { throw null; } + public static explicit operator System.Numerics.BFloat16(nuint value) { throw null; } public static bool operator >(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } public static bool operator >=(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } - public static implicit operator System.Numerics.BFloat16 (byte value) { throw null; } + public static implicit operator System.Numerics.BFloat16(byte value) { throw null; } [System.CLSCompliantAttribute(false)] - public static implicit operator System.Numerics.BFloat16 (sbyte value) { throw null; } + public static implicit operator System.Numerics.BFloat16(sbyte value) { throw null; } public static System.Numerics.BFloat16 operator ++(System.Numerics.BFloat16 value) { throw null; } public static bool operator !=(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } public static bool operator <(System.Numerics.BFloat16 left, System.Numerics.BFloat16 right) { throw null; } @@ -11250,7 +11568,7 @@ public enum DivisionRounding public partial interface IAdditionOperators where TSelf : System.Numerics.IAdditionOperators? { static abstract TResult operator +(TSelf left, TOther right); - static TResult operator checked +(TSelf left, TOther right) { throw null; } + static virtual TResult operator checked +(TSelf left, TOther right) { throw null; } } public partial interface IAdditiveIdentity where TSelf : System.Numerics.IAdditiveIdentity? { @@ -11259,24 +11577,24 @@ public partial interface IAdditiveIdentity where TSelf : System. public partial interface IBinaryFloatingPointIeee754 : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IExponentialFunctions, System.Numerics.IFloatingPoint, System.Numerics.IFloatingPointConstants, System.Numerics.IFloatingPointIeee754, System.Numerics.IHyperbolicFunctions, System.Numerics.IIncrementOperators, System.Numerics.ILogarithmicFunctions, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IPowerFunctions, System.Numerics.IRootFunctions, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.ITrigonometricFunctions, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryFloatingPointIeee754? { } - public partial interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger? + public partial interface IBinaryInteger : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBinaryNumber, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.IShiftOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryInteger? { - static TSelf Divide(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } - static (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right) { throw null; } - static (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } + static virtual TSelf Divide(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } + static virtual (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right) { throw null; } + static virtual (TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } + static virtual TSelf Remainder(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } int GetByteCount(); int GetShortestBitLength(); - static TSelf LeadingZeroCount(TSelf value) { throw null; } + static virtual TSelf LeadingZeroCount(TSelf value) { throw null; } static abstract TSelf PopCount(TSelf value); - static TSelf ReadBigEndian(byte[] source, bool isUnsigned) { throw null; } - static TSelf ReadBigEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } - static TSelf ReadBigEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } - static TSelf ReadLittleEndian(byte[] source, bool isUnsigned) { throw null; } - static TSelf ReadLittleEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } - static TSelf ReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } - static TSelf Remainder(TSelf left, TSelf right, System.Numerics.DivisionRounding mode) { throw null; } - static TSelf RotateLeft(TSelf value, int rotateAmount) { throw null; } - static TSelf RotateRight(TSelf value, int rotateAmount) { throw null; } + static virtual TSelf ReadBigEndian(byte[] source, bool isUnsigned) { throw null; } + static virtual TSelf ReadBigEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } + static virtual TSelf ReadBigEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } + static virtual TSelf ReadLittleEndian(byte[] source, bool isUnsigned) { throw null; } + static virtual TSelf ReadLittleEndian(byte[] source, int startIndex, bool isUnsigned) { throw null; } + static virtual TSelf ReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned) { throw null; } + static virtual TSelf RotateLeft(TSelf value, int rotateAmount) { throw null; } + static virtual TSelf RotateRight(TSelf value, int rotateAmount) { throw null; } static abstract TSelf TrailingZeroCount(TSelf value); static abstract bool TryReadBigEndian(System.ReadOnlySpan source, bool isUnsigned, out TSelf value); static abstract bool TryReadLittleEndian(System.ReadOnlySpan source, bool isUnsigned, out TSelf value); @@ -11289,9 +11607,9 @@ public partial interface IBinaryInteger : System.IComparable, System.ICom int WriteLittleEndian(byte[] destination, int startIndex) { throw null; } int WriteLittleEndian(System.Span destination) { throw null; } } - public partial interface IBinaryNumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryNumber? + public partial interface IBinaryNumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IBitwiseOperators, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IBinaryNumber? { - static TSelf AllBitsSet { get { throw null; } } + static virtual TSelf AllBitsSet { get { throw null; } } static abstract bool IsPow2(TSelf value); static abstract TSelf Log2(TSelf value); } @@ -11311,12 +11629,12 @@ public partial interface IComparisonOperators : System.N } public partial interface IDecrementOperators where TSelf : System.Numerics.IDecrementOperators? { - static TSelf operator checked --(TSelf value) { throw null; } + static virtual TSelf operator checked --(TSelf value) { throw null; } static abstract TSelf operator --(TSelf value); } public partial interface IDivisionOperators where TSelf : System.Numerics.IDivisionOperators? { - static TResult operator checked /(TSelf left, TOther right) { throw null; } + static virtual TResult operator checked /(TSelf left, TOther right) { throw null; } static abstract TResult operator /(TSelf left, TOther right); } public partial interface IEqualityOperators where TSelf : System.Numerics.IEqualityOperators? @@ -11328,10 +11646,10 @@ public partial interface IExponentialFunctions : System.IEquatable { static abstract TSelf Exp(TSelf x); static abstract TSelf Exp10(TSelf x); - static TSelf Exp10M1(TSelf x) { throw null; } + static virtual TSelf Exp10M1(TSelf x) { throw null; } static abstract TSelf Exp2(TSelf x); - static TSelf Exp2M1(TSelf x) { throw null; } - static TSelf ExpM1(TSelf x) { throw null; } + static virtual TSelf Exp2M1(TSelf x) { throw null; } + static virtual TSelf ExpM1(TSelf x) { throw null; } } public partial interface IFloatingPointConstants : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPointConstants? { @@ -11353,26 +11671,26 @@ public partial interface IFloatingPointIeee754 : System.IComparable, Syst static abstract TSelf FusedMultiplyAdd(TSelf left, TSelf right, TSelf addend); static abstract TSelf Ieee754Remainder(TSelf left, TSelf right); static abstract int ILogB(TSelf x); - static TSelf Lerp(TSelf value1, TSelf value2, TSelf amount) { throw null; } - static TSelf ReciprocalEstimate(TSelf x) { throw null; } - static TSelf ReciprocalSqrtEstimate(TSelf x) { throw null; } + static virtual TSelf Lerp(TSelf value1, TSelf value2, TSelf amount) { throw null; } + static virtual TSelf ReciprocalEstimate(TSelf x) { throw null; } + static virtual TSelf ReciprocalSqrtEstimate(TSelf x) { throw null; } static abstract TSelf ScaleB(TSelf x, int n); } - public partial interface IFloatingPoint : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPoint? + public partial interface IFloatingPoint : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumber, System.Numerics.INumberBase, System.Numerics.ISignedNumber, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IFloatingPoint? { - static TSelf Ceiling(TSelf x) { throw null; } - static TInteger ConvertToIntegerNative(TSelf value) { throw null; } - static TInteger ConvertToInteger(TSelf value) { throw null; } - static TSelf Floor(TSelf x) { throw null; } + static virtual TSelf Ceiling(TSelf x) { throw null; } + static virtual TInteger ConvertToInteger(TSelf value) where TInteger : System.Numerics.IBinaryInteger { throw null; } + static virtual TInteger ConvertToIntegerNative(TSelf value) where TInteger : System.Numerics.IBinaryInteger { throw null; } + static virtual TSelf Floor(TSelf x) { throw null; } int GetExponentByteCount(); int GetExponentShortestBitLength(); int GetSignificandBitLength(); int GetSignificandByteCount(); - static TSelf Round(TSelf x) { throw null; } - static TSelf Round(TSelf x, int digits) { throw null; } + static virtual TSelf Round(TSelf x) { throw null; } + static virtual TSelf Round(TSelf x, int digits) { throw null; } static abstract TSelf Round(TSelf x, int digits, System.MidpointRounding mode); - static TSelf Round(TSelf x, System.MidpointRounding mode) { throw null; } - static TSelf Truncate(TSelf x) { throw null; } + static virtual TSelf Round(TSelf x, System.MidpointRounding mode) { throw null; } + static virtual TSelf Truncate(TSelf x) { throw null; } bool TryWriteExponentBigEndian(System.Span destination, out int bytesWritten); bool TryWriteExponentLittleEndian(System.Span destination, out int bytesWritten); bool TryWriteSignificandBigEndian(System.Span destination, out int bytesWritten); @@ -11401,7 +11719,7 @@ public partial interface IHyperbolicFunctions : System.IEquatable, } public partial interface IIncrementOperators where TSelf : System.Numerics.IIncrementOperators? { - static TSelf operator checked ++(TSelf value) { throw null; } + static virtual TSelf operator checked ++(TSelf value) { throw null; } static abstract TSelf operator ++(TSelf value); } public partial interface ILogarithmicFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ILogarithmicFunctions? @@ -11409,10 +11727,10 @@ public partial interface ILogarithmicFunctions : System.IEquatable static abstract TSelf Log(TSelf x); static abstract TSelf Log(TSelf x, TSelf newBase); static abstract TSelf Log10(TSelf x); - static TSelf Log10P1(TSelf x) { throw null; } + static virtual TSelf Log10P1(TSelf x) { throw null; } static abstract TSelf Log2(TSelf x); - static TSelf Log2P1(TSelf x) { throw null; } - static TSelf LogP1(TSelf x) { throw null; } + static virtual TSelf Log2P1(TSelf x) { throw null; } + static virtual TSelf LogP1(TSelf x) { throw null; } } public partial interface IMinMaxValue where TSelf : System.Numerics.IMinMaxValue? { @@ -11429,7 +11747,7 @@ public partial interface IMultiplicativeIdentity where TSelf : S } public partial interface IMultiplyOperators where TSelf : System.Numerics.IMultiplyOperators? { - static TResult operator checked *(TSelf left, TOther right) { throw null; } + static virtual TResult operator checked *(TSelf left, TOther right) { throw null; } static abstract TResult operator *(TSelf left, TOther right); } public partial interface INumberBase : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumberBase? @@ -11438,9 +11756,18 @@ public partial interface INumberBase : System.IEquatable, System.I static abstract int Radix { get; } static abstract TSelf Zero { get; } static abstract TSelf Abs(TSelf value); - static TSelf CreateChecked(TOther value) { throw null; } - static TSelf CreateSaturating(TOther value) { throw null; } - static TSelf CreateTruncating(TOther value) { throw null; } + static virtual TSelf CreateChecked(TOther value) +#nullable disable + where TOther : System.Numerics.INumberBase { throw null; } +#nullable restore + static virtual TSelf CreateSaturating(TOther value) +#nullable disable + where TOther : System.Numerics.INumberBase { throw null; } +#nullable restore + static virtual TSelf CreateTruncating(TOther value) +#nullable disable + where TOther : System.Numerics.INumberBase { throw null; } +#nullable restore static abstract bool IsCanonical(TSelf value); static abstract bool IsComplexNumber(TSelf value); static abstract bool IsEvenInteger(TSelf value); @@ -11462,41 +11789,59 @@ public partial interface INumberBase : System.IEquatable, System.I static abstract TSelf MaxMagnitudeNumber(TSelf x, TSelf y); static abstract TSelf MinMagnitude(TSelf x, TSelf y); static abstract TSelf MinMagnitudeNumber(TSelf x, TSelf y); - static TSelf MultiplyAddEstimate(TSelf left, TSelf right, TSelf addend) { throw null; } - static TSelf Parse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } + static virtual TSelf MultiplyAddEstimate(TSelf left, TSelf right, TSelf addend) { throw null; } + static virtual TSelf Parse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider) { throw null; } static abstract TSelf Parse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider); static abstract TSelf Parse(string s, System.Globalization.NumberStyles style, System.IFormatProvider? provider); - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - static TSelf System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result) { throw null; } - static abstract bool TryConvertFromChecked(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); - static abstract bool TryConvertFromSaturating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); - static abstract bool TryConvertFromTruncating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); - static abstract bool TryConvertToChecked(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result); - static abstract bool TryConvertToSaturating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result); - static abstract bool TryConvertToTruncating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TOther result); - static bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result) { throw null; } - static abstract bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); - static abstract bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute(false)] out TSelf result); - } - public partial interface INumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumber? - { - static TSelf Clamp(TSelf value, TSelf min, TSelf max) { throw null; } - static TSelf ClampNative(TSelf value, TSelf min, TSelf max) { throw null; } - static TSelf CopySign(TSelf value, TSelf sign) { throw null; } - static TSelf Max(TSelf x, TSelf y) { throw null; } - static TSelf MaxNative(TSelf x, TSelf y) { throw null; } - static TSelf MaxNumber(TSelf x, TSelf y) { throw null; } - static TSelf Min(TSelf x, TSelf y) { throw null; } - static TSelf MinNative(TSelf x, TSelf y) { throw null; } - static TSelf MinNumber(TSelf x, TSelf y) { throw null; } - static int Sign(TSelf value) { throw null; } - } - public partial interface IPowerFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IPowerFunctions? + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + static TSelf System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) { throw null; } + protected static abstract bool TryConvertFromChecked(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) +#nullable disable + where TOther : System.Numerics.INumberBase; +#nullable restore + protected static abstract bool TryConvertFromSaturating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) +#nullable disable + where TOther : System.Numerics.INumberBase; +#nullable restore + protected static abstract bool TryConvertFromTruncating(TOther value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) +#nullable disable + where TOther : System.Numerics.INumberBase; +#nullable restore + protected static abstract bool TryConvertToChecked(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TOther result) +#nullable disable + where TOther : System.Numerics.INumberBase; +#nullable restore + protected static abstract bool TryConvertToSaturating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TOther result) +#nullable disable + where TOther : System.Numerics.INumberBase; +#nullable restore + protected static abstract bool TryConvertToTruncating(TSelf value, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TOther result) +#nullable disable + where TOther : System.Numerics.INumberBase; +#nullable restore + static virtual bool TryParse(System.ReadOnlySpan utf8Text, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result) { throw null; } + static abstract bool TryParse(System.ReadOnlySpan s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result); + static abstract bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? s, System.Globalization.NumberStyles style, System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.MaybeNullWhen(false)] out TSelf result); + } + public partial interface INumber : System.IComparable, System.IComparable, System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IComparisonOperators, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IModulusOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.INumber? + { + static virtual TSelf Clamp(TSelf value, TSelf min, TSelf max) { throw null; } + static virtual TSelf ClampNative(TSelf value, TSelf min, TSelf max) { throw null; } + static virtual TSelf CopySign(TSelf value, TSelf sign) { throw null; } + static virtual TSelf Max(TSelf x, TSelf y) { throw null; } + static virtual TSelf MaxNative(TSelf x, TSelf y) { throw null; } + static virtual TSelf MaxNumber(TSelf x, TSelf y) { throw null; } + static virtual TSelf Min(TSelf x, TSelf y) { throw null; } + static virtual TSelf MinNative(TSelf x, TSelf y) { throw null; } + static virtual TSelf MinNumber(TSelf x, TSelf y) { throw null; } + static virtual int Sign(TSelf value) { throw null; } + } + public partial interface IPowerFunctions : System.Numerics.INumberBase where TSelf : System.Numerics.IPowerFunctions? { static abstract TSelf Pow(TSelf x, TSelf y); } - public partial interface IRootFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IRootFunctions? + public partial interface IRootFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.IRootFunctions? { static abstract TSelf Cbrt(TSelf x); static abstract TSelf Hypot(TSelf x, TSelf y); @@ -11509,16 +11854,16 @@ public partial interface IShiftOperators where TSelf : S static abstract TResult operator >>(TSelf value, TOther shiftAmount); static abstract TResult operator >>>(TSelf value, TOther shiftAmount); } - public partial interface ISignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ISignedNumber? + public partial interface ISignedNumber : System.Numerics.INumberBase where TSelf : System.Numerics.ISignedNumber? { static abstract TSelf NegativeOne { get; } } public partial interface ISubtractionOperators where TSelf : System.Numerics.ISubtractionOperators? { - static TResult operator checked -(TSelf left, TOther right) { throw null; } + static virtual TResult operator checked -(TSelf left, TOther right) { throw null; } static abstract TResult operator -(TSelf left, TOther right); } - public partial interface ITrigonometricFunctions : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IFloatingPointConstants, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.ITrigonometricFunctions? + public partial interface ITrigonometricFunctions : System.Numerics.IFloatingPointConstants, System.Numerics.INumberBase where TSelf : System.Numerics.ITrigonometricFunctions? { static abstract TSelf Acos(TSelf x); static abstract TSelf AcosPi(TSelf x); @@ -11528,8 +11873,8 @@ public partial interface ITrigonometricFunctions : System.IEquatable : System.IEquatable where TSelf : System.Numerics.IUnaryNegationOperators? { - static TResult operator checked -(TSelf value) { throw null; } + static virtual TResult operator checked -(TSelf value) { throw null; } static abstract TResult operator -(TSelf value); } public partial interface IUnaryPlusOperators where TSelf : System.Numerics.IUnaryPlusOperators? { static abstract TResult operator +(TSelf value); } - public partial interface IUnsignedNumber : System.IEquatable, System.IFormattable, System.IParsable, System.ISpanFormattable, System.ISpanParsable, System.IUtf8SpanFormattable, System.IUtf8SpanParsable, System.Numerics.IAdditionOperators, System.Numerics.IAdditiveIdentity, System.Numerics.IDecrementOperators, System.Numerics.IDivisionOperators, System.Numerics.IEqualityOperators, System.Numerics.IIncrementOperators, System.Numerics.IMultiplicativeIdentity, System.Numerics.IMultiplyOperators, System.Numerics.INumberBase, System.Numerics.ISubtractionOperators, System.Numerics.IUnaryNegationOperators, System.Numerics.IUnaryPlusOperators where TSelf : System.Numerics.IUnsignedNumber? + public partial interface IUnsignedNumber : System.Numerics.INumberBase where TSelf : System.Numerics.IUnsignedNumber? { } public readonly partial struct TotalOrderIeee754Comparer : System.Collections.Generic.IComparer, System.Collections.Generic.IEqualityComparer, System.IEquatable> where T : System.Numerics.IFloatingPointIeee754? @@ -11658,7 +12003,7 @@ public virtual void GetObjectData(System.Runtime.Serialization.SerializationInfo [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] public static System.Reflection.Assembly LoadFrom(string assemblyFile) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded assembly depends on might be removed")] - [System.ObsoleteAttribute("LoadFrom with a custom AssemblyHashAlgorithm is obsolete. Use overloads without an AssemblyHashAlgorithm.", DiagnosticId="SYSLIB0056", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] + [System.ObsoleteAttribute("LoadFrom with a custom AssemblyHashAlgorithm is obsolete. Use overloads without an AssemblyHashAlgorithm.", DiagnosticId = "SYSLIB0056", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")] public static System.Reflection.Assembly LoadFrom(string assemblyFile, byte[]? hashValue, System.Configuration.Assemblies.AssemblyHashAlgorithm hashAlgorithm) { throw null; } [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Types and members the loaded module depends on might be removed")] public System.Reflection.Module LoadModule(string moduleName, byte[]? rawModule) { throw null; } @@ -11940,10 +12285,12 @@ protected CustomAttributeData() { } public virtual System.Reflection.ConstructorInfo Constructor { get { throw null; } } public virtual System.Collections.Generic.IList ConstructorArguments { get { throw null; } } public virtual System.Collections.Generic.IList NamedArguments { get { throw null; } } + public override bool Equals(object? obj) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.Assembly target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.MemberInfo target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.Module target) { throw null; } public static System.Collections.Generic.IList GetCustomAttributes(System.Reflection.ParameterInfo target) { throw null; } + public override int GetHashCode() { throw null; } public override string ToString() { throw null; } } public static partial class CustomAttributeExtensions @@ -12556,7 +12903,10 @@ public enum ParameterAttributes Reserved4 = 32768, ReservedMask = 61440, } - public partial class ParameterInfo : System.Reflection.ICustomAttributeProvider, System.Runtime.Serialization.IObjectReference + public partial class ParameterInfo : System.Reflection.ICustomAttributeProvider +#pragma warning disable SYSLIB0050 // IObjectReference is obsolete + , System.Runtime.Serialization.IObjectReference +#pragma warning restore SYSLIB0050 { protected System.Reflection.ParameterAttributes AttrsImpl; protected System.Type? ClassImpl; @@ -12742,7 +13092,7 @@ public StrongNameKeyPair(System.IO.FileStream keyPairFile) { } protected StrongNameKeyPair(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public StrongNameKeyPair(string keyPairContainer) { } public byte[] PublicKey { get { throw null; } } - void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object sender) { } + void System.Runtime.Serialization.IDeserializationCallback.OnDeserialization(object? sender) { } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } } public partial class TargetException : System.ApplicationException @@ -12830,7 +13180,6 @@ public TypeDelegator([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers public override string? Namespace { get { throw null; } } public override System.RuntimeTypeHandle TypeHandle { get { throw null; } } public override System.Type UnderlyingSystemType { get { throw null; } } - public override int GetArrayRank() { throw null; } protected override System.Reflection.TypeAttributes GetAttributeFlagsImpl() { throw null; } [System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] protected override System.Reflection.ConstructorInfo? GetConstructorImpl(System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, System.Reflection.CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[]? modifiers) { throw null; } @@ -12955,7 +13304,6 @@ public NeutralResourcesLanguageAttribute(string cultureName, System.Resources.Ul } public partial class ResourceManager { - protected string BaseNameField; public static readonly int HeaderVersionNumber; public static readonly int MagicNumber; protected System.Reflection.Assembly? MainAssembly; @@ -12994,7 +13342,6 @@ public void Dispose() { } } public partial class ResourceSet : System.Collections.IEnumerable, System.IDisposable { - protected System.Resources.IResourceReader? Reader; protected ResourceSet() { } public ResourceSet(System.IO.Stream stream) { } public ResourceSet(System.Resources.IResourceReader reader) { } @@ -13046,6 +13393,7 @@ public static void Run(System.Action action, System.Threading.CancellationToken } public partial struct DependentHandle : System.IDisposable { + private object _dummy; private int _dummyPrimitive; public DependentHandle(object? target, object? dependent) { throw null; } public object? Dependent { readonly get { throw null; } set { } } @@ -13105,22 +13453,6 @@ public sealed partial class AccessedThroughPropertyAttribute : System.Attribute public AccessedThroughPropertyAttribute(string propertyName) { } public string PropertyName { get { throw null; } } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public static partial class AsyncHelpers - { - public static void Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { } - public static void Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { } - public static void Await(System.Threading.Tasks.Task task) { } - public static void Await(System.Threading.Tasks.ValueTask task) { } - public static void AwaitAwaiter(TAwaiter awaiter) where TAwaiter : System.Runtime.CompilerServices.INotifyCompletion { } - public static T Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { throw null; } - public static T Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { throw null; } - public static T Await(System.Threading.Tasks.Task task) { throw null; } - public static T Await(System.Threading.Tasks.ValueTask task) { throw null; } - public static void HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { } - public static int HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { throw null; } - public static void UnsafeAwaitAwaiter(TAwaiter awaiter) where TAwaiter : System.Runtime.CompilerServices.ICriticalNotifyCompletion { } - } public partial struct AsyncIteratorMethodBuilder { private object _dummy; @@ -13273,6 +13605,11 @@ public enum CompilationRelaxations { NoStringInterning = 8, } + [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited = false)] + public sealed class CompilerLoweringPreserveAttribute : System.Attribute + { + public CompilerLoweringPreserveAttribute() { } + } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method | System.AttributeTargets.Module)] public partial class CompilationRelaxationsAttribute : System.Attribute { @@ -13287,7 +13624,7 @@ public sealed partial class CompilerFeatureRequiredAttribute : System.Attribute public const string RequiredMembers = "RequiredMembers"; public CompilerFeatureRequiredAttribute(string featureName) { } public string FeatureName { get { throw null; } } - public bool IsOptional { get { throw null; } set { } } + public bool IsOptional { get { throw null; } init { } } } [System.AttributeUsageAttribute(System.AttributeTargets.All, Inherited=true)] public sealed partial class CompilerGeneratedAttribute : System.Attribute @@ -13299,20 +13636,15 @@ public partial class CompilerGlobalScopeAttribute : System.Attribute { public CompilerGlobalScopeAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Class, Inherited=false)] - public sealed partial class CompilerLoweringPreserveAttribute : System.Attribute - { - public CompilerLoweringPreserveAttribute() { } - } - public sealed partial class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class? + public sealed partial class ConditionalWeakTable : System.Collections.Generic.IEnumerable>, System.Collections.IEnumerable where TKey : class where TValue : class? { public ConditionalWeakTable() { } public void Add(TKey key, TValue value) { } public void AddOrUpdate(TKey key, TValue value) { } public void Clear() { } - public TValue GetOrAdd(TKey key, System.Func valueFactory) { throw null; } public TValue GetOrAdd(TKey key, TValue value) { throw null; } - public TValue GetOrAdd(TKey key, System.Func valueFactory, TArg factoryArgument) { throw null; } + public TValue GetOrAdd(TKey key, System.Func valueFactory) { throw null; } + public TValue GetOrAdd(TKey key, System.Func valueFactory, TArg factoryArgument) where TArg : allows ref struct { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public TValue GetOrCreateValue(TKey key) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] @@ -13333,6 +13665,7 @@ public readonly partial struct ConfiguredAsyncDisposable public System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable DisposeAsync() { throw null; } } public readonly partial struct ConfiguredCancelableAsyncEnumerable + where T : allows ref struct { private readonly object _dummy; private readonly int _dummyPrimitive; @@ -13442,10 +13775,9 @@ public ref partial struct DefaultInterpolatedStringHandler 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 initialBuffer) { throw null; } - public System.ReadOnlySpan Text { get { throw null; } } public void AppendFormatted(object? value, int alignment = 0, string? format = null) { } - public void AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { } - public void AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value, int alignment = 0, string? format = null) { } + public void AppendFormatted(scoped System.ReadOnlySpan value) { } + public void AppendFormatted(scoped System.ReadOnlySpan 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 value) { } @@ -13454,6 +13786,7 @@ public void AppendFormatted(T value, int alignment, string? format) { } public void AppendFormatted(T value, string? format) { } public void AppendLiteral(string value) { } public void Clear() { } + public System.ReadOnlySpan Text { get { throw null; } } public override string ToString() { throw null; } public string ToStringAndClear() { throw null; } } @@ -13490,8 +13823,8 @@ public sealed partial class ExtensionAttribute : System.Attribute { public ExtensionAttribute() { } } - [System.AttributeUsageAttribute(System.AttributeTargets.Class | 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)] [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + [System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Enum | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Field | System.AttributeTargets.Event | System.AttributeTargets.Interface | System.AttributeTargets.Delegate, Inherited = false)] public sealed partial class ExtensionMarkerAttribute : System.Attribute { public ExtensionMarkerAttribute(string name) { } @@ -13527,78 +13860,78 @@ public sealed partial class IndexerNameAttribute : System.Attribute { public IndexerNameAttribute(string indexerName) { } } - [System.Runtime.CompilerServices.InlineArrayAttribute(10)] - public partial struct InlineArray10 + [System.Runtime.CompilerServices.InlineArray(2)] + public struct InlineArray2 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(11)] - public partial struct InlineArray11 + [System.Runtime.CompilerServices.InlineArray(3)] + public struct InlineArray3 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(12)] - public partial struct InlineArray12 + [System.Runtime.CompilerServices.InlineArray(4)] + public struct InlineArray4 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(13)] - public partial struct InlineArray13 + [System.Runtime.CompilerServices.InlineArray(5)] + public struct InlineArray5 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(14)] - public partial struct InlineArray14 + [System.Runtime.CompilerServices.InlineArray(6)] + public struct InlineArray6 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(15)] - public partial struct InlineArray15 + [System.Runtime.CompilerServices.InlineArray(7)] + public struct InlineArray7 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(16)] - public partial struct InlineArray16 + [System.Runtime.CompilerServices.InlineArray(8)] + public struct InlineArray8 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(2)] - public partial struct InlineArray2 + [System.Runtime.CompilerServices.InlineArray(9)] + public struct InlineArray9 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(3)] - public partial struct InlineArray3 + [System.Runtime.CompilerServices.InlineArray(10)] + public struct InlineArray10 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(4)] - public partial struct InlineArray4 + [System.Runtime.CompilerServices.InlineArray(11)] + public struct InlineArray11 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(5)] - public partial struct InlineArray5 + [System.Runtime.CompilerServices.InlineArray(12)] + public struct InlineArray12 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(6)] - public partial struct InlineArray6 + [System.Runtime.CompilerServices.InlineArray(13)] + public struct InlineArray13 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(7)] - public partial struct InlineArray7 + [System.Runtime.CompilerServices.InlineArray(14)] + public struct InlineArray14 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(8)] - public partial struct InlineArray8 + [System.Runtime.CompilerServices.InlineArray(15)] + public struct InlineArray15 { private T t; } - [System.Runtime.CompilerServices.InlineArrayAttribute(9)] - public partial struct InlineArray9 + [System.Runtime.CompilerServices.InlineArray(16)] + public struct InlineArray16 { private T t; } @@ -13706,8 +14039,8 @@ public enum MethodImplOptions PreserveSig = 128, AggressiveInlining = 256, AggressiveOptimization = 512, - InternalCall = 4096, Async = 8192, + InternalCall = 4096, } [System.AttributeUsageAttribute(System.AttributeTargets.Method, Inherited=false)] public sealed partial class ModuleInitializerAttribute : System.Attribute @@ -13831,8 +14164,8 @@ public static partial class RuntimeHelpers { [System.ObsoleteAttribute("OffsetToStringData has been deprecated. Use string.GetPinnableReference() instead.")] public static int OffsetToStringData { get { throw null; } } - public static nint AllocateTypeAssociatedMemory(System.Type type, int size) { throw null; } - public static nint AllocateTypeAssociatedMemory(System.Type type, int size, int alignment) { throw null; } + public static System.IntPtr AllocateTypeAssociatedMemory(System.Type type, int size) { throw null; } + public static System.IntPtr AllocateTypeAssociatedMemory(System.Type type, int size, int alignment) { throw null; } public static object? Box(ref byte target, System.RuntimeTypeHandle type) { throw null; } public static System.ReadOnlySpan CreateSpan(System.RuntimeFieldHandle fldHandle) { throw null; } public static void EnsureSufficientExecutionStack() { } @@ -13845,7 +14178,7 @@ public static void ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServi public static T[] GetSubArray(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 bool IsReferenceOrContainsReferences() { throw null; } + public static bool IsReferenceOrContainsReferences() where T: allows ref struct { 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() { } [System.ObsoleteAttribute("The Constrained Execution Region (CER) feature is not supported.", DiagnosticId="SYSLIB0004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")] @@ -13865,6 +14198,22 @@ public static void RunModuleConstructor(System.ModuleHandle module) { } public delegate void CleanupCode(object? userData, bool exceptionThrown); public delegate void TryCode(object? userData); } + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + public static partial class AsyncHelpers + { + public static void UnsafeAwaitAwaiter(TAwaiter awaiter) where TAwaiter : ICriticalNotifyCompletion { } + public static void AwaitAwaiter(TAwaiter awaiter) where TAwaiter : INotifyCompletion { } + public static void Await(System.Threading.Tasks.Task task) { throw null; } + public static T Await(System.Threading.Tasks.Task task) { throw null; } + public static void Await(System.Threading.Tasks.ValueTask task) { throw null; } + public static T Await(System.Threading.Tasks.ValueTask task) { throw null; } + public static void Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { throw null; } + public static void Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { throw null; } + public static T Await(System.Runtime.CompilerServices.ConfiguredTaskAwaitable configuredAwaitable) { throw null; } + public static T Await(System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable configuredAwaitable) { throw null; } + public static void HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { } + public static int HandleAsyncEntryPoint(System.Threading.Tasks.Task task) { throw null; } + } public sealed partial class RuntimeWrappedException : System.Exception { public RuntimeWrappedException(object thrownObject) { } @@ -13966,38 +14315,38 @@ public TypeForwardedToAttribute(System.Type destination) { } } public static partial class Unsafe { - public static ref T AddByteOffset(ref T source, nint byteOffset) { throw null; } + public static ref T AddByteOffset(ref T source, System.IntPtr byteOffset) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T AddByteOffset(ref T source, nuint byteOffset) { throw null; } + public static ref T AddByteOffset(ref T source, nuint byteOffset) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static void* Add(void* source, int elementOffset) { throw null; } - public static ref T Add(ref T source, int elementOffset) { throw null; } - public static ref T Add(ref T source, nint elementOffset) { throw null; } + public unsafe static void* Add(void* source, int elementOffset) where T : allows ref struct { throw null; } + public static ref T Add(ref T source, int elementOffset) where T : allows ref struct { throw null; } + public static ref T Add(ref T source, System.IntPtr elementOffset) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T Add(ref T source, nuint elementOffset) { throw null; } - public static bool AreSame([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } + public static ref T Add(ref T source, nuint elementOffset) where T : allows ref struct { throw null; } + public static bool AreSame([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static void* AsPointer([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T value) { throw null; } + public unsafe static void* AsPointer(ref readonly T value) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static ref T AsRef(void* source) { throw null; } - public static ref T AsRef([System.Runtime.CompilerServices.RequiresLocationAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] ref T source) { throw null; } + public unsafe static ref T AsRef(void* source) where T : allows ref struct { throw null; } + public static ref T AsRef(scoped ref readonly T source) where T : allows ref struct { throw null; } [return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("o")] - public static T? As(object? o) where T : class { throw null; } - public static ref TTo As(ref TFrom source) { throw null; } - public static TTo BitCast(TFrom source) { throw null; } - public static nint ByteOffset([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T origin, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T target) { throw null; } + public static T? As(object? o) where T : class? { throw null; } + public static ref TTo As(ref TFrom source) where TFrom : allows ref struct where TTo : allows ref struct { throw null; } + public static TTo BitCast(TFrom source) where TFrom : allows ref struct where TTo : allows ref struct { throw null; } + public static System.IntPtr ByteOffset([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T origin, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T target) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public static void CopyBlock(ref byte destination, [System.Runtime.CompilerServices.RequiresLocationAttribute] ref byte source, uint byteCount) { } + public static void CopyBlock(ref byte destination, ref readonly byte source, uint byteCount) { } [System.CLSCompliantAttribute(false)] public unsafe static void CopyBlock(void* destination, void* source, uint byteCount) { } [System.CLSCompliantAttribute(false)] - public static void CopyBlockUnaligned(ref byte destination, [System.Runtime.CompilerServices.RequiresLocationAttribute] ref byte source, uint byteCount) { } + public static void CopyBlockUnaligned(ref byte destination, ref readonly byte source, uint byteCount) { } [System.CLSCompliantAttribute(false)] public unsafe static void CopyBlockUnaligned(void* destination, void* source, uint byteCount) { } [System.CLSCompliantAttribute(false)] - public unsafe static void Copy(void* destination, [System.Runtime.CompilerServices.RequiresLocationAttribute] ref T source) { } + public unsafe static void Copy(void* destination, ref readonly T source) where T : allows ref struct { } [System.CLSCompliantAttribute(false)] - public unsafe static void Copy(ref T destination, void* source) { } + public unsafe static void Copy(ref T destination, void* source) where T : allows ref struct { } [System.CLSCompliantAttribute(false)] public static void InitBlock(ref byte startAddress, byte value, uint byteCount) { } [System.CLSCompliantAttribute(false)] @@ -14006,34 +14355,34 @@ public unsafe static void InitBlock(void* startAddress, byte value, uint byteCou public static void InitBlockUnaligned(ref byte startAddress, byte value, uint byteCount) { } [System.CLSCompliantAttribute(false)] public unsafe static void InitBlockUnaligned(void* startAddress, byte value, uint byteCount) { } - public static bool IsAddressGreaterThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } - public static bool IsAddressGreaterThan([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } - public static bool IsAddressLessThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } - public static bool IsAddressLessThan([System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T left, [System.Diagnostics.CodeAnalysis.AllowNullAttribute, System.Runtime.CompilerServices.RequiresLocationAttribute] ref T right) { throw null; } - public static bool IsNullRef([System.Runtime.CompilerServices.RequiresLocationAttribute] ref T source) { throw null; } - public static ref T NullRef() { throw null; } - public static T ReadUnaligned([System.Runtime.CompilerServices.RequiresLocationAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] ref byte source) { throw null; } + public static bool IsAddressGreaterThan([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } + public static bool IsAddressGreaterThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } + public static bool IsAddressLessThan([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } + public static bool IsAddressLessThanOrEqualTo([System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T left, [System.Diagnostics.CodeAnalysis.AllowNull] ref readonly T right) where T : allows ref struct { throw null; } + public static bool IsNullRef(ref readonly T source) where T : allows ref struct { throw null; } + public static ref T NullRef() where T : allows ref struct { throw null; } + public static T ReadUnaligned(scoped ref readonly byte source) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static T ReadUnaligned(void* source) { throw null; } + public unsafe static T ReadUnaligned(void* source) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static T Read(void* source) { throw null; } - public static int SizeOf() { throw null; } - public static void SkipInit(out T value) { throw null; } - public static ref T SubtractByteOffset(ref T source, nint byteOffset) { throw null; } + public unsafe static T Read(void* source) where T : allows ref struct { throw null; } + public static int SizeOf() where T : allows ref struct { throw null; } + public static void SkipInit(out T value) where T : allows ref struct { throw null; } + public static ref T SubtractByteOffset(ref T source, System.IntPtr byteOffset) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T SubtractByteOffset(ref T source, nuint byteOffset) { throw null; } + public static ref T SubtractByteOffset(ref T source, nuint byteOffset) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static void* Subtract(void* source, int elementOffset) { throw null; } - public static ref T Subtract(ref T source, int elementOffset) { throw null; } - public static ref T Subtract(ref T source, nint elementOffset) { throw null; } + public unsafe static void* Subtract(void* source, int elementOffset) where T : allows ref struct { throw null; } + public static ref T Subtract(ref T source, int elementOffset) where T : allows ref struct { throw null; } + public static ref T Subtract(ref T source, System.IntPtr elementOffset) where T : allows ref struct { throw null; } [System.CLSCompliantAttribute(false)] - public static ref T Subtract(ref T source, nuint elementOffset) { throw null; } + public static ref T Subtract(ref T source, nuint elementOffset) where T : allows ref struct { throw null; } public static ref T Unbox(object box) where T : struct { throw null; } - public static void WriteUnaligned(ref byte destination, T value) { } + public static void WriteUnaligned(ref byte destination, T value) where T : allows ref struct { } [System.CLSCompliantAttribute(false)] - public unsafe static void WriteUnaligned(void* destination, T value) { } + public unsafe static void WriteUnaligned(void* destination, T value) where T : allows ref struct { } [System.CLSCompliantAttribute(false)] - public unsafe static void Write(void* destination, T value) { } + public unsafe static void Write(void* destination, T value) where T : allows ref struct { } } [System.AttributeUsageAttribute(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)] public sealed partial class UnsafeAccessorAttribute : System.Attribute @@ -14138,14 +14487,14 @@ internal ExceptionDispatchInfo() { } public static System.Exception SetCurrentStackTrace(System.Exception source) { throw null; } public static System.Exception SetRemoteStackTrace(System.Exception source, string stackTrace) { throw null; } [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public void Throw() { } + public void Throw() => throw null; [System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute] - public static void Throw(System.Exception source) { } + public static void Throw(System.Exception source) => throw null; } public static partial class ExceptionHandling { + public static void SetUnhandledExceptionHandler(System.Func handler) { } public static void RaiseAppDomainUnhandledExceptionEvent(object exception) { } - public static void SetUnhandledExceptionHandler(System.Func handler) { } } public partial class FirstChanceExceptionEventArgs : System.EventArgs { @@ -14189,8 +14538,8 @@ public ComVisibleAttribute(bool visibility) { } } public abstract partial class CriticalHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { - protected nint handle; - protected CriticalHandle(nint invalidHandleValue) { } + protected System.IntPtr handle; + protected CriticalHandle(System.IntPtr invalidHandleValue) { } public bool IsClosed { get { throw null; } } public abstract bool IsInvalid { get; } public void Close() { } @@ -14198,11 +14547,12 @@ public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~CriticalHandle() { } protected abstract bool ReleaseHandle(); - protected void SetHandle(nint handle) { } + protected void SetHandle(System.IntPtr handle) { } public void SetHandleAsInvalid() { } } + [System.AttributeUsageAttribute(System.AttributeTargets.Struct, Inherited=false)] - public sealed partial class ExtendedLayoutAttribute : System.Attribute + public sealed class ExtendedLayoutAttribute : System.Attribute { public ExtendedLayoutAttribute(System.Runtime.InteropServices.ExtendedLayoutKind layoutKind) { } } @@ -14234,26 +14584,48 @@ public partial struct GCHandle : System.IEquatable : System.IDisposable, System.IEquatable> where T : class? + { + private int _dummyPrimitive; + public void Dispose() { } + public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } + public readonly bool Equals(System.Runtime.InteropServices.GCHandle other) { throw null; } + public static System.Runtime.InteropServices.GCHandle FromIntPtr(System.IntPtr value) { throw null; } + public override readonly int GetHashCode() { throw null; } + public GCHandle(T target) { } + public readonly bool IsAllocated { get { throw null; } } + public readonly T Target { get { throw null; } set { } } + public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.GCHandle value) { throw null; } } - public static partial class GCHandleExtensions + public static class GCHandleExtensions { [System.CLSCompliantAttribute(false)] - public unsafe static T* GetAddressOfArrayData(this System.Runtime.InteropServices.PinnedGCHandle handle) { throw null; } + public static unsafe T* GetAddressOfArrayData( +#nullable disable + this System.Runtime.InteropServices.PinnedGCHandle handle) +#nullable restore + { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe static char* GetAddressOfStringData(this System.Runtime.InteropServices.PinnedGCHandle handle) { throw null; } +#nullable disable + public static unsafe char* GetAddressOfStringData( +#nullable disable + this System.Runtime.InteropServices.PinnedGCHandle handle) +#nullable restore + { throw null; } } public enum GCHandleType { @@ -14262,19 +14634,6 @@ public enum GCHandleType Normal = 2, Pinned = 3, } - public partial struct GCHandle : System.IDisposable, System.IEquatable> where T : class? - { - private int _dummyPrimitive; - public GCHandle(T target) { throw null; } - public readonly bool IsAllocated { get { throw null; } } - public readonly T Target { get { throw null; } set { } } - public void Dispose() { } - public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } - public readonly bool Equals(System.Runtime.InteropServices.GCHandle other) { throw null; } - public static System.Runtime.InteropServices.GCHandle FromIntPtr(nint value) { throw null; } - public override readonly int GetHashCode() { throw null; } - public static nint ToIntPtr(System.Runtime.InteropServices.GCHandle value) { throw null; } - } [System.AttributeUsageAttribute(System.AttributeTargets.Parameter, Inherited=false)] public sealed partial class InAttribute : System.Attribute { @@ -14302,8 +14661,8 @@ public static partial class MemoryMarshal public unsafe static System.ReadOnlySpan CreateReadOnlySpanFromNullTerminated(byte* value) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe static System.ReadOnlySpan CreateReadOnlySpanFromNullTerminated(char* value) { throw null; } - public static System.ReadOnlySpan CreateReadOnlySpan([System.Runtime.CompilerServices.RequiresLocationAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] ref T reference, int length) { throw null; } - public static System.Span CreateSpan([System.Runtime.CompilerServices.ScopedRefAttribute] ref T reference, int length) { throw null; } + public static System.ReadOnlySpan CreateReadOnlySpan(scoped ref readonly T reference, int length) { throw null; } + public static System.Span CreateSpan(scoped ref T reference, int length) { throw null; } public static ref byte GetArrayDataReference(System.Array array) { throw null; } public static ref T GetArrayDataReference(T[] array) { throw null; } public static ref T GetReference(System.ReadOnlySpan span) { throw null; } @@ -14342,17 +14701,17 @@ public OutAttribute() { } public partial struct PinnedGCHandle : System.IDisposable, System.IEquatable> where T : class? { private int _dummyPrimitive; - public PinnedGCHandle(T target) { throw null; } - public readonly bool IsAllocated { get { throw null; } } - public readonly T Target { get { throw null; } set { } } public void Dispose() { } public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public readonly bool Equals(System.Runtime.InteropServices.PinnedGCHandle other) { throw null; } - public static System.Runtime.InteropServices.PinnedGCHandle FromIntPtr(nint value) { throw null; } + public static System.Runtime.InteropServices.PinnedGCHandle FromIntPtr(System.IntPtr value) { throw null; } [System.CLSCompliantAttribute(false)] - public unsafe readonly void* GetAddressOfObjectData() { throw null; } + public readonly unsafe void* GetAddressOfObjectData() { throw null; } public override readonly int GetHashCode() { throw null; } - public static nint ToIntPtr(System.Runtime.InteropServices.PinnedGCHandle value) { throw null; } + public readonly bool IsAllocated { get { throw null; } } + public PinnedGCHandle(T target) { } + public T Target { readonly get { throw null; } set { } } + public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.PinnedGCHandle value) { throw null; } } public static partial class RuntimeInformation { @@ -14392,19 +14751,19 @@ public void Write(ulong byteOffset, T value) where T : struct { } } public abstract partial class SafeHandle : System.Runtime.ConstrainedExecution.CriticalFinalizerObject, System.IDisposable { - protected nint handle; - protected SafeHandle(nint invalidHandleValue, bool ownsHandle) { } + protected System.IntPtr handle; + protected SafeHandle(System.IntPtr invalidHandleValue, bool ownsHandle) { } public bool IsClosed { get { throw null; } } public abstract bool IsInvalid { get; } public void Close() { } public void DangerousAddRef(ref bool success) { } - public nint DangerousGetHandle() { throw null; } + public System.IntPtr DangerousGetHandle() { throw null; } public void DangerousRelease() { } public void Dispose() { } protected virtual void Dispose(bool disposing) { } ~SafeHandle() { } protected abstract bool ReleaseHandle(); - protected internal void SetHandle(nint handle) { } + protected void SetHandle(System.IntPtr handle) { } public void SetHandleAsInvalid() { } } [System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Struct, Inherited=false)] @@ -14476,19 +14835,19 @@ public enum UnmanagedType HString = 47, LPUTF8Str = 48, } - public partial struct WeakGCHandle : System.IDisposable, System.IEquatable> where T : class + public partial struct WeakGCHandle : System.IDisposable, System.IEquatable> where T : class? { private int _dummyPrimitive; - public WeakGCHandle(T target, bool trackResurrection = false) { throw null; } - public readonly bool IsAllocated { get { throw null; } } public void Dispose() { } public override readonly bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; } public readonly bool Equals(System.Runtime.InteropServices.WeakGCHandle other) { throw null; } - public static System.Runtime.InteropServices.WeakGCHandle FromIntPtr(nint value) { throw null; } + public static System.Runtime.InteropServices.WeakGCHandle FromIntPtr(System.IntPtr value) { throw null; } public override readonly int GetHashCode() { throw null; } + public readonly bool IsAllocated { get { throw null; } } public readonly void SetTarget(T target) { } - public static nint ToIntPtr(System.Runtime.InteropServices.WeakGCHandle value) { throw null; } + public static System.IntPtr ToIntPtr(System.Runtime.InteropServices.WeakGCHandle value) { throw null; } public readonly bool TryGetTarget([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out T? target) { throw null; } + public WeakGCHandle(T target, bool trackResurrection = false) { } } } namespace System.Runtime.InteropServices.Marshalling @@ -14533,11 +14892,10 @@ public NativeMarshallingAttribute(System.Type nativeType) { } [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.ManagedToUnmanagedIn))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.ManagedToUnmanagedOut))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.ReadOnlySpan<>), System.Runtime.InteropServices.Marshalling.MarshalMode.UnmanagedToManagedOut, typeof(System.Runtime.InteropServices.Marshalling.ReadOnlySpanMarshaller<,>.UnmanagedToManagedOut))] - public static partial class ReadOnlySpanMarshaller where TUnmanagedElement : struct + public static unsafe partial class ReadOnlySpanMarshaller where TUnmanagedElement : unmanaged { public ref partial struct ManagedToUnmanagedIn { - private unsafe TUnmanagedElement* _allocatedMemory; private object _dummy; private int _dummyPrimitive; public static int BufferSize { get { throw null; } } @@ -14551,8 +14909,6 @@ public void FromManaged(System.ReadOnlySpan managed, System.Span.ManagedToUnmanagedIn))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedOut, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedOut))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute.GenericPlaceholder), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedRef, typeof(System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<>.ManagedToUnmanagedRef))] - public static partial class SafeHandleMarshaller where T : System.Runtime.InteropServices.SafeHandle + public static partial class SafeHandleMarshaller<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] T> where T : System.Runtime.InteropServices.SafeHandle { public partial struct ManagedToUnmanagedIn { private T _handle; - private object _dummy; private int _dummyPrimitive; public void Free() { } public void FromManaged(T handle) { } @@ -14585,7 +14940,6 @@ public void FromManaged(T handle) { } public partial struct ManagedToUnmanagedOut { private T _newHandle; - private object _dummy; private int _dummyPrimitive; public ManagedToUnmanagedOut() { throw null; } public void Free() { } @@ -14595,9 +14949,6 @@ public void FromUnmanaged(nint value) { } public partial struct ManagedToUnmanagedRef { private T _handle; - private T _newHandle; - private T _handleToReturn; - private object _dummy; private int _dummyPrimitive; public ManagedToUnmanagedRef() { throw null; } public void Free() { } @@ -14612,7 +14963,7 @@ public void OnInvoked() { } [System.Runtime.InteropServices.Marshalling.ContiguousCollectionMarshallerAttribute] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), System.Runtime.InteropServices.Marshalling.MarshalMode.Default, typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>))] [System.Runtime.InteropServices.Marshalling.CustomMarshallerAttribute(typeof(System.Span<>), System.Runtime.InteropServices.Marshalling.MarshalMode.ManagedToUnmanagedIn, typeof(System.Runtime.InteropServices.Marshalling.SpanMarshaller<,>.ManagedToUnmanagedIn))] - public static partial class SpanMarshaller where TUnmanagedElement : struct + public static partial class SpanMarshaller where TUnmanagedElement : unmanaged { public unsafe static System.Span AllocateContainerForManagedElements(TUnmanagedElement* unmanaged, int numElements) { throw null; } public unsafe static TUnmanagedElement* AllocateContainerForUnmanagedElements(System.Span managed, out int numElements) { throw null; } @@ -14623,7 +14974,6 @@ public unsafe static void Free(TUnmanagedElement* unmanaged) { } public unsafe static System.ReadOnlySpan GetUnmanagedValuesSource(TUnmanagedElement* unmanaged, int numElements) { throw null; } public ref partial struct ManagedToUnmanagedIn { - private unsafe TUnmanagedElement* _allocatedMemory; private object _dummy; private int _dummyPrimitive; public static int BufferSize { get { throw null; } } @@ -14660,9 +15010,9 @@ public readonly partial struct SwiftSelf public unsafe SwiftSelf(void* value) { throw null; } public unsafe void* Value { get { throw null; } } } - public readonly partial struct SwiftSelf where T : struct + public readonly partial struct SwiftSelf where T: unmanaged { - private readonly T _Value_k__BackingField; + private readonly T _dummyPrimitive; public SwiftSelf(T value) { throw null; } public T Value { get { throw null; } } } @@ -15671,12 +16021,12 @@ public enum NormalizationForm 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 destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } - static System.Text.Rune System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider) { throw null; } - static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider provider, out System.Text.Rune result) { 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 destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + bool System.IUtf8SpanFormattable.TryFormat(System.Span utf8Destination, out int bytesWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } + static System.Text.Rune System.IUtf8SpanParsable.Parse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider) { throw null; } + static bool System.IUtf8SpanParsable.TryParse(System.ReadOnlySpan utf8Text, System.IFormatProvider? provider, out System.Text.Rune result) { 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; } @@ -15694,43 +16044,41 @@ public enum NormalizationForm public readonly partial struct RunePosition : System.IEquatable { private readonly int _dummyPrimitive; - public RunePosition(System.Text.Rune rune, int startIndex, int length, bool wasReplaced) { throw null; } - public int Length { get { throw null; } } + public static System.Text.RunePosition.Utf16Enumerator EnumerateUtf16(System.ReadOnlySpan span) { throw null; } + public static System.Text.RunePosition.Utf8Enumerator EnumerateUtf8(System.ReadOnlySpan span) { throw null; } public System.Text.Rune Rune { get { throw null; } } public int StartIndex { get { throw null; } } + public int Length { get { throw null; } } public bool WasReplaced { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out System.Text.Rune rune, out int startIndex) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] - public void Deconstruct(out System.Text.Rune rune, out int startIndex, out int length) { throw null; } - public static System.Text.RunePosition.Utf16Enumerator EnumerateUtf16(System.ReadOnlySpan span) { throw null; } - public static System.Text.RunePosition.Utf8Enumerator EnumerateUtf8(System.ReadOnlySpan span) { throw null; } - public override bool Equals(object? obj) { throw null; } + public RunePosition(Rune rune, int startIndex, int length, bool wasReplaced) { throw null; } public bool Equals(System.Text.RunePosition other) { throw null; } + public override bool Equals(object? obj) { throw null; } public override int GetHashCode() { throw null; } + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out System.Text.Rune rune, out int startIndex) { throw null; } + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + public void Deconstruct(out System.Text.Rune rune, out int startIndex, out int length) { throw null; } public static bool operator ==(System.Text.RunePosition left, System.Text.RunePosition right) { throw null; } public static bool operator !=(System.Text.RunePosition left, System.Text.RunePosition right) { throw null; } public ref partial struct Utf16Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { - private object _dummy; - private int _dummyPrimitive; - public readonly System.Text.RunePosition Current { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } + private readonly int _dummyPrimitive; + public System.Text.RunePosition Current { get { throw null; } } public System.Text.RunePosition.Utf16Enumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } - public void Reset() { } + public void Reset() { throw null; } + object System.Collections.IEnumerator.Current { get { throw null; } } void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } - public ref partial struct Utf8Enumerator : System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable + public ref partial struct Utf8Enumerator: System.Collections.Generic.IEnumerator, System.Collections.IEnumerator, System.IDisposable { - private object _dummy; - private int _dummyPrimitive; - public readonly System.Text.RunePosition Current { get { throw null; } } - object System.Collections.IEnumerator.Current { get { throw null; } } + private readonly int _dummyPrimitive; + public System.Text.RunePosition Current { get { throw null; } } public System.Text.RunePosition.Utf8Enumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } - public void Reset() { } + public void Reset() { throw null; } + object System.Collections.IEnumerator.Current { get { throw null; } } void System.Collections.IEnumerator.Reset() { } void System.IDisposable.Dispose() { } } @@ -15751,6 +16099,7 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder Append(bool value) { throw null; } public System.Text.StringBuilder Append(byte value) { throw null; } public System.Text.StringBuilder Append(char value) { throw null; } + public System.Text.StringBuilder Append(System.Text.Rune value) { throw null; } [System.CLSCompliantAttribute(false)] public unsafe System.Text.StringBuilder Append(char* value, int valueCount) { throw null; } public System.Text.StringBuilder Append(char value, int repeatCount) { throw null; } @@ -15770,7 +16119,6 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder Append(float value) { throw null; } public System.Text.StringBuilder Append(string? value) { throw null; } public System.Text.StringBuilder Append(string? value, int startIndex, int count) { throw null; } - public System.Text.StringBuilder Append(System.Text.Rune value) { 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; } @@ -15784,25 +16132,25 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, [System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, params System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, object? arg0, object? arg1, object? arg2) { throw null; } public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params object?[] args) { throw null; } - public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan args) { throw null; } + public System.Text.StringBuilder AppendFormat([System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("CompositeFormat")] string format, params System.ReadOnlySpan args) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1) { throw null; } public System.Text.StringBuilder AppendFormat(System.IFormatProvider? provider, System.Text.CompositeFormat format, TArg0 arg0, TArg1 arg1, TArg2 arg2) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, params object?[] values) { throw null; } - public System.Text.StringBuilder AppendJoin(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } - public System.Text.StringBuilder AppendJoin(char separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, params string?[] values) { throw null; } + public System.Text.StringBuilder AppendJoin(char separator, params System.ReadOnlySpan values) { throw null; } + public System.Text.StringBuilder AppendJoin(char separator, params System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, params object?[] values) { throw null; } - public System.Text.StringBuilder AppendJoin(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } - public System.Text.StringBuilder AppendJoin(string? separator, [System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, params string?[] values) { throw null; } + public System.Text.StringBuilder AppendJoin(string? separator, params System.ReadOnlySpan values) { throw null; } + public System.Text.StringBuilder AppendJoin(string? separator, params System.ReadOnlySpan values) { throw null; } public System.Text.StringBuilder AppendJoin(char separator, System.Collections.Generic.IEnumerable values) { throw null; } public System.Text.StringBuilder AppendJoin(string? separator, System.Collections.Generic.IEnumerable values) { throw null; } public System.Text.StringBuilder AppendLine() { throw null; } @@ -15813,14 +16161,15 @@ public StringBuilder(string? value, int startIndex, int length, int capacity) { public void CopyTo(int sourceIndex, char[] destination, int destinationIndex, int count) { } public void CopyTo(int sourceIndex, System.Span destination, int count) { } public int EnsureCapacity(int capacity) { throw null; } - public System.Text.StringBuilderRuneEnumerator EnumerateRunes() { throw null; } public bool Equals(System.ReadOnlySpan span) { throw null; } public bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] System.Text.StringBuilder? sb) { throw null; } public System.Text.StringBuilder.ChunkEnumerator GetChunks() { throw null; } - public System.Text.Rune GetRuneAt(int index) { throw null; } + public System.Text.StringBuilderRuneEnumerator EnumerateRunes() { throw null; } + public Rune GetRuneAt(int index) { throw null; } public System.Text.StringBuilder Insert(int index, bool value) { throw null; } public System.Text.StringBuilder Insert(int index, byte value) { throw null; } public System.Text.StringBuilder Insert(int index, char value) { throw null; } + public System.Text.StringBuilder Insert(int index, System.Text.Rune value) { throw null; } public System.Text.StringBuilder Insert(int index, char[]? value) { throw null; } public System.Text.StringBuilder Insert(int index, char[]? value, int startIndex, int charCount) { throw null; } public System.Text.StringBuilder Insert(int index, decimal value) { throw null; } @@ -15835,7 +16184,6 @@ public void CopyTo(int sourceIndex, System.Span destination, int count) { public System.Text.StringBuilder Insert(int index, float value) { throw null; } public System.Text.StringBuilder Insert(int index, string? value) { throw null; } public System.Text.StringBuilder Insert(int index, string? value, int count) { throw null; } - public System.Text.StringBuilder Insert(int index, System.Text.Rune value) { throw null; } [System.CLSCompliantAttribute(false)] public System.Text.StringBuilder Insert(int index, ushort value) { throw null; } [System.CLSCompliantAttribute(false)] @@ -15845,16 +16193,16 @@ public void CopyTo(int sourceIndex, System.Span destination, int count) { public System.Text.StringBuilder Remove(int startIndex, int length) { throw null; } public System.Text.StringBuilder Replace(char oldChar, char newChar) { throw null; } public System.Text.StringBuilder Replace(char oldChar, char newChar, int startIndex, int count) { throw null; } + public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } + public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune, int startIndex, int count) { throw null; } public System.Text.StringBuilder Replace(System.ReadOnlySpan oldValue, System.ReadOnlySpan newValue) { throw null; } public System.Text.StringBuilder Replace(System.ReadOnlySpan oldValue, System.ReadOnlySpan newValue, int startIndex, int count) { throw null; } public System.Text.StringBuilder Replace(string oldValue, string? newValue) { throw null; } public System.Text.StringBuilder Replace(string oldValue, string? newValue, int startIndex, int count) { throw null; } - public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune) { throw null; } - public System.Text.StringBuilder Replace(System.Text.Rune oldRune, System.Text.Rune newRune, int startIndex, int count) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public override string ToString() { throw null; } public string ToString(int startIndex, int length) { throw null; } - public bool TryGetRuneAt(int index, out System.Text.Rune value) { throw null; } + public bool TryGetRuneAt(int index, out Rune value) { throw null; } [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute] public partial struct AppendInterpolatedStringHandler @@ -15888,14 +16236,14 @@ public partial struct StringBuilderRuneEnumerator : System.Collections.Generic.I { private object _dummy; private int _dummyPrimitive; - public readonly System.Text.Rune Current { get { throw null; } } - readonly object? System.Collections.IEnumerator.Current { get { throw null; } } - public readonly System.Text.StringBuilderRuneEnumerator GetEnumerator() { throw null; } + public System.Text.Rune Current { get { throw null; } } + object? System.Collections.IEnumerator.Current { get { throw null; } } + public System.Text.StringBuilderRuneEnumerator GetEnumerator() { throw null; } public bool MoveNext() { throw null; } - readonly System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } - readonly System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } void System.Collections.IEnumerator.Reset() { } - readonly void System.IDisposable.Dispose() { } + void System.IDisposable.Dispose() { } } public partial struct StringRuneEnumerator : System.Collections.Generic.IEnumerable, System.Collections.Generic.IEnumerator, System.Collections.IEnumerable, System.Collections.IEnumerator, System.IDisposable { @@ -15924,15 +16272,15 @@ public static partial class Utf8 [System.Runtime.CompilerServices.InterpolatedStringHandlerAttribute] public ref partial struct TryWriteInterpolatedStringHandler { - private object _dummy; - private int _dummyPrimitive; + private readonly object _dummy; + private readonly int _dummyPrimitive; public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, out bool shouldAppend) { throw null; } public TryWriteInterpolatedStringHandler(int literalLength, int formattedCount, System.Span destination, System.IFormatProvider? provider, out bool shouldAppend) { throw null; } public bool AppendFormatted(object? value, int alignment = 0, string? format = null) { throw null; } - public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan utf8Value) { throw null; } - public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan utf8Value, int alignment = 0, string? format = null) { throw null; } - public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value) { throw null; } - public bool AppendFormatted([System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted(scoped System.ReadOnlySpan utf8Value) { throw null; } + public bool AppendFormatted(scoped System.ReadOnlySpan utf8Value, int alignment = 0, string? format = null) { throw null; } + public bool AppendFormatted(scoped System.ReadOnlySpan value) { throw null; } + public bool AppendFormatted(scoped System.ReadOnlySpan value, int alignment = 0, string? format = null) { throw null; } public bool AppendFormatted(string? value) { throw null; } public bool AppendFormatted(string? value, int alignment = 0, string? format = null) { throw null; } public bool AppendFormatted(T value) { throw null; } @@ -15995,9 +16343,9 @@ public void Cancel(bool throwOnFirstException) { } public void CancelAfter(int millisecondsDelay) { } public void CancelAfter(System.TimeSpan delay) { } public System.Threading.Tasks.Task CancelAsync() { throw null; } - public static System.Threading.CancellationTokenSource CreateLinkedTokenSource([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tokens) { throw null; } public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(System.Threading.CancellationToken token) { throw null; } public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(System.Threading.CancellationToken token1, System.Threading.CancellationToken token2) { throw null; } + public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(params System.ReadOnlySpan tokens) { throw null; } public static System.Threading.CancellationTokenSource CreateLinkedTokenSource(params System.Threading.CancellationToken[] tokens) { throw null; } public void Dispose() { } protected virtual void Dispose(bool disposing) { } @@ -16141,6 +16489,7 @@ public Task(System.Action action, object? state, System.Threading.Tasks public bool IsCanceled { get { throw null; } } public bool IsCompleted { get { throw null; } } public bool IsCompletedSuccessfully { get { throw null; } } + [System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute(true, nameof(System.Exception))] public bool IsFaulted { get { throw null; } } public System.Threading.Tasks.TaskStatus Status { get { throw null; } } System.Threading.WaitHandle System.IAsyncResult.AsyncWaitHandle { get { throw null; } } @@ -16202,7 +16551,7 @@ public void Wait(System.Threading.CancellationToken cancellationToken) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public static void WaitAll(System.Collections.Generic.IEnumerable tasks, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] - public static void WaitAll([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { } + public static void WaitAll(params System.ReadOnlySpan tasks) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public static void WaitAll(params System.Threading.Tasks.Task[] tasks) { } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] @@ -16224,34 +16573,34 @@ public static void WaitAll(System.Threading.Tasks.Task[] tasks, System.Threading public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.TimeProvider timeProvider) { throw null; } public System.Threading.Tasks.Task WaitAsync(System.TimeSpan timeout, System.TimeProvider timeProvider, System.Threading.CancellationToken cancellationToken) { throw null; } public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable tasks) { throw null; } - public static System.Threading.Tasks.Task WhenAll([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(params System.ReadOnlySpan tasks) { throw null; } public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Threading.Tasks.Task WhenAll(System.Collections.Generic.IEnumerable> tasks) { throw null; } - public static System.Threading.Tasks.Task WhenAll([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan> tasks) { throw null; } + public static System.Threading.Tasks.Task WhenAll(params System.ReadOnlySpan> tasks) { throw null; } public static System.Threading.Tasks.Task WhenAll(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Threading.Tasks.Task WhenAny(System.Collections.Generic.IEnumerable tasks) { throw null; } - public static System.Threading.Tasks.Task WhenAny([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { throw null; } public static System.Threading.Tasks.Task WhenAny(System.Threading.Tasks.Task task1, System.Threading.Tasks.Task task2) { throw null; } + public static System.Threading.Tasks.Task WhenAny(params System.ReadOnlySpan tasks) { throw null; } public static System.Threading.Tasks.Task WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Threading.Tasks.Task> WhenAny(System.Collections.Generic.IEnumerable> tasks) { throw null; } - public static System.Threading.Tasks.Task> WhenAny([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan> tasks) { throw null; } public static System.Threading.Tasks.Task> WhenAny(System.Threading.Tasks.Task task1, System.Threading.Tasks.Task task2) { throw null; } + public static System.Threading.Tasks.Task> WhenAny(params System.ReadOnlySpan> tasks) { throw null; } public static System.Threading.Tasks.Task> WhenAny(params System.Threading.Tasks.Task[] tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable WhenEach(System.Collections.Generic.IEnumerable tasks) { throw null; } - public static System.Collections.Generic.IAsyncEnumerable WhenEach([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable WhenEach(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Collections.Generic.IAsyncEnumerable WhenEach(params System.ReadOnlySpan tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable> WhenEach(System.Collections.Generic.IEnumerable> tasks) { throw null; } - public static System.Collections.Generic.IAsyncEnumerable> WhenEach([System.Runtime.CompilerServices.ParamCollectionAttribute, System.Runtime.CompilerServices.ScopedRefAttribute] System.ReadOnlySpan> tasks) { throw null; } public static System.Collections.Generic.IAsyncEnumerable> WhenEach(params System.Threading.Tasks.Task[] tasks) { throw null; } + public static System.Collections.Generic.IAsyncEnumerable> WhenEach(params System.ReadOnlySpan> tasks) { throw null; } public static System.Runtime.CompilerServices.YieldAwaitable Yield() { throw null; } } public static partial class TaskAsyncEnumerableExtensions { public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait(this System.IAsyncDisposable source, bool continueOnCapturedContext) { throw null; } - public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this System.Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) { throw null; } + public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable ConfigureAwait(this System.Collections.Generic.IAsyncEnumerable source, bool continueOnCapturedContext) where T : allows ref struct { throw null; } [System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")] public static System.Collections.Generic.IEnumerable ToBlockingEnumerable(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) { throw null; } + public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable WithCancellation(this System.Collections.Generic.IAsyncEnumerable source, System.Threading.CancellationToken cancellationToken) where T : allows ref struct { throw null; } } public partial class TaskCanceledException : System.OperationCanceledException { @@ -16561,6 +16910,7 @@ public UnobservedTaskExceptionEventArgs(System.AggregateException exception) { } public bool Observed { get { throw null; } } public void SetObserved() { } } + [System.Runtime.CompilerServices.AsyncMethodBuilderAttribute(typeof(System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder))] public readonly partial struct ValueTask : System.IEquatable { private readonly object _dummy; @@ -16587,6 +16937,7 @@ public void SetObserved() { } public static bool operator !=(System.Threading.Tasks.ValueTask left, System.Threading.Tasks.ValueTask right) { throw null; } public System.Threading.Tasks.ValueTask Preserve() { throw null; } } + [System.Runtime.CompilerServices.AsyncMethodBuilderAttribute(typeof(System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>))] public readonly partial struct ValueTask : System.IEquatable> { private readonly TResult _result; @@ -16631,7 +16982,7 @@ public partial struct ManualResetValueTaskSourceCore private TResult _result; private object _dummy; private int _dummyPrimitive; - public bool RunContinuationsAsynchronously { get { throw null; } set { } } + public bool RunContinuationsAsynchronously { readonly get { throw null; } set { } } public short Version { get { throw null; } } public TResult GetResult(short token) { throw null; } public System.Threading.Tasks.Sources.ValueTaskSourceStatus GetStatus(short token) { throw null; } @@ -16806,8 +17157,8 @@ protected void GetObjectData(System.Runtime.Serialization.SerializationInfo seri public static bool operator !=(System.Uri? uri1, System.Uri? uri2) { throw null; } [System.ObsoleteAttribute("Uri.Parse has been deprecated and is not supported.")] protected virtual void Parse() { } - string System.IFormattable.ToString(string format, System.IFormatProvider formatProvider) { throw null; } - bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider provider) { throw null; } + string System.IFormattable.ToString(string? format, System.IFormatProvider? formatProvider) { throw null; } + bool System.ISpanFormattable.TryFormat(System.Span destination, out int charsWritten, System.ReadOnlySpan format, System.IFormatProvider? provider) { throw null; } void System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext) { } public override string ToString() { throw null; } public static bool TryCreate([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true), System.Diagnostics.CodeAnalysis.StringSyntaxAttribute("Uri")] string? uriString, in System.UriCreationOptions creationOptions, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Uri? result) { throw null; }