@tsonic/dotnet 10.0.39 → 10.0.41

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 (187) hide show
  1. package/Internal/internal/index.d.ts +4 -3
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  3. package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
  4. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
  5. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
  6. package/Microsoft.Win32/internal/index.d.ts +19 -18
  7. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  8. package/README.md +76 -104
  9. package/System/bindings.json +1520 -2039
  10. package/System/internal/index.d.ts +1549 -1602
  11. package/System.Buffers/bindings.json +12 -3
  12. package/System.Buffers/internal/index.d.ts +12 -14
  13. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  14. package/System.Buffers.Text/internal/index.d.ts +2 -4
  15. package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
  16. package/System.Collections/internal/index.d.ts +129 -131
  17. package/System.Collections.Concurrent/bindings.json +218 -218
  18. package/System.Collections.Concurrent/internal/index.d.ts +34 -36
  19. package/System.Collections.Frozen/bindings.json +413 -611
  20. package/System.Collections.Frozen/internal/index.d.ts +81 -97
  21. package/System.Collections.Frozen.d.ts +14 -2
  22. package/System.Collections.Generic/bindings.json +9420 -14155
  23. package/System.Collections.Generic/internal/index.d.ts +547 -758
  24. package/System.Collections.Generic.d.ts +1 -1
  25. package/System.Collections.Immutable/bindings.json +6000 -9080
  26. package/System.Collections.Immutable/internal/index.d.ts +265 -354
  27. package/System.Collections.Immutable.d.ts +49 -12
  28. package/System.Collections.ObjectModel/bindings.json +132 -654
  29. package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
  30. package/System.Collections.Specialized/bindings.json +0 -123
  31. package/System.Collections.Specialized/internal/index.d.ts +88 -101
  32. package/System.ComponentModel/bindings.json +163 -102
  33. package/System.ComponentModel/internal/index.d.ts +618 -608
  34. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
  35. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  36. package/System.ComponentModel.Design/bindings.json +22 -292
  37. package/System.ComponentModel.Design/internal/index.d.ts +101 -109
  38. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
  39. package/System.ComponentModel.d.ts +1 -0
  40. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  41. package/System.Data/bindings.json +4 -1
  42. package/System.Data/internal/index.d.ts +351 -350
  43. package/System.Data.Common/internal/index.d.ts +151 -152
  44. package/System.Data.SqlTypes/internal/index.d.ts +68 -67
  45. package/System.Diagnostics/bindings.json +7044 -7249
  46. package/System.Diagnostics/internal/index.d.ts +446 -461
  47. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  48. package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
  49. package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
  50. package/System.Diagnostics.Metrics.d.ts +1 -1
  51. package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
  52. package/System.Diagnostics.Tracing/bindings.json +81 -21
  53. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  54. package/System.Diagnostics.Tracing.d.ts +2 -1
  55. package/System.Drawing/internal/index.d.ts +76 -75
  56. package/System.Dynamic/internal/index.d.ts +55 -57
  57. package/System.Formats.Asn1/bindings.json +48 -69
  58. package/System.Formats.Asn1/internal/index.d.ts +21 -28
  59. package/System.Formats.Tar/internal/index.d.ts +8 -7
  60. package/System.Globalization/internal/index.d.ts +40 -42
  61. package/System.IO/internal/index.d.ts +187 -189
  62. package/System.IO.Compression/internal/index.d.ts +29 -31
  63. package/System.IO.Enumeration/bindings.json +250 -250
  64. package/System.IO.Enumeration/internal/index.d.ts +15 -17
  65. package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
  66. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  67. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  68. package/System.IO.Pipes/internal/index.d.ts +8 -7
  69. package/System.Linq/internal/index.d.ts +223 -225
  70. package/System.Linq.Expressions/internal/index.d.ts +205 -207
  71. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  72. package/System.Net/bindings.json +104 -104
  73. package/System.Net/internal/index.d.ts +279 -281
  74. package/System.Net.Cache/internal/index.d.ts +3 -2
  75. package/System.Net.Http/internal/index.d.ts +128 -130
  76. package/System.Net.Http.Headers/bindings.json +0 -204
  77. package/System.Net.Http.Headers/internal/index.d.ts +111 -127
  78. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  79. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  80. package/System.Net.Mail/internal/index.d.ts +76 -78
  81. package/System.Net.Mime/internal/index.d.ts +11 -10
  82. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  83. package/System.Net.Quic/internal/index.d.ts +10 -9
  84. package/System.Net.Security/internal/index.d.ts +87 -89
  85. package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
  86. package/System.Net.Sockets/internal/index.d.ts +91 -93
  87. package/System.Net.WebSockets/internal/index.d.ts +47 -46
  88. package/System.Numerics/bindings.json +544 -116
  89. package/System.Numerics/internal/index.d.ts +110 -112
  90. package/System.Reflection/internal/index.d.ts +270 -272
  91. package/System.Reflection.Emit/internal/index.d.ts +114 -116
  92. package/System.Reflection.Metadata/bindings.json +166 -3169
  93. package/System.Reflection.Metadata/internal/index.d.ts +154 -361
  94. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
  95. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  96. package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
  97. package/System.Reflection.PortableExecutable.d.ts +1 -0
  98. package/System.Resources/internal/index.d.ts +33 -35
  99. package/System.Runtime/internal/index.d.ts +12 -11
  100. package/System.Runtime.CompilerServices/bindings.json +519 -717
  101. package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
  102. package/System.Runtime.CompilerServices.d.ts +14 -4
  103. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  104. package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
  105. package/System.Runtime.InteropServices/bindings.json +101 -101
  106. package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
  107. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
  108. package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
  109. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  110. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
  111. package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
  112. package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
  113. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
  114. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
  115. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
  116. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
  117. package/System.Runtime.InteropServices.Swift.d.ts +1 -1
  118. package/System.Runtime.Intrinsics/bindings.json +64 -16
  119. package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
  120. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  121. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  122. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  123. package/System.Runtime.Loader/bindings.json +48 -69
  124. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  125. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  126. package/System.Runtime.Serialization/internal/index.d.ts +175 -177
  127. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
  128. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  129. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
  130. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  131. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  132. package/System.Security/internal/index.d.ts +64 -66
  133. package/System.Security.AccessControl/bindings.json +104 -0
  134. package/System.Security.AccessControl/internal/index.d.ts +59 -58
  135. package/System.Security.AccessControl.d.ts +6 -5
  136. package/System.Security.Authentication/internal/index.d.ts +7 -6
  137. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  138. package/System.Security.Claims/internal/index.d.ts +45 -44
  139. package/System.Security.Cryptography/bindings.json +469 -469
  140. package/System.Security.Cryptography/internal/index.d.ts +269 -271
  141. package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
  142. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
  143. package/System.Security.Permissions/internal/index.d.ts +5 -4
  144. package/System.Security.Policy/internal/index.d.ts +11 -10
  145. package/System.Security.Principal/internal/index.d.ts +28 -27
  146. package/System.Text/bindings.json +1562 -1562
  147. package/System.Text/internal/index.d.ts +119 -121
  148. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  149. package/System.Text.Json/bindings.json +0 -290
  150. package/System.Text.Json/internal/index.d.ts +135 -153
  151. package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
  152. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  153. package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
  154. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
  155. package/System.Text.Json.Serialization.d.ts +1 -1
  156. package/System.Text.RegularExpressions/bindings.json +198 -402
  157. package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
  158. package/System.Text.Unicode/bindings.json +508 -508
  159. package/System.Text.Unicode/internal/index.d.ts +29 -31
  160. package/System.Threading/bindings.json +42 -42
  161. package/System.Threading/internal/index.d.ts +157 -159
  162. package/System.Threading.Channels/internal/index.d.ts +10 -12
  163. package/System.Threading.Tasks/bindings.json +4 -1
  164. package/System.Threading.Tasks/internal/index.d.ts +115 -114
  165. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
  166. package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
  167. package/System.Timers/internal/index.d.ts +8 -7
  168. package/System.Transactions/internal/index.d.ts +31 -30
  169. package/System.Web/internal/index.d.ts +32 -31
  170. package/System.Windows.Input/internal/index.d.ts +5 -4
  171. package/System.Windows.Markup/internal/index.d.ts +3 -2
  172. package/System.Xml/internal/index.d.ts +383 -385
  173. package/System.Xml.Linq/internal/index.d.ts +103 -102
  174. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  175. package/System.Xml.Schema/bindings.json +76 -76
  176. package/System.Xml.Schema/internal/index.d.ts +233 -232
  177. package/System.Xml.Serialization/bindings.json +193 -0
  178. package/System.Xml.Serialization/internal/index.d.ts +277 -245
  179. package/System.Xml.Serialization.d.ts +2 -0
  180. package/System.Xml.XPath/internal/index.d.ts +46 -45
  181. package/System.Xml.Xsl/internal/index.d.ts +53 -52
  182. package/System.Xml.Xsl.Runtime/bindings.json +4 -1
  183. package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
  184. package/System.d.ts +2 -2
  185. package/__internal/extensions/index.d.ts +517 -515
  186. package/families.json +63 -7
  187. package/package.json +2 -2
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Runtime.CompilerServices
3
3
  // Assembly: System.Linq.Expressions, System.Private.CoreLib, System.Runtime.CompilerServices.VisualC, System.Runtime.InteropServices
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -68,15 +66,6 @@ export enum UnsafeAccessorKind {
68
66
  }
