@tsonic/dotnet 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  2. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  3. package/Microsoft.Win32/internal/index.d.ts +9 -9
  4. package/System/bindings.json +114 -114
  5. package/System/internal/index.d.ts +156 -154
  6. package/System/internal/metadata.json +73 -73
  7. package/System.Buffers/internal/index.d.ts +1 -1
  8. package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
  9. package/System.Collections/internal/index.d.ts +12 -8
  10. package/System.Collections.Generic/internal/index.d.ts +22 -14
  11. package/System.Collections.Immutable/internal/index.d.ts +11 -11
  12. package/System.Collections.Specialized/internal/index.d.ts +20 -18
  13. package/System.ComponentModel/internal/index.d.ts +219 -209
  14. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
  15. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
  16. package/System.ComponentModel.Design/internal/index.d.ts +40 -40
  17. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
  18. package/System.Data/internal/index.d.ts +54 -46
  19. package/System.Data.Common/internal/index.d.ts +52 -44
  20. package/System.Data.SqlTypes/internal/index.d.ts +2 -2
  21. package/System.Diagnostics/internal/index.d.ts +85 -63
  22. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
  23. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
  24. package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
  25. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  26. package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
  27. package/System.Drawing/internal/index.d.ts +33 -33
  28. package/System.Dynamic/internal/index.d.ts +1 -1
  29. package/System.Formats.Tar/internal/index.d.ts +3 -2
  30. package/System.Globalization/internal/index.d.ts +8 -6
  31. package/System.IO/internal/index.d.ts +30 -27
  32. package/System.IO.Compression/internal/index.d.ts +1 -1
  33. package/System.IO.Enumeration/internal/index.d.ts +4 -2
  34. package/System.Linq/internal/index.d.ts +63 -63
  35. package/System.Linq.Expressions/internal/index.d.ts +13 -13
  36. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  37. package/System.Net/internal/index.d.ts +87 -63
  38. package/System.Net.Http/internal/index.d.ts +37 -21
  39. package/System.Net.Http.Headers/internal/index.d.ts +37 -20
  40. package/System.Net.Http.Json/internal/index.d.ts +39 -39
  41. package/System.Net.Mail/internal/index.d.ts +22 -12
  42. package/System.Net.Mime/internal/index.d.ts +4 -2
  43. package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
  44. package/System.Net.Quic/internal/index.d.ts +3 -2
  45. package/System.Net.Security/internal/index.d.ts +38 -22
  46. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
  47. package/System.Net.Sockets/internal/index.d.ts +23 -16
  48. package/System.Net.WebSockets/internal/index.d.ts +17 -11
  49. package/System.Numerics/bindings.json +408 -0
  50. package/System.Numerics/internal/metadata.json +272 -0
  51. package/System.Reflection/internal/index.d.ts +185 -182
  52. package/System.Reflection.Emit/internal/index.d.ts +82 -82
  53. package/System.Reflection.Metadata/bindings.json +48 -0
  54. package/System.Reflection.Metadata/internal/index.d.ts +5 -5
  55. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  56. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
  57. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  58. package/System.Resources/internal/index.d.ts +13 -12
  59. package/System.Runtime/internal/index.d.ts +2 -1
  60. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
  61. package/System.Runtime.InteropServices/bindings.json +22 -22
  62. package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
  63. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  64. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
  65. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
  66. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
  67. package/System.Runtime.Loader/internal/index.d.ts +4 -4
  68. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  69. package/System.Runtime.Serialization/internal/index.d.ts +53 -43
  70. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
  71. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
  72. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
  73. package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
  74. package/System.Runtime.Versioning/internal/index.d.ts +6 -3
  75. package/System.Security/internal/index.d.ts +35 -25
  76. package/System.Security.AccessControl/internal/index.d.ts +14 -10
  77. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
  78. package/System.Security.Claims/internal/index.d.ts +16 -12
  79. package/System.Security.Cryptography/internal/index.d.ts +80 -66
  80. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
  81. package/System.Security.Permissions/internal/index.d.ts +2 -2
  82. package/System.Security.Policy/internal/index.d.ts +2 -2
  83. package/System.Security.Principal/internal/index.d.ts +8 -10
  84. package/System.Text/internal/index.d.ts +13 -11
  85. package/System.Text.Json/internal/index.d.ts +67 -61
  86. package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
  87. package/System.Text.Json.Schema/internal/index.d.ts +4 -3
  88. package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
  89. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
  90. package/System.Threading/internal/index.d.ts +16 -15
  91. package/System.Threading.Tasks/internal/index.d.ts +4 -14
  92. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
  93. package/System.Timers/internal/index.d.ts +4 -2
  94. package/System.Transactions/internal/index.d.ts +8 -6
  95. package/System.Web/internal/index.d.ts +24 -24
  96. package/System.Xml/internal/index.d.ts +100 -99
  97. package/System.Xml.Linq/internal/index.d.ts +16 -15
  98. package/System.Xml.Resolvers/internal/index.d.ts +1 -1
  99. package/System.Xml.Schema/internal/index.d.ts +129 -84
  100. package/System.Xml.Serialization/internal/index.d.ts +68 -47
  101. package/System.Xml.XPath/internal/index.d.ts +10 -10
  102. package/System.Xml.Xsl/internal/index.d.ts +7 -7
  103. package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
  104. package/__internal/extensions/index.d.ts +177 -176
  105. package/package.json +1 -1
@@ -23352,7 +23352,7 @@
23352
23352
  {
23353
23353
  "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Round(TSelf,System.MidpointRounding):TSelf",
23354
23354
  "clrName": "Round",
23355
- "tsEmitName": "round$view3",
23355
+ "tsEmitName": "round$view2",
23356
23356
  "metadataToken": 100675854,
23357
23357
  "canonicalSignature": "(TSelf,System.MidpointRounding):TSelf",
23358
23358
  "normalizedSignature": "Round|(TSelf,System.MidpointRounding):TSelf|static=false",
@@ -23696,29 +23696,29 @@
23696
23696
  "isExtensionMethod": false
23697
23697
  },
23698
23698
  {
23699
- "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Ceiling(TSelf):TSelf",
23700
- "clrName": "Ceiling",
23701
- "tsEmitName": "ceiling$view",
23702
- "metadataToken": 100675848,
23703
- "canonicalSignature": "(TSelf):TSelf",
23704
- "normalizedSignature": "Ceiling|(TSelf):TSelf|static=false",
23699
+ "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Round(TSelf,System.Int32):TSelf",
23700
+ "clrName": "Round",
23701
+ "tsEmitName": "round$view",
23702
+ "metadataToken": 100675853,
23703
+ "canonicalSignature": "(TSelf,System.Int32):TSelf",
23704
+ "normalizedSignature": "Round|(TSelf,System.Int32):TSelf|static=false",
23705
23705
  "emitScope": "ViewOnly",
23706
23706
  "arity": 0,
23707
- "parameterCount": 1,
23707
+ "parameterCount": 2,
23708
23708
  "declaringClrType": "System.Numerics.IFloatingPoint\u00601",
23709
23709
  "declaringAssemblyName": "System.Private.CoreLib",
23710
23710
  "isExtensionMethod": false
23711
23711
  },
23712
23712
  {
23713
- "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Round(TSelf,System.Int32):TSelf",
23714
- "clrName": "Round",
23715
- "tsEmitName": "round$view2",
23716
- "metadataToken": 100675853,
23717
- "canonicalSignature": "(TSelf,System.Int32):TSelf",
23718
- "normalizedSignature": "Round|(TSelf,System.Int32):TSelf|static=false",
23713
+ "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Ceiling(TSelf):TSelf",
23714
+ "clrName": "Ceiling",
23715
+ "tsEmitName": "ceiling$view",
23716
+ "metadataToken": 100675848,
23717
+ "canonicalSignature": "(TSelf):TSelf",
23718
+ "normalizedSignature": "Ceiling|(TSelf):TSelf|static=false",
23719
23719
  "emitScope": "ViewOnly",
23720
23720
  "arity": 0,
23721
- "parameterCount": 2,
23721
+ "parameterCount": 1,
23722
23722
  "declaringClrType": "System.Numerics.IFloatingPoint\u00601",
23723
23723
  "declaringAssemblyName": "System.Private.CoreLib",
23724
23724
  "isExtensionMethod": false
@@ -25660,7 +25660,7 @@
25660
25660
  }
25661
25661
  },
25662
25662
  {
25663
- "tsName": "round$view3",
25663
+ "tsName": "round$view2",
25664
25664
  "isStatic": false,
25665
25665
  "tsSignatureId": "Round|(TSelf,System.MidpointRounding):TSelf|static=false",
25666
25666
  "target": {
@@ -25890,23 +25890,23 @@
25890
25890
  }
25891
25891
  },
25892
25892
  {
25893
- "tsName": "ceiling$view",
25893
+ "tsName": "round$view",
25894
25894
  "isStatic": false,
25895
- "tsSignatureId": "Ceiling|(TSelf):TSelf|static=false",
25895
+ "tsSignatureId": "Round|(TSelf,System.Int32):TSelf|static=false",
25896
25896
  "target": {
25897
25897
  "declaringClrType": "System.Numerics.IFloatingPoint\u00601",
25898
25898
  "declaringAssemblyName": "System.Private.CoreLib",
25899
- "metadataToken": 100675848
25899
+ "metadataToken": 100675853
25900
25900
  }
25901
25901
  },
25902
25902
  {
25903
- "tsName": "round$view2",
25903
+ "tsName": "ceiling$view",
25904
25904
  "isStatic": false,
25905
- "tsSignatureId": "Round|(TSelf,System.Int32):TSelf|static=false",
25905
+ "tsSignatureId": "Ceiling|(TSelf):TSelf|static=false",
25906
25906
  "target": {
25907
25907
  "declaringClrType": "System.Numerics.IFloatingPoint\u00601",
25908
25908
  "declaringAssemblyName": "System.Private.CoreLib",
25909
- "metadataToken": 100675853
25909
+ "metadataToken": 100675848
25910
25910
  }
25911
25911
  },
25912
25912
  {
@@ -399,7 +399,7 @@ export type IDynamicInterfaceCastable = IDynamicInterfaceCastable$instance;
399
399
  export interface ArrayWithOffset$instance {
400
400
  equals(obj: unknown): boolean;
401
401
  equals(obj: ArrayWithOffset): boolean;
402
- getArray(): unknown;
402
+ getArray(): unknown | undefined;
403
403
  getHashCode(): int;
404
404
  getOffset(): int;
405
405
  }
@@ -558,7 +558,7 @@ export type GCHandle_1<T> = GCHandle_1$instance<T> & __GCHandle_1$views<T>;
558
558
 
559
559
  export interface HandleRef$instance {
560
560
  readonly handle: nint;
561
- readonly wrapper: unknown;
561
+ readonly wrapper: unknown | undefined;
562
562
  }
563
563
 
564
564
 
@@ -876,7 +876,7 @@ export const BestFitMappingAttribute: {
876
876
  export type BestFitMappingAttribute = BestFitMappingAttribute$instance;
877
877
 
878
878
  export interface BStrWrapper$instance {
879
- readonly wrappedObject: string;
879
+ readonly wrappedObject: string | undefined;
880
880
  }
881
881
 
882
882
 
@@ -931,20 +931,20 @@ export interface ComAwareEventInfo$instance extends EventInfo {
931
931
  readonly metadataToken: int;
932
932
  readonly module_: Module;
933
933
  readonly name: string;
934
- readonly reflectedType: Type;
934
+ readonly reflectedType: Type | undefined;
935
935
  addEventHandler(target: unknown, handler: Function): void;
936
- getAddMethod(nonPublic: boolean): MethodInfo;
937
- getAddMethod(): MethodInfo;
936
+ getAddMethod(nonPublic: boolean): MethodInfo | undefined;
937
+ getAddMethod(): MethodInfo | undefined;
938
938
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
939
939
  getCustomAttributes(inherit: boolean): unknown[];
940
940
  getCustomAttributesData(): IList_1<CustomAttributeData>;
941
941
  getCustomAttributesData(): IList_1<CustomAttributeData>;
942
942
  getOtherMethods(nonPublic: boolean): MethodInfo[];
943
943
  getOtherMethods(): MethodInfo[];
944
- getRaiseMethod(nonPublic: boolean): MethodInfo;
945
- getRaiseMethod(): MethodInfo;
946
- getRemoveMethod(nonPublic: boolean): MethodInfo;
947
- getRemoveMethod(): MethodInfo;
944
+ getRaiseMethod(nonPublic: boolean): MethodInfo | undefined;
945
+ getRaiseMethod(): MethodInfo | undefined;
946
+ getRemoveMethod(nonPublic: boolean): MethodInfo | undefined;
947
+ getRemoveMethod(): MethodInfo | undefined;
948
948
  isDefined(attributeType: Type, inherit: boolean): boolean;
949
949
  removeEventHandler(target: unknown, handler: Function): void;
950
950
  }
@@ -1187,7 +1187,7 @@ export const DefaultParameterValueAttribute: {
1187
1187
  export type DefaultParameterValueAttribute = DefaultParameterValueAttribute$instance;
1188
1188
 
1189
1189
  export interface DispatchWrapper$instance {
1190
- readonly wrappedObject: unknown;
1190
+ readonly wrappedObject: unknown | undefined;
1191
1191
  }
1192
1192
 
1193
1193
 
@@ -1211,7 +1211,7 @@ export const DispIdAttribute: {
1211
1211
  export type DispIdAttribute = DispIdAttribute$instance;
1212
1212
 
1213
1213
  export interface DllImportAttribute$instance extends Attribute {
1214
- entryPoint: string;
1214
+ entryPoint: string | undefined;
1215
1215
  charSet: CharSet;
1216
1216
  setLastError: boolean;
1217
1217
  exactSpelling: boolean;
@@ -1406,11 +1406,13 @@ export const LCIDConversionAttribute: {
1406
1406
  export type LCIDConversionAttribute = LCIDConversionAttribute$instance;
1407
1407
 
1408
1408
  export interface LibraryImportAttribute$instance extends Attribute {
1409
- entryPoint: string;
1409
+ get entryPoint(): string | undefined;
1410
+ set entryPoint(value: string);
1410
1411
  readonly libraryName: string;
1411
1412
  setLastError: boolean;
1412
1413
  stringMarshalling: StringMarshalling;
1413
- stringMarshallingCustomType: Type;
1414
+ get stringMarshallingCustomType(): Type | undefined;
1415
+ set stringMarshallingCustomType(value: Type);
1414
1416
  }
1415
1417
 
1416
1418
 
@@ -1436,14 +1438,14 @@ export type ManagedToNativeComInteropStubAttribute = ManagedToNativeComInteropSt
1436
1438
 
1437
1439
  export interface MarshalAsAttribute$instance extends Attribute {
1438
1440
  safeArraySubType: VarEnum;
1439
- safeArrayUserDefinedSubType: Type;
1441
+ safeArrayUserDefinedSubType: Type | undefined;
1440
1442
  iidParameterIndex: int;
1441
1443
  arraySubType: UnmanagedType;
1442
1444
  sizeParamIndex: short;
1443
1445
  sizeConst: int;
1444
- marshalType: string;
1445
- marshalTypeRef: Type;
1446
- marshalCookie: string;
1446
+ marshalType: string | undefined;
1447
+ marshalTypeRef: Type | undefined;
1448
+ marshalCookie: string | undefined;
1447
1449
  readonly value: UnmanagedType;
1448
1450
  }
1449
1451
 
@@ -1717,7 +1719,7 @@ export type SuppressGCTransitionAttribute = SuppressGCTransitionAttribute$instan
1717
1719
 
1718
1720
  export interface TypeIdentifierAttribute$instance extends Attribute {
1719
1721
  readonly identifier: string;
1720
- readonly scope: string;
1722
+ readonly scope: string | undefined;
1721
1723
  }
1722
1724
 
1723
1725
 
@@ -1828,7 +1830,7 @@ export const TypeMapAttribute_1: {
1828
1830
  export type TypeMapAttribute_1<TTypeMapGroup> = TypeMapAttribute_1$instance<TTypeMapGroup>;
1829
1831
 
1830
1832
  export interface UnknownWrapper$instance {
1831
- readonly wrappedObject: unknown;
1833
+ readonly wrappedObject: unknown | undefined;
1832
1834
  }
1833
1835
 
1834
1836
 
@@ -1840,7 +1842,7 @@ export const UnknownWrapper: {
1840
1842
  export type UnknownWrapper = UnknownWrapper$instance;
1841
1843
 
1842
1844
  export interface UnmanagedCallConvAttribute$instance extends Attribute {
1843
- callConvs: Type[];
1845
+ callConvs: Type[] | undefined;
1844
1846
  }
1845
1847
 
1846
1848
 
@@ -1852,8 +1854,8 @@ export const UnmanagedCallConvAttribute: {
1852
1854
  export type UnmanagedCallConvAttribute = UnmanagedCallConvAttribute$instance;
1853
1855
 
1854
1856
  export interface UnmanagedCallersOnlyAttribute$instance extends Attribute {
1855
- callConvs: Type[];
1856
- entryPoint: string;
1857
+ callConvs: Type[] | undefined;
1858
+ entryPoint: string | undefined;
1857
1859
  }
1858
1860
 
1859
1861
 
@@ -1881,7 +1883,7 @@ export const UnmanagedFunctionPointerAttribute: {
1881
1883
  export type UnmanagedFunctionPointerAttribute = UnmanagedFunctionPointerAttribute$instance;
1882
1884
 
1883
1885
  export interface VariantWrapper$instance {
1884
- readonly wrappedObject: unknown;
1886
+ readonly wrappedObject: unknown | undefined;
1885
1887
  }
1886
1888
 
1887
1889
 
@@ -1906,8 +1908,8 @@ export type WasmImportLinkageAttribute = WasmImportLinkageAttribute$instance;
1906
1908
  export abstract class CollectionsMarshal$instance {
1907
1909
  static asBytes(array: BitArray): Span_1<System_Internal.Byte>;
1908
1910
  static asSpan<T>(list: List_1<T>): Span_1<T>;
1909
- static getValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue;
1910
- static getValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue;
1911
+ static getValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue | undefined;
1912
+ static getValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue | undefined;
1911
1913
  static getValueRefOrNullRef<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): TValue;
1912
1914
  static getValueRefOrNullRef<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): TValue;
1913
1915
  static setCount<T>(list: List_1<T>, count: int): void;
@@ -1933,7 +1935,7 @@ export abstract class GCHandleExtensions$instance {
1933
1935
  export type GCHandleExtensions = GCHandleExtensions$instance;
1934
1936
 
1935
1937
  export abstract class ImmutableCollectionsMarshal$instance {
1936
- static asArray<T>(array: ImmutableArray_1<T>): T[];
1938
+ static asArray<T>(array: ImmutableArray_1<T>): T[] | undefined;
1937
1939
  static asImmutableArray<T>(array: T[]): ImmutableArray_1<T>;
1938
1940
  static asMemory<T>(builder: ImmutableArray_1_Builder<T>): Memory_1<T>;
1939
1941
  }
@@ -1978,7 +1980,7 @@ export abstract class Marshal$instance {
1978
1980
  static copy(source: float[], startIndex: int, destination: nint, length: int): void;
1979
1981
  static createAggregatedObject(pOuter: nint, o: unknown): nint;
1980
1982
  static createAggregatedObject<T>(pOuter: nint, o: T): nint;
1981
- static createWrapperOfType(o: unknown, t: Type): unknown;
1983
+ static createWrapperOfType(o: unknown, t: Type): unknown | undefined;
1982
1984
  static createWrapperOfType<T, TWrapper>(o: T): TWrapper;
1983
1985
  static destroyStructure(ptr: nint, structuretype: Type): void;
1984
1986
  static destroyStructure<T>(ptr: nint): void;
@@ -1987,18 +1989,18 @@ export abstract class Marshal$instance {
1987
1989
  static freeCoTaskMem(ptr: nint): void;
1988
1990
  static freeHGlobal(hglobal: nint): void;
1989
1991
  static generateGuidForType(type_: Type): Guid;
1990
- static generateProgIdForType(type_: Type): string;
1992
+ static generateProgIdForType(type_: Type): string | undefined;
1991
1993
  static getComInterfaceForObject(o: unknown, T: Type, mode: CustomQueryInterfaceMode): nint;
1992
1994
  static getComInterfaceForObject(o: unknown, T: Type): nint;
1993
1995
  static getComInterfaceForObject<T, TInterface>(o: T): nint;
1994
- static getComObjectData(obj: unknown, key: unknown): unknown;
1996
+ static getComObjectData(obj: unknown, key: unknown): unknown | undefined;
1995
1997
  static getDelegateForFunctionPointer(ptr: nint, t: Type): Function;
1996
1998
  static getDelegateForFunctionPointer<TDelegate>(ptr: nint): TDelegate;
1997
1999
  static getEndComSlot(t: Type): int;
1998
2000
  static getExceptionCode(): int;
1999
- static getExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception;
2000
- static getExceptionForHR(errorCode: int, errorInfo: nint): Exception;
2001
- static getExceptionForHR(errorCode: int): Exception;
2001
+ static getExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception | undefined;
2002
+ static getExceptionForHR(errorCode: int, errorInfo: nint): Exception | undefined;
2003
+ static getExceptionForHR(errorCode: int): Exception | undefined;
2002
2004
  static getExceptionPointers(): nint;
2003
2005
  static getFunctionPointerForDelegate(d: Function): nint;
2004
2006
  static getFunctionPointerForDelegate<TDelegate>(d: TDelegate): nint;
@@ -2014,14 +2016,14 @@ export abstract class Marshal$instance {
2014
2016
  static getNativeVariantForObject(obj: unknown, pDstNativeVariant: nint): void;
2015
2017
  static getNativeVariantForObject<T>(obj: T, pDstNativeVariant: nint): void;
2016
2018
  static getObjectForIUnknown(pUnk: nint): unknown;
2017
- static getObjectForNativeVariant(pSrcNativeVariant: nint): unknown;
2018
- static getObjectForNativeVariant<T>(pSrcNativeVariant: nint): T;
2019
- static getObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): unknown[];
2019
+ static getObjectForNativeVariant(pSrcNativeVariant: nint): unknown | undefined;
2020
+ static getObjectForNativeVariant<T>(pSrcNativeVariant: nint): T | undefined;
2021
+ static getObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): (unknown | undefined)[];
2020
2022
  static getObjectsForNativeVariants<T>(aSrcNativeVariant: nint, cVars: int): T[];
2021
2023
  static getPInvokeErrorMessage(error: int): string;
2022
2024
  static getStartComSlot(t: Type): int;
2023
2025
  static getTypedObjectForIUnknown(pUnk: nint, t: Type): unknown;
2024
- static getTypeFromCLSID(clsid: Guid): Type;
2026
+ static getTypeFromCLSID(clsid: Guid): Type | undefined;
2025
2027
  static getTypeInfoName(typeInfo: ITypeInfo): string;
2026
2028
  static getUniqueObjectForIUnknown(unknown_: nint): unknown;
2027
2029
  static initHandle(safeHandle: SafeHandle, handle: nint): void;
@@ -2032,18 +2034,18 @@ export abstract class Marshal$instance {
2032
2034
  static prelink(m: MethodInfo): void;
2033
2035
  static prelinkAll(c: Type): void;
2034
2036
  static ptrToStringAnsi(ptr: nint, len: int): string;
2035
- static ptrToStringAnsi(ptr: nint): string;
2036
- static ptrToStringAuto(ptr: nint, len: int): string;
2037
- static ptrToStringAuto(ptr: nint): string;
2037
+ static ptrToStringAnsi(ptr: nint): string | undefined;
2038
+ static ptrToStringAuto(ptr: nint, len: int): string | undefined;
2039
+ static ptrToStringAuto(ptr: nint): string | undefined;
2038
2040
  static ptrToStringBSTR(ptr: nint): string;
2039
2041
  static ptrToStringUni(ptr: nint, len: int): string;
2040
- static ptrToStringUni(ptr: nint): string;
2042
+ static ptrToStringUni(ptr: nint): string | undefined;
2041
2043
  static ptrToStringUTF8(ptr: nint, byteLen: int): string;
2042
- static ptrToStringUTF8(ptr: nint): string;
2044
+ static ptrToStringUTF8(ptr: nint): string | undefined;
2043
2045
  static ptrToStructure(ptr: nint, structure: unknown): void;
2044
- static ptrToStructure(ptr: nint, structureType: Type): unknown;
2046
+ static ptrToStructure(ptr: nint, structureType: Type): unknown | undefined;
2045
2047
  static ptrToStructure<T>(ptr: nint, structure: T): void;
2046
- static ptrToStructure<T>(ptr: nint): T;
2048
+ static ptrToStructure<T>(ptr: nint): T | undefined;
2047
2049
  static queryInterface(pUnk: nint, iid: Guid, ppv: nint): int;
2048
2050
  static readByte(ptr: nint, ofs: int): byte;
2049
2051
  static readByte(ptr: nint): byte;
@@ -6239,7 +6239,7 @@
6239
6239
  {
6240
6240
  "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Round(TSelf,System.MidpointRounding):TSelf",
6241
6241
  "clrName": "Round",
6242
- "tsEmitName": "round$view3",
6242
+ "tsEmitName": "round$view2",
6243
6243
  "normalizedSignature": "Round|(TSelf,System.MidpointRounding):TSelf|static=false",
6244
6244
  "provenance": "ExplicitView",
6245
6245
  "emitScope": "ViewOnly",
@@ -6652,10 +6652,10 @@
6652
6652
  "isExtensionMethod": false
6653
6653
  },
6654
6654
  {
6655
- "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Ceiling(TSelf):TSelf",
6656
- "clrName": "Ceiling",
6657
- "tsEmitName": "ceiling$view",
6658
- "normalizedSignature": "Ceiling|(TSelf):TSelf|static=false",
6655
+ "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Round(TSelf,System.Int32):TSelf",
6656
+ "clrName": "Round",
6657
+ "tsEmitName": "round$view",
6658
+ "normalizedSignature": "Round|(TSelf,System.Int32):TSelf|static=false",
6659
6659
  "provenance": "ExplicitView",
6660
6660
  "emitScope": "ViewOnly",
6661
6661
  "isStatic": false,
@@ -6664,15 +6664,15 @@
6664
6664
  "isOverride": false,
6665
6665
  "isSealed": false,
6666
6666
  "arity": 0,
6667
- "parameterCount": 1,
6668
- "sourceInterface": "System.Numerics.INumberBase\u00601",
6667
+ "parameterCount": 2,
6668
+ "sourceInterface": "System.Numerics.IRootFunctions\u00601",
6669
6669
  "isExtensionMethod": false
6670
6670
  },
6671
6671
  {
6672
- "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Round(TSelf,System.Int32):TSelf",
6673
- "clrName": "Round",
6674
- "tsEmitName": "round$view2",
6675
- "normalizedSignature": "Round|(TSelf,System.Int32):TSelf|static=false",
6672
+ "stableId": "System.Private.CoreLib:System.Numerics.IFloatingPoint\u00601::Ceiling(TSelf):TSelf",
6673
+ "clrName": "Ceiling",
6674
+ "tsEmitName": "ceiling$view",
6675
+ "normalizedSignature": "Ceiling|(TSelf):TSelf|static=false",
6676
6676
  "provenance": "ExplicitView",
6677
6677
  "emitScope": "ViewOnly",
6678
6678
  "isStatic": false,
@@ -6681,8 +6681,8 @@
6681
6681
  "isOverride": false,
6682
6682
  "isSealed": false,
6683
6683
  "arity": 0,
6684
- "parameterCount": 2,
6685
- "sourceInterface": "System.Numerics.IFloatingPoint\u00601",
6684
+ "parameterCount": 1,
6685
+ "sourceInterface": "System.Numerics.INumberBase\u00601",
6686
6686
  "isExtensionMethod": false
6687
6687
  },
6688
6688
  {
@@ -721,7 +721,7 @@ export type STATSTG = STATSTG$instance;
721
721
  export interface STGMEDIUM$instance {
722
722
  tymed: TYMED;
723
723
  unionmember: nint;
724
- pUnkForRelease: unknown;
724
+ pUnkForRelease: unknown | undefined;
725
725
  }
726
726
 
727
727
 
@@ -252,11 +252,11 @@ export interface JSObject$instance {
252
252
  readonly isDisposed: boolean;
253
253
  dispose(): void;
254
254
  getPropertyAsBoolean(propertyName: string): boolean;
255
- getPropertyAsByteArray(propertyName: string): byte[];
255
+ getPropertyAsByteArray(propertyName: string): byte[] | undefined;
256
256
  getPropertyAsDouble(propertyName: string): double;
257
257
  getPropertyAsInt32(propertyName: string): int;
258
- getPropertyAsJSObject(propertyName: string): JSObject;
259
- getPropertyAsString(propertyName: string): string;
258
+ getPropertyAsJSObject(propertyName: string): JSObject | undefined;
259
+ getPropertyAsString(propertyName: string): string | undefined;
260
260
  getTypeOfProperty(propertyName: string): string;
261
261
  hasProperty(propertyName: string): boolean;
262
262
  setProperty(propertyName: string, value: boolean): void;
@@ -69,8 +69,8 @@ export interface IIUnknownDerivedDetails$instance {
69
69
  export type IIUnknownDerivedDetails = IIUnknownDerivedDetails$instance;
70
70
 
71
71
  export interface IIUnknownInterfaceDetailsStrategy$instance {
72
- getComExposedTypeDetails(type_: RuntimeTypeHandle): IComExposedDetails;
73
- getIUnknownDerivedDetails(type_: RuntimeTypeHandle): IIUnknownDerivedDetails;
72
+ getComExposedTypeDetails(type_: RuntimeTypeHandle): IComExposedDetails | undefined;
73
+ getIUnknownDerivedDetails(type_: RuntimeTypeHandle): IIUnknownDerivedDetails | undefined;
74
74
  }
75
75
 
76
76
 
@@ -149,7 +149,7 @@ export type BStrStringMarshaller_ManagedToUnmanagedIn = BStrStringMarshaller_Man
149
149
 
150
150
  export interface ComVariant$instance {
151
151
  readonly varType: VarEnum;
152
- as_<T>(): T;
152
+ as_<T>(): T | undefined;
153
153
  dispose(): void;
154
154
  getRawDataRef<T extends unknown>(): T;
155
155
  }
@@ -436,10 +436,12 @@ export const GeneratedComClassAttribute: {
436
436
  export type GeneratedComClassAttribute = GeneratedComClassAttribute$instance;
437
437
 
438
438
  export interface GeneratedComInterfaceAttribute$instance extends Attribute {
439
- exceptionToUnmanagedMarshaller: Type;
439
+ get exceptionToUnmanagedMarshaller(): Type | undefined;
440
+ set exceptionToUnmanagedMarshaller(value: Type);
440
441
  options: ComInterfaceOptions;
441
442
  stringMarshalling: StringMarshalling;
442
- stringMarshallingCustomType: Type;
443
+ get stringMarshallingCustomType(): Type | undefined;
444
+ set stringMarshallingCustomType(value: Type);
443
445
  }
444
446
 
445
447
 
@@ -514,7 +516,7 @@ export const StrategyBasedComWrappers: {
514
516
  export type StrategyBasedComWrappers = StrategyBasedComWrappers$instance;
515
517
 
516
518
  export abstract class AnsiStringMarshaller$instance {
517
- static convertToManaged(unmanaged: ptr<byte>): string;
519
+ static convertToManaged(unmanaged: ptr<byte>): string | undefined;
518
520
  static convertToUnmanaged(managed: string): ptr<byte>;
519
521
  static free(unmanaged: ptr<byte>): void;
520
522
  }
@@ -523,7 +525,7 @@ export abstract class AnsiStringMarshaller$instance {
523
525
  export type AnsiStringMarshaller = AnsiStringMarshaller$instance;
524
526
 
525
527
  export abstract class ArrayMarshaller_2$instance {
526
- static allocateContainerForManagedElements<T, TUnmanagedElement extends unknown>(unmanaged: ptr<TUnmanagedElement>, numElements: int): T[];
528
+ static allocateContainerForManagedElements<T, TUnmanagedElement extends unknown>(unmanaged: ptr<TUnmanagedElement>, numElements: int): T[] | undefined;
527
529
  static allocateContainerForUnmanagedElements<T, TUnmanagedElement extends unknown>(managed: T[], numElements: int): ptr<TUnmanagedElement>;
528
530
  static free<T, TUnmanagedElement extends unknown>(unmanaged: ptr<TUnmanagedElement>): void;
529
531
  static getManagedValuesDestination<T, TUnmanagedElement extends unknown>(managed: T[]): Span_1<T>;
@@ -534,7 +536,7 @@ export abstract class ArrayMarshaller_2$instance {
534
536
 
535
537
 
536
538
  export abstract class BStrStringMarshaller$instance {
537
- static convertToManaged(unmanaged: ptr<ushort>): string;
539
+ static convertToManaged(unmanaged: ptr<ushort>): string | undefined;
538
540
  static convertToUnmanaged(managed: string): ptr<ushort>;
539
541
  static free(unmanaged: ptr<ushort>): void;
540
542
  }
@@ -543,14 +545,14 @@ export abstract class BStrStringMarshaller$instance {
543
545
  export type BStrStringMarshaller = BStrStringMarshaller$instance;
544
546
 
545
547
  export abstract class ComInterfaceMarshaller_1$instance {
546
- static convertToManaged<T>(unmanaged: ptr<void>): T;
548
+ static convertToManaged<T>(unmanaged: ptr<void>): T | undefined;
547
549
  static convertToUnmanaged<T>(managed: T): ptr<void>;
548
550
  static free<T>(unmanaged: ptr<void>): void;
549
551
  }
550
552
 
551
553
 
552
554
  export abstract class ComVariantMarshaller$instance {
553
- static convertToManaged(unmanaged: ComVariant): unknown;
555
+ static convertToManaged(unmanaged: ComVariant): unknown | undefined;
554
556
  static convertToUnmanaged(managed: unknown): ComVariant;
555
557
  static free(unmanaged: ComVariant): void;
556
558
  }
@@ -581,7 +583,7 @@ export abstract class ExceptionAsVoidMarshaller$instance {
581
583
  export type ExceptionAsVoidMarshaller = ExceptionAsVoidMarshaller$instance;
582
584
 
583
585
  export abstract class PointerArrayMarshaller_2$instance {
584
- static allocateContainerForManagedElements<T extends unknown, TUnmanagedElement extends unknown>(unmanaged: ptr<TUnmanagedElement>, numElements: int): ptr<T>[];
586
+ static allocateContainerForManagedElements<T extends unknown, TUnmanagedElement extends unknown>(unmanaged: ptr<TUnmanagedElement>, numElements: int): ptr<T>[] | undefined;
585
587
  static allocateContainerForUnmanagedElements<T extends unknown, TUnmanagedElement extends unknown>(managed: ptr<T>[], numElements: int): ptr<TUnmanagedElement>;
586
588
  static free<T extends unknown, TUnmanagedElement extends unknown>(unmanaged: ptr<TUnmanagedElement>): void;
587
589
  static getManagedValuesDestination<T extends unknown, TUnmanagedElement extends unknown>(managed: ptr<T>[]): Span_1<System_Internal.IntPtr>;
@@ -618,14 +620,14 @@ export abstract class SpanMarshaller_2$instance {
618
620
 
619
621
 
620
622
  export abstract class UniqueComInterfaceMarshaller_1$instance {
621
- static convertToManaged<T>(unmanaged: ptr<void>): T;
623
+ static convertToManaged<T>(unmanaged: ptr<void>): T | undefined;
622
624
  static convertToUnmanaged<T>(managed: T): ptr<void>;
623
625
  static free<T>(unmanaged: ptr<void>): void;
624
626
  }
625
627
 
626
628
 
627
629
  export abstract class Utf16StringMarshaller$instance {
628
- static convertToManaged(unmanaged: ptr<ushort>): string;
630
+ static convertToManaged(unmanaged: ptr<ushort>): string | undefined;
629
631
  static convertToUnmanaged(managed: string): ptr<ushort>;
630
632
  static free(unmanaged: ptr<ushort>): void;
631
633
  static getPinnableReference(str: string): char;
@@ -635,7 +637,7 @@ export abstract class Utf16StringMarshaller$instance {
635
637
  export type Utf16StringMarshaller = Utf16StringMarshaller$instance;
636
638
 
637
639
  export abstract class Utf8StringMarshaller$instance {
638
- static convertToManaged(unmanaged: ptr<byte>): string;
640
+ static convertToManaged(unmanaged: ptr<byte>): string | undefined;
639
641
  static convertToUnmanaged(managed: string): ptr<byte>;
640
642
  static free(unmanaged: ptr<byte>): void;
641
643
  }
@@ -32,8 +32,8 @@ export type AssemblyLoadContext_ContextualReflectionScope = AssemblyLoadContext_
32
32
 
33
33
 
34
34
  export interface AssemblyDependencyResolver$instance {
35
- resolveAssemblyToPath(assemblyName: AssemblyName): string;
36
- resolveUnmanagedDllToPath(unmanagedDllName: string): string;
35
+ resolveAssemblyToPath(assemblyName: AssemblyName): string | undefined;
36
+ resolveUnmanagedDllToPath(unmanagedDllName: string): string | undefined;
37
37
  }
38
38
 
39
39
 
@@ -65,10 +65,10 @@ export const AssemblyLoadContext: {
65
65
  new(name: string, isCollectible: boolean): AssemblyLoadContext;
66
66
  readonly default_: AssemblyLoadContext;
67
67
  readonly all: IEnumerable_1<AssemblyLoadContext>;
68
- readonly currentContextualReflectionContext: AssemblyLoadContext;
68
+ readonly currentContextualReflectionContext: AssemblyLoadContext | undefined;
69
69
  enterContextualReflection(activating: Assembly): AssemblyLoadContext_ContextualReflectionScope;
70
70
  getAssemblyName(assemblyPath: string): AssemblyName;
71
- getLoadContext(assembly: Assembly): AssemblyLoadContext;
71
+ getLoadContext(assembly: Assembly): AssemblyLoadContext | undefined;
72
72
  };
73
73
 
74
74
 
@@ -10,7 +10,7 @@ import * as System_Internal from "../../System/internal/index.js";
10
10
  import type { Boolean as ClrBoolean, Int32, MarshalByRefObject, Object as ClrObject, String as ClrString, Type } from "../../System/internal/index.js";
11
11
 
12
12
  export interface ObjectHandle$instance extends MarshalByRefObject {
13
- unwrap(): unknown;
13
+ unwrap(): unknown | undefined;
14
14
  }
15
15
 
16
16