@tsonic/dotnet 0.7.4 → 0.7.7

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 (263) hide show
  1. package/Internal/internal/index.d.ts +0 -25
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
  3. package/Microsoft.VisualBasic/bindings.json +203 -29
  4. package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
  5. package/Microsoft.VisualBasic/internal/metadata.json +203 -29
  6. package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
  7. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
  8. package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
  10. package/Microsoft.Win32/internal/index.d.ts +0 -25
  11. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
  12. package/System/bindings.json +4800 -552
  13. package/System/internal/index.d.ts +2537 -395
  14. package/System/internal/metadata.json +4800 -552
  15. package/System.Buffers/bindings.json +196 -24
  16. package/System.Buffers/internal/index.d.ts +29 -54
  17. package/System.Buffers/internal/metadata.json +196 -24
  18. package/System.Buffers.Binary/bindings.json +182 -26
  19. package/System.Buffers.Binary/internal/index.d.ts +115 -140
  20. package/System.Buffers.Binary/internal/metadata.json +182 -26
  21. package/System.Buffers.Text/bindings.json +431 -49
  22. package/System.Buffers.Text/internal/index.d.ts +64 -89
  23. package/System.Buffers.Text/internal/metadata.json +431 -49
  24. package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
  25. package/System.Collections/bindings.json +11 -1
  26. package/System.Collections/internal/index.d.ts +2 -27
  27. package/System.Collections/internal/metadata.json +11 -1
  28. package/System.Collections.Concurrent/bindings.json +211 -29
  29. package/System.Collections.Concurrent/internal/index.d.ts +31 -56
  30. package/System.Collections.Concurrent/internal/metadata.json +211 -29
  31. package/System.Collections.Frozen/bindings.json +56 -8
  32. package/System.Collections.Frozen/internal/index.d.ts +9 -34
  33. package/System.Collections.Frozen/internal/metadata.json +56 -8
  34. package/System.Collections.Generic/bindings.json +273 -35
  35. package/System.Collections.Generic/internal/index.d.ts +36 -61
  36. package/System.Collections.Generic/internal/metadata.json +273 -35
  37. package/System.Collections.Immutable/bindings.json +362 -50
  38. package/System.Collections.Immutable/internal/index.d.ts +49 -74
  39. package/System.Collections.Immutable/internal/metadata.json +362 -50
  40. package/System.Collections.ObjectModel/bindings.json +28 -4
  41. package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
  42. package/System.Collections.ObjectModel/internal/metadata.json +28 -4
  43. package/System.Collections.Specialized/internal/index.d.ts +0 -25
  44. package/System.ComponentModel/bindings.json +174 -18
  45. package/System.ComponentModel/internal/index.d.ts +22 -47
  46. package/System.ComponentModel/internal/metadata.json +174 -18
  47. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
  48. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
  49. package/System.ComponentModel.Design/internal/index.d.ts +0 -25
  50. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
  51. package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
  52. package/System.Data/internal/index.d.ts +7 -32
  53. package/System.Data.Common/bindings.json +14 -2
  54. package/System.Data.Common/internal/index.d.ts +27 -52
  55. package/System.Data.Common/internal/metadata.json +14 -2
  56. package/System.Data.SqlTypes/internal/index.d.ts +1 -26
  57. package/System.Diagnostics/bindings.json +181 -23
  58. package/System.Diagnostics/internal/index.d.ts +87 -112
  59. package/System.Diagnostics/internal/metadata.json +181 -23
  60. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
  61. package/System.Diagnostics.Contracts/bindings.json +7 -1
  62. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
  63. package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
  64. package/System.Diagnostics.Metrics/bindings.json +35 -5
  65. package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
  66. package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
  67. package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
  68. package/System.Diagnostics.Tracing/bindings.json +37 -3
  69. package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
  70. package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
  71. package/System.Drawing/internal/index.d.ts +0 -25
  72. package/System.Dynamic/bindings.json +63 -9
  73. package/System.Dynamic/internal/index.d.ts +17 -42
  74. package/System.Dynamic/internal/metadata.json +63 -9
  75. package/System.Formats.Asn1/bindings.json +451 -49
  76. package/System.Formats.Asn1/internal/index.d.ts +69 -94
  77. package/System.Formats.Asn1/internal/metadata.json +451 -49
  78. package/System.Formats.Tar/internal/index.d.ts +4 -29
  79. package/System.Globalization/bindings.json +28 -4
  80. package/System.Globalization/internal/index.d.ts +18 -43
  81. package/System.Globalization/internal/metadata.json +28 -4
  82. package/System.IO/bindings.json +35 -5
  83. package/System.IO/internal/index.d.ts +197 -222
  84. package/System.IO/internal/metadata.json +35 -5
  85. package/System.IO.Compression/bindings.json +50 -6
  86. package/System.IO.Compression/internal/index.d.ts +51 -76
  87. package/System.IO.Compression/internal/metadata.json +50 -6
  88. package/System.IO.Enumeration/bindings.json +42 -6
  89. package/System.IO.Enumeration/internal/index.d.ts +11 -36
  90. package/System.IO.Enumeration/internal/metadata.json +42 -6
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
  92. package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
  93. package/System.IO.Pipelines/bindings.json +7 -1
  94. package/System.IO.Pipelines/internal/index.d.ts +17 -42
  95. package/System.IO.Pipelines/internal/metadata.json +7 -1
  96. package/System.IO.Pipes/internal/index.d.ts +11 -36
  97. package/System.Linq/bindings.json +7 -1
  98. package/System.Linq/internal/index.d.ts +332 -357
  99. package/System.Linq/internal/metadata.json +7 -1
  100. package/System.Linq.Expressions/bindings.json +14 -2
  101. package/System.Linq.Expressions/internal/index.d.ts +3 -28
  102. package/System.Linq.Expressions/internal/metadata.json +14 -2
  103. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
  104. package/System.Net/bindings.json +175 -25
  105. package/System.Net/internal/index.d.ts +36 -61
  106. package/System.Net/internal/metadata.json +175 -25
  107. package/System.Net.Cache/internal/index.d.ts +0 -25
  108. package/System.Net.Http/bindings.json +21 -3
  109. package/System.Net.Http/internal/index.d.ts +21 -46
  110. package/System.Net.Http/internal/metadata.json +21 -3
  111. package/System.Net.Http.Headers/bindings.json +154 -22
  112. package/System.Net.Http.Headers/internal/index.d.ts +67 -92
  113. package/System.Net.Http.Headers/internal/metadata.json +154 -22
  114. package/System.Net.Http.Json/internal/index.d.ts +0 -25
  115. package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
  116. package/System.Net.Mail/bindings.json +21 -3
  117. package/System.Net.Mail/internal/index.d.ts +4 -29
  118. package/System.Net.Mail/internal/metadata.json +21 -3
  119. package/System.Net.Mime/internal/index.d.ts +0 -25
  120. package/System.Net.NetworkInformation/bindings.json +14 -2
  121. package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
  122. package/System.Net.NetworkInformation/internal/metadata.json +14 -2
  123. package/System.Net.Quic/internal/index.d.ts +14 -39
  124. package/System.Net.Security/bindings.json +43 -5
  125. package/System.Net.Security/internal/index.d.ts +29 -54
  126. package/System.Net.Security/internal/metadata.json +43 -5
  127. package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
  128. package/System.Net.Sockets/bindings.json +224 -28
  129. package/System.Net.Sockets/internal/index.d.ts +108 -133
  130. package/System.Net.Sockets/internal/metadata.json +224 -28
  131. package/System.Net.WebSockets/internal/index.d.ts +29 -54
  132. package/System.Numerics/bindings.json +1030 -142
  133. package/System.Numerics/internal/index.d.ts +264 -289
  134. package/System.Numerics/internal/metadata.json +1030 -142
  135. package/System.Reflection/bindings.json +29 -3
  136. package/System.Reflection/internal/index.d.ts +4 -29
  137. package/System.Reflection/internal/metadata.json +29 -3
  138. package/System.Reflection.Emit/bindings.json +26 -2
  139. package/System.Reflection.Emit/internal/index.d.ts +3 -28
  140. package/System.Reflection.Emit/internal/metadata.json +26 -2
  141. package/System.Reflection.Metadata/bindings.json +46 -6
  142. package/System.Reflection.Metadata/internal/index.d.ts +31 -56
  143. package/System.Reflection.Metadata/internal/metadata.json +46 -6
  144. package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
  145. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
  146. package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
  147. package/System.Reflection.PortableExecutable/bindings.json +18 -2
  148. package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
  149. package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
  150. package/System.Resources/bindings.json +11 -1
  151. package/System.Resources/internal/index.d.ts +3 -28
  152. package/System.Resources/internal/metadata.json +11 -1
  153. package/System.Runtime/internal/index.d.ts +0 -25
  154. package/System.Runtime.CompilerServices/bindings.json +495 -57
  155. package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
  156. package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
  157. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
  158. package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
  159. package/System.Runtime.InteropServices/bindings.json +377 -47
  160. package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
  161. package/System.Runtime.InteropServices/internal/metadata.json +377 -47
  162. package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
  163. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
  164. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
  165. package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
  166. package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
  167. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
  168. package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
  169. package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
  170. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
  171. package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
  172. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
  173. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
  174. package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
  175. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
  176. package/System.Runtime.Intrinsics/bindings.json +112 -16
  177. package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
  178. package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
  179. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
  181. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
  182. package/System.Runtime.Loader/internal/index.d.ts +0 -25
  183. package/System.Runtime.Remoting/internal/index.d.ts +0 -25
  184. package/System.Runtime.Serialization/bindings.json +71 -9
  185. package/System.Runtime.Serialization/internal/index.d.ts +9 -34
  186. package/System.Runtime.Serialization/internal/metadata.json +71 -9
  187. package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
  188. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
  189. package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
  190. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
  191. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
  192. package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
  193. package/System.Runtime.Versioning/internal/index.d.ts +0 -25
  194. package/System.Security/internal/index.d.ts +1 -26
  195. package/System.Security.AccessControl/bindings.json +14 -2
  196. package/System.Security.AccessControl/internal/index.d.ts +3 -28
  197. package/System.Security.AccessControl/internal/metadata.json +14 -2
  198. package/System.Security.Authentication/internal/index.d.ts +0 -25
  199. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
  200. package/System.Security.Claims/internal/index.d.ts +1 -26
  201. package/System.Security.Cryptography/bindings.json +1348 -192
  202. package/System.Security.Cryptography/internal/index.d.ts +593 -618
  203. package/System.Security.Cryptography/internal/metadata.json +1348 -192
  204. package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
  205. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
  206. package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
  207. package/System.Security.Permissions/internal/index.d.ts +0 -25
  208. package/System.Security.Policy/internal/index.d.ts +0 -25
  209. package/System.Security.Principal/internal/index.d.ts +0 -25
  210. package/System.Text/bindings.json +494 -58
  211. package/System.Text/internal/index.d.ts +137 -162
  212. package/System.Text/internal/metadata.json +494 -58
  213. package/System.Text.Encodings.Web/bindings.json +29 -3
  214. package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
  215. package/System.Text.Encodings.Web/internal/metadata.json +29 -3
  216. package/System.Text.Json/bindings.json +309 -43
  217. package/System.Text.Json/internal/index.d.ts +141 -166
  218. package/System.Text.Json/internal/metadata.json +309 -43
  219. package/System.Text.Json.Nodes/bindings.json +46 -6
  220. package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
  221. package/System.Text.Json.Nodes/internal/metadata.json +46 -6
  222. package/System.Text.Json.Schema/internal/index.d.ts +1 -26
  223. package/System.Text.Json.Serialization/bindings.json +21 -3
  224. package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
  225. package/System.Text.Json.Serialization/internal/metadata.json +21 -3
  226. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
  227. package/System.Text.RegularExpressions/bindings.json +14 -2
  228. package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
  229. package/System.Text.RegularExpressions/internal/metadata.json +14 -2
  230. package/System.Text.Unicode/bindings.json +58 -6
  231. package/System.Text.Unicode/internal/index.d.ts +12 -37
  232. package/System.Text.Unicode/internal/metadata.json +58 -6
  233. package/System.Threading/bindings.json +1012 -140
  234. package/System.Threading/internal/index.d.ts +149 -174
  235. package/System.Threading/internal/metadata.json +1012 -140
  236. package/System.Threading.Channels/bindings.json +14 -2
  237. package/System.Threading.Channels/internal/index.d.ts +5 -30
  238. package/System.Threading.Channels/internal/metadata.json +14 -2
  239. package/System.Threading.Tasks/internal/index.d.ts +23 -48
  240. package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
  241. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
  242. package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
  243. package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
  244. package/System.Timers/internal/index.d.ts +0 -25
  245. package/System.Transactions/internal/index.d.ts +0 -25
  246. package/System.Web/internal/index.d.ts +0 -25
  247. package/System.Windows.Input/internal/index.d.ts +0 -25
  248. package/System.Windows.Markup/internal/index.d.ts +0 -25
  249. package/System.Xml/bindings.json +197 -27
  250. package/System.Xml/internal/index.d.ts +35 -60
  251. package/System.Xml/internal/metadata.json +197 -27
  252. package/System.Xml.Linq/internal/index.d.ts +0 -25
  253. package/System.Xml.Resolvers/internal/index.d.ts +0 -25
  254. package/System.Xml.Schema/internal/index.d.ts +0 -25
  255. package/System.Xml.Serialization/internal/index.d.ts +0 -25
  256. package/System.Xml.XPath/internal/index.d.ts +1 -26
  257. package/System.Xml.Xsl/internal/index.d.ts +1 -26
  258. package/System.Xml.Xsl.Runtime/bindings.json +35 -5
  259. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
  260. package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
  261. package/System.d.ts +21 -0
  262. package/__internal/extensions/index.d.ts +463 -463
  263. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