69
67
 
70
68
 
71
- export type ConditionalWeakTable_2_CreateValueCallback<TKey, TValue> = (key: TKey) => TValue;
72
-
73
-
74
- export type RuntimeHelpers_CleanupCode = (userData: unknown, exceptionThrown: boolean) => void;
75
-
76
-
77
- export type RuntimeHelpers_TryCode = (userData: unknown) => void;
78
-
79
-
80
69
  export interface IAsyncStateMachine$instance {
81
70
  readonly __tsonic_iface_System_Runtime_CompilerServices_IAsyncStateMachine: never;
82
71
 
@@ -115,13 +104,13 @@ export interface IRuntimeVariables$instance {
115
104
  }
116
105
 
117
106
 
118
- export type IRuntimeVariables = IRuntimeVariables$instance & { [index: number]: unknown | undefined; };
107
+ export type IRuntimeVariables = IRuntimeVariables$instance & { [index: number]: JsValue | null; };
119
108
 
120
109
  export interface IStrongBox$instance {
121
110
  readonly __tsonic_iface_System_Runtime_CompilerServices_IStrongBox: never;
122
111
 
123
- get Value(): unknown | undefined;
124
- set Value(value: unknown | undefined);
112
+ get Value(): JsValue | null;
113
+ set Value(value: JsValue | null);
125
114
  }
126
115
 
127
116
 
@@ -134,7 +123,7 @@ export interface ITuple$instance {
134
123
  }
135
124
 
136
125
 
137
- export type ITuple = ITuple$instance & { readonly [index: number]: unknown | undefined; };
126
+ export type ITuple = ITuple$instance & { readonly [index: number]: JsValue | null; };
138
127
 
139
128
  export interface AsyncIteratorMethodBuilder$instance {
140
129
  readonly __tsonic_type_System_Runtime_CompilerServices_AsyncIteratorMethodBuilder: never;
@@ -318,6 +307,27 @@ export const ConfiguredTaskAwaitable: {
318
307
 
319
308
  export type ConfiguredTaskAwaitable = ConfiguredTaskAwaitable$instance;
320
309
 
310
+ export interface ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$instance extends ICriticalNotifyCompletion, INotifyCompletion {
311
+ readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter: never;
312
+
313
+ readonly __tsonic_iface_System_Runtime_CompilerServices_IConfiguredTaskAwaiter: never;
314
+ readonly __tsonic_iface_System_Runtime_CompilerServices_ICriticalNotifyCompletion: never;
315
+ readonly __tsonic_iface_System_Runtime_CompilerServices_INotifyCompletion: never;
316
+
317
+ readonly IsCompleted: boolean;
318
+ GetResult(): void;
319
+ OnCompleted(continuation: Action): void;
320
+ UnsafeOnCompleted(continuation: Action): void;
321
+ }
322
+
323
+
324
+ export const ConfiguredTaskAwaitable_ConfiguredTaskAwaiter: {
325
+ new(): ConfiguredTaskAwaitable_ConfiguredTaskAwaiter;
326
+ };
327
+
328
+
329
+ export type ConfiguredTaskAwaitable_ConfiguredTaskAwaiter = ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$instance;
330
+
321
331
  export interface ConfiguredTaskAwaitable_1$instance<TResult> {
322
332
  readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1: never;
323
333
 
@@ -332,7 +342,7 @@ export const ConfiguredTaskAwaitable_1: {
332
342
 
333
343
  export type ConfiguredTaskAwaitable_1<TResult> = ConfiguredTaskAwaitable_1$instance<TResult>;
334
344
 
335
- export interface ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter$instance<TResult> extends ICriticalNotifyCompletion, ICriticalNotifyCompletion$instance {
345
+ export interface ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter$instance<TResult> extends ICriticalNotifyCompletion, INotifyCompletion {
336
346
  readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter: never;
337
347
 
338
348
  readonly __tsonic_iface_System_Runtime_CompilerServices_IConfiguredTaskAwaiter: never;
@@ -351,19 +361,28 @@ export const ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter: {
351
361
  };
352
362
 
353
363
 
354
- export interface __ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter$views<TResult> {
355
- As_INotifyCompletion(): INotifyCompletion$instance;
364
+ export type ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter<TResult> = ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter$instance<TResult>;
365
+
366
+ export interface ConfiguredValueTaskAwaitable$instance {
367
+ readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable: never;
368
+
369
+ GetAwaiter(): ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter;
356
370
  }
357
371
 
358
- export type ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter<TResult> = ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter$instance<TResult> & __ConfiguredTaskAwaitable_1_ConfiguredTaskAwaiter$views<TResult>;
359
372
 
373
+ export const ConfiguredValueTaskAwaitable: {
374
+ new(): ConfiguredValueTaskAwaitable;
375
+ };
360
376
 
361
- export interface ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$instance extends ICriticalNotifyCompletion, ICriticalNotifyCompletion$instance {
362
- readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredTaskAwaitable_ConfiguredTaskAwaiter: never;
363
377
 
364
- readonly __tsonic_iface_System_Runtime_CompilerServices_IConfiguredTaskAwaiter: never;
378
+ export type ConfiguredValueTaskAwaitable = ConfiguredValueTaskAwaitable$instance;
379
+
380
+ export interface ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter$instance extends ICriticalNotifyCompletion, INotifyCompletion {
381
+ readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter: never;
382
+
365
383
  readonly __tsonic_iface_System_Runtime_CompilerServices_ICriticalNotifyCompletion: never;
366
384
  readonly __tsonic_iface_System_Runtime_CompilerServices_INotifyCompletion: never;
385
+ readonly __tsonic_iface_System_Runtime_CompilerServices_IStateMachineBoxAwareAwaiter: never;
367
386
 
368
387
  readonly IsCompleted: boolean;
369
388
  GetResult(): void;
@@ -372,31 +391,12 @@ export interface ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$instance extends
372
391
  }
373
392
 
374
393
 
375
- export const ConfiguredTaskAwaitable_ConfiguredTaskAwaiter: {
376
- new(): ConfiguredTaskAwaitable_ConfiguredTaskAwaiter;
377
- };
378
-
379
-
380
- export interface __ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$views {
381
- As_INotifyCompletion(): INotifyCompletion$instance;
382
- }
383
-
384
- export type ConfiguredTaskAwaitable_ConfiguredTaskAwaiter = ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$instance & __ConfiguredTaskAwaitable_ConfiguredTaskAwaiter$views;
385
-
386
-
387
- export interface ConfiguredValueTaskAwaitable$instance {
388
- readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable: never;
389
-
390
- GetAwaiter(): ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter;
391
- }
392
-
393
-
394
- export const ConfiguredValueTaskAwaitable: {
395
- new(): ConfiguredValueTaskAwaitable;
394
+ export const ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter: {
395
+ new(): ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter;
396
396
  };
397
397
 
398
398
 
399
- export type ConfiguredValueTaskAwaitable = ConfiguredValueTaskAwaitable$instance;
399
+ export type ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter = ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter$instance;
400
400
 
401
401
  export interface ConfiguredValueTaskAwaitable_1$instance<TResult> {
402
402
  readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_1: never;
@@ -412,11 +412,12 @@ export const ConfiguredValueTaskAwaitable_1: {
412
412
 
413
413
  export type ConfiguredValueTaskAwaitable_1<TResult> = ConfiguredValueTaskAwaitable_1$instance<TResult>;
414
414
 
415
- export interface ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter$instance<TResult> extends ICriticalNotifyCompletion, ICriticalNotifyCompletion$instance {
415
+ export interface ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter$instance<TResult> extends ICriticalNotifyCompletion, INotifyCompletion {
416
416
  readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter: never;
417
417
 
418
418
  readonly __tsonic_iface_System_Runtime_CompilerServices_ICriticalNotifyCompletion: never;
419
419
  readonly __tsonic_iface_System_Runtime_CompilerServices_INotifyCompletion: never;
420
+ readonly __tsonic_iface_System_Runtime_CompilerServices_IStateMachineBoxAwareAwaiter: never;
420
421
 
421
422
  readonly IsCompleted: boolean;
422
423
  GetResult(): TResult;
@@ -430,51 +431,21 @@ export const ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter: {
430
431
  };
431
432
 
432
433
 
433
- export interface __ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter$views<TResult> {
434
- As_INotifyCompletion(): INotifyCompletion$instance;
435
- }
436
-
437
- export type ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter<TResult> = ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter$instance<TResult> & __ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter$views<TResult>;
438
-
439
-
440
- export interface ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter$instance extends ICriticalNotifyCompletion, ICriticalNotifyCompletion$instance {
441
- readonly __tsonic_type_System_Runtime_CompilerServices_ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter: never;
442
-
443
- readonly __tsonic_iface_System_Runtime_CompilerServices_ICriticalNotifyCompletion: never;
444
- readonly __tsonic_iface_System_Runtime_CompilerServices_INotifyCompletion: never;
445
-
446
- readonly IsCompleted: boolean;
447
- GetResult(): void;
448
- OnCompleted(continuation: Action): void;
449
- UnsafeOnCompleted(continuation: Action): void;
450
- }
451
-
452
-
453
- export const ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter: {
454
- new(): ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter;
455
- };
456
-
457
-
458
- export interface __ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter$views {
459
- As_INotifyCompletion(): INotifyCompletion$instance;
460
- }
461
-
462
- export type ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter = ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter$instance & __ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter$views;
463
-
434
+ export type ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter<TResult> = ConfiguredValueTaskAwaitable_1_ConfiguredValueTaskAwaiter$instance<TResult>;
464
435
 
465
436
  export interface DefaultInterpolatedStringHandler$instance {
466
437
  readonly __tsonic_type_System_Runtime_CompilerServices_DefaultInterpolatedStringHandler: never;
467
438
 
468
439
  readonly Text: ReadOnlySpan_1<System_Internal.Char>;
469
440
  AppendFormatted<T>(value: T): void;
470
- AppendFormatted<T>(value: T, format: string): void;
441
+ AppendFormatted<T>(value: T, format: string | null): void;
471
442
  AppendFormatted<T>(value: T, alignment: int): void;
472
- AppendFormatted<T>(value: T, alignment: int, format: string): void;
443
+ AppendFormatted<T>(value: T, alignment: int, format: string | null): void;
473
444
  AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): void;
474
- AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): void;
475
- AppendFormatted(value: string): void;
476
- AppendFormatted(value: string, alignment?: int, format?: string): void;
477
- AppendFormatted(value: unknown, alignment?: int, format?: string): void;
445
+ AppendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | null): void;
446
+ AppendFormatted(value: string | null): void;
447
+ AppendFormatted(value: string | null, alignment?: int, format?: string | null): void;
448
+ AppendFormatted(value: JsValue | null, alignment?: int, format?: string | null): void;
478
449
  AppendLiteral(value: string): void;
479
450
  Clear(): void;
480
451
  ToString(): string;
@@ -484,8 +455,8 @@ export interface DefaultInterpolatedStringHandler$instance {
484
455
 
485
456
  export const DefaultInterpolatedStringHandler: {
486
457
  new(literalLength: int, formattedCount: int): DefaultInterpolatedStringHandler;
487
- new(literalLength: int, formattedCount: int, provider: IFormatProvider): DefaultInterpolatedStringHandler;
488
- new(literalLength: int, formattedCount: int, provider: IFormatProvider, initialBuffer: Span_1<System_Internal.Char>): DefaultInterpolatedStringHandler;
458
+ new(literalLength: int, formattedCount: int, provider: IFormatProvider | null): DefaultInterpolatedStringHandler;
459
+ new(literalLength: int, formattedCount: int, provider: IFormatProvider | null, initialBuffer: Span_1<System_Internal.Char>): DefaultInterpolatedStringHandler;
489
460
  };
490
461
 
491
462
 
@@ -842,11 +813,12 @@ export const YieldAwaitable: {
842
813
 
843
814
  export type YieldAwaitable = YieldAwaitable$instance;
844
815
 
845
- export interface YieldAwaitable_YieldAwaiter$instance extends ICriticalNotifyCompletion, ICriticalNotifyCompletion$instance {
816
+ export interface YieldAwaitable_YieldAwaiter$instance extends ICriticalNotifyCompletion, INotifyCompletion {
846
817
  readonly __tsonic_type_System_Runtime_CompilerServices_YieldAwaitable_YieldAwaiter: never;
847
818
 
848
819
  readonly __tsonic_iface_System_Runtime_CompilerServices_ICriticalNotifyCompletion: never;
849
820
  readonly __tsonic_iface_System_Runtime_CompilerServices_INotifyCompletion: never;
821
+ readonly __tsonic_iface_System_Runtime_CompilerServices_IStateMachineBoxAwareAwaiter: never;
850
822
 
851
823
  readonly IsCompleted: boolean;
852
824
  GetResult(): void;
@@ -860,12 +832,7 @@ export const YieldAwaitable_YieldAwaiter: {
860
832
  };
861
833
 
862
834
 
863
- export interface __YieldAwaitable_YieldAwaiter$views {
864
- As_INotifyCompletion(): INotifyCompletion$instance;
865
- }
866
-
867
- export type YieldAwaitable_YieldAwaiter = YieldAwaitable_YieldAwaiter$instance & __YieldAwaitable_YieldAwaiter$views;
868
-
835
+ export type YieldAwaitable_YieldAwaiter = YieldAwaitable_YieldAwaiter$instance;
869
836
 
870
837
  export interface AccessedThroughPropertyAttribute$instance extends Attribute {
871
838
  readonly __tsonic_type_System_Runtime_CompilerServices_AccessedThroughPropertyAttribute: never;
@@ -1068,7 +1035,7 @@ export type CallerMemberNameAttribute = CallerMemberNameAttribute$instance;
1068
1035
  export interface CallSite$instance {
1069
1036
  readonly __tsonic_type_System_Runtime_CompilerServices_CallSite: never;
1070
1037
 
1071
- readonly Binder: CallSiteBinder | undefined;
1038
+ readonly Binder: CallSiteBinder | null;
1072
1039
  }
1073
1040
 
1074
1041
 
@@ -1096,8 +1063,8 @@ export type CallSite_1<T> = CallSite_1$instance<T>;
1096
1063
  export interface CallSiteBinder$instance {
1097
1064
  readonly __tsonic_type_System_Runtime_CompilerServices_CallSiteBinder: never;
1098
1065
 
1099
- Bind(args: unknown[], parameters: ReadOnlyCollection_1<ParameterExpression>, returnLabel: LabelTarget): Expression;
1100
- BindDelegate<T>(site: CallSite_1<T>, args: unknown[]): T | undefined;
1066
+ Bind(args: JsValue[], parameters: ReadOnlyCollection_1<ParameterExpression>, returnLabel: LabelTarget): Expression;
1067
+ BindDelegate<T>(site: CallSite_1<T>, args: JsValue[]): T | null;
1101
1068
  }
1102
1069
 
1103
1070
 
@@ -1111,13 +1078,13 @@ export type CallSiteBinder = CallSiteBinder$instance;
1111
1078
  export interface Closure$instance {
1112
1079
  readonly __tsonic_type_System_Runtime_CompilerServices_Closure: never;
1113
1080
 
1114
- readonly Constants: unknown[];
1115
- readonly Locals: unknown[] | undefined;
1081
+ readonly Constants: JsValue[];
1082
+ readonly Locals: JsValue[] | null;
1116
1083
  }
1117
1084
 
1118
1085
 
1119
1086
  export const Closure: {
1120
- new(constants: unknown[], locals: unknown[]): Closure;
1087
+ new(constants: JsValue[], locals: JsValue[] | null): Closure;
1121
1088
  };
1122
1089
 
1123
1090
 
@@ -1243,6 +1210,9 @@ export interface __ConditionalWeakTable_2$views<TKey, TValue> {
1243
1210
  export type ConditionalWeakTable_2<TKey, TValue> = ConditionalWeakTable_2$instance<TKey, TValue> & __ConditionalWeakTable_2$views<TKey, TValue>;
1244
1211
 
1245
1212
 
1213
+ export type ConditionalWeakTable_2_CreateValueCallback<TKey, TValue> = (key: TKey) => TValue;
1214
+
1215
+
1246
1216
  export interface CppInlineNamespaceAttribute$instance extends Attribute {
1247
1217
  readonly __tsonic_type_System_Runtime_CompilerServices_CppInlineNamespaceAttribute: never;
1248
1218
 
@@ -1272,7 +1242,7 @@ export type CreateNewOnMetadataUpdateAttribute = CreateNewOnMetadataUpdateAttrib
1272
1242
  export interface CustomConstantAttribute$instance extends Attribute {
1273
1243
  readonly __tsonic_type_System_Runtime_CompilerServices_CustomConstantAttribute: never;
1274
1244
 
1275
- readonly Value: unknown;
1245
+ readonly Value: JsValue | JsValue | null;
1276
1246
  }
1277
1247
 
1278
1248
 
@@ -1285,7 +1255,7 @@ export type CustomConstantAttribute = CustomConstantAttribute$instance;
1285
1255
  export interface DateTimeConstantAttribute$instance extends CustomConstantAttribute {
1286
1256
  readonly __tsonic_type_System_Runtime_CompilerServices_DateTimeConstantAttribute: never;
1287
1257
 
1288
- readonly Value: unknown;
1258
+ readonly Value: JsValue | JsValue | null;
1289
1259
  }
1290
1260
 
1291
1261
 
@@ -1492,7 +1462,7 @@ export type HasCopySemanticsAttribute = HasCopySemanticsAttribute$instance;
1492
1462
  export interface IDispatchConstantAttribute$instance extends CustomConstantAttribute {
1493
1463
  readonly __tsonic_type_System_Runtime_CompilerServices_IDispatchConstantAttribute: never;
1494
1464
 
1495
- readonly Value: unknown;
1465
+ readonly Value: JsValue | JsValue | null;
1496
1466
  }
1497
1467
 
1498
1468
 
@@ -1628,7 +1598,7 @@ export type IteratorStateMachineAttribute = IteratorStateMachineAttribute$instan
1628
1598
  export interface IUnknownConstantAttribute$instance extends CustomConstantAttribute {
1629
1599
  readonly __tsonic_type_System_Runtime_CompilerServices_IUnknownConstantAttribute: never;
1630
1600
 
1631
- readonly Value: unknown;
1601
+ readonly Value: JsValue | JsValue | null;
1632
1602
  }
1633
1603
 
1634
1604
 
@@ -1842,13 +1812,13 @@ export type ReadOnlyCollectionBuilder_1<T> = ReadOnlyCollectionBuilder_1$instanc
1842
1812
  export interface ReferenceAssemblyAttribute$instance extends Attribute {
1843
1813
  readonly __tsonic_type_System_Runtime_CompilerServices_ReferenceAssemblyAttribute: never;
1844
1814
 
1845
- readonly Description: string | undefined;
1815
+ readonly Description: string | null;
1846
1816
  }
1847
1817
 
1848
1818
 
1849
1819
  export const ReferenceAssemblyAttribute: {
1850
1820
  new(): ReferenceAssemblyAttribute;
1851
- new(description: string): ReferenceAssemblyAttribute;
1821
+ new(description: string | null): ReferenceAssemblyAttribute;
1852
1822
  };
1853
1823
 
1854
1824
 
@@ -1939,13 +1909,13 @@ export interface RuntimeWrappedException$instance extends Exception {
1939
1909
 
1940
1910
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1941
1911
 
1942
- readonly WrappedException: unknown;
1912
+ readonly WrappedException: JsValue;
1943
1913
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1944
1914
  }
1945
1915
 
1946
1916
 
1947
1917
  export const RuntimeWrappedException: {
1948
- new(thrownObject: unknown): RuntimeWrappedException;
1918
+ new(thrownObject: JsValue): RuntimeWrappedException;
1949
1919
  };
1950
1920
 
1951
1921
 
@@ -2076,17 +2046,17 @@ export interface SwitchExpressionException$instance extends InvalidOperationExce
2076
2046
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
2077
2047
 
2078
2048
  readonly Message: string;
2079
- readonly UnmatchedValue: unknown | undefined;
2049
+ readonly UnmatchedValue: JsValue | null;
2080
2050
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
2081
2051
  }
2082
2052
 
2083
2053
 
2084
2054
  export const SwitchExpressionException: {
2085
2055
  new(): SwitchExpressionException;
2086
- new(innerException: Exception): SwitchExpressionException;
2087
- new(unmatchedValue: unknown): SwitchExpressionException;
2088
- new(message: string): SwitchExpressionException;
2089
- new(message: string, innerException: Exception): SwitchExpressionException;
2056
+ new(innerException: Exception | null): SwitchExpressionException;
2057
+ new(unmatchedValue: JsValue | null): SwitchExpressionException;
2058
+ new(message: string | null): SwitchExpressionException;
2059
+ new(message: string | null, innerException: Exception | null): SwitchExpressionException;
2090
2060
  };
2091
2061
 
2092
2062
 
@@ -2100,12 +2070,12 @@ export type SwitchExpressionException = SwitchExpressionException$instance & __S
2100
2070
  export interface TupleElementNamesAttribute$instance extends Attribute {
2101
2071
  readonly __tsonic_type_System_Runtime_CompilerServices_TupleElementNamesAttribute: never;
2102
2072
 
2103
- readonly TransformNames: IList_1<string | undefined>;
2073
+ readonly TransformNames: IList_1<string | null>;
2104
2074
  }
2105
2075
 
2106
2076
 
2107
2077
  export const TupleElementNamesAttribute: {
2108
- new(transformNames: string[]): TupleElementNamesAttribute;
2078
+ new(transformNames: (string | null)[]): TupleElementNamesAttribute;
2109
2079
  };
2110
2080
 
2111
2081
 
@@ -2143,8 +2113,8 @@ export interface UnsafeAccessorAttribute$instance extends Attribute {
2143
2113
  readonly __tsonic_type_System_Runtime_CompilerServices_UnsafeAccessorAttribute: never;
2144
2114
 
2145
2115
  readonly Kind: UnsafeAccessorKind;
2146
- get Name(): string | undefined;
2147
- set Name(value: string | undefined);
2116
+ get Name(): string | null;
2117
+ set Name(value: string | null);
2148
2118
  }
2149
2119
 
2150
2120
 
@@ -2207,13 +2177,13 @@ export type CallSiteHelpers = CallSiteHelpers$instance;
2207
2177
 
2208
2178
  export abstract class CallSiteOps$instance {
2209
2179
  static AddRule<T>(site: CallSite_1<T>, rule: T): void;
2210
- static Bind<T>(binder: CallSiteBinder, site: CallSite_1<T>, args: unknown[]): T;
2180
+ static Bind<T>(binder: CallSiteBinder, site: CallSite_1<T>, args: JsValue[]): T;
2211
2181
  static ClearMatch(site: CallSite): void;
2212
2182
  static CreateMatchmaker<T>(site: CallSite_1<T>): CallSite_1<T>;
2213
2183
  static GetCachedRules<T>(cache: RuleCache_1<T>): T[];
2214
2184
  static GetMatch(site: CallSite): boolean;
2215
2185
  static GetRuleCache<T>(site: CallSite_1<T>): RuleCache_1<T>;
2216
- static GetRules<T>(site: CallSite_1<T>): T[] | undefined;
2186
+ static GetRules<T>(site: CallSite_1<T>): T[] | null;
2217
2187
  static MoveRule<T>(cache: RuleCache_1<T>, rule: T, i: int): void;
2218
2188
  static SetNotMatched(site: CallSite): boolean;
2219
2189
  static UpdateRules<T>(this_: CallSite_1<T>, matched: int): void;
@@ -2229,15 +2199,15 @@ export abstract class CompilerMarshalOverride$instance {
2229
2199
  export type CompilerMarshalOverride = CompilerMarshalOverride$instance;
2230
2200
 
2231
2201
  export abstract class ContractHelper$instance {
2232
- static RaiseContractFailedEvent(failureKind: ContractFailureKind, userMessage: string, conditionText: string, innerException: Exception): string | undefined;
2233
- static TriggerFailure(kind: ContractFailureKind, displayMessage: string, userMessage: string, conditionText: string, innerException: Exception): void;
2202
+ static RaiseContractFailedEvent(failureKind: ContractFailureKind, userMessage: string | null, conditionText: string | null, innerException: Exception | null): string | null;
2203
+ static TriggerFailure(kind: ContractFailureKind, displayMessage: string | null, userMessage: string | null, conditionText: string | null, innerException: Exception | null): void;
2234
2204
  }
2235
2205
 
2236
2206
 
2237
2207
  export type ContractHelper = ContractHelper$instance;
2238
2208
 
2239
2209
  export abstract class FormattableStringFactory$instance {
2240
- static Create(format: string, ...arguments: unknown[]): FormattableString;
2210
+ static Create(format: string, ...arguments: (JsValue | null)[]): FormattableString;
2241
2211
  }
2242
2212
 
2243
2213
 
@@ -2341,22 +2311,22 @@ export type RuntimeFeature = RuntimeFeature$instance;
2341
2311
  export abstract class RuntimeHelpers$instance {
2342
2312
  static readonly OffsetToStringData: int;
2343
2313
  static AllocateTypeAssociatedMemory(type: Type, size: int): nint;
2344
- static Box(target: byte, type: RuntimeTypeHandle): unknown | undefined;
2314
+ static Box(target: byte, type: RuntimeTypeHandle): JsValue | null;
2345
2315
  static CreateSpan<T>(fldHandle: RuntimeFieldHandle): ReadOnlySpan_1<T>;
2346
2316
  static EnsureSufficientExecutionStack(): void;
2347
- static Equals(o1: unknown, o2: unknown): boolean;
2348
- static ExecuteCodeWithGuaranteedCleanup(code: RuntimeHelpers_TryCode, backoutCode: RuntimeHelpers_CleanupCode, userData: unknown): void;
2349
- static GetHashCode(o: unknown): int;
2350
- static GetObjectValue(obj: unknown): unknown | undefined;
2317
+ static Equals(o1: JsValue | null, o2: JsValue | null): boolean;
2318
+ static ExecuteCodeWithGuaranteedCleanup(code: RuntimeHelpers_TryCode, backoutCode: RuntimeHelpers_CleanupCode, userData: JsValue | null): void;
2319
+ static GetHashCode(o: JsValue | null): int;
2320
+ static GetObjectValue(obj: JsValue | null): JsValue | null;
2351
2321
  static GetSubArray<T>(array: T[], range: Range): T[];
2352
- static GetUninitializedObject(type: Type): unknown;
2322
+ static GetUninitializedObject(type: Type): JsValue;
2353
2323
  static InitializeArray(array: ClrArray, fldHandle: RuntimeFieldHandle): void;
2354
2324
  static IsReferenceOrContainsReferences<T>(): boolean;
2355
2325
  static PrepareConstrainedRegions(): void;
2356
2326
  static PrepareConstrainedRegionsNoOP(): void;
2357
2327
  static PrepareContractedDelegate(d: Function): void;
2358
2328
  static PrepareDelegate(d: Function): void;
2359
- static PrepareMethod(method: RuntimeMethodHandle, instantiation: RuntimeTypeHandle[]): void;
2329
+ static PrepareMethod(method: RuntimeMethodHandle, instantiation: RuntimeTypeHandle[] | null): void;
2360
2330
  static PrepareMethod(method: RuntimeMethodHandle): void;
2361
2331
  static ProbeForSufficientStack(): void;
2362
2332
  static RunClassConstructor(type: RuntimeTypeHandle): void;
@@ -2368,16 +2338,22 @@ export abstract class RuntimeHelpers$instance {
2368
2338
 
2369
2339
  export type RuntimeHelpers = RuntimeHelpers$instance;
2370
2340
 
2341
+ export type RuntimeHelpers_CleanupCode = (userData: JsValue | null, exceptionThrown: boolean) => void;
2342
+
2343
+
2344
+ export type RuntimeHelpers_TryCode = (userData: JsValue | null) => void;
2345
+
2346
+
2371
2347
  export abstract class RuntimeOps$instance {
2372
2348
  static CreateRuntimeVariables(): IRuntimeVariables;
2373
- static CreateRuntimeVariables(data: unknown[], indexes: long[]): IRuntimeVariables;
2374
- static ExpandoCheckVersion(expando: ExpandoObject, version: unknown): boolean;
2375
- static ExpandoPromoteClass(expando: ExpandoObject, oldClass: unknown, newClass: unknown): void;
2376
- static ExpandoTryDeleteValue(expando: ExpandoObject, indexClass: unknown, index: int, name: string, ignoreCase: boolean): boolean;
2377
- static ExpandoTryGetValue(expando: ExpandoObject, indexClass: unknown, index: int, name: string, ignoreCase: boolean, value: unknown): boolean;
2378
- static ExpandoTrySetValue(expando: ExpandoObject, indexClass: unknown, index: int, value: unknown, name: string, ignoreCase: boolean): unknown | undefined;
2349
+ static CreateRuntimeVariables(data: JsValue[], indexes: long[]): IRuntimeVariables;
2350
+ static ExpandoCheckVersion(expando: ExpandoObject, version: JsValue | null): boolean;
2351
+ static ExpandoPromoteClass(expando: ExpandoObject, oldClass: JsValue, newClass: JsValue): void;
2352
+ static ExpandoTryDeleteValue(expando: ExpandoObject, indexClass: JsValue | null, index: int, name: string, ignoreCase: boolean): boolean;
2353
+ static ExpandoTryGetValue(expando: ExpandoObject, indexClass: JsValue | null, index: int, name: string, ignoreCase: boolean, value: JsValue | null): boolean;
2354
+ static ExpandoTrySetValue(expando: ExpandoObject, indexClass: JsValue | null, index: int, value: JsValue | null, name: string, ignoreCase: boolean): JsValue | null;
2379
2355
  static MergeRuntimeVariables(first: IRuntimeVariables, second: IRuntimeVariables, indexes: int[]): IRuntimeVariables;
2380
- static Quote(expression: Expression, hoistedLocals: unknown, locals: unknown[]): Expression | undefined;
2356
+ static Quote(expression: Expression | null, hoistedLocals: JsValue, locals: JsValue[]): Expression | null;
2381
2357
  }
2382
2358
 
2383
2359
 
@@ -2391,7 +2367,7 @@ export abstract class Unsafe$instance {
2391
2367
  static AddByteOffset<T>(source: T, byteOffset: nint): T;
2392
2368
  static AddByteOffset<T>(source: T, byteOffset: nuint): T;
2393
2369
  static AreSame<T>(left: T, right: T): boolean;
2394
- static As<T>(o: unknown): T;
2370
+ static As<T>(o: JsValue | null): T;
2395
2371
  static As<TFrom, TTo>(source: TFrom): TTo;
2396
2372
  static AsPointer<T>(value: T): ptr<void>;
2397
2373
  static AsRef<T>(source: ptr<void>): T;
@@ -2425,7 +2401,7 @@ export abstract class Unsafe$instance {
2425
2401
  static Subtract<T>(source: T, elementOffset: nuint): T;
2426
2402
  static SubtractByteOffset<T>(source: T, byteOffset: nint): T;
2427
2403
  static SubtractByteOffset<T>(source: T, byteOffset: nuint): T;
2428
- static Unbox<T extends unknown>(box: unknown): T;
2404
+ static Unbox<T extends NonNullable<JsValue>>(box: JsValue): T;
2429
2405
  static Write<T>(destination: ptr<void>, value: T): void;
2430
2406
  static WriteUnaligned<T>(destination: byte, value: T): void;
2431
2407
  static WriteUnaligned<T>(destination: ptr<void>, value: T): void;
@@ -60,9 +60,7 @@ export { CompilerGlobalScopeAttribute as CompilerGlobalScopeAttribute } from './
60
60
  export { ConditionalWeakTable_2 as ConditionalWeakTable } from './System.Runtime.CompilerServices/internal/index.js';
61
61
  export { ConfiguredAsyncDisposable as ConfiguredAsyncDisposable } from './System.Runtime.CompilerServices/internal/index.js';
62
62
  export { ConfiguredCancelableAsyncEnumerable_1 as ConfiguredCancelableAsyncEnumerable } from './System.Runtime.CompilerServices/internal/index.js';
63
- export { ConfiguredValueTaskAwaitable as ConfiguredValueTaskAwaitable_0 } from './System.Runtime.CompilerServices/internal/index.js';
64
63
  export { ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter as ConfiguredValueTaskAwaitable_ConfiguredValueTaskAwaiter } from './System.Runtime.CompilerServices/internal/index.js';
65
- export { ConfiguredValueTaskAwaitable_1 as ConfiguredValueTaskAwaitable } from './System.Runtime.CompilerServices/internal/index.js';
66
64
  export { ContractHelper$instance as ContractHelper } from './System.Runtime.CompilerServices/internal/index.js';
67
65
  export { CreateNewOnMetadataUpdateAttribute as CreateNewOnMetadataUpdateAttribute } from './System.Runtime.CompilerServices/internal/index.js';
68
66
  export { CustomConstantAttribute as CustomConstantAttribute } from './System.Runtime.CompilerServices/internal/index.js';
@@ -140,9 +138,7 @@ export { StrongBox_1 as StrongBox } from './System.Runtime.CompilerServices/inte
140
138
  export type IStrongBox = Internal.IStrongBox;
141
139
  export { SuppressIldasmAttribute as SuppressIldasmAttribute } from './System.Runtime.CompilerServices/internal/index.js';
142
140
  export { SwitchExpressionException as SwitchExpressionException } from './System.Runtime.CompilerServices/internal/index.js';
143
- export { ConfiguredTaskAwaitable as ConfiguredTaskAwaitable_0 } from './System.Runtime.CompilerServices/internal/index.js';
144
141
  export { ConfiguredTaskAwaitable_ConfiguredTaskAwaiter as ConfiguredTaskAwaitable_ConfiguredTaskAwaiter } from './System.Runtime.CompilerServices/internal/index.js';
145
- export { ConfiguredTaskAwaitable_1 as ConfiguredTaskAwaitable } from './System.Runtime.CompilerServices/internal/index.js';
146
142
  export { TupleElementNamesAttribute as TupleElementNamesAttribute } from './System.Runtime.CompilerServices/internal/index.js';
147
143
  export { TypeForwardedFromAttribute as TypeForwardedFromAttribute } from './System.Runtime.CompilerServices/internal/index.js';
148
144
  export { TypeForwardedToAttribute as TypeForwardedToAttribute } from './System.Runtime.CompilerServices/internal/index.js';
@@ -176,6 +172,8 @@ export { IUnknownConstantAttribute as IUnknownConstantAttribute } from './System
176
172
  export const AsyncTaskMethodBuilder: typeof Internal.AsyncTaskMethodBuilder;
177
173
  export const AsyncValueTaskMethodBuilder: typeof Internal.AsyncValueTaskMethodBuilder;
178
174
  export const CallSite: typeof Internal.CallSite;
175
+ export const ConfiguredTaskAwaitable: typeof Internal.ConfiguredTaskAwaitable;
176
+ export const ConfiguredValueTaskAwaitable: typeof Internal.ConfiguredValueTaskAwaitable;
179
177
  export const PoolingAsyncValueTaskMethodBuilder: typeof Internal.PoolingAsyncValueTaskMethodBuilder;
180
178
  export const TaskAwaiter: typeof Internal.TaskAwaiter;
181
179
  export const ValueTaskAwaiter: typeof Internal.ValueTaskAwaiter;
@@ -202,6 +200,18 @@ export type CallSite<
202
200
  [T1] extends [__] ? Internal.CallSite :
203
201
  Internal.CallSite_1<T1>;
204
202
 
203
+ export type ConfiguredTaskAwaitable<
204
+ T1 = __,
205
+ > =
206
+ [T1] extends [__] ? Internal.ConfiguredTaskAwaitable :
207
+ Internal.ConfiguredTaskAwaitable_1<T1>;
208
+
209
+ export type ConfiguredValueTaskAwaitable<
210
+ T1 = __,
211
+ > =
212
+ [T1] extends [__] ? Internal.ConfiguredValueTaskAwaitable :
213
+ Internal.ConfiguredValueTaskAwaitable_1<T1>;
214
+
205
215
  export type PoolingAsyncValueTaskMethodBuilder<
206
216
  T1 = __,
207
217
  > =
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime.ConstrainedExecution
3
3
  // Assembly: System.Private.CoreLib
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as System_Internal from "../../System/internal/index.js";
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime.ExceptionServices
3
3
  // Assembly: System.Private.CoreLib
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import * as System_Internal from "../../System/internal/index.js";
@@ -55,7 +56,7 @@ export const HandleProcessCorruptedStateExceptionsAttribute: {
55
56
  export type HandleProcessCorruptedStateExceptionsAttribute = HandleProcessCorruptedStateExceptionsAttribute$instance;
56
57
 
57
58
  export abstract class ExceptionHandling$instance {
58
- static RaiseAppDomainUnhandledExceptionEvent(exception: unknown): void;
59
+ static RaiseAppDomainUnhandledExceptionEvent(exception: JsValue): void;
59
60
  static SetUnhandledExceptionHandler(handler: Func_2<Exception, System_Internal.Boolean>): void;
60
61
  }
61
62