@tsonic/dotnet 10.0.2 → 10.0.4

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 (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -498,7 +498,8 @@ export type CULong = CULong$instance & __CULong$views;
498
498
 
499
499
  export interface GCHandle$instance {
500
500
  readonly IsAllocated: boolean;
501
- Target: unknown;
501
+ get Target(): unknown | undefined;
502
+ set Target(value: unknown | undefined);
502
503
  AddrOfPinnedObject(): nint;
503
504
  Equals(o: unknown): boolean;
504
505
  Equals(other: GCHandle): boolean;
@@ -927,7 +928,7 @@ export type ComAliasNameAttribute = ComAliasNameAttribute$instance;
927
928
 
928
929
  export interface ComAwareEventInfo$instance extends EventInfo {
929
930
  readonly Attributes: EventAttributes;
930
- readonly DeclaringType: Type;
931
+ readonly DeclaringType: Type | undefined;
931
932
  readonly MetadataToken: int;
932
933
  readonly Module: Module;
933
934
  readonly Name: string;
@@ -1024,7 +1025,6 @@ export const COMException: {
1024
1025
  new(message: string): COMException;
1025
1026
  new(message: string, inner: Exception): COMException;
1026
1027
  new(message: string, errorCode: int): COMException;
1027
- new(info: SerializationInfo, context: StreamingContext): COMException;
1028
1028
  };
1029
1029
 
1030
1030
 
@@ -1096,25 +1096,20 @@ export const ComVisibleAttribute: {
1096
1096
 
1097
1097
  export type ComVisibleAttribute = ComVisibleAttribute$instance;
1098
1098
 
1099
- export abstract class ComWrappers$protected {
1100
- protected abstract ComputeVtables(obj: unknown, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
1101
- protected abstract CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown | undefined;
1102
- protected CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown, wrapperFlags: CreatedWrapperFlags): unknown | undefined;
1103
- protected abstract ReleaseObjects(objects: IEnumerable): void;
1104
- }
1105
-
1106
-
1107
- export interface ComWrappers$instance extends ComWrappers$protected {
1099
+ export interface ComWrappers$instance {
1100
+ ComputeVtables(obj: unknown, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
1101
+ CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown | undefined;
1102
+ CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown, wrapperFlags: CreatedWrapperFlags): unknown | undefined;
1108
1103
  GetOrCreateComInterfaceForObject(instance: unknown, flags: CreateComInterfaceFlags): nint;
1109
1104
  GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags): unknown;
1110
1105
  GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState: unknown): unknown;
1111
1106
  GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown): unknown;
1112
1107
  GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown, inner: nint): unknown;
1108
+ ReleaseObjects(objects: IEnumerable): void;
1113
1109
  }
1114
1110
 
1115
1111
 
1116
- export const ComWrappers: {
1117
- new(): ComWrappers;
1112
+ export const ComWrappers: (abstract new() => ComWrappers) & {
1118
1113
  GetIUnknownImpl(fpQueryInterface: nint, fpAddRef: nint, fpRelease: nint): void;
1119
1114
  RegisterForMarshalling(instance: ComWrappers): void;
1120
1115
  RegisterForTrackerSupport(instance: ComWrappers): void;
@@ -1125,24 +1120,19 @@ export const ComWrappers: {
1125
1120
 
1126
1121
  export type ComWrappers = ComWrappers$instance;
1127
1122
 
1128
- export abstract class CriticalHandle$protected {
1129
- protected Dispose(disposing: boolean): void;
1130
- protected Finalize(): void;
1131
- protected abstract ReleaseHandle(): boolean;
1132
- }
1133
-
1134
-
1135
- export interface CriticalHandle$instance extends CriticalHandle$protected, CriticalFinalizerObject {
1123
+ export interface CriticalHandle$instance extends CriticalFinalizerObject {
1136
1124
  readonly IsClosed: boolean;
1137
1125
  readonly IsInvalid: boolean;
1138
1126
  Close(): void;
1139
1127
  Dispose(): void;
1128
+ Dispose(disposing: boolean): void;
1129
+ Finalize(): void;
1130
+ ReleaseHandle(): boolean;
1140
1131
  SetHandleAsInvalid(): void;
1141
1132
  }
1142
1133
 
1143
1134
 
1144
- export const CriticalHandle: {
1145
- new(invalidHandleValue: nint): CriticalHandle;
1135
+ export const CriticalHandle: (abstract new(invalidHandleValue: nint) => CriticalHandle) & {
1146
1136
  };
1147
1137
 
1148
1138
 
@@ -1191,7 +1181,7 @@ export const DefaultDllImportSearchPathsAttribute: {
1191
1181
  export type DefaultDllImportSearchPathsAttribute = DefaultDllImportSearchPathsAttribute$instance;
1192
1182
 
1193
1183
  export interface DefaultParameterValueAttribute$instance extends Attribute {
1194
- readonly Value: unknown;
1184
+ readonly Value: unknown | undefined;
1195
1185
  }
1196
1186
 
1197
1187
 
@@ -1283,7 +1273,6 @@ export const ExternalException: {
1283
1273
  new(message: string): ExternalException;
1284
1274
  new(message: string, inner: Exception): ExternalException;
1285
1275
  new(message: string, errorCode: int): ExternalException;
1286
- new(info: SerializationInfo, context: StreamingContext): ExternalException;
1287
1276
  };
1288
1277
 
1289
1278
 
@@ -1381,7 +1370,6 @@ export const InvalidComObjectException: {
1381
1370
  new(): InvalidComObjectException;
1382
1371
  new(message: string): InvalidComObjectException;
1383
1372
  new(message: string, inner: Exception): InvalidComObjectException;
1384
- new(info: SerializationInfo, context: StreamingContext): InvalidComObjectException;
1385
1373
  };
1386
1374
 
1387
1375
 
@@ -1401,7 +1389,6 @@ export const InvalidOleVariantTypeException: {
1401
1389
  new(): InvalidOleVariantTypeException;
1402
1390
  new(message: string): InvalidOleVariantTypeException;
1403
1391
  new(message: string, inner: Exception): InvalidOleVariantTypeException;
1404
- new(info: SerializationInfo, context: StreamingContext): InvalidOleVariantTypeException;
1405
1392
  };
1406
1393
 
1407
1394
 
@@ -1426,12 +1413,12 @@ export type LCIDConversionAttribute = LCIDConversionAttribute$instance;
1426
1413
 
1427
1414
  export interface LibraryImportAttribute$instance extends Attribute {
1428
1415
  get EntryPoint(): string | undefined;
1429
- set EntryPoint(value: string);
1416
+ set EntryPoint(value: string | undefined);
1430
1417
  readonly LibraryName: string;
1431
1418
  SetLastError: boolean;
1432
1419
  StringMarshalling: StringMarshalling;
1433
1420
  get StringMarshallingCustomType(): Type | undefined;
1434
- set StringMarshallingCustomType(value: Type);
1421
+ set StringMarshallingCustomType(value: Type | undefined);
1435
1422
  }
1436
1423
 
1437
1424
 
@@ -1486,7 +1473,6 @@ export const MarshalDirectiveException: {
1486
1473
  new(): MarshalDirectiveException;
1487
1474
  new(message: string): MarshalDirectiveException;
1488
1475
  new(message: string, inner: Exception): MarshalDirectiveException;
1489
- new(info: SerializationInfo, context: StreamingContext): MarshalDirectiveException;
1490
1476
  };
1491
1477
 
1492
1478
 
@@ -1532,18 +1518,13 @@ export const PosixSignalContext: {
1532
1518
 
1533
1519
  export type PosixSignalContext = PosixSignalContext$instance;
1534
1520
 
1535
- export abstract class PosixSignalRegistration$protected {
1536
- protected Finalize(): void;
1537
- }
1538
-
1539
-
1540
- export interface PosixSignalRegistration$instance extends PosixSignalRegistration$protected {
1521
+ export interface PosixSignalRegistration$instance {
1541
1522
  Dispose(): void;
1523
+ Finalize(): void;
1542
1524
  }
1543
1525
 
1544
1526
 
1545
1527
  export const PosixSignalRegistration: {
1546
- new(): PosixSignalRegistration;
1547
1528
  Create(signal: PosixSignal, handler: Action_1<PosixSignalContext>): PosixSignalRegistration;
1548
1529
  };
1549
1530
 
@@ -1602,7 +1583,6 @@ export const SafeArrayRankMismatchException: {
1602
1583
  new(): SafeArrayRankMismatchException;
1603
1584
  new(message: string): SafeArrayRankMismatchException;
1604
1585
  new(message: string, inner: Exception): SafeArrayRankMismatchException;
1605
- new(info: SerializationInfo, context: StreamingContext): SafeArrayRankMismatchException;
1606
1586
  };
1607
1587
 
1608
1588
 
@@ -1622,7 +1602,6 @@ export const SafeArrayTypeMismatchException: {
1622
1602
  new(): SafeArrayTypeMismatchException;
1623
1603
  new(message: string): SafeArrayTypeMismatchException;
1624
1604
  new(message: string, inner: Exception): SafeArrayTypeMismatchException;
1625
- new(info: SerializationInfo, context: StreamingContext): SafeArrayTypeMismatchException;
1626
1605
  };
1627
1606
 
1628
1607
 
@@ -1633,15 +1612,11 @@ export interface __SafeArrayTypeMismatchException$views {
1633
1612
  export type SafeArrayTypeMismatchException = SafeArrayTypeMismatchException$instance & __SafeArrayTypeMismatchException$views;
1634
1613
 
1635
1614
 
1636
- export abstract class SafeBuffer$protected {
1637
- protected Dispose3(disposing: boolean): void;
1638
- }
1639
-
1640
-
1641
- export interface SafeBuffer$instance extends SafeBuffer$protected, SafeHandleZeroOrMinusOneIsInvalid {
1615
+ export interface SafeBuffer$instance extends SafeHandleZeroOrMinusOneIsInvalid {
1642
1616
  readonly ByteLength: ulong;
1643
1617
  AcquirePointer(pointer: ptr<byte>): void;
1644
1618
  Dispose(): void;
1619
+ Dispose(disposing: boolean): void;
1645
1620
  Initialize(numBytes: ulong): void;
1646
1621
  Initialize(numElements: uint, sizeOfEachElement: uint): void;
1647
1622
  Initialize<T extends unknown>(numElements: uint): void;
@@ -1655,8 +1630,7 @@ export interface SafeBuffer$instance extends SafeBuffer$protected, SafeHandleZer
1655
1630
  }
1656
1631
 
1657
1632
 
1658
- export const SafeBuffer: {
1659
- new(ownsHandle: boolean): SafeBuffer;
1633
+ export const SafeBuffer: (abstract new(ownsHandle: boolean) => SafeBuffer) & {
1660
1634
  };
1661
1635
 
1662
1636
 
@@ -1667,14 +1641,7 @@ export interface __SafeBuffer$views {
1667
1641
  export type SafeBuffer = SafeBuffer$instance & __SafeBuffer$views;
1668
1642
 
1669
1643
 
1670
- export abstract class SafeHandle$protected {
1671
- protected Dispose(disposing: boolean): void;
1672
- protected Finalize(): void;
1673
- protected abstract ReleaseHandle(): boolean;
1674
- }
1675
-
1676
-
1677
- export interface SafeHandle$instance extends SafeHandle$protected, CriticalFinalizerObject {
1644
+ export interface SafeHandle$instance extends CriticalFinalizerObject {
1678
1645
  readonly IsClosed: boolean;
1679
1646
  readonly IsInvalid: boolean;
1680
1647
  Close(): void;
@@ -1682,12 +1649,14 @@ export interface SafeHandle$instance extends SafeHandle$protected, CriticalFinal
1682
1649
  DangerousGetHandle(): nint;
1683
1650
  DangerousRelease(): void;
1684
1651
  Dispose(): void;
1652
+ Dispose(disposing: boolean): void;
1653
+ Finalize(): void;
1654
+ ReleaseHandle(): boolean;
1685
1655
  SetHandleAsInvalid(): void;
1686
1656
  }
1687
1657
 
1688
1658
 
1689
- export const SafeHandle: {
1690
- new(invalidHandleValue: nint, ownsHandle: boolean): SafeHandle;
1659
+ export const SafeHandle: (abstract new(invalidHandleValue: nint, ownsHandle: boolean) => SafeHandle) & {
1691
1660
  };
1692
1661
 
1693
1662
 
@@ -1708,7 +1677,6 @@ export const SEHException: {
1708
1677
  new(): SEHException;
1709
1678
  new(message: string): SEHException;
1710
1679
  new(message: string, inner: Exception): SEHException;
1711
- new(info: SerializationInfo, context: StreamingContext): SEHException;
1712
1680
  };
1713
1681
 
1714
1682
 
@@ -1723,8 +1691,7 @@ export interface StandardOleMarshalObject$instance extends MarshalByRefObject {
1723
1691
  }
1724
1692
 
1725
1693
 
1726
- export const StandardOleMarshalObject: {
1727
- new(): StandardOleMarshalObject;
1694
+ export const StandardOleMarshalObject: (abstract new() => StandardOleMarshalObject) & {
1728
1695
  };
1729
1696
 
1730
1697
 
@@ -1758,7 +1725,7 @@ export const SuppressGCTransitionAttribute: {
1758
1725
  export type SuppressGCTransitionAttribute = SuppressGCTransitionAttribute$instance;
1759
1726
 
1760
1727
  export interface TypeIdentifierAttribute$instance extends Attribute {
1761
- readonly Identifier: string;
1728
+ readonly Identifier: string | undefined;
1762
1729
  readonly Scope: string | undefined;
1763
1730
  }
1764
1731
 
@@ -171,7 +171,6 @@ export interface JSFunctionBinding$instance {
171
171
 
172
172
 
173
173
  export const JSFunctionBinding: {
174
- new(): JSFunctionBinding;
175
174
  BindJSFunction(functionName: string, moduleName: string, signatures: ReadOnlySpan_1<JSMarshalerType>): JSFunctionBinding;
176
175
  BindManagedFunction(fullyQualifiedName: string, signatureHash: int, signatures: ReadOnlySpan_1<JSMarshalerType>): JSFunctionBinding;
177
176
  InvokeJS(signature: JSFunctionBinding, arguments: Span_1<JSMarshalerArgument>): void;
@@ -182,7 +181,7 @@ export type JSFunctionBinding = JSFunctionBinding$instance;
182
181
 
183
182
  export interface JSImportAttribute$instance extends Attribute {
184
183
  readonly FunctionName: string;
185
- readonly ModuleName: string;
184
+ readonly ModuleName: string | undefined;
186
185
  }
187
186
 
188
187
 
@@ -210,7 +209,6 @@ export interface JSMarshalerType$instance {
210
209
 
211
210
 
212
211
  export const JSMarshalerType: {
213
- new(): JSMarshalerType;
214
212
  readonly Void: JSMarshalerType;
215
213
  readonly Discard: JSMarshalerType;
216
214
  readonly Boolean: JSMarshalerType;
@@ -269,7 +267,6 @@ export interface JSObject$instance {
269
267
 
270
268
 
271
269
  export const JSObject: {
272
- new(): JSObject;
273
270
  };
274
271
 
275
272
 
@@ -297,7 +294,6 @@ export interface JSType_Any$instance extends JSType {
297
294
 
298
295
 
299
296
  export const JSType_Any: {
300
- new(): JSType_Any;
301
297
  };
302
298
 
303
299
 
@@ -308,7 +304,6 @@ export interface JSType_Array_1$instance<T extends JSType> extends JSType {
308
304
 
309
305
 
310
306
  export const JSType_Array_1: {
311
- new<T extends JSType>(): JSType_Array_1<T>;
312
307
  };
313
308
 
314
309
 
@@ -319,7 +314,6 @@ export interface JSType_BigInt$instance extends JSType {
319
314
 
320
315
 
321
316
  export const JSType_BigInt: {
322
- new(): JSType_BigInt;
323
317
  };
324
318
 
325
319
 
@@ -330,7 +324,6 @@ export interface JSType_Boolean$instance extends JSType {
330
324
 
331
325
 
332
326
  export const JSType_Boolean: {
333
- new(): JSType_Boolean;
334
327
  };
335
328
 
336
329
 
@@ -341,7 +334,6 @@ export interface JSType_Date$instance extends JSType {
341
334
 
342
335
 
343
336
  export const JSType_Date: {
344
- new(): JSType_Date;
345
337
  };
346
338
 
347
339
 
@@ -352,7 +344,6 @@ export interface JSType_Discard$instance extends JSType {
352
344
 
353
345
 
354
346
  export const JSType_Discard: {
355
- new(): JSType_Discard;
356
347
  };
357
348
 
358
349
 
@@ -363,7 +354,6 @@ export interface JSType_Error$instance extends JSType {
363
354
 
364
355
 
365
356
  export const JSType_Error: {
366
- new(): JSType_Error;
367
357
  };
368
358
 
369
359
 
@@ -374,7 +364,6 @@ export interface JSType_Function$instance extends JSType {
374
364
 
375
365
 
376
366
  export const JSType_Function: {
377
- new(): JSType_Function;
378
367
  };
379
368
 
380
369
 
@@ -385,7 +374,6 @@ export interface JSType_Function_1$instance<T extends JSType> extends JSType {
385
374
 
386
375
 
387
376
  export const JSType_Function_1: {
388
- new<T extends JSType>(): JSType_Function_1<T>;
389
377
  };
390
378
 
391
379
 
@@ -396,7 +384,6 @@ export interface JSType_Function_2$instance<T1 extends JSType, T2 extends JSType
396
384
 
397
385
 
398
386
  export const JSType_Function_2: {
399
- new<T1 extends JSType, T2 extends JSType>(): JSType_Function_2<T1, T2>;
400
387
  };
401
388
 
402
389
 
@@ -407,7 +394,6 @@ export interface JSType_Function_3$instance<T1 extends JSType, T2 extends JSType
407
394
 
408
395
 
409
396
  export const JSType_Function_3: {
410
- new<T1 extends JSType, T2 extends JSType, T3 extends JSType>(): JSType_Function_3<T1, T2, T3>;
411
397
  };
412
398
 
413
399
 
@@ -418,7 +404,6 @@ export interface JSType_Function_4$instance<T1 extends JSType, T2 extends JSType
418
404
 
419
405
 
420
406
  export const JSType_Function_4: {
421
- new<T1 extends JSType, T2 extends JSType, T3 extends JSType, T4 extends JSType>(): JSType_Function_4<T1, T2, T3, T4>;
422
407
  };
423
408
 
424
409
 
@@ -429,7 +414,6 @@ export interface JSType_MemoryView$instance extends JSType {
429
414
 
430
415
 
431
416
  export const JSType_MemoryView: {
432
- new(): JSType_MemoryView;
433
417
  };
434
418
 
435
419
 
@@ -440,7 +424,6 @@ export interface JSType_Number$instance extends JSType {
440
424
 
441
425
 
442
426
  export const JSType_Number: {
443
- new(): JSType_Number;
444
427
  };
445
428
 
446
429
 
@@ -451,7 +434,6 @@ export interface JSType_Object$instance extends JSType {
451
434
 
452
435
 
453
436
  export const JSType_Object: {
454
- new(): JSType_Object;
455
437
  };
456
438
 
457
439
 
@@ -462,7 +444,6 @@ export interface JSType_Promise_1$instance<T extends JSType> extends JSType {
462
444
 
463
445
 
464
446
  export const JSType_Promise_1: {
465
- new<T extends JSType>(): JSType_Promise_1<T>;
466
447
  };
467
448
 
468
449
 
@@ -473,7 +454,6 @@ export interface JSType_String$instance extends JSType {
473
454
 
474
455
 
475
456
  export const JSType_String: {
476
- new(): JSType_String;
477
457
  };
478
458
 
479
459
 
@@ -484,7 +464,6 @@ export interface JSType_Void$instance extends JSType {
484
464
 
485
465
 
486
466
  export const JSType_Void: {
487
- new(): JSType_Void;
488
467
  };
489
468
 
490
469
 
@@ -177,7 +177,7 @@ export interface ComVariantMarshaller_RefPropagate$instance {
177
177
  Free(): void;
178
178
  FromManaged(managed: unknown): void;
179
179
  FromUnmanaged(unmanaged: ComVariant): void;
180
- ToManaged(): unknown;
180
+ ToManaged(): unknown | undefined;
181
181
  ToUnmanaged(): ComVariant;
182
182
  }
183
183
 
@@ -380,18 +380,13 @@ export interface ComExposedClassAttribute_1$instance<T extends IComExposedClass>
380
380
  export type ComExposedClassAttribute_1<T extends IComExposedClass> = ComExposedClassAttribute_1$instance<T> & __ComExposedClassAttribute_1$views<T>;
381
381
 
382
382
 
383
- export abstract class ComObject$protected {
384
- protected Finalize(): void;
385
- }
386
-
387
-
388
- export interface ComObject$instance extends ComObject$protected {
383
+ export interface ComObject$instance {
384
+ Finalize(): void;
389
385
  FinalRelease(): void;
390
386
  }
391
387
 
392
388
 
393
389
  export const ComObject: {
394
- new(): ComObject;
395
390
  };
396
391
 
397
392
 
@@ -443,11 +438,11 @@ export type GeneratedComClassAttribute = GeneratedComClassAttribute$instance;
443
438
 
444
439
  export interface GeneratedComInterfaceAttribute$instance extends Attribute {
445
440
  get ExceptionToUnmanagedMarshaller(): Type | undefined;
446
- set ExceptionToUnmanagedMarshaller(value: Type);
441
+ set ExceptionToUnmanagedMarshaller(value: Type | undefined);
447
442
  Options: ComInterfaceOptions;
448
443
  StringMarshalling: StringMarshalling;
449
444
  get StringMarshallingCustomType(): Type | undefined;
450
- set StringMarshallingCustomType(value: Type);
445
+ set StringMarshallingCustomType(value: Type | undefined);
451
446
  }
452
447
 
453
448
 
@@ -483,7 +478,7 @@ export interface MarshalUsingAttribute$instance extends Attribute {
483
478
  ConstantElementCount: int;
484
479
  CountElementName: string;
485
480
  ElementIndirectionDepth: int;
486
- readonly NativeType: Type;
481
+ readonly NativeType: Type | undefined;
487
482
  }
488
483
 
489
484
 
@@ -508,18 +503,14 @@ export const NativeMarshallingAttribute: {
508
503
 
509
504
  export type NativeMarshallingAttribute = NativeMarshallingAttribute$instance;
510
505
 
511
- export abstract class StrategyBasedComWrappers$protected {
512
- protected ComputeVtables(obj: unknown, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
513
- protected CreateCacheStrategy(): IIUnknownCacheStrategy;
514
- protected CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown;
515
- protected CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown, wrapperFlags: CreatedWrapperFlags): unknown | undefined;
516
- protected GetOrCreateInterfaceDetailsStrategy(): IIUnknownInterfaceDetailsStrategy;
517
- protected GetOrCreateIUnknownStrategy(): IIUnknownStrategy;
518
- protected ReleaseObjects(objects: IEnumerable): void;
519
- }
520
-
521
-
522
- export interface StrategyBasedComWrappers$instance extends StrategyBasedComWrappers$protected, ComWrappers {
506
+ export interface StrategyBasedComWrappers$instance extends ComWrappers {
507
+ ComputeVtables(obj: unknown, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
508
+ CreateCacheStrategy(): IIUnknownCacheStrategy;
509
+ CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown;
510
+ CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown, wrapperFlags: CreatedWrapperFlags): unknown | undefined;
511
+ GetOrCreateInterfaceDetailsStrategy(): IIUnknownInterfaceDetailsStrategy;
512
+ GetOrCreateIUnknownStrategy(): IIUnknownStrategy;
513
+ ReleaseObjects(objects: IEnumerable): void;
523
514
  }
524
515
 
525
516
 
@@ -15,7 +15,7 @@ import * as System_Internal from "../../System/internal/index.js";
15
15
  import type { Boolean as ClrBoolean, Byte, Double, IEquatable_1, Int16, Int32, Int64, IntPtr, MidpointRounding, Object as ClrObject, ReadOnlySpan_1, SByte, Single, Span_1, String as ClrString, Type, UInt16, UInt32, UInt64, UIntPtr, ValueTuple_2, ValueType, Void } from "../../System/internal/index.js";
16
16
 
17
17
  export interface Vector128_1$instance<T> extends IAdditionOperators_3<Vector128_1<T>, Vector128_1<T>, Vector128_1<T>>, IBitwiseOperators_3<Vector128_1<T>, Vector128_1<T>, Vector128_1<T>>, IDivisionOperators_3<Vector128_1<T>, Vector128_1<T>, Vector128_1<T>>, IEqualityOperators_3<Vector128_1<T>, Vector128_1<T>, System_Internal.Boolean>, IMultiplyOperators_3<Vector128_1<T>, Vector128_1<T>, Vector128_1<T>>, IShiftOperators_3<Vector128_1<T>, System_Internal.Int32, Vector128_1<T>>, ISubtractionOperators_3<Vector128_1<T>, Vector128_1<T>, Vector128_1<T>>, IUnaryNegationOperators_2<Vector128_1<T>, Vector128_1<T>>, IUnaryPlusOperators_2<Vector128_1<T>, Vector128_1<T>> {
18
- readonly Item: T;
18
+ readonly [index: number]: T;
19
19
  Equals(obj: unknown): boolean;
20
20
  Equals(other: Vector128_1<T>): boolean;
21
21
  GetHashCode(): int;
@@ -47,7 +47,7 @@ export type Vector128_1<T> = Vector128_1$instance<T> & __Vector128_1$views<T>;
47
47
 
48
48
 
49
49
  export interface Vector256_1$instance<T> extends IAdditionOperators_3<Vector256_1<T>, Vector256_1<T>, Vector256_1<T>>, IBitwiseOperators_3<Vector256_1<T>, Vector256_1<T>, Vector256_1<T>>, IDivisionOperators_3<Vector256_1<T>, Vector256_1<T>, Vector256_1<T>>, IEqualityOperators_3<Vector256_1<T>, Vector256_1<T>, System_Internal.Boolean>, IMultiplyOperators_3<Vector256_1<T>, Vector256_1<T>, Vector256_1<T>>, IShiftOperators_3<Vector256_1<T>, System_Internal.Int32, Vector256_1<T>>, ISubtractionOperators_3<Vector256_1<T>, Vector256_1<T>, Vector256_1<T>>, IUnaryNegationOperators_2<Vector256_1<T>, Vector256_1<T>>, IUnaryPlusOperators_2<Vector256_1<T>, Vector256_1<T>> {
50
- readonly Item: T;
50
+ readonly [index: number]: T;
51
51
  Equals(obj: unknown): boolean;
52
52
  Equals(other: Vector256_1<T>): boolean;
53
53
  GetHashCode(): int;
@@ -79,7 +79,7 @@ export type Vector256_1<T> = Vector256_1$instance<T> & __Vector256_1$views<T>;
79
79
 
80
80
 
81
81
  export interface Vector512_1$instance<T> extends IAdditionOperators_3<Vector512_1<T>, Vector512_1<T>, Vector512_1<T>>, IBitwiseOperators_3<Vector512_1<T>, Vector512_1<T>, Vector512_1<T>>, IDivisionOperators_3<Vector512_1<T>, Vector512_1<T>, Vector512_1<T>>, IEqualityOperators_3<Vector512_1<T>, Vector512_1<T>, System_Internal.Boolean>, IMultiplyOperators_3<Vector512_1<T>, Vector512_1<T>, Vector512_1<T>>, IShiftOperators_3<Vector512_1<T>, System_Internal.Int32, Vector512_1<T>>, ISubtractionOperators_3<Vector512_1<T>, Vector512_1<T>, Vector512_1<T>>, IUnaryNegationOperators_2<Vector512_1<T>, Vector512_1<T>>, IUnaryPlusOperators_2<Vector512_1<T>, Vector512_1<T>> {
82
- readonly Item: T;
82
+ readonly [index: number]: T;
83
83
  Equals(obj: unknown): boolean;
84
84
  Equals(other: Vector512_1<T>): boolean;
85
85
  GetHashCode(): int;
@@ -111,7 +111,7 @@ export type Vector512_1<T> = Vector512_1$instance<T> & __Vector512_1$views<T>;
111
111
 
112
112
 
113
113
  export interface Vector64_1$instance<T> extends IAdditionOperators_3<Vector64_1<T>, Vector64_1<T>, Vector64_1<T>>, IBitwiseOperators_3<Vector64_1<T>, Vector64_1<T>, Vector64_1<T>>, IDivisionOperators_3<Vector64_1<T>, Vector64_1<T>, Vector64_1<T>>, IEqualityOperators_3<Vector64_1<T>, Vector64_1<T>, System_Internal.Boolean>, IMultiplyOperators_3<Vector64_1<T>, Vector64_1<T>, Vector64_1<T>>, IShiftOperators_3<Vector64_1<T>, System_Internal.Int32, Vector64_1<T>>, ISubtractionOperators_3<Vector64_1<T>, Vector64_1<T>, Vector64_1<T>>, IUnaryNegationOperators_2<Vector64_1<T>, Vector64_1<T>>, IUnaryPlusOperators_2<Vector64_1<T>, Vector64_1<T>> {
114
- readonly Item: T;
114
+ readonly [index: number]: T;
115
115
  Equals(obj: unknown): boolean;
116
116
  Equals(other: Vector64_1<T>): boolean;
117
117
  GetHashCode(): int;
@@ -17,8 +17,7 @@ export interface PackedSimd$instance {
17
17
  }
18
18
 
19
19
 
20
- export const PackedSimd: {
21
- new(): PackedSimd;
20
+ export const PackedSimd: (abstract new() => PackedSimd) & {
22
21
  readonly IsSupported: boolean;
23
22
  Abs(value: Vector128_1<System_Internal.Double>): Vector128_1<System_Internal.Double>;
24
23
  Abs(value: Vector128_1<System_Internal.Int16>): Vector128_1<System_Internal.Int16>;
@@ -44,23 +44,19 @@ export const AssemblyDependencyResolver: {
44
44
 
45
45
  export type AssemblyDependencyResolver = AssemblyDependencyResolver$instance;
46
46
 
47
- export abstract class AssemblyLoadContext$protected {
48
- protected Finalize(): void;
49
- protected Load(assemblyName: AssemblyName): Assembly;
50
- protected LoadUnmanagedDll(unmanagedDllName: string): nint;
51
- }
52
-
53
-
54
- export interface AssemblyLoadContext$instance extends AssemblyLoadContext$protected {
47
+ export interface AssemblyLoadContext$instance {
55
48
  readonly Assemblies: IEnumerable_1<Assembly>;
56
49
  readonly IsCollectible: boolean;
57
- readonly Name: string;
50
+ readonly Name: string | undefined;
58
51
  EnterContextualReflection(): AssemblyLoadContext_ContextualReflectionScope;
52
+ Finalize(): void;
53
+ Load(assemblyName: AssemblyName): Assembly | undefined;
59
54
  LoadFromAssemblyName(assemblyName: AssemblyName): Assembly;
60
55
  LoadFromAssemblyPath(assemblyPath: string): Assembly;
61
56
  LoadFromNativeImagePath(nativeImagePath: string, assemblyPath: string): Assembly;
62
57
  LoadFromStream(assembly: Stream): Assembly;
63
58
  LoadFromStream(assembly: Stream, assemblySymbols: Stream): Assembly;
59
+ LoadUnmanagedDll(unmanagedDllName: string): nint;
64
60
  SetProfileOptimizationRoot(directoryPath: string): void;
65
61
  StartProfileOptimization(profile: string): void;
66
62
  ToString(): string;
@@ -69,8 +65,6 @@ export interface AssemblyLoadContext$instance extends AssemblyLoadContext$protec
69
65
 
70
66
 
71
67
  export const AssemblyLoadContext: {
72
- new(): AssemblyLoadContext;
73
- new(isCollectible: boolean): AssemblyLoadContext;
74
68
  new(name: string, isCollectible: boolean): AssemblyLoadContext;
75
69
  readonly Default: AssemblyLoadContext;
76
70
  readonly All: IEnumerable_1<AssemblyLoadContext>;