7
7
 
8
8
  // Import support types from @tsonic/types
9
- import type { ptr, ref } from "@tsonic/types";
9
+ import type { ptr } from "@tsonic/types";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import type { SafeWaitHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -25,31 +25,6 @@ import type { Task, Task_1, ValueTask, ValueTask_1 } from "../../System.Threadin
25
25
  import * as System_Internal from "../../System/internal/index.js";
26
26
  import type { Action, Action_1, Action_2, AppDomain, ApplicationException, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Double, Enum, EventArgs, Exception, Func_1, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, LocalDataStoreSlot, MarshalByRefObject, MulticastDelegate, Object as ClrObject, ReadOnlySpan_1, SByte, Single, String as ClrString, SystemException, TimeProvider, TimeSpan, Type, TypeCode, UInt16, UInt32, UInt64, UIntPtr, ValueType, Void } from "../../System/internal/index.js";
27
27
 
28
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
29
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
30
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
31
- export type CLROf<T> =
32
- T extends sbyte ? System_Internal.SByte :
33
- T extends short ? System_Internal.Int16 :
34
- T extends int ? System_Internal.Int32 :
35
- T extends long ? System_Internal.Int64 :
36
- T extends int128 ? System_Internal.Int128 :
37
- T extends nint ? System_Internal.IntPtr :
38
- T extends byte ? System_Internal.Byte :
39
- T extends ushort ? System_Internal.UInt16 :
40
- T extends uint ? System_Internal.UInt32 :
41
- T extends ulong ? System_Internal.UInt64 :
42
- T extends uint128 ? System_Internal.UInt128 :
43
- T extends nuint ? System_Internal.UIntPtr :
44
- T extends half ? System_Internal.Half :
45
- T extends float ? System_Internal.Single :
46
- T extends double ? System_Internal.Double :
47
- T extends decimal ? System_Internal.Decimal :
48
- T extends char ? System_Internal.Char :
49
- T extends boolean ? System_Internal.Boolean :
50
- T extends string ? System_Internal.String :
51
- T; // Identity fallback for non-primitive types
52
-
53
28
  export enum ApartmentState {
54
29
  STA = 0,
55
30
  MTA = 1,
@@ -316,12 +291,12 @@ export interface SpinLock$instance {
316
291
  readonly isHeld: boolean;
317
292
  readonly isHeldByCurrentThread: boolean;
318
293
  readonly isThreadOwnerTrackingEnabled: boolean;
319
- enter(lockTaken: { value: ref<boolean> }): void;
294
+ enter(lockTaken: boolean): void;
320
295
  exit(): void;
321
296
  exit(useMemoryBarrier: boolean): void;
322
- tryEnter(lockTaken: { value: ref<boolean> }): void;
323
- tryEnter(timeout: TimeSpan, lockTaken: { value: ref<boolean> }): void;
324
- tryEnter(millisecondsTimeout: int, lockTaken: { value: ref<boolean> }): void;
297
+ tryEnter(lockTaken: boolean): void;
298
+ tryEnter(timeout: TimeSpan, lockTaken: boolean): void;
299
+ tryEnter(millisecondsTimeout: int, lockTaken: boolean): void;
325
300
  }
326
301
 
327
302
 
@@ -343,9 +318,9 @@ export interface SpinWait$instance {
343
318
 
344
319
  export const SpinWait: {
345
320
  new(): SpinWait$instance;
346
- spinUntil(condition: Func_1<CLROf<boolean>>, millisecondsTimeout: int): boolean;
347
- spinUntil(condition: Func_1<CLROf<boolean>>, timeout: TimeSpan): boolean;
348
- spinUntil(condition: Func_1<CLROf<boolean>>): void;
321
+ spinUntil(condition: Func_1<System_Internal.Boolean>, millisecondsTimeout: int): boolean;
322
+ spinUntil(condition: Func_1<System_Internal.Boolean>, timeout: TimeSpan): boolean;
323
+ spinUntil(condition: Func_1<System_Internal.Boolean>): void;
349
324
  };
350
325
 
351
326
 
@@ -563,12 +538,12 @@ export const EventWaitHandle: {
563
538
  new(initialState: boolean, mode: EventResetMode): EventWaitHandle$instance;
564
539
  new(initialState: boolean, mode: EventResetMode, name: string, options: NamedWaitHandleOptions): EventWaitHandle$instance;
565
540
  new(initialState: boolean, mode: EventResetMode, name: string): EventWaitHandle$instance;
566
- new(initialState: boolean, mode: EventResetMode, name: string, options: NamedWaitHandleOptions, createdNew: ref<boolean>): EventWaitHandle$instance;
567
- new(initialState: boolean, mode: EventResetMode, name: string, createdNew: ref<boolean>): EventWaitHandle$instance;
541
+ new(initialState: boolean, mode: EventResetMode, name: string, options: NamedWaitHandleOptions, createdNew: boolean): EventWaitHandle$instance;
542
+ new(initialState: boolean, mode: EventResetMode, name: string, createdNew: boolean): EventWaitHandle$instance;
568
543
  openExisting(name: string, options: NamedWaitHandleOptions): EventWaitHandle;
569
544
  openExisting(name: string): EventWaitHandle;
570
- tryOpenExisting(name: string, result: { value: ref<EventWaitHandle> }): boolean;
571
- tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<EventWaitHandle> }): boolean;
545
+ tryOpenExisting(name: string, result: EventWaitHandle): boolean;
546
+ tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: EventWaitHandle): boolean;
572
547
  };
573
548
 
574
549
 
@@ -734,8 +709,8 @@ export interface Mutex$instance extends WaitHandle$instance {
734
709
 
735
710
 
736
711
  export const Mutex: {
737
- new(initiallyOwned: boolean, name: string, options: NamedWaitHandleOptions, createdNew: ref<boolean>): Mutex$instance;
738
- new(initiallyOwned: boolean, name: string, createdNew: ref<boolean>): Mutex$instance;
712
+ new(initiallyOwned: boolean, name: string, options: NamedWaitHandleOptions, createdNew: boolean): Mutex$instance;
713
+ new(initiallyOwned: boolean, name: string, createdNew: boolean): Mutex$instance;
739
714
  new(initiallyOwned: boolean, name: string, options: NamedWaitHandleOptions): Mutex$instance;
740
715
  new(initiallyOwned: boolean, name: string): Mutex$instance;
741
716
  new(name: string, options: NamedWaitHandleOptions): Mutex$instance;
@@ -743,8 +718,8 @@ export const Mutex: {
743
718
  new(): Mutex$instance;
744
719
  openExisting(name: string, options: NamedWaitHandleOptions): Mutex;
745
720
  openExisting(name: string): Mutex;
746
- tryOpenExisting(name: string, result: { value: ref<Mutex> }): boolean;
747
- tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<Mutex> }): boolean;
721
+ tryOpenExisting(name: string, result: Mutex): boolean;
722
+ tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: Mutex): boolean;
748
723
  };
749
724
 
750
725
 
@@ -782,7 +757,7 @@ export type Overlapped = Overlapped$instance;
782
757
  export interface PeriodicTimer$instance {
783
758
  period: TimeSpan;
784
759
  dispose(): void;
785
- waitForNextTickAsync(cancellationToken?: CancellationToken): ValueTask_1<CLROf<boolean>>;
760
+ waitForNextTickAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
786
761
  }
787
762
 
788
763
 
@@ -830,11 +805,11 @@ export interface ReaderWriterLock$instance extends CriticalFinalizerObject {
830
805
  acquireWriterLock(millisecondsTimeout: int): void;
831
806
  acquireWriterLock(timeout: TimeSpan): void;
832
807
  anyWritersSince(seqNum: int): boolean;
833
- downgradeFromWriterLock(lockCookie: { value: ref<LockCookie> }): void;
808
+ downgradeFromWriterLock(lockCookie: LockCookie): void;
834
809
  releaseLock(): LockCookie;
835
810
  releaseReaderLock(): void;
836
811
  releaseWriterLock(): void;
837
- restoreLock(lockCookie: { value: ref<LockCookie> }): void;
812
+ restoreLock(lockCookie: LockCookie): void;
838
813
  upgradeToWriterLock(millisecondsTimeout: int): LockCookie;
839
814
  upgradeToWriterLock(timeout: TimeSpan): LockCookie;
840
815
  }
@@ -913,12 +888,12 @@ export const Semaphore: {
913
888
  new(initialCount: int, maximumCount: int): Semaphore$instance;
914
889
  new(initialCount: int, maximumCount: int, name: string, options: NamedWaitHandleOptions): Semaphore$instance;
915
890
  new(initialCount: int, maximumCount: int, name: string): Semaphore$instance;
916
- new(initialCount: int, maximumCount: int, name: string, options: NamedWaitHandleOptions, createdNew: ref<boolean>): Semaphore$instance;
917
- new(initialCount: int, maximumCount: int, name: string, createdNew: ref<boolean>): Semaphore$instance;
891
+ new(initialCount: int, maximumCount: int, name: string, options: NamedWaitHandleOptions, createdNew: boolean): Semaphore$instance;
892
+ new(initialCount: int, maximumCount: int, name: string, createdNew: boolean): Semaphore$instance;
918
893
  openExisting(name: string, options: NamedWaitHandleOptions): Semaphore;
919
894
  openExisting(name: string): Semaphore;
920
- tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<Semaphore> }): boolean;
921
- tryOpenExisting(name: string, result: { value: ref<Semaphore> }): boolean;
895
+ tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: Semaphore): boolean;
896
+ tryOpenExisting(name: string, result: Semaphore): boolean;
922
897
  };
923
898
 
924
899
 
@@ -962,10 +937,10 @@ export interface SemaphoreSlim$instance {
962
937
  wait(millisecondsTimeout: int, cancellationToken: CancellationToken): boolean;
963
938
  waitAsync(): Task;
964
939
  waitAsync(cancellationToken: CancellationToken): Task;
965
- waitAsync(millisecondsTimeout: int): Task_1<CLROf<boolean>>;
966
- waitAsync(timeout: TimeSpan): Task_1<CLROf<boolean>>;
967
- waitAsync(timeout: TimeSpan, cancellationToken: CancellationToken): Task_1<CLROf<boolean>>;
968
- waitAsync(millisecondsTimeout: int, cancellationToken: CancellationToken): Task_1<CLROf<boolean>>;
940
+ waitAsync(millisecondsTimeout: int): Task_1<System_Internal.Boolean>;
941
+ waitAsync(timeout: TimeSpan): Task_1<System_Internal.Boolean>;
942
+ waitAsync(timeout: TimeSpan, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
943
+ waitAsync(millisecondsTimeout: int, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
969
944
  }
970
945
 
971
946
 
@@ -1082,32 +1057,32 @@ export const Thread: {
1082
1057
  sleep(millisecondsTimeout: int): void;
1083
1058
  sleep(timeout: TimeSpan): void;
1084
1059
  spinWait(iterations: int): void;
1085
- volatileRead(address: { value: ref<byte> }): byte;
1086
- volatileRead(address: { value: ref<double> }): double;
1087
- volatileRead(address: { value: ref<short> }): short;
1088
- volatileRead(address: { value: ref<int> }): int;
1089
- volatileRead(address: { value: ref<long> }): long;
1090
- volatileRead(address: { value: ref<nint> }): nint;
1091
- volatileRead(address: { value: ref<unknown> }): unknown;
1092
- volatileRead(address: { value: ref<sbyte> }): sbyte;
1093
- volatileRead(address: { value: ref<float> }): float;
1094
- volatileRead(address: { value: ref<ushort> }): ushort;
1095
- volatileRead(address: { value: ref<uint> }): uint;
1096
- volatileRead(address: { value: ref<ulong> }): ulong;
1097
- volatileRead(address: { value: ref<nuint> }): nuint;
1098
- volatileWrite(address: { value: ref<byte> }, value: byte): void;
1099
- volatileWrite(address: { value: ref<double> }, value: double): void;
1100
- volatileWrite(address: { value: ref<short> }, value: short): void;
1101
- volatileWrite(address: { value: ref<int> }, value: int): void;
1102
- volatileWrite(address: { value: ref<long> }, value: long): void;
1103
- volatileWrite(address: { value: ref<nint> }, value: nint): void;
1104
- volatileWrite(address: { value: ref<unknown> }, value: unknown): void;
1105
- volatileWrite(address: { value: ref<sbyte> }, value: sbyte): void;
1106
- volatileWrite(address: { value: ref<float> }, value: float): void;
1107
- volatileWrite(address: { value: ref<ushort> }, value: ushort): void;
1108
- volatileWrite(address: { value: ref<uint> }, value: uint): void;
1109
- volatileWrite(address: { value: ref<ulong> }, value: ulong): void;
1110
- volatileWrite(address: { value: ref<nuint> }, value: nuint): void;
1060
+ volatileRead(address: byte): byte;
1061
+ volatileRead(address: double): double;
1062
+ volatileRead(address: short): short;
1063
+ volatileRead(address: int): int;
1064
+ volatileRead(address: long): long;
1065
+ volatileRead(address: nint): nint;
1066
+ volatileRead(address: unknown): unknown;
1067
+ volatileRead(address: sbyte): sbyte;
1068
+ volatileRead(address: float): float;
1069
+ volatileRead(address: ushort): ushort;
1070
+ volatileRead(address: uint): uint;
1071
+ volatileRead(address: ulong): ulong;
1072
+ volatileRead(address: nuint): nuint;
1073
+ volatileWrite(address: byte, value: byte): void;
1074
+ volatileWrite(address: double, value: double): void;
1075
+ volatileWrite(address: short, value: short): void;
1076
+ volatileWrite(address: int, value: int): void;
1077
+ volatileWrite(address: long, value: long): void;
1078
+ volatileWrite(address: nint, value: nint): void;
1079
+ volatileWrite(address: unknown, value: unknown): void;
1080
+ volatileWrite(address: sbyte, value: sbyte): void;
1081
+ volatileWrite(address: float, value: float): void;
1082
+ volatileWrite(address: ushort, value: ushort): void;
1083
+ volatileWrite(address: uint, value: uint): void;
1084
+ volatileWrite(address: ulong, value: ulong): void;
1085
+ volatileWrite(address: nuint, value: nuint): void;
1111
1086
  yield_(): boolean;
1112
1087
  };
1113
1088
 
@@ -1341,78 +1316,78 @@ export type WaitHandleCannotBeOpenedException = WaitHandleCannotBeOpenedExceptio
1341
1316
 
1342
1317
 
1343
1318
  export abstract class EventWaitHandleAcl$instance {
1344
- static create(initialState: boolean, mode: EventResetMode, name: string, createdNew: { value: ref<boolean> }, eventSecurity: EventWaitHandleSecurity): EventWaitHandle;
1319
+ static create(initialState: boolean, mode: EventResetMode, name: string, createdNew: boolean, eventSecurity: EventWaitHandleSecurity): EventWaitHandle;
1345
1320
  static openExisting(name: string, rights: EventWaitHandleRights): EventWaitHandle;
1346
- static tryOpenExisting(name: string, rights: EventWaitHandleRights, result: { value: ref<EventWaitHandle> }): boolean;
1321
+ static tryOpenExisting(name: string, rights: EventWaitHandleRights, result: EventWaitHandle): boolean;
1347
1322
  }
1348
1323
 
1349
1324
 
1350
1325
  export type EventWaitHandleAcl = EventWaitHandleAcl$instance;
1351
1326
 
1352
1327
  export abstract class Interlocked$instance {
1353
- static add(location1: { value: ref<int> }, value: int): int;
1354
- static add(location1: { value: ref<long> }, value: long): long;
1355
- static add(location1: { value: ref<uint> }, value: uint): uint;
1356
- static add(location1: { value: ref<ulong> }, value: ulong): ulong;
1357
- static and(location1: { value: ref<int> }, value: int): int;
1358
- static and(location1: { value: ref<long> }, value: long): long;
1359
- static and(location1: { value: ref<uint> }, value: uint): uint;
1360
- static and(location1: { value: ref<ulong> }, value: ulong): ulong;
1361
- static compareExchange(location1: { value: ref<byte> }, value: byte, comparand: byte): byte;
1362
- static compareExchange(location1: { value: ref<double> }, value: double, comparand: double): double;
1363
- static compareExchange(location1: { value: ref<short> }, value: short, comparand: short): short;
1364
- static compareExchange(location1: { value: ref<int> }, value: int, comparand: int): int;
1365
- static compareExchange(location1: { value: ref<long> }, value: long, comparand: long): long;
1366
- static compareExchange(location1: { value: ref<nint> }, value: nint, comparand: nint): nint;
1367
- static compareExchange(location1: { value: ref<unknown> }, value: unknown, comparand: unknown): unknown;
1368
- static compareExchange(location1: { value: ref<sbyte> }, value: sbyte, comparand: sbyte): sbyte;
1369
- static compareExchange(location1: { value: ref<float> }, value: float, comparand: float): float;
1370
- static compareExchange(location1: { value: ref<ushort> }, value: ushort, comparand: ushort): ushort;
1371
- static compareExchange(location1: { value: ref<uint> }, value: uint, comparand: uint): uint;
1372
- static compareExchange(location1: { value: ref<ulong> }, value: ulong, comparand: ulong): ulong;
1373
- static compareExchange(location1: { value: ref<nuint> }, value: nuint, comparand: nuint): nuint;
1374
- static compareExchange<T>(location1: { value: ref<T> }, value: T, comparand: T): T;
1375
- static decrement(location: { value: ref<int> }): int;
1376
- static decrement(location: { value: ref<long> }): long;
1377
- static decrement(location: { value: ref<uint> }): uint;
1378
- static decrement(location: { value: ref<ulong> }): ulong;
1379
- static exchange(location1: { value: ref<byte> }, value: byte): byte;
1380
- static exchange(location1: { value: ref<double> }, value: double): double;
1381
- static exchange(location1: { value: ref<short> }, value: short): short;
1382
- static exchange(location1: { value: ref<int> }, value: int): int;
1383
- static exchange(location1: { value: ref<long> }, value: long): long;
1384
- static exchange(location1: { value: ref<nint> }, value: nint): nint;
1385
- static exchange(location1: { value: ref<unknown> }, value: unknown): unknown;
1386
- static exchange(location1: { value: ref<sbyte> }, value: sbyte): sbyte;
1387
- static exchange(location1: { value: ref<float> }, value: float): float;
1388
- static exchange(location1: { value: ref<ushort> }, value: ushort): ushort;
1389
- static exchange(location1: { value: ref<uint> }, value: uint): uint;
1390
- static exchange(location1: { value: ref<ulong> }, value: ulong): ulong;
1391
- static exchange(location1: { value: ref<nuint> }, value: nuint): nuint;
1392
- static exchange<T>(location1: { value: ref<T> }, value: T): T;
1393
- static increment(location: { value: ref<int> }): int;
1394
- static increment(location: { value: ref<long> }): long;
1395
- static increment(location: { value: ref<uint> }): uint;
1396
- static increment(location: { value: ref<ulong> }): ulong;
1328
+ static add(location1: int, value: int): int;
1329
+ static add(location1: long, value: long): long;
1330
+ static add(location1: uint, value: uint): uint;
1331
+ static add(location1: ulong, value: ulong): ulong;
1332
+ static and(location1: int, value: int): int;
1333
+ static and(location1: long, value: long): long;
1334
+ static and(location1: uint, value: uint): uint;
1335
+ static and(location1: ulong, value: ulong): ulong;
1336
+ static compareExchange(location1: byte, value: byte, comparand: byte): byte;
1337
+ static compareExchange(location1: double, value: double, comparand: double): double;
1338
+ static compareExchange(location1: short, value: short, comparand: short): short;
1339
+ static compareExchange(location1: int, value: int, comparand: int): int;
1340
+ static compareExchange(location1: long, value: long, comparand: long): long;
1341
+ static compareExchange(location1: nint, value: nint, comparand: nint): nint;
1342
+ static compareExchange(location1: unknown, value: unknown, comparand: unknown): unknown;
1343
+ static compareExchange(location1: sbyte, value: sbyte, comparand: sbyte): sbyte;
1344
+ static compareExchange(location1: float, value: float, comparand: float): float;
1345
+ static compareExchange(location1: ushort, value: ushort, comparand: ushort): ushort;
1346
+ static compareExchange(location1: uint, value: uint, comparand: uint): uint;
1347
+ static compareExchange(location1: ulong, value: ulong, comparand: ulong): ulong;
1348
+ static compareExchange(location1: nuint, value: nuint, comparand: nuint): nuint;
1349
+ static compareExchange<T>(location1: T, value: T, comparand: T): T;
1350
+ static decrement(location: int): int;
1351
+ static decrement(location: long): long;
1352
+ static decrement(location: uint): uint;
1353
+ static decrement(location: ulong): ulong;
1354
+ static exchange(location1: byte, value: byte): byte;
1355
+ static exchange(location1: double, value: double): double;
1356
+ static exchange(location1: short, value: short): short;
1357
+ static exchange(location1: int, value: int): int;
1358
+ static exchange(location1: long, value: long): long;
1359
+ static exchange(location1: nint, value: nint): nint;
1360
+ static exchange(location1: unknown, value: unknown): unknown;
1361
+ static exchange(location1: sbyte, value: sbyte): sbyte;
1362
+ static exchange(location1: float, value: float): float;
1363
+ static exchange(location1: ushort, value: ushort): ushort;
1364
+ static exchange(location1: uint, value: uint): uint;
1365
+ static exchange(location1: ulong, value: ulong): ulong;
1366
+ static exchange(location1: nuint, value: nuint): nuint;
1367
+ static exchange<T>(location1: T, value: T): T;
1368
+ static increment(location: int): int;
1369
+ static increment(location: long): long;
1370
+ static increment(location: uint): uint;
1371
+ static increment(location: ulong): ulong;
1397
1372
  static memoryBarrier(): void;
1398
1373
  static memoryBarrierProcessWide(): void;
1399
- static or(location1: { value: ref<int> }, value: int): int;
1400
- static or(location1: { value: ref<long> }, value: long): long;
1401
- static or(location1: { value: ref<uint> }, value: uint): uint;
1402
- static or(location1: { value: ref<ulong> }, value: ulong): ulong;
1403
- static read(location: { value: ref<long> }): long;
1404
- static read(location: { value: ref<ulong> }): ulong;
1374
+ static or(location1: int, value: int): int;
1375
+ static or(location1: long, value: long): long;
1376
+ static or(location1: uint, value: uint): uint;
1377
+ static or(location1: ulong, value: ulong): ulong;
1378
+ static read(location: long): long;
1379
+ static read(location: ulong): ulong;
1405
1380
  }
1406
1381
 
1407
1382
 
1408
1383
  export type Interlocked = Interlocked$instance;
1409
1384
 
1410
1385
  export abstract class LazyInitializer$instance {
1411
- static ensureInitialized<T>(target: { value: ref<T> }, valueFactory: Func_1<T>): T;
1412
- static ensureInitialized<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<unknown> }, valueFactory: Func_1<T>): T;
1413
- static ensureInitialized<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<unknown> }): T;
1414
- static ensureInitialized<T>(target: { value: ref<T> }, syncLock: { value: ref<unknown> }, valueFactory: Func_1<T>): T;
1415
- static ensureInitialized<T>(target: { value: ref<T> }): T;
1386
+ static ensureInitialized<T>(target: T, valueFactory: Func_1<T>): T;
1387
+ static ensureInitialized<T>(target: T, initialized: boolean, syncLock: unknown, valueFactory: Func_1<T>): T;
1388
+ static ensureInitialized<T>(target: T, initialized: boolean, syncLock: unknown): T;
1389
+ static ensureInitialized<T>(target: T, syncLock: unknown, valueFactory: Func_1<T>): T;
1390
+ static ensureInitialized<T>(target: T): T;
1416
1391
  }
1417
1392
 
1418
1393
 
@@ -1420,16 +1395,16 @@ export type LazyInitializer = LazyInitializer$instance;
1420
1395
 
1421
1396
  export abstract class Monitor$instance {
1422
1397
  static readonly lockContentionCount: long;
1423
- static enter(obj: unknown, lockTaken: { value: ref<boolean> }): void;
1398
+ static enter(obj: unknown, lockTaken: boolean): void;
1424
1399
  static enter(obj: unknown): void;
1425
1400
  static exit(obj: unknown): void;
1426
1401
  static isEntered(obj: unknown): boolean;
1427
1402
  static pulse(obj: unknown): void;
1428
1403
  static pulseAll(obj: unknown): void;
1429
- static tryEnter(obj: unknown, lockTaken: { value: ref<boolean> }): void;
1430
- static tryEnter(obj: unknown, millisecondsTimeout: int, lockTaken: { value: ref<boolean> }): void;
1404
+ static tryEnter(obj: unknown, lockTaken: boolean): void;
1405
+ static tryEnter(obj: unknown, millisecondsTimeout: int, lockTaken: boolean): void;
1431
1406
  static tryEnter(obj: unknown, millisecondsTimeout: int): boolean;
1432
- static tryEnter(obj: unknown, timeout: TimeSpan, lockTaken: { value: ref<boolean> }): void;
1407
+ static tryEnter(obj: unknown, timeout: TimeSpan, lockTaken: boolean): void;
1433
1408
  static tryEnter(obj: unknown, timeout: TimeSpan): boolean;
1434
1409
  static tryEnter(obj: unknown): boolean;
1435
1410
  static wait(obj: unknown, millisecondsTimeout: int, exitContext: boolean): boolean;
@@ -1443,18 +1418,18 @@ export abstract class Monitor$instance {
1443
1418
  export type Monitor = Monitor$instance;
1444
1419
 
1445
1420
  export abstract class MutexAcl$instance {
1446
- static create(initiallyOwned: boolean, name: string, createdNew: { value: ref<boolean> }, mutexSecurity: MutexSecurity): Mutex;
1421
+ static create(initiallyOwned: boolean, name: string, createdNew: boolean, mutexSecurity: MutexSecurity): Mutex;
1447
1422
  static openExisting(name: string, rights: MutexRights): Mutex;
1448
- static tryOpenExisting(name: string, rights: MutexRights, result: { value: ref<Mutex> }): boolean;
1423
+ static tryOpenExisting(name: string, rights: MutexRights, result: Mutex): boolean;
1449
1424
  }
1450
1425
 
1451
1426
 
1452
1427
  export type MutexAcl = MutexAcl$instance;
1453
1428
 
1454
1429
  export abstract class SemaphoreAcl$instance {
1455
- static create(initialCount: int, maximumCount: int, name: string, createdNew: { value: ref<boolean> }, semaphoreSecurity: SemaphoreSecurity): Semaphore;
1430
+ static create(initialCount: int, maximumCount: int, name: string, createdNew: boolean, semaphoreSecurity: SemaphoreSecurity): Semaphore;
1456
1431
  static openExisting(name: string, rights: SemaphoreRights): Semaphore;
1457
- static tryOpenExisting(name: string, rights: SemaphoreRights, result: { value: ref<Semaphore> }): boolean;
1432
+ static tryOpenExisting(name: string, rights: SemaphoreRights, result: Semaphore): boolean;
1458
1433
  }
1459
1434
 
1460
1435
 
@@ -1478,9 +1453,9 @@ export abstract class ThreadPool$instance {
1478
1453
  static readonly completedWorkItemCount: long;
1479
1454
  static bindHandle(osHandle: nint): boolean;
1480
1455
  static bindHandle(osHandle: SafeHandle): boolean;
1481
- static getAvailableThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1482
- static getMaxThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1483
- static getMinThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
1456
+ static getAvailableThreads(workerThreads: int, completionPortThreads: int): void;
1457
+ static getMaxThreads(workerThreads: int, completionPortThreads: int): void;
1458
+ static getMinThreads(workerThreads: int, completionPortThreads: int): void;
1484
1459
  static queueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
1485
1460
  static queueUserWorkItem(callBack: WaitCallback, state: unknown): boolean;
1486
1461
  static queueUserWorkItem(callBack: WaitCallback): boolean;
@@ -1512,35 +1487,35 @@ export abstract class Timeout$instance {
1512
1487
  export type Timeout = Timeout$instance;
1513
1488
 
1514
1489
  export abstract class Volatile$instance {
1515
- static read(location: { value: ref<boolean> }): boolean;
1516
- static read(location: { value: ref<byte> }): byte;
1517
- static read(location: { value: ref<double> }): double;
1518
- static read(location: { value: ref<short> }): short;
1519
- static read(location: { value: ref<int> }): int;
1520
- static read(location: { value: ref<long> }): long;
1521
- static read(location: { value: ref<nint> }): nint;
1522
- static read(location: { value: ref<sbyte> }): sbyte;
1523
- static read(location: { value: ref<float> }): float;
1524
- static read(location: { value: ref<ushort> }): ushort;
1525
- static read(location: { value: ref<uint> }): uint;
1526
- static read(location: { value: ref<ulong> }): ulong;
1527
- static read(location: { value: ref<nuint> }): nuint;
1528
- static read<T>(location: { value: ref<T> }): T;
1490
+ static read(location: boolean): boolean;
1491
+ static read(location: byte): byte;
1492
+ static read(location: double): double;
1493
+ static read(location: short): short;
1494
+ static read(location: int): int;
1495
+ static read(location: long): long;
1496
+ static read(location: nint): nint;
1497
+ static read(location: sbyte): sbyte;
1498
+ static read(location: float): float;
1499
+ static read(location: ushort): ushort;
1500
+ static read(location: uint): uint;
1501
+ static read(location: ulong): ulong;
1502
+ static read(location: nuint): nuint;
1503
+ static read<T>(location: T): T;
1529
1504
  static readBarrier(): void;
1530
- static write(location: { value: ref<boolean> }, value: boolean): void;
1531
- static write(location: { value: ref<byte> }, value: byte): void;
1532
- static write(location: { value: ref<double> }, value: double): void;
1533
- static write(location: { value: ref<short> }, value: short): void;
1534
- static write(location: { value: ref<int> }, value: int): void;
1535
- static write(location: { value: ref<long> }, value: long): void;
1536
- static write(location: { value: ref<nint> }, value: nint): void;
1537
- static write(location: { value: ref<sbyte> }, value: sbyte): void;
1538
- static write(location: { value: ref<float> }, value: float): void;
1539
- static write(location: { value: ref<ushort> }, value: ushort): void;
1540
- static write(location: { value: ref<uint> }, value: uint): void;
1541
- static write(location: { value: ref<ulong> }, value: ulong): void;
1542
- static write(location: { value: ref<nuint> }, value: nuint): void;
1543
- static write<T>(location: { value: ref<T> }, value: T): void;
1505
+ static write(location: boolean, value: boolean): void;
1506
+ static write(location: byte, value: byte): void;
1507
+ static write(location: double, value: double): void;
1508
+ static write(location: short, value: short): void;
1509
+ static write(location: int, value: int): void;
1510
+ static write(location: long, value: long): void;
1511
+ static write(location: nint, value: nint): void;
1512
+ static write(location: sbyte, value: sbyte): void;
1513
+ static write(location: float, value: float): void;
1514
+ static write(location: ushort, value: ushort): void;
1515
+ static write(location: uint, value: uint): void;
1516
+ static write(location: ulong, value: ulong): void;
1517
+ static write(location: nuint, value: nuint): void;
1518
+ static write<T>(location: T, value: T): void;
1544
1519
  static writeBarrier(): void;
1545
1520
  }
1546
1521