@tsonic/dotnet 0.5.2 → 0.6.0

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 (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -51,8 +51,8 @@ export type CLROf<T> =
51
51
  T; // Identity fallback for non-primitive types
52
52
 
53
53
  export enum ApartmentState {
54
- sta = 0,
55
- mta = 1,
54
+ STA = 0,
55
+ MTA = 1,
56
56
  unknown_ = 2
57
57
  }
58
58
 
@@ -100,24 +100,26 @@ export enum ThreadState {
100
100
 
101
101
 
102
102
  export interface IThreadPoolWorkItem$instance {
103
- Execute(): void;
103
+ execute(): void;
104
104
  }
105
105
 
106
106
 
107
107
  export type IThreadPoolWorkItem = IThreadPoolWorkItem$instance;
108
108
 
109
- export interface ITimer$instance {
110
- Change(dueTime: TimeSpan, period: TimeSpan): boolean;
111
- Dispose(): void;
112
- DisposeAsync(): ValueTask;
109
+ export interface ITimer$instance extends IDisposable, IAsyncDisposable {
110
+ change(dueTime: TimeSpan, period: TimeSpan): boolean;
111
+ dispose(): void;
112
+ disposeAsync(): ValueTask;
113
113
  }
114
114
 
115
115
 
116
+ export interface ITimer$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
117
+
116
118
  export type ITimer = ITimer$instance;
117
119
 
118
120
  export class AsyncFlowControl$instance {
119
121
  dispose(): void;
120
- equals(obj: any): boolean;
122
+ equals(obj: unknown): boolean;
121
123
  equals(obj: AsyncFlowControl): boolean;
122
124
  getHashCode(): int;
123
125
  undo(): void;
@@ -125,13 +127,15 @@ export class AsyncFlowControl$instance {
125
127
 
126
128
 
127
129
  export interface __AsyncFlowControl$views {
128
- readonly As_IDisposable: System_Internal.IDisposable$instance;
129
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<AsyncFlowControl>;
130
+ As_IDisposable(): System_Internal.IDisposable$instance;
131
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<AsyncFlowControl>;
130
132
 
131
133
  // Structural method bridges for numeric interface constraints
132
134
  Equals(other: AsyncFlowControl): boolean;
133
135
  }
134
136
 
137
+ export interface AsyncFlowControl$instance extends System_Internal.IDisposable$instance {}
138
+
135
139
  export type AsyncFlowControl = AsyncFlowControl$instance & __AsyncFlowControl$views;
136
140
 
137
141
 
@@ -150,22 +154,22 @@ export class CancellationToken$instance {
150
154
  readonly isCancellationRequested: boolean;
151
155
  readonly waitHandle: WaitHandle;
152
156
  equals(other: CancellationToken): boolean;
153
- equals(other: any): boolean;
157
+ equals(other: unknown): boolean;
154
158
  getHashCode(): int;
155
159
  register(callback: Action): CancellationTokenRegistration;
156
160
  register(callback: Action, useSynchronizationContext: boolean): CancellationTokenRegistration;
157
- register(callback: Action_1<any>, state: any): CancellationTokenRegistration;
158
- register(callback: Action_2<any, CancellationToken>, state: any): CancellationTokenRegistration;
159
- register(callback: Action_1<any>, state: any, useSynchronizationContext: boolean): CancellationTokenRegistration;
161
+ register(callback: Action_1<unknown>, state: unknown): CancellationTokenRegistration;
162
+ register(callback: Action_2<unknown, CancellationToken>, state: unknown): CancellationTokenRegistration;
163
+ register(callback: Action_1<unknown>, state: unknown, useSynchronizationContext: boolean): CancellationTokenRegistration;
160
164
  throwIfCancellationRequested(): void;
161
- unsafeRegister(callback: Action_1<any>, state: any): CancellationTokenRegistration;
162
- unsafeRegister(callback: Action_2<any, CancellationToken>, state: any): CancellationTokenRegistration;
163
- static readonly None: CancellationToken;
165
+ unsafeRegister(callback: Action_1<unknown>, state: unknown): CancellationTokenRegistration;
166
+ unsafeRegister(callback: Action_2<unknown, CancellationToken>, state: unknown): CancellationTokenRegistration;
167
+ static readonly none: CancellationToken;
164
168
  }
165
169
 
166
170
 
167
171
  export interface __CancellationToken$views {
168
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<CancellationToken>;
172
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<CancellationToken>;
169
173
 
170
174
  // Structural method bridges for numeric interface constraints
171
175
  Equals(other: CancellationToken): boolean;
@@ -178,7 +182,7 @@ export class CancellationTokenRegistration$instance {
178
182
  readonly token: CancellationToken;
179
183
  dispose(): void;
180
184
  disposeAsync(): ValueTask;
181
- equals(obj: any): boolean;
185
+ equals(obj: unknown): boolean;
182
186
  equals(other: CancellationTokenRegistration): boolean;
183
187
  getHashCode(): int;
184
188
  unregister(): boolean;
@@ -186,14 +190,16 @@ export class CancellationTokenRegistration$instance {
186
190
 
187
191
 
188
192
  export interface __CancellationTokenRegistration$views {
189
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
190
- readonly As_IDisposable: System_Internal.IDisposable$instance;
191
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<CancellationTokenRegistration>;
193
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
194
+ As_IDisposable(): System_Internal.IDisposable$instance;
195
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<CancellationTokenRegistration>;
192
196
 
193
197
  // Structural method bridges for numeric interface constraints
194
198
  Equals(other: CancellationTokenRegistration): boolean;
195
199
  }
196
200
 
201
+ export interface CancellationTokenRegistration$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
202
+
197
203
  export type CancellationTokenRegistration = CancellationTokenRegistration$instance & __CancellationTokenRegistration$views;
198
204
 
199
205
 
@@ -205,14 +211,14 @@ export class Lock_Scope$instance {
205
211
  export type Lock_Scope = Lock_Scope$instance;
206
212
 
207
213
  export class LockCookie$instance {
208
- equals(obj: any): boolean;
214
+ equals(obj: unknown): boolean;
209
215
  equals(obj: LockCookie): boolean;
210
216
  getHashCode(): int;
211
217
  }
212
218
 
213
219
 
214
220
  export interface __LockCookie$views {
215
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<LockCookie>;
221
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<LockCookie>;
216
222
 
217
223
  // Structural method bridges for numeric interface constraints
218
224
  Equals(other: LockCookie): boolean;
@@ -230,11 +236,11 @@ export class NamedWaitHandleOptions$instance {
230
236
  export type NamedWaitHandleOptions = NamedWaitHandleOptions$instance;
231
237
 
232
238
  export class NativeOverlapped$instance {
233
- InternalLow: nint;
234
- InternalHigh: nint;
235
- OffsetLow: int;
236
- OffsetHigh: int;
237
- EventHandle: nint;
239
+ internalLow: nint;
240
+ internalHigh: nint;
241
+ offsetLow: int;
242
+ offsetHigh: int;
243
+ eventHandle: nint;
238
244
  }
239
245
 
240
246
 
@@ -262,9 +268,9 @@ export class SpinWait$instance {
262
268
  reset(): void;
263
269
  spinOnce(): void;
264
270
  spinOnce(sleep1Threshold: int): void;
265
- static SpinUntil(condition: Func_1<CLROf<boolean>>, millisecondsTimeout: int): boolean;
266
- static SpinUntil(condition: Func_1<CLROf<boolean>>, timeout: TimeSpan): boolean;
267
- static SpinUntil(condition: Func_1<CLROf<boolean>>): void;
271
+ static spinUntil3(condition: Func_1<CLROf<boolean>>, millisecondsTimeout: int): boolean;
272
+ static spinUntil3(condition: Func_1<CLROf<boolean>>, timeout: TimeSpan): boolean;
273
+ static spinUntil3(condition: Func_1<CLROf<boolean>>): void;
268
274
  }
269
275
 
270
276
 
@@ -284,7 +290,7 @@ export class AbandonedMutexException$instance extends System_Internal.SystemExce
284
290
 
285
291
 
286
292
  export interface __AbandonedMutexException$views {
287
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
293
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
288
294
  }
289
295
 
290
296
  export type AbandonedMutexException = AbandonedMutexException$instance & __AbandonedMutexException$views;
@@ -306,7 +312,7 @@ export class AutoResetEvent$instance extends EventWaitHandle$instance {
306
312
 
307
313
 
308
314
  export interface __AutoResetEvent$views {
309
- readonly As_IDisposable: System_Internal.IDisposable$instance;
315
+ As_IDisposable(): System_Internal.IDisposable$instance;
310
316
  }
311
317
 
312
318
  export type AutoResetEvent = AutoResetEvent$instance & __AutoResetEvent$views;
@@ -333,9 +339,11 @@ export class Barrier$instance {
333
339
 
334
340
 
335
341
  export interface __Barrier$views {
336
- readonly As_IDisposable: System_Internal.IDisposable$instance;
342
+ As_IDisposable(): System_Internal.IDisposable$instance;
337
343
  }
338
344
 
345
+ export interface Barrier$instance extends System_Internal.IDisposable$instance {}
346
+
339
347
  export type Barrier = Barrier$instance & __Barrier$views;
340
348
 
341
349
 
@@ -349,7 +357,7 @@ export class BarrierPostPhaseException$instance extends System_Internal.Exceptio
349
357
 
350
358
 
351
359
  export interface __BarrierPostPhaseException$views {
352
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
360
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
353
361
  }
354
362
 
355
363
  export type BarrierPostPhaseException = BarrierPostPhaseException$instance & __BarrierPostPhaseException$views;
@@ -369,49 +377,53 @@ export class CancellationTokenSource$instance {
369
377
  cancelAsync(): Task;
370
378
  dispose(): void;
371
379
  tryReset(): boolean;
372
- static CreateLinkedTokenSource(tokens: ReadOnlySpan_1<CancellationToken>): CancellationTokenSource;
373
- static CreateLinkedTokenSource(token1: CancellationToken, token2: CancellationToken): CancellationTokenSource;
374
- static CreateLinkedTokenSource(token: CancellationToken): CancellationTokenSource;
375
- static CreateLinkedTokenSource(tokens: CancellationToken[]): CancellationTokenSource;
380
+ static createLinkedTokenSource4(tokens: ReadOnlySpan_1<CancellationToken>): CancellationTokenSource;
381
+ static createLinkedTokenSource4(token1: CancellationToken, token2: CancellationToken): CancellationTokenSource;
382
+ static createLinkedTokenSource4(token: CancellationToken): CancellationTokenSource;
383
+ static createLinkedTokenSource4(tokens: CancellationToken[]): CancellationTokenSource;
376
384
  }
377
385
 
378
386
 
379
387
  export interface __CancellationTokenSource$views {
380
- readonly As_IDisposable: System_Internal.IDisposable$instance;
388
+ As_IDisposable(): System_Internal.IDisposable$instance;
381
389
  }
382
390
 
391
+ export interface CancellationTokenSource$instance extends System_Internal.IDisposable$instance {}
392
+
383
393
  export type CancellationTokenSource = CancellationTokenSource$instance & __CancellationTokenSource$views;
384
394
 
385
395
 
386
396
  export class CompressedStack$instance {
387
397
  createCopy(): CompressedStack;
388
398
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
389
- static Capture(): CompressedStack;
390
- static GetCompressedStack(): CompressedStack;
391
- static Run(compressedStack: CompressedStack, callback: ContextCallback, state: any): void;
399
+ static capture(): CompressedStack;
400
+ static getCompressedStack(): CompressedStack;
401
+ static run(compressedStack: CompressedStack, callback: ContextCallback, state: unknown): void;
392
402
  }
393
403
 
394
404
 
395
405
  export interface __CompressedStack$views {
396
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
406
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
397
407
  }
398
408
 
409
+ export interface CompressedStack$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
410
+
399
411
  export type CompressedStack = CompressedStack$instance & __CompressedStack$views;
400
412
 
401
413
 
402
414
  export class ContextCallback$instance extends Function {
403
- constructor(object_: any, method: nint);
404
- beginInvoke(state: any, callback: AsyncCallback, object_: any): IAsyncResult;
405
- clone(): any;
415
+ constructor(object_: unknown, method: nint);
416
+ beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
417
+ clone(): unknown;
406
418
  endInvoke(result: IAsyncResult): void;
407
419
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
408
- invoke(state: any): void;
420
+ invoke(state: unknown): void;
409
421
  }
410
422
 
411
423
 
412
424
  export interface __ContextCallback$views {
413
- readonly As_ICloneable: System_Internal.ICloneable$instance;
414
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
425
+ As_ICloneable(): System_Internal.ICloneable$instance;
426
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
415
427
  }
416
428
 
417
429
  export type ContextCallback = ContextCallback$instance & __ContextCallback$views;
@@ -442,9 +454,11 @@ export class CountdownEvent$instance {
442
454
 
443
455
 
444
456
  export interface __CountdownEvent$views {
445
- readonly As_IDisposable: System_Internal.IDisposable$instance;
457
+ As_IDisposable(): System_Internal.IDisposable$instance;
446
458
  }
447
459
 
460
+ export interface CountdownEvent$instance extends System_Internal.IDisposable$instance {}
461
+
448
462
  export type CountdownEvent = CountdownEvent$instance & __CountdownEvent$views;
449
463
 
450
464
 
@@ -457,15 +471,15 @@ export class EventWaitHandle$instance extends WaitHandle$instance {
457
471
  dispose(): void;
458
472
  reset(): boolean;
459
473
  set_(): boolean;
460
- static OpenExisting(name: string, options: NamedWaitHandleOptions): EventWaitHandle;
461
- static OpenExisting(name: string): EventWaitHandle;
462
- static TryOpenExisting(name: string, result: { value: ref<EventWaitHandle> }): boolean;
463
- static TryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<EventWaitHandle> }): boolean;
474
+ static openExisting(name: string, options: NamedWaitHandleOptions): EventWaitHandle;
475
+ static openExisting(name: string): EventWaitHandle;
476
+ static tryOpenExisting2(name: string, result: { value: ref<EventWaitHandle> }): boolean;
477
+ static tryOpenExisting2(name: string, options: NamedWaitHandleOptions, result: { value: ref<EventWaitHandle> }): boolean;
464
478
  }
465
479
 
466
480
 
467
481
  export interface __EventWaitHandle$views {
468
- readonly As_IDisposable: System_Internal.IDisposable$instance;
482
+ As_IDisposable(): System_Internal.IDisposable$instance;
469
483
  }
470
484
 
471
485
  export type EventWaitHandle = EventWaitHandle$instance & __EventWaitHandle$views;
@@ -475,26 +489,28 @@ export class ExecutionContext$instance {
475
489
  createCopy(): ExecutionContext;
476
490
  dispose(): void;
477
491
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
478
- static Capture(): ExecutionContext;
479
- static IsFlowSuppressed(): boolean;
480
- static Restore(executionContext: ExecutionContext): void;
481
- static RestoreFlow(): void;
482
- static Run(executionContext: ExecutionContext, callback: ContextCallback, state: any): void;
483
- static SuppressFlow(): AsyncFlowControl;
492
+ static capture(): ExecutionContext;
493
+ static isFlowSuppressed(): boolean;
494
+ static restore(executionContext: ExecutionContext): void;
495
+ static restoreFlow(): void;
496
+ static run(executionContext: ExecutionContext, callback: ContextCallback, state: unknown): void;
497
+ static suppressFlow(): AsyncFlowControl;
484
498
  }
485
499
 
486
500
 
487
501
  export interface __ExecutionContext$views {
488
- readonly As_IDisposable: System_Internal.IDisposable$instance;
489
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
502
+ As_IDisposable(): System_Internal.IDisposable$instance;
503
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
490
504
  }
491
505
 
506
+ export interface ExecutionContext$instance extends System_Internal.IDisposable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
507
+
492
508
  export type ExecutionContext = ExecutionContext$instance & __ExecutionContext$views;
493
509
 
494
510
 
495
511
  export class HostExecutionContext$instance {
496
512
  constructor();
497
- constructor(state: any);
513
+ constructor(state: unknown);
498
514
  createCopy(): HostExecutionContext;
499
515
  dispose(): void;
500
516
  dispose(disposing: boolean): void;
@@ -502,26 +518,28 @@ export class HostExecutionContext$instance {
502
518
 
503
519
 
504
520
  export interface __HostExecutionContext$views {
505
- readonly As_IDisposable: System_Internal.IDisposable$instance;
521
+ As_IDisposable(): System_Internal.IDisposable$instance;
506
522
  }
507
523
 
524
+ export interface HostExecutionContext$instance extends System_Internal.IDisposable$instance {}
525
+
508
526
  export type HostExecutionContext = HostExecutionContext$instance & __HostExecutionContext$views;
509
527
 
510
528
 
511
529
  export class HostExecutionContextManager$instance {
512
530
  constructor();
513
531
  capture(): HostExecutionContext;
514
- revert(previousState: any): void;
515
- setHostExecutionContext(hostExecutionContext: HostExecutionContext): any;
532
+ revert(previousState: unknown): void;
533
+ setHostExecutionContext(hostExecutionContext: HostExecutionContext): unknown;
516
534
  }
517
535
 
518
536
 
519
537
  export type HostExecutionContextManager = HostExecutionContextManager$instance;
520
538
 
521
539
  export class IOCompletionCallback$instance extends Function {
522
- constructor(object_: any, method: nint);
523
- beginInvoke(errorCode: uint, numBytes: uint, pOVERLAP: ptr<NativeOverlapped>, callback: AsyncCallback, object_: any): IAsyncResult;
524
- clone(): any;
540
+ constructor(object_: unknown, method: nint);
541
+ beginInvoke(errorCode: uint, numBytes: uint, pOVERLAP: ptr<NativeOverlapped>, callback: AsyncCallback, object_: unknown): IAsyncResult;
542
+ clone(): unknown;
525
543
  endInvoke(result: IAsyncResult): void;
526
544
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
527
545
  invoke(errorCode: uint, numBytes: uint, pOVERLAP: ptr<NativeOverlapped>): void;
@@ -529,8 +547,8 @@ export class IOCompletionCallback$instance extends Function {
529
547
 
530
548
 
531
549
  export interface __IOCompletionCallback$views {
532
- readonly As_ICloneable: System_Internal.ICloneable$instance;
533
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
550
+ As_ICloneable(): System_Internal.ICloneable$instance;
551
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
534
552
  }
535
553
 
536
554
  export type IOCompletionCallback = IOCompletionCallback$instance & __IOCompletionCallback$views;
@@ -559,7 +577,7 @@ export class LockRecursionException$instance extends System_Internal.Exception$i
559
577
 
560
578
 
561
579
  export interface __LockRecursionException$views {
562
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
580
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
563
581
  }
564
582
 
565
583
  export type LockRecursionException = LockRecursionException$instance & __LockRecursionException$views;
@@ -572,7 +590,7 @@ export class ManualResetEvent$instance extends EventWaitHandle$instance {
572
590
 
573
591
 
574
592
  export interface __ManualResetEvent$views {
575
- readonly As_IDisposable: System_Internal.IDisposable$instance;
593
+ As_IDisposable(): System_Internal.IDisposable$instance;
576
594
  }
577
595
 
578
596
  export type ManualResetEvent = ManualResetEvent$instance & __ManualResetEvent$views;
@@ -598,9 +616,11 @@ export class ManualResetEventSlim$instance {
598
616
 
599
617
 
600
618
  export interface __ManualResetEventSlim$views {
601
- readonly As_IDisposable: System_Internal.IDisposable$instance;
619
+ As_IDisposable(): System_Internal.IDisposable$instance;
602
620
  }
603
621
 
622
+ export interface ManualResetEventSlim$instance extends System_Internal.IDisposable$instance {}
623
+
604
624
  export type ManualResetEventSlim = ManualResetEventSlim$instance & __ManualResetEventSlim$views;
605
625
 
606
626
 
@@ -614,15 +634,15 @@ export class Mutex$instance extends WaitHandle$instance {
614
634
  constructor();
615
635
  dispose(): void;
616
636
  releaseMutex(): void;
617
- static OpenExisting(name: string, options: NamedWaitHandleOptions): Mutex;
618
- static OpenExisting(name: string): Mutex;
619
- static TryOpenExisting(name: string, result: { value: ref<Mutex> }): boolean;
620
- static TryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<Mutex> }): boolean;
637
+ static openExisting(name: string, options: NamedWaitHandleOptions): Mutex;
638
+ static openExisting(name: string): Mutex;
639
+ static tryOpenExisting2(name: string, result: { value: ref<Mutex> }): boolean;
640
+ static tryOpenExisting2(name: string, options: NamedWaitHandleOptions, result: { value: ref<Mutex> }): boolean;
621
641
  }
622
642
 
623
643
 
624
644
  export interface __Mutex$views {
625
- readonly As_IDisposable: System_Internal.IDisposable$instance;
645
+ As_IDisposable(): System_Internal.IDisposable$instance;
626
646
  }
627
647
 
628
648
  export type Mutex = Mutex$instance & __Mutex$views;
@@ -638,29 +658,29 @@ export class Overlapped$instance {
638
658
  offsetHigh: int;
639
659
  offsetLow: int;
640
660
  pack(iocb: IOCompletionCallback): ptr<NativeOverlapped>;
641
- pack(iocb: IOCompletionCallback, userData: any): ptr<NativeOverlapped>;
661
+ pack(iocb: IOCompletionCallback, userData: unknown): ptr<NativeOverlapped>;
642
662
  unsafePack(iocb: IOCompletionCallback): ptr<NativeOverlapped>;
643
- unsafePack(iocb: IOCompletionCallback, userData: any): ptr<NativeOverlapped>;
644
- static Free(nativeOverlappedPtr: ptr<NativeOverlapped>): void;
645
- static Unpack(nativeOverlappedPtr: ptr<NativeOverlapped>): Overlapped;
663
+ unsafePack(iocb: IOCompletionCallback, userData: unknown): ptr<NativeOverlapped>;
664
+ static free(nativeOverlappedPtr: ptr<NativeOverlapped>): void;
665
+ static unpack(nativeOverlappedPtr: ptr<NativeOverlapped>): Overlapped;
646
666
  }
647
667
 
648
668
 
649
669
  export type Overlapped = Overlapped$instance;
650
670
 
651
671
  export class ParameterizedThreadStart$instance extends Function {
652
- constructor(object_: any, method: nint);
653
- beginInvoke(obj: any, callback: AsyncCallback, object_: any): IAsyncResult;
654
- clone(): any;
672
+ constructor(object_: unknown, method: nint);
673
+ beginInvoke(obj: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
674
+ clone(): unknown;
655
675
  endInvoke(result: IAsyncResult): void;
656
676
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
657
- invoke(obj: any): void;
677
+ invoke(obj: unknown): void;
658
678
  }
659
679
 
660
680
 
661
681
  export interface __ParameterizedThreadStart$views {
662
- readonly As_ICloneable: System_Internal.ICloneable$instance;
663
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
682
+ As_ICloneable(): System_Internal.ICloneable$instance;
683
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
664
684
  }
665
685
 
666
686
  export type ParameterizedThreadStart = ParameterizedThreadStart$instance & __ParameterizedThreadStart$views;
@@ -676,23 +696,27 @@ export class PeriodicTimer$instance {
676
696
 
677
697
 
678
698
  export interface __PeriodicTimer$views {
679
- readonly As_IDisposable: System_Internal.IDisposable$instance;
699
+ As_IDisposable(): System_Internal.IDisposable$instance;
680
700
  }
681
701
 
702
+ export interface PeriodicTimer$instance extends System_Internal.IDisposable$instance {}
703
+
682
704
  export type PeriodicTimer = PeriodicTimer$instance & __PeriodicTimer$views;
683
705
 
684
706
 
685
707
  export class PreAllocatedOverlapped$instance {
686
- constructor(callback: IOCompletionCallback, state: any, pinData: any);
708
+ constructor(callback: IOCompletionCallback, state: unknown, pinData: unknown);
687
709
  dispose(): void;
688
- static UnsafeCreate(callback: IOCompletionCallback, state: any, pinData: any): PreAllocatedOverlapped;
710
+ static unsafeCreate(callback: IOCompletionCallback, state: unknown, pinData: unknown): PreAllocatedOverlapped;
689
711
  }
690
712
 
691
713
 
692
714
  export interface __PreAllocatedOverlapped$views {
693
- readonly As_IDisposable: System_Internal.IDisposable$instance;
715
+ As_IDisposable(): System_Internal.IDisposable$instance;
694
716
  }
695
717
 
718
+ export interface PreAllocatedOverlapped$instance extends System_Internal.IDisposable$instance {}
719
+
696
720
  export type PreAllocatedOverlapped = PreAllocatedOverlapped$instance & __PreAllocatedOverlapped$views;
697
721
 
698
722
 
@@ -749,9 +773,11 @@ export class ReaderWriterLockSlim$instance {
749
773
 
750
774
 
751
775
  export interface __ReaderWriterLockSlim$views {
752
- readonly As_IDisposable: System_Internal.IDisposable$instance;
776
+ As_IDisposable(): System_Internal.IDisposable$instance;
753
777
  }
754
778
 
779
+ export interface ReaderWriterLockSlim$instance extends System_Internal.IDisposable$instance {}
780
+
755
781
  export type ReaderWriterLockSlim = ReaderWriterLockSlim$instance & __ReaderWriterLockSlim$views;
756
782
 
757
783
 
@@ -771,15 +797,15 @@ export class Semaphore$instance extends WaitHandle$instance {
771
797
  dispose(): void;
772
798
  release(): int;
773
799
  release(releaseCount: int): int;
774
- static OpenExisting(name: string, options: NamedWaitHandleOptions): Semaphore;
775
- static OpenExisting(name: string): Semaphore;
776
- static TryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<Semaphore> }): boolean;
777
- static TryOpenExisting(name: string, result: { value: ref<Semaphore> }): boolean;
800
+ static openExisting(name: string, options: NamedWaitHandleOptions): Semaphore;
801
+ static openExisting(name: string): Semaphore;
802
+ static tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<Semaphore> }): boolean;
803
+ static tryOpenExisting(name: string, result: { value: ref<Semaphore> }): boolean;
778
804
  }
779
805
 
780
806
 
781
807
  export interface __Semaphore$views {
782
- readonly As_IDisposable: System_Internal.IDisposable$instance;
808
+ As_IDisposable(): System_Internal.IDisposable$instance;
783
809
  }
784
810
 
785
811
  export type Semaphore = Semaphore$instance & __Semaphore$views;
@@ -794,7 +820,7 @@ export class SemaphoreFullException$instance extends System_Internal.SystemExcep
794
820
 
795
821
 
796
822
  export interface __SemaphoreFullException$views {
797
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
823
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
798
824
  }
799
825
 
800
826
  export type SemaphoreFullException = SemaphoreFullException$instance & __SemaphoreFullException$views;
@@ -824,25 +850,27 @@ export class SemaphoreSlim$instance {
824
850
 
825
851
 
826
852
  export interface __SemaphoreSlim$views {
827
- readonly As_IDisposable: System_Internal.IDisposable$instance;
853
+ As_IDisposable(): System_Internal.IDisposable$instance;
828
854
  }
829
855
 
856
+ export interface SemaphoreSlim$instance extends System_Internal.IDisposable$instance {}
857
+
830
858
  export type SemaphoreSlim = SemaphoreSlim$instance & __SemaphoreSlim$views;
831
859
 
832
860
 
833
861
  export class SendOrPostCallback$instance extends Function {
834
- constructor(object_: any, method: nint);
835
- beginInvoke(state: any, callback: AsyncCallback, object_: any): IAsyncResult;
836
- clone(): any;
862
+ constructor(object_: unknown, method: nint);
863
+ beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
864
+ clone(): unknown;
837
865
  endInvoke(result: IAsyncResult): void;
838
866
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
839
- invoke(state: any): void;
867
+ invoke(state: unknown): void;
840
868
  }
841
869
 
842
870
 
843
871
  export interface __SendOrPostCallback$views {
844
- readonly As_ICloneable: System_Internal.ICloneable$instance;
845
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
872
+ As_ICloneable(): System_Internal.ICloneable$instance;
873
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
846
874
  }
847
875
 
848
876
  export type SendOrPostCallback = SendOrPostCallback$instance & __SendOrPostCallback$views;
@@ -854,11 +882,11 @@ export class SynchronizationContext$instance {
854
882
  isWaitNotificationRequired(): boolean;
855
883
  operationCompleted(): void;
856
884
  operationStarted(): void;
857
- post(d: SendOrPostCallback, state: any): void;
858
- send(d: SendOrPostCallback, state: any): void;
885
+ post(d: SendOrPostCallback, state: unknown): void;
886
+ send(d: SendOrPostCallback, state: unknown): void;
859
887
  wait(waitHandles: nint[], waitAll: boolean, millisecondsTimeout: int): int;
860
- static readonly Current: SynchronizationContext;
861
- static SetSynchronizationContext(syncContext: SynchronizationContext): void;
888
+ static readonly current: SynchronizationContext;
889
+ static setSynchronizationContext(syncContext: SynchronizationContext): void;
862
890
  }
863
891
 
864
892
 
@@ -873,7 +901,7 @@ export class SynchronizationLockException$instance extends System_Internal.Syste
873
901
 
874
902
 
875
903
  export interface __SynchronizationLockException$views {
876
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
904
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
877
905
  }
878
906
 
879
907
  export type SynchronizationLockException = SynchronizationLockException$instance & __SynchronizationLockException$views;
@@ -896,7 +924,7 @@ export class Thread$instance extends System_Runtime_ConstrainedExecution_Interna
896
924
  priority: ThreadPriority;
897
925
  readonly threadState: ThreadState;
898
926
  abort(): void;
899
- abort(stateInfo: any): void;
927
+ abort(stateInfo: unknown): void;
900
928
  disableComObjectEagerCleanup(): void;
901
929
  getApartmentState(): ApartmentState;
902
930
  getCompressedStack(): CompressedStack;
@@ -908,72 +936,72 @@ export class Thread$instance extends System_Runtime_ConstrainedExecution_Interna
908
936
  resume(): void;
909
937
  setApartmentState(state: ApartmentState): void;
910
938
  setCompressedStack(stack: CompressedStack): void;
911
- start(parameter: any): void;
939
+ start(parameter: unknown): void;
912
940
  start(): void;
913
941
  suspend(): void;
914
942
  trySetApartmentState(state: ApartmentState): boolean;
915
- unsafeStart(parameter: any): void;
943
+ unsafeStart(parameter: unknown): void;
916
944
  unsafeStart(): void;
917
- static CurrentPrincipal: IPrincipal;
918
- static readonly CurrentThread: Thread;
919
- static AllocateDataSlot(): LocalDataStoreSlot;
920
- static AllocateNamedDataSlot(name: string): LocalDataStoreSlot;
921
- static BeginCriticalRegion(): void;
922
- static BeginThreadAffinity(): void;
923
- static EndCriticalRegion(): void;
924
- static EndThreadAffinity(): void;
925
- static FreeNamedDataSlot(name: string): void;
926
- static GetCurrentProcessorId(): int;
927
- static GetData(slot: LocalDataStoreSlot): any;
928
- static GetDomain(): AppDomain;
929
- static GetDomainID(): int;
930
- static GetNamedDataSlot(name: string): LocalDataStoreSlot;
931
- static MemoryBarrier(): void;
932
- static ResetAbort(): void;
933
- static SetData(slot: LocalDataStoreSlot, data: any): void;
934
- static Sleep(millisecondsTimeout: int): void;
935
- static Sleep(timeout: TimeSpan): void;
936
- static SpinWait(iterations: int): void;
937
- static VolatileRead(address: { value: ref<byte> }): byte;
938
- static VolatileRead(address: { value: ref<double> }): double;
939
- static VolatileRead(address: { value: ref<short> }): short;
940
- static VolatileRead(address: { value: ref<int> }): int;
941
- static VolatileRead(address: { value: ref<long> }): long;
942
- static VolatileRead(address: { value: ref<nint> }): nint;
943
- static VolatileRead(address: { value: ref<any> }): any;
944
- static VolatileRead(address: { value: ref<sbyte> }): sbyte;
945
- static VolatileRead(address: { value: ref<float> }): float;
946
- static VolatileRead(address: { value: ref<ushort> }): ushort;
947
- static VolatileRead(address: { value: ref<uint> }): uint;
948
- static VolatileRead(address: { value: ref<ulong> }): ulong;
949
- static VolatileRead(address: { value: ref<nuint> }): nuint;
950
- static VolatileWrite(address: { value: ref<byte> }, value: byte): void;
951
- static VolatileWrite(address: { value: ref<double> }, value: double): void;
952
- static VolatileWrite(address: { value: ref<short> }, value: short): void;
953
- static VolatileWrite(address: { value: ref<int> }, value: int): void;
954
- static VolatileWrite(address: { value: ref<long> }, value: long): void;
955
- static VolatileWrite(address: { value: ref<nint> }, value: nint): void;
956
- static VolatileWrite(address: { value: ref<any> }, value: any): void;
957
- static VolatileWrite(address: { value: ref<sbyte> }, value: sbyte): void;
958
- static VolatileWrite(address: { value: ref<float> }, value: float): void;
959
- static VolatileWrite(address: { value: ref<ushort> }, value: ushort): void;
960
- static VolatileWrite(address: { value: ref<uint> }, value: uint): void;
961
- static VolatileWrite(address: { value: ref<ulong> }, value: ulong): void;
962
- static VolatileWrite(address: { value: ref<nuint> }, value: nuint): void;
963
- static Yield(): boolean;
945
+ static currentPrincipal: IPrincipal;
946
+ static readonly currentThread: Thread;
947
+ static allocateDataSlot(): LocalDataStoreSlot;
948
+ static allocateNamedDataSlot(name: string): LocalDataStoreSlot;
949
+ static beginCriticalRegion(): void;
950
+ static beginThreadAffinity(): void;
951
+ static endCriticalRegion(): void;
952
+ static endThreadAffinity(): void;
953
+ static freeNamedDataSlot(name: string): void;
954
+ static getCurrentProcessorId(): int;
955
+ static getData(slot: LocalDataStoreSlot): unknown;
956
+ static getDomain(): AppDomain;
957
+ static getDomainID(): int;
958
+ static getNamedDataSlot(name: string): LocalDataStoreSlot;
959
+ static memoryBarrier(): void;
960
+ static resetAbort(): void;
961
+ static setData(slot: LocalDataStoreSlot, data: unknown): void;
962
+ static sleep(millisecondsTimeout: int): void;
963
+ static sleep(timeout: TimeSpan): void;
964
+ static spinWait(iterations: int): void;
965
+ static volatileRead(address: { value: ref<byte> }): byte;
966
+ static volatileRead(address: { value: ref<double> }): double;
967
+ static volatileRead(address: { value: ref<short> }): short;
968
+ static volatileRead(address: { value: ref<int> }): int;
969
+ static volatileRead(address: { value: ref<long> }): long;
970
+ static volatileRead(address: { value: ref<nint> }): nint;
971
+ static volatileRead(address: { value: ref<unknown> }): unknown;
972
+ static volatileRead(address: { value: ref<sbyte> }): sbyte;
973
+ static volatileRead(address: { value: ref<float> }): float;
974
+ static volatileRead(address: { value: ref<ushort> }): ushort;
975
+ static volatileRead(address: { value: ref<uint> }): uint;
976
+ static volatileRead(address: { value: ref<ulong> }): ulong;
977
+ static volatileRead(address: { value: ref<nuint> }): nuint;
978
+ static volatileWrite(address: { value: ref<byte> }, value: byte): void;
979
+ static volatileWrite(address: { value: ref<double> }, value: double): void;
980
+ static volatileWrite(address: { value: ref<short> }, value: short): void;
981
+ static volatileWrite(address: { value: ref<int> }, value: int): void;
982
+ static volatileWrite(address: { value: ref<long> }, value: long): void;
983
+ static volatileWrite(address: { value: ref<nint> }, value: nint): void;
984
+ static volatileWrite(address: { value: ref<unknown> }, value: unknown): void;
985
+ static volatileWrite(address: { value: ref<sbyte> }, value: sbyte): void;
986
+ static volatileWrite(address: { value: ref<float> }, value: float): void;
987
+ static volatileWrite(address: { value: ref<ushort> }, value: ushort): void;
988
+ static volatileWrite(address: { value: ref<uint> }, value: uint): void;
989
+ static volatileWrite(address: { value: ref<ulong> }, value: ulong): void;
990
+ static volatileWrite(address: { value: ref<nuint> }, value: nuint): void;
991
+ static yield_(): boolean;
964
992
  }
965
993
 
966
994
 
967
995
  export type Thread = Thread$instance;
968
996
 
969
997
  export class ThreadAbortException$instance extends System_Internal.SystemException$instance {
970
- readonly exceptionState: any;
998
+ readonly exceptionState: unknown;
971
999
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
972
1000
  }
973
1001
 
974
1002
 
975
1003
  export interface __ThreadAbortException$views {
976
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1004
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
977
1005
  }
978
1006
 
979
1007
  export type ThreadAbortException = ThreadAbortException$instance & __ThreadAbortException$views;
@@ -988,18 +1016,18 @@ export class ThreadExceptionEventArgs$instance extends System_Internal.EventArgs
988
1016
  export type ThreadExceptionEventArgs = ThreadExceptionEventArgs$instance;
989
1017
 
990
1018
  export class ThreadExceptionEventHandler$instance extends Function {
991
- constructor(object_: any, method: nint);
992
- beginInvoke(sender: any, e: ThreadExceptionEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
993
- clone(): any;
1019
+ constructor(object_: unknown, method: nint);
1020
+ beginInvoke(sender: unknown, e: ThreadExceptionEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
1021
+ clone(): unknown;
994
1022
  endInvoke(result: IAsyncResult): void;
995
1023
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
996
- invoke(sender: any, e: ThreadExceptionEventArgs): void;
1024
+ invoke(sender: unknown, e: ThreadExceptionEventArgs): void;
997
1025
  }
998
1026
 
999
1027
 
1000
1028
  export interface __ThreadExceptionEventHandler$views {
1001
- readonly As_ICloneable: System_Internal.ICloneable$instance;
1002
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1029
+ As_ICloneable(): System_Internal.ICloneable$instance;
1030
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1003
1031
  }
1004
1032
 
1005
1033
  export type ThreadExceptionEventHandler = ThreadExceptionEventHandler$instance & __ThreadExceptionEventHandler$views;
@@ -1014,7 +1042,7 @@ export class ThreadInterruptedException$instance extends System_Internal.SystemE
1014
1042
 
1015
1043
 
1016
1044
  export interface __ThreadInterruptedException$views {
1017
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1045
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1018
1046
  }
1019
1047
 
1020
1048
  export type ThreadInterruptedException = ThreadInterruptedException$instance & __ThreadInterruptedException$views;
@@ -1034,35 +1062,39 @@ export class ThreadLocal_1$instance<T> {
1034
1062
 
1035
1063
 
1036
1064
  export interface __ThreadLocal_1$views<T> {
1037
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1065
+ As_IDisposable(): System_Internal.IDisposable$instance;
1038
1066
  }
1039
1067
 
1068
+ export interface ThreadLocal_1$instance<T> extends System_Internal.IDisposable$instance {}
1069
+
1040
1070
  export type ThreadLocal_1<T> = ThreadLocal_1$instance<T> & __ThreadLocal_1$views<T>;
1041
1071
 
1042
1072
 
1043
1073
  export class ThreadPoolBoundHandle$instance {
1044
1074
  readonly handle: SafeHandle;
1045
- allocateNativeOverlapped(callback: IOCompletionCallback, state: any, pinData: any): ptr<NativeOverlapped>;
1075
+ allocateNativeOverlapped(callback: IOCompletionCallback, state: unknown, pinData: unknown): ptr<NativeOverlapped>;
1046
1076
  allocateNativeOverlapped(preAllocated: PreAllocatedOverlapped): ptr<NativeOverlapped>;
1047
1077
  dispose(): void;
1048
1078
  freeNativeOverlapped(overlapped: ptr<NativeOverlapped>): void;
1049
- unsafeAllocateNativeOverlapped(callback: IOCompletionCallback, state: any, pinData: any): ptr<NativeOverlapped>;
1050
- static BindHandle(handle: SafeHandle): ThreadPoolBoundHandle;
1051
- static GetNativeOverlappedState(overlapped: ptr<NativeOverlapped>): any;
1079
+ unsafeAllocateNativeOverlapped(callback: IOCompletionCallback, state: unknown, pinData: unknown): ptr<NativeOverlapped>;
1080
+ static bindHandle(handle: SafeHandle): ThreadPoolBoundHandle;
1081
+ static getNativeOverlappedState(overlapped: ptr<NativeOverlapped>): unknown;
1052
1082
  }
1053
1083
 
1054
1084
 
1055
1085
  export interface __ThreadPoolBoundHandle$views {
1056
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1086
+ As_IDisposable(): System_Internal.IDisposable$instance;
1057
1087
  }
1058
1088
 
1089
+ export interface ThreadPoolBoundHandle$instance extends System_Internal.IDisposable$instance {}
1090
+
1059
1091
  export type ThreadPoolBoundHandle = ThreadPoolBoundHandle$instance & __ThreadPoolBoundHandle$views;
1060
1092
 
1061
1093
 
1062
1094
  export class ThreadStart$instance extends Function {
1063
- constructor(object_: any, method: nint);
1064
- beginInvoke(callback: AsyncCallback, object_: any): IAsyncResult;
1065
- clone(): any;
1095
+ constructor(object_: unknown, method: nint);
1096
+ beginInvoke(callback: AsyncCallback, object_: unknown): IAsyncResult;
1097
+ clone(): unknown;
1066
1098
  endInvoke(result: IAsyncResult): void;
1067
1099
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1068
1100
  invoke(): void;
@@ -1070,8 +1102,8 @@ export class ThreadStart$instance extends Function {
1070
1102
 
1071
1103
 
1072
1104
  export interface __ThreadStart$views {
1073
- readonly As_ICloneable: System_Internal.ICloneable$instance;
1074
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1105
+ As_ICloneable(): System_Internal.ICloneable$instance;
1106
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1075
1107
  }
1076
1108
 
1077
1109
  export type ThreadStart = ThreadStart$instance & __ThreadStart$views;
@@ -1083,7 +1115,7 @@ export class ThreadStartException$instance extends System_Internal.SystemExcepti
1083
1115
 
1084
1116
 
1085
1117
  export interface __ThreadStartException$views {
1086
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1118
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1087
1119
  }
1088
1120
 
1089
1121
  export type ThreadStartException = ThreadStartException$instance & __ThreadStartException$views;
@@ -1098,17 +1130,17 @@ export class ThreadStateException$instance extends System_Internal.SystemExcepti
1098
1130
 
1099
1131
 
1100
1132
  export interface __ThreadStateException$views {
1101
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1133
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1102
1134
  }
1103
1135
 
1104
1136
  export type ThreadStateException = ThreadStateException$instance & __ThreadStateException$views;
1105
1137
 
1106
1138
 
1107
1139
  export class Timer$instance extends System_Internal.MarshalByRefObject$instance {
1108
- constructor(callback: TimerCallback, state: any, dueTime: int, period: int);
1109
- constructor(callback: TimerCallback, state: any, dueTime: TimeSpan, period: TimeSpan);
1110
- constructor(callback: TimerCallback, state: any, dueTime: uint, period: uint);
1111
- constructor(callback: TimerCallback, state: any, dueTime: long, period: long);
1140
+ constructor(callback: TimerCallback, state: unknown, dueTime: int, period: int);
1141
+ constructor(callback: TimerCallback, state: unknown, dueTime: TimeSpan, period: TimeSpan);
1142
+ constructor(callback: TimerCallback, state: unknown, dueTime: uint, period: uint);
1143
+ constructor(callback: TimerCallback, state: unknown, dueTime: long, period: long);
1112
1144
  constructor(callback: TimerCallback);
1113
1145
  change(dueTime: int, period: int): boolean;
1114
1146
  change(dueTime: TimeSpan, period: TimeSpan): boolean;
@@ -1117,50 +1149,50 @@ export class Timer$instance extends System_Internal.MarshalByRefObject$instance
1117
1149
  dispose(notifyObject: WaitHandle): boolean;
1118
1150
  dispose(): void;
1119
1151
  disposeAsync(): ValueTask;
1120
- static readonly ActiveCount: long;
1152
+ static readonly activeCount: long;
1121
1153
  }
1122
1154
 
1123
1155
 
1124
1156
  export interface __Timer$views {
1125
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
1126
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1127
- readonly As_ITimer: ITimer$instance;
1157
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
1158
+ As_IDisposable(): System_Internal.IDisposable$instance;
1159
+ As_ITimer(): ITimer$instance;
1128
1160
  }
1129
1161
 
1130
1162
  export type Timer = Timer$instance & __Timer$views;
1131
1163
 
1132
1164
 
1133
1165
  export class TimerCallback$instance extends Function {
1134
- constructor(object_: any, method: nint);
1135
- beginInvoke(state: any, callback: AsyncCallback, object_: any): IAsyncResult;
1136
- clone(): any;
1166
+ constructor(object_: unknown, method: nint);
1167
+ beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
1168
+ clone(): unknown;
1137
1169
  endInvoke(result: IAsyncResult): void;
1138
1170
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1139
- invoke(state: any): void;
1171
+ invoke(state: unknown): void;
1140
1172
  }
1141
1173
 
1142
1174
 
1143
1175
  export interface __TimerCallback$views {
1144
- readonly As_ICloneable: System_Internal.ICloneable$instance;
1145
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1176
+ As_ICloneable(): System_Internal.ICloneable$instance;
1177
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1146
1178
  }
1147
1179
 
1148
1180
  export type TimerCallback = TimerCallback$instance & __TimerCallback$views;
1149
1181
 
1150
1182
 
1151
1183
  export class WaitCallback$instance extends Function {
1152
- constructor(object_: any, method: nint);
1153
- beginInvoke(state: any, callback: AsyncCallback, object_: any): IAsyncResult;
1154
- clone(): any;
1184
+ constructor(object_: unknown, method: nint);
1185
+ beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
1186
+ clone(): unknown;
1155
1187
  endInvoke(result: IAsyncResult): void;
1156
1188
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1157
- invoke(state: any): void;
1189
+ invoke(state: unknown): void;
1158
1190
  }
1159
1191
 
1160
1192
 
1161
1193
  export interface __WaitCallback$views {
1162
- readonly As_ICloneable: System_Internal.ICloneable$instance;
1163
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1194
+ As_ICloneable(): System_Internal.ICloneable$instance;
1195
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1164
1196
  }
1165
1197
 
1166
1198
  export type WaitCallback = WaitCallback$instance & __WaitCallback$views;
@@ -1176,27 +1208,29 @@ export abstract class WaitHandle$instance extends System_Internal.MarshalByRefOb
1176
1208
  waitOne(): boolean;
1177
1209
  waitOne(millisecondsTimeout: int, exitContext: boolean): boolean;
1178
1210
  waitOne(timeout: TimeSpan, exitContext: boolean): boolean;
1179
- static readonly WaitTimeout: int;
1180
- static SignalAndWait(toSignal: WaitHandle, toWaitOn: WaitHandle, millisecondsTimeout: int, exitContext: boolean): boolean;
1181
- static SignalAndWait(toSignal: WaitHandle, toWaitOn: WaitHandle, timeout: TimeSpan, exitContext: boolean): boolean;
1182
- static SignalAndWait(toSignal: WaitHandle, toWaitOn: WaitHandle): boolean;
1183
- static WaitAll(waitHandles: WaitHandle[], millisecondsTimeout: int, exitContext: boolean): boolean;
1184
- static WaitAll(waitHandles: WaitHandle[], millisecondsTimeout: int): boolean;
1185
- static WaitAll(waitHandles: WaitHandle[], timeout: TimeSpan, exitContext: boolean): boolean;
1186
- static WaitAll(waitHandles: WaitHandle[], timeout: TimeSpan): boolean;
1187
- static WaitAll(waitHandles: WaitHandle[]): boolean;
1188
- static WaitAny(waitHandles: WaitHandle[], millisecondsTimeout: int, exitContext: boolean): int;
1189
- static WaitAny(waitHandles: WaitHandle[], millisecondsTimeout: int): int;
1190
- static WaitAny(waitHandles: WaitHandle[], timeout: TimeSpan, exitContext: boolean): int;
1191
- static WaitAny(waitHandles: WaitHandle[], timeout: TimeSpan): int;
1192
- static WaitAny(waitHandles: WaitHandle[]): int;
1211
+ static readonly waitTimeout: int;
1212
+ static signalAndWait3(toSignal: WaitHandle, toWaitOn: WaitHandle, millisecondsTimeout: int, exitContext: boolean): boolean;
1213
+ static signalAndWait3(toSignal: WaitHandle, toWaitOn: WaitHandle, timeout: TimeSpan, exitContext: boolean): boolean;
1214
+ static signalAndWait3(toSignal: WaitHandle, toWaitOn: WaitHandle): boolean;
1215
+ static waitAll4(waitHandles: WaitHandle[], millisecondsTimeout: int, exitContext: boolean): boolean;
1216
+ static waitAll4(waitHandles: WaitHandle[], millisecondsTimeout: int): boolean;
1217
+ static waitAll4(waitHandles: WaitHandle[], timeout: TimeSpan, exitContext: boolean): boolean;
1218
+ static waitAll4(waitHandles: WaitHandle[], timeout: TimeSpan): boolean;
1219
+ static waitAll4(waitHandles: WaitHandle[]): boolean;
1220
+ static waitAny4(waitHandles: WaitHandle[], millisecondsTimeout: int, exitContext: boolean): int;
1221
+ static waitAny4(waitHandles: WaitHandle[], millisecondsTimeout: int): int;
1222
+ static waitAny4(waitHandles: WaitHandle[], timeout: TimeSpan, exitContext: boolean): int;
1223
+ static waitAny4(waitHandles: WaitHandle[], timeout: TimeSpan): int;
1224
+ static waitAny4(waitHandles: WaitHandle[]): int;
1193
1225
  }
1194
1226
 
1195
1227
 
1196
1228
  export interface __WaitHandle$views {
1197
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1229
+ As_IDisposable(): System_Internal.IDisposable$instance;
1198
1230
  }
1199
1231
 
1232
+ export interface WaitHandle$instance extends System_Internal.IDisposable$instance {}
1233
+
1200
1234
  export type WaitHandle = WaitHandle$instance & __WaitHandle$views;
1201
1235
 
1202
1236
 
@@ -1209,188 +1243,188 @@ export class WaitHandleCannotBeOpenedException$instance extends System_Internal.
1209
1243
 
1210
1244
 
1211
1245
  export interface __WaitHandleCannotBeOpenedException$views {
1212
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1246
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1213
1247
  }
1214
1248
 
1215
1249
  export type WaitHandleCannotBeOpenedException = WaitHandleCannotBeOpenedException$instance & __WaitHandleCannotBeOpenedException$views;
1216
1250
 
1217
1251
 
1218
1252
  export class WaitOrTimerCallback$instance extends Function {
1219
- constructor(object_: any, method: nint);
1220
- beginInvoke(state: any, timedOut: boolean, callback: AsyncCallback, object_: any): IAsyncResult;
1221
- clone(): any;
1253
+ constructor(object_: unknown, method: nint);
1254
+ beginInvoke(state: unknown, timedOut: boolean, callback: AsyncCallback, object_: unknown): IAsyncResult;
1255
+ clone(): unknown;
1222
1256
  endInvoke(result: IAsyncResult): void;
1223
1257
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1224
- invoke(state: any, timedOut: boolean): void;
1258
+ invoke(state: unknown, timedOut: boolean): void;
1225
1259
  }
1226
1260
 
1227
1261
 
1228
1262
  export interface __WaitOrTimerCallback$views {
1229
- readonly As_ICloneable: System_Internal.ICloneable$instance;
1230
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
1263
+ As_ICloneable(): System_Internal.ICloneable$instance;
1264
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
1231
1265
  }
1232
1266
 
1233
1267
  export type WaitOrTimerCallback = WaitOrTimerCallback$instance & __WaitOrTimerCallback$views;
1234
1268
 
1235
1269
 
1236
1270
  export abstract class EventWaitHandleAcl$instance {
1237
- static Create(initialState: boolean, mode: EventResetMode, name: string, createdNew: { value: ref<boolean> }, eventSecurity: EventWaitHandleSecurity): EventWaitHandle;
1238
- static OpenExisting(name: string, rights: EventWaitHandleRights): EventWaitHandle;
1239
- static TryOpenExisting(name: string, rights: EventWaitHandleRights, result: { value: ref<EventWaitHandle> }): boolean;
1271
+ static create(initialState: boolean, mode: EventResetMode, name: string, createdNew: { value: ref<boolean> }, eventSecurity: EventWaitHandleSecurity): EventWaitHandle;
1272
+ static openExisting(name: string, rights: EventWaitHandleRights): EventWaitHandle;
1273
+ static tryOpenExisting(name: string, rights: EventWaitHandleRights, result: { value: ref<EventWaitHandle> }): boolean;
1240
1274
  }
1241
1275
 
1242
1276
 
1243
1277
  export type EventWaitHandleAcl = EventWaitHandleAcl$instance;
1244
1278
 
1245
1279
  export abstract class Interlocked$instance {
1246
- static Add(location1: { value: ref<int> }, value: int): int;
1247
- static Add(location1: { value: ref<long> }, value: long): long;
1248
- static Add(location1: { value: ref<uint> }, value: uint): uint;
1249
- static Add(location1: { value: ref<ulong> }, value: ulong): ulong;
1250
- static And(location1: { value: ref<int> }, value: int): int;
1251
- static And(location1: { value: ref<long> }, value: long): long;
1252
- static And(location1: { value: ref<uint> }, value: uint): uint;
1253
- static And(location1: { value: ref<ulong> }, value: ulong): ulong;
1254
- static CompareExchange(location1: { value: ref<byte> }, value: byte, comparand: byte): byte;
1255
- static CompareExchange(location1: { value: ref<double> }, value: double, comparand: double): double;
1256
- static CompareExchange(location1: { value: ref<short> }, value: short, comparand: short): short;
1257
- static CompareExchange(location1: { value: ref<int> }, value: int, comparand: int): int;
1258
- static CompareExchange(location1: { value: ref<long> }, value: long, comparand: long): long;
1259
- static CompareExchange(location1: { value: ref<nint> }, value: nint, comparand: nint): nint;
1260
- static CompareExchange(location1: { value: ref<any> }, value: any, comparand: any): any;
1261
- static CompareExchange(location1: { value: ref<sbyte> }, value: sbyte, comparand: sbyte): sbyte;
1262
- static CompareExchange(location1: { value: ref<float> }, value: float, comparand: float): float;
1263
- static CompareExchange(location1: { value: ref<ushort> }, value: ushort, comparand: ushort): ushort;
1264
- static CompareExchange(location1: { value: ref<uint> }, value: uint, comparand: uint): uint;
1265
- static CompareExchange(location1: { value: ref<ulong> }, value: ulong, comparand: ulong): ulong;
1266
- static CompareExchange(location1: { value: ref<nuint> }, value: nuint, comparand: nuint): nuint;
1267
- static CompareExchange<T>(location1: { value: ref<T> }, value: T, comparand: T): T;
1268
- static Decrement(location: { value: ref<int> }): int;
1269
- static Decrement(location: { value: ref<long> }): long;
1270
- static Decrement(location: { value: ref<uint> }): uint;
1271
- static Decrement(location: { value: ref<ulong> }): ulong;
1272
- static Exchange(location1: { value: ref<byte> }, value: byte): byte;
1273
- static Exchange(location1: { value: ref<double> }, value: double): double;
1274
- static Exchange(location1: { value: ref<short> }, value: short): short;
1275
- static Exchange(location1: { value: ref<int> }, value: int): int;
1276
- static Exchange(location1: { value: ref<long> }, value: long): long;
1277
- static Exchange(location1: { value: ref<nint> }, value: nint): nint;
1278
- static Exchange(location1: { value: ref<any> }, value: any): any;
1279
- static Exchange(location1: { value: ref<sbyte> }, value: sbyte): sbyte;
1280
- static Exchange(location1: { value: ref<float> }, value: float): float;
1281
- static Exchange(location1: { value: ref<ushort> }, value: ushort): ushort;
1282
- static Exchange(location1: { value: ref<uint> }, value: uint): uint;
1283
- static Exchange(location1: { value: ref<ulong> }, value: ulong): ulong;
1284
- static Exchange(location1: { value: ref<nuint> }, value: nuint): nuint;
1285
- static Exchange<T>(location1: { value: ref<T> }, value: T): T;
1286
- static Increment(location: { value: ref<int> }): int;
1287
- static Increment(location: { value: ref<long> }): long;
1288
- static Increment(location: { value: ref<uint> }): uint;
1289
- static Increment(location: { value: ref<ulong> }): ulong;
1290
- static MemoryBarrier(): void;
1291
- static MemoryBarrierProcessWide(): void;
1292
- static Or(location1: { value: ref<int> }, value: int): int;
1293
- static Or(location1: { value: ref<long> }, value: long): long;
1294
- static Or(location1: { value: ref<uint> }, value: uint): uint;
1295
- static Or(location1: { value: ref<ulong> }, value: ulong): ulong;
1296
- static Read(location: { value: ref<long> }): long;
1297
- static Read(location: { value: ref<ulong> }): ulong;
1280
+ static add(location1: { value: ref<int> }, value: int): int;
1281
+ static add(location1: { value: ref<long> }, value: long): long;
1282
+ static add(location1: { value: ref<uint> }, value: uint): uint;
1283
+ static add(location1: { value: ref<ulong> }, value: ulong): ulong;
1284
+ static and(location1: { value: ref<int> }, value: int): int;
1285
+ static and(location1: { value: ref<long> }, value: long): long;
1286
+ static and(location1: { value: ref<uint> }, value: uint): uint;
1287
+ static and(location1: { value: ref<ulong> }, value: ulong): ulong;
1288
+ static compareExchange6(location1: { value: ref<byte> }, value: byte, comparand: byte): byte;
1289
+ static compareExchange6(location1: { value: ref<double> }, value: double, comparand: double): double;
1290
+ static compareExchange6(location1: { value: ref<short> }, value: short, comparand: short): short;
1291
+ static compareExchange6(location1: { value: ref<int> }, value: int, comparand: int): int;
1292
+ static compareExchange6(location1: { value: ref<long> }, value: long, comparand: long): long;
1293
+ static compareExchange6(location1: { value: ref<nint> }, value: nint, comparand: nint): nint;
1294
+ static compareExchange6(location1: { value: ref<unknown> }, value: unknown, comparand: unknown): unknown;
1295
+ static compareExchange6(location1: { value: ref<sbyte> }, value: sbyte, comparand: sbyte): sbyte;
1296
+ static compareExchange6(location1: { value: ref<float> }, value: float, comparand: float): float;
1297
+ static compareExchange6(location1: { value: ref<ushort> }, value: ushort, comparand: ushort): ushort;
1298
+ static compareExchange6(location1: { value: ref<uint> }, value: uint, comparand: uint): uint;
1299
+ static compareExchange6(location1: { value: ref<ulong> }, value: ulong, comparand: ulong): ulong;
1300
+ static compareExchange6(location1: { value: ref<nuint> }, value: nuint, comparand: nuint): nuint;
1301
+ static compareExchange6<T>(location1: { value: ref<T> }, value: T, comparand: T): T;
1302
+ static decrement(location: { value: ref<int> }): int;
1303
+ static decrement(location: { value: ref<long> }): long;
1304
+ static decrement(location: { value: ref<uint> }): uint;
1305
+ static decrement(location: { value: ref<ulong> }): ulong;
1306
+ static exchange6(location1: { value: ref<byte> }, value: byte): byte;
1307
+ static exchange6(location1: { value: ref<double> }, value: double): double;
1308
+ static exchange6(location1: { value: ref<short> }, value: short): short;
1309
+ static exchange6(location1: { value: ref<int> }, value: int): int;
1310
+ static exchange6(location1: { value: ref<long> }, value: long): long;
1311
+ static exchange6(location1: { value: ref<nint> }, value: nint): nint;
1312
+ static exchange6(location1: { value: ref<unknown> }, value: unknown): unknown;
1313
+ static exchange6(location1: { value: ref<sbyte> }, value: sbyte): sbyte;
1314
+ static exchange6(location1: { value: ref<float> }, value: float): float;
1315
+ static exchange6(location1: { value: ref<ushort> }, value: ushort): ushort;
1316
+ static exchange6(location1: { value: ref<uint> }, value: uint): uint;
1317
+ static exchange6(location1: { value: ref<ulong> }, value: ulong): ulong;
1318
+ static exchange6(location1: { value: ref<nuint> }, value: nuint): nuint;
1319
+ static exchange6<T>(location1: { value: ref<T> }, value: T): T;
1320
+ static increment(location: { value: ref<int> }): int;
1321
+ static increment(location: { value: ref<long> }): long;
1322
+ static increment(location: { value: ref<uint> }): uint;
1323
+ static increment(location: { value: ref<ulong> }): ulong;
1324
+ static memoryBarrier(): void;
1325
+ static memoryBarrierProcessWide(): void;
1326
+ static or(location1: { value: ref<int> }, value: int): int;
1327
+ static or(location1: { value: ref<long> }, value: long): long;
1328
+ static or(location1: { value: ref<uint> }, value: uint): uint;
1329
+ static or(location1: { value: ref<ulong> }, value: ulong): ulong;
1330
+ static read(location: { value: ref<long> }): long;
1331
+ static read(location: { value: ref<ulong> }): ulong;
1298
1332
  }
1299
1333
 
1300
1334
 
1301
1335
  export type Interlocked = Interlocked$instance;
1302
1336
 
1303
1337
  export abstract class LazyInitializer$instance {
1304
- static EnsureInitialized<T>(target: { value: ref<T> }, valueFactory: Func_1<T>): T;
1305
- static EnsureInitialized<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<any> }, valueFactory: Func_1<T>): T;
1306
- static EnsureInitialized<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<any> }): T;
1307
- static EnsureInitialized<T>(target: { value: ref<T> }, syncLock: { value: ref<any> }, valueFactory: Func_1<T>): T;
1308
- static EnsureInitialized<T>(target: { value: ref<T> }): T;
1338
+ static ensureInitialized2<T>(target: { value: ref<T> }, valueFactory: Func_1<T>): T;
1339
+ static ensureInitialized2<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<unknown> }, valueFactory: Func_1<T>): T;
1340
+ static ensureInitialized2<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<unknown> }): T;
1341
+ static ensureInitialized2<T>(target: { value: ref<T> }, syncLock: { value: ref<unknown> }, valueFactory: Func_1<T>): T;
1342
+ static ensureInitialized2<T>(target: { value: ref<T> }): T;
1309
1343
  }
1310
1344
 
1311
1345
 
1312
1346
  export type LazyInitializer = LazyInitializer$instance;
1313
1347
 
1314
1348
  export abstract class Monitor$instance {
1315
- static readonly LockContentionCount: long;
1316
- static Enter(obj: any, lockTaken: { value: ref<boolean> }): void;
1317
- static Enter(obj: any): void;
1318
- static Exit(obj: any): void;
1319
- static IsEntered(obj: any): boolean;
1320
- static Pulse(obj: any): void;
1321
- static PulseAll(obj: any): void;
1322
- static TryEnter(obj: any, lockTaken: { value: ref<boolean> }): void;
1323
- static TryEnter(obj: any, millisecondsTimeout: int, lockTaken: { value: ref<boolean> }): void;
1324
- static TryEnter(obj: any, millisecondsTimeout: int): boolean;
1325
- static TryEnter(obj: any, timeout: TimeSpan, lockTaken: { value: ref<boolean> }): void;
1326
- static TryEnter(obj: any, timeout: TimeSpan): boolean;
1327
- static TryEnter(obj: any): boolean;
1328
- static Wait(obj: any, millisecondsTimeout: int, exitContext: boolean): boolean;
1329
- static Wait(obj: any, millisecondsTimeout: int): boolean;
1330
- static Wait(obj: any, timeout: TimeSpan, exitContext: boolean): boolean;
1331
- static Wait(obj: any, timeout: TimeSpan): boolean;
1332
- static Wait(obj: any): boolean;
1349
+ static readonly lockContentionCount: long;
1350
+ static enter2(obj: unknown, lockTaken: { value: ref<boolean> }): void;
1351
+ static enter2(obj: unknown): void;
1352
+ static exit(obj: unknown): void;
1353
+ static isEntered(obj: unknown): boolean;
1354
+ static pulse(obj: unknown): void;
1355
+ static pulseAll(obj: unknown): void;
1356
+ static tryEnter2(obj: unknown, lockTaken: { value: ref<boolean> }): void;
1357
+ static tryEnter2(obj: unknown, millisecondsTimeout: int, lockTaken: { value: ref<boolean> }): void;
1358
+ static tryEnter2(obj: unknown, millisecondsTimeout: int): boolean;
1359
+ static tryEnter2(obj: unknown, timeout: TimeSpan, lockTaken: { value: ref<boolean> }): void;
1360
+ static tryEnter2(obj: unknown, timeout: TimeSpan): boolean;
1361
+ static tryEnter2(obj: unknown): boolean;
1362
+ static wait4(obj: unknown, millisecondsTimeout: int, exitContext: boolean): boolean;
1363
+ static wait4(obj: unknown, millisecondsTimeout: int): boolean;
1364
+ static wait4(obj: unknown, timeout: TimeSpan, exitContext: boolean): boolean;
1365
+ static wait4(obj: unknown, timeout: TimeSpan): boolean;
1366
+ static wait4(obj: unknown): boolean;
1333
1367
  }
1334
1368
 
1335
1369
 
1336
1370
  export type Monitor = Monitor$instance;
1337
1371
 
1338
1372
  export abstract class MutexAcl$instance {
1339
- static Create(initiallyOwned: boolean, name: string, createdNew: { value: ref<boolean> }, mutexSecurity: MutexSecurity): Mutex;
1340
- static OpenExisting(name: string, rights: MutexRights): Mutex;
1341
- static TryOpenExisting(name: string, rights: MutexRights, result: { value: ref<Mutex> }): boolean;
1373
+ static create(initiallyOwned: boolean, name: string, createdNew: { value: ref<boolean> }, mutexSecurity: MutexSecurity): Mutex;
1374
+ static openExisting(name: string, rights: MutexRights): Mutex;
1375
+ static tryOpenExisting(name: string, rights: MutexRights, result: { value: ref<Mutex> }): boolean;
1342
1376
  }
1343
1377
 
1344
1378
 
1345
1379
  export type MutexAcl = MutexAcl$instance;
1346
1380
 
1347
1381
  export abstract class SemaphoreAcl$instance {
1348
- static Create(initialCount: int, maximumCount: int, name: string, createdNew: { value: ref<boolean> }, semaphoreSecurity: SemaphoreSecurity): Semaphore;
1349
- static OpenExisting(name: string, rights: SemaphoreRights): Semaphore;
1350
- static TryOpenExisting(name: string, rights: SemaphoreRights, result: { value: ref<Semaphore> }): boolean;
1382
+ static create(initialCount: int, maximumCount: int, name: string, createdNew: { value: ref<boolean> }, semaphoreSecurity: SemaphoreSecurity): Semaphore;
1383
+ static openExisting(name: string, rights: SemaphoreRights): Semaphore;
1384
+ static tryOpenExisting(name: string, rights: SemaphoreRights, result: { value: ref<Semaphore> }): boolean;
1351
1385
  }
1352
1386
 
1353
1387
 
1354
1388
  export type SemaphoreAcl = SemaphoreAcl$instance;
1355
1389
 
1356
1390
  export abstract class ThreadingAclExtensions$instance {
1357
- static GetAccessControl(handle: EventWaitHandle): EventWaitHandleSecurity;
1358
- static GetAccessControl(mutex: Mutex): MutexSecurity;
1359
- static GetAccessControl(semaphore: Semaphore): SemaphoreSecurity;
1360
- static SetAccessControl(handle: EventWaitHandle, eventSecurity: EventWaitHandleSecurity): void;
1361
- static SetAccessControl(mutex: Mutex, mutexSecurity: MutexSecurity): void;
1362
- static SetAccessControl(semaphore: Semaphore, semaphoreSecurity: SemaphoreSecurity): void;
1391
+ static getAccessControl(handle: EventWaitHandle): EventWaitHandleSecurity;
1392
+ static getAccessControl(mutex: Mutex): MutexSecurity;
1393
+ static getAccessControl(semaphore: Semaphore): SemaphoreSecurity;
1394
+ static setAccessControl(handle: EventWaitHandle, eventSecurity: EventWaitHandleSecurity): void;
1395
+ static setAccessControl(mutex: Mutex, mutexSecurity: MutexSecurity): void;
1396
+ static setAccessControl(semaphore: Semaphore, semaphoreSecurity: SemaphoreSecurity): void;
1363
1397
  }
1364
1398
 
1365
1399
 
1366
1400
  export type ThreadingAclExtensions = ThreadingAclExtensions$instance;
1367
1401
 
1368
1402
  export abstract class ThreadPool$instance {
1369
- static readonly PendingWorkItemCount: long;
1370
- static readonly ThreadCount: int;
1371
- static readonly CompletedWorkItemCount: long;
1372
- static BindHandle(osHandle: nint): boolean;
1373
- static BindHandle(osHandle: SafeHandle): boolean;
1374
- static GetAvailableThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1375
- static GetMaxThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1376
- static GetMinThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1377
- static QueueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
1378
- static QueueUserWorkItem(callBack: WaitCallback, state: any): boolean;
1379
- static QueueUserWorkItem(callBack: WaitCallback): boolean;
1380
- static RegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
1381
- static RegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
1382
- static RegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
1383
- static RegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
1384
- static SetMaxThreads(workerThreads: int, completionPortThreads: int): boolean;
1385
- static SetMinThreads(workerThreads: int, completionPortThreads: int): boolean;
1386
- static UnsafeQueueNativeOverlapped(overlapped: ptr<NativeOverlapped>): boolean;
1387
- static UnsafeQueueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
1388
- static UnsafeQueueUserWorkItem(callBack: IThreadPoolWorkItem, preferLocal: boolean): boolean;
1389
- static UnsafeQueueUserWorkItem(callBack: WaitCallback, state: any): boolean;
1390
- static UnsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
1391
- static UnsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
1392
- static UnsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
1393
- static UnsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: any, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
1403
+ static readonly pendingWorkItemCount: long;
1404
+ static readonly threadCount: int;
1405
+ static readonly completedWorkItemCount: long;
1406
+ static bindHandle(osHandle: nint): boolean;
1407
+ static bindHandle(osHandle: SafeHandle): boolean;
1408
+ static getAvailableThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1409
+ static getMaxThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1410
+ static getMinThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1411
+ static queueUserWorkItem3<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
1412
+ static queueUserWorkItem3(callBack: WaitCallback, state: unknown): boolean;
1413
+ static queueUserWorkItem3(callBack: WaitCallback): boolean;
1414
+ static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
1415
+ static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
1416
+ static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
1417
+ static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
1418
+ static setMaxThreads(workerThreads: int, completionPortThreads: int): boolean;
1419
+ static setMinThreads(workerThreads: int, completionPortThreads: int): boolean;
1420
+ static unsafeQueueNativeOverlapped(overlapped: ptr<NativeOverlapped>): boolean;
1421
+ static unsafeQueueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
1422
+ static unsafeQueueUserWorkItem(callBack: IThreadPoolWorkItem, preferLocal: boolean): boolean;
1423
+ static unsafeQueueUserWorkItem(callBack: WaitCallback, state: unknown): boolean;
1424
+ static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
1425
+ static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
1426
+ static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
1427
+ static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
1394
1428
  }
1395
1429
 
1396
1430
 
@@ -1398,51 +1432,51 @@ export type ThreadPool = ThreadPool$instance;
1398
1432
 
1399
1433
  export abstract class Timeout$instance {
1400
1434
  static readonly infiniteTimeSpan: TimeSpan;
1401
- static readonly Infinite: int;
1435
+ static readonly infinite: int;
1402
1436
  }
1403
1437
 
1404
1438
 
1405
1439
  export type Timeout = Timeout$instance;
1406
1440
 
1407
1441
  export abstract class Volatile$instance {
1408
- static Read(location: { value: ref<boolean> }): boolean;
1409
- static Read(location: { value: ref<byte> }): byte;
1410
- static Read(location: { value: ref<double> }): double;
1411
- static Read(location: { value: ref<short> }): short;
1412
- static Read(location: { value: ref<int> }): int;
1413
- static Read(location: { value: ref<long> }): long;
1414
- static Read(location: { value: ref<nint> }): nint;
1415
- static Read(location: { value: ref<sbyte> }): sbyte;
1416
- static Read(location: { value: ref<float> }): float;
1417
- static Read(location: { value: ref<ushort> }): ushort;
1418
- static Read(location: { value: ref<uint> }): uint;
1419
- static Read(location: { value: ref<ulong> }): ulong;
1420
- static Read(location: { value: ref<nuint> }): nuint;
1421
- static Read<T>(location: { value: ref<T> }): T;
1422
- static ReadBarrier(): void;
1423
- static Write(location: { value: ref<boolean> }, value: boolean): void;
1424
- static Write(location: { value: ref<byte> }, value: byte): void;
1425
- static Write(location: { value: ref<double> }, value: double): void;
1426
- static Write(location: { value: ref<short> }, value: short): void;
1427
- static Write(location: { value: ref<int> }, value: int): void;
1428
- static Write(location: { value: ref<long> }, value: long): void;
1429
- static Write(location: { value: ref<nint> }, value: nint): void;
1430
- static Write(location: { value: ref<sbyte> }, value: sbyte): void;
1431
- static Write(location: { value: ref<float> }, value: float): void;
1432
- static Write(location: { value: ref<ushort> }, value: ushort): void;
1433
- static Write(location: { value: ref<uint> }, value: uint): void;
1434
- static Write(location: { value: ref<ulong> }, value: ulong): void;
1435
- static Write(location: { value: ref<nuint> }, value: nuint): void;
1436
- static Write<T>(location: { value: ref<T> }, value: T): void;
1437
- static WriteBarrier(): void;
1442
+ static read(location: { value: ref<boolean> }): boolean;
1443
+ static read(location: { value: ref<byte> }): byte;
1444
+ static read(location: { value: ref<double> }): double;
1445
+ static read(location: { value: ref<short> }): short;
1446
+ static read(location: { value: ref<int> }): int;
1447
+ static read(location: { value: ref<long> }): long;
1448
+ static read(location: { value: ref<nint> }): nint;
1449
+ static read(location: { value: ref<sbyte> }): sbyte;
1450
+ static read(location: { value: ref<float> }): float;
1451
+ static read(location: { value: ref<ushort> }): ushort;
1452
+ static read(location: { value: ref<uint> }): uint;
1453
+ static read(location: { value: ref<ulong> }): ulong;
1454
+ static read(location: { value: ref<nuint> }): nuint;
1455
+ static read<T>(location: { value: ref<T> }): T;
1456
+ static readBarrier(): void;
1457
+ static write(location: { value: ref<boolean> }, value: boolean): void;
1458
+ static write(location: { value: ref<byte> }, value: byte): void;
1459
+ static write(location: { value: ref<double> }, value: double): void;
1460
+ static write(location: { value: ref<short> }, value: short): void;
1461
+ static write(location: { value: ref<int> }, value: int): void;
1462
+ static write(location: { value: ref<long> }, value: long): void;
1463
+ static write(location: { value: ref<nint> }, value: nint): void;
1464
+ static write(location: { value: ref<sbyte> }, value: sbyte): void;
1465
+ static write(location: { value: ref<float> }, value: float): void;
1466
+ static write(location: { value: ref<ushort> }, value: ushort): void;
1467
+ static write(location: { value: ref<uint> }, value: uint): void;
1468
+ static write(location: { value: ref<ulong> }, value: ulong): void;
1469
+ static write(location: { value: ref<nuint> }, value: nuint): void;
1470
+ static write<T>(location: { value: ref<T> }, value: T): void;
1471
+ static writeBarrier(): void;
1438
1472
  }
1439
1473
 
1440
1474
 
1441
1475
  export type Volatile = Volatile$instance;
1442
1476
 
1443
1477
  export abstract class WaitHandleExtensions$instance {
1444
- static GetSafeWaitHandle(waitHandle: WaitHandle): SafeWaitHandle;
1445
- static SetSafeWaitHandle(waitHandle: WaitHandle, value: SafeWaitHandle): void;
1478
+ static getSafeWaitHandle(waitHandle: WaitHandle): SafeWaitHandle;
1479
+ static setSafeWaitHandle(waitHandle: WaitHandle, value: SafeWaitHandle): void;
1446
1480
  }
1447
1481
 
1448
1482