@tsonic/dotnet 0.7.3 → 0.7.6

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 (286) 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 +38 -63
  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 +6 -31
  8. package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +10 -35
  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 +2608 -459
  14. package/System/internal/metadata.json +4800 -552
  15. package/System.Buffers/bindings.json +196 -24
  16. package/System.Buffers/internal/index.d.ts +30 -55
  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.Buffers.d.ts +11 -2
  25. package/System.CodeDom.Compiler/internal/index.d.ts +8 -33
  26. package/System.Collections/bindings.json +11 -1
  27. package/System.Collections/internal/index.d.ts +2 -27
  28. package/System.Collections/internal/metadata.json +11 -1
  29. package/System.Collections.Concurrent/bindings.json +211 -29
  30. package/System.Collections.Concurrent/internal/index.d.ts +32 -56
  31. package/System.Collections.Concurrent/internal/metadata.json +211 -29
  32. package/System.Collections.Concurrent.d.ts +11 -2
  33. package/System.Collections.Frozen/bindings.json +56 -8
  34. package/System.Collections.Frozen/internal/index.d.ts +9 -34
  35. package/System.Collections.Frozen/internal/metadata.json +56 -8
  36. package/System.Collections.Generic/bindings.json +273 -35
  37. package/System.Collections.Generic/internal/index.d.ts +46 -61
  38. package/System.Collections.Generic/internal/metadata.json +273 -35
  39. package/System.Collections.Immutable/bindings.json +362 -50
  40. package/System.Collections.Immutable/internal/index.d.ts +65 -85
  41. package/System.Collections.Immutable/internal/metadata.json +362 -50
  42. package/System.Collections.ObjectModel/bindings.json +28 -4
  43. package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
  44. package/System.Collections.ObjectModel/internal/metadata.json +28 -4
  45. package/System.Collections.ObjectModel.d.ts +11 -2
  46. package/System.Collections.Specialized/internal/index.d.ts +3 -27
  47. package/System.ComponentModel/bindings.json +174 -18
  48. package/System.ComponentModel/internal/index.d.ts +33 -54
  49. package/System.ComponentModel/internal/metadata.json +174 -18
  50. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
  51. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
  52. package/System.ComponentModel.Design/internal/index.d.ts +3 -25
  53. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +3 -26
  54. package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
  55. package/System.Data/internal/index.d.ts +19 -39
  56. package/System.Data.Common/bindings.json +14 -2
  57. package/System.Data.Common/internal/index.d.ts +27 -52
  58. package/System.Data.Common/internal/metadata.json +14 -2
  59. package/System.Data.SqlTypes/internal/index.d.ts +27 -52
  60. package/System.Data.d.ts +17 -4
  61. package/System.Diagnostics/bindings.json +181 -23
  62. package/System.Diagnostics/internal/index.d.ts +106 -131
  63. package/System.Diagnostics/internal/metadata.json +181 -23
  64. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
  65. package/System.Diagnostics.Contracts/bindings.json +7 -1
  66. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
  67. package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
  68. package/System.Diagnostics.Metrics/bindings.json +35 -5
  69. package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
  70. package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
  71. package/System.Diagnostics.Metrics.d.ts +11 -2
  72. package/System.Diagnostics.SymbolStore/internal/index.d.ts +1 -26
  73. package/System.Diagnostics.Tracing/bindings.json +37 -3
  74. package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
  75. package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
  76. package/System.Drawing/internal/index.d.ts +7 -32
  77. package/System.Dynamic/bindings.json +63 -9
  78. package/System.Dynamic/internal/index.d.ts +19 -44
  79. package/System.Dynamic/internal/metadata.json +63 -9
  80. package/System.Formats.Asn1/bindings.json +451 -49
  81. package/System.Formats.Asn1/internal/index.d.ts +70 -95
  82. package/System.Formats.Asn1/internal/metadata.json +451 -49
  83. package/System.Formats.Tar/internal/index.d.ts +4 -29
  84. package/System.Globalization/bindings.json +28 -4
  85. package/System.Globalization/internal/index.d.ts +19 -44
  86. package/System.Globalization/internal/metadata.json +28 -4
  87. package/System.IO/bindings.json +35 -5
  88. package/System.IO/internal/index.d.ts +206 -231
  89. package/System.IO/internal/metadata.json +35 -5
  90. package/System.IO.Compression/bindings.json +50 -6
  91. package/System.IO.Compression/internal/index.d.ts +51 -76
  92. package/System.IO.Compression/internal/metadata.json +50 -6
  93. package/System.IO.Enumeration/bindings.json +42 -6
  94. package/System.IO.Enumeration/internal/index.d.ts +11 -36
  95. package/System.IO.Enumeration/internal/metadata.json +42 -6
  96. package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
  97. package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
  98. package/System.IO.Pipelines/bindings.json +7 -1
  99. package/System.IO.Pipelines/internal/index.d.ts +17 -42
  100. package/System.IO.Pipelines/internal/metadata.json +7 -1
  101. package/System.IO.Pipes/internal/index.d.ts +11 -36
  102. package/System.Linq/bindings.json +7 -1
  103. package/System.Linq/internal/index.d.ts +337 -357
  104. package/System.Linq/internal/metadata.json +7 -1
  105. package/System.Linq.Expressions/bindings.json +14 -2
  106. package/System.Linq.Expressions/internal/index.d.ts +50 -75
  107. package/System.Linq.Expressions/internal/metadata.json +14 -2
  108. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -27
  109. package/System.Linq.Expressions.d.ts +11 -2
  110. package/System.Linq.d.ts +35 -10
  111. package/System.Net/bindings.json +175 -25
  112. package/System.Net/internal/index.d.ts +40 -61
  113. package/System.Net/internal/metadata.json +175 -25
  114. package/System.Net.Cache/internal/index.d.ts +0 -25
  115. package/System.Net.Http/bindings.json +21 -3
  116. package/System.Net.Http/internal/index.d.ts +22 -47
  117. package/System.Net.Http/internal/metadata.json +21 -3
  118. package/System.Net.Http.Headers/bindings.json +154 -22
  119. package/System.Net.Http.Headers/internal/index.d.ts +67 -92
  120. package/System.Net.Http.Headers/internal/metadata.json +154 -22
  121. package/System.Net.Http.Json/internal/index.d.ts +0 -25
  122. package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
  123. package/System.Net.Mail/bindings.json +21 -3
  124. package/System.Net.Mail/internal/index.d.ts +4 -29
  125. package/System.Net.Mail/internal/metadata.json +21 -3
  126. package/System.Net.Mime/internal/index.d.ts +0 -25
  127. package/System.Net.NetworkInformation/bindings.json +14 -2
  128. package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
  129. package/System.Net.NetworkInformation/internal/metadata.json +14 -2
  130. package/System.Net.Quic/internal/index.d.ts +14 -39
  131. package/System.Net.Security/bindings.json +43 -5
  132. package/System.Net.Security/internal/index.d.ts +30 -55
  133. package/System.Net.Security/internal/metadata.json +43 -5
  134. package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
  135. package/System.Net.ServerSentEvents.d.ts +11 -2
  136. package/System.Net.Sockets/bindings.json +224 -28
  137. package/System.Net.Sockets/internal/index.d.ts +110 -135
  138. package/System.Net.Sockets/internal/metadata.json +224 -28
  139. package/System.Net.WebSockets/internal/index.d.ts +29 -54
  140. package/System.Numerics/bindings.json +1030 -142
  141. package/System.Numerics/internal/index.d.ts +303 -288
  142. package/System.Numerics/internal/metadata.json +1030 -142
  143. package/System.Numerics.d.ts +11 -2
  144. package/System.Reflection/bindings.json +29 -3
  145. package/System.Reflection/internal/index.d.ts +7 -32
  146. package/System.Reflection/internal/metadata.json +29 -3
  147. package/System.Reflection.Emit/bindings.json +26 -2
  148. package/System.Reflection.Emit/internal/index.d.ts +10 -35
  149. package/System.Reflection.Emit/internal/metadata.json +26 -2
  150. package/System.Reflection.Metadata/bindings.json +46 -6
  151. package/System.Reflection.Metadata/internal/index.d.ts +77 -99
  152. package/System.Reflection.Metadata/internal/metadata.json +46 -6
  153. package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
  154. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +26 -51
  155. package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
  156. package/System.Reflection.PortableExecutable/bindings.json +18 -2
  157. package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
  158. package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
  159. package/System.Resources/bindings.json +11 -1
  160. package/System.Resources/internal/index.d.ts +5 -28
  161. package/System.Resources/internal/metadata.json +11 -1
  162. package/System.Runtime/internal/index.d.ts +0 -25
  163. package/System.Runtime.CompilerServices/bindings.json +495 -57
  164. package/System.Runtime.CompilerServices/internal/index.d.ts +70 -94
  165. package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
  166. package/System.Runtime.CompilerServices.d.ts +41 -12
  167. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
  168. package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
  169. package/System.Runtime.InteropServices/bindings.json +377 -47
  170. package/System.Runtime.InteropServices/internal/index.d.ts +83 -107
  171. package/System.Runtime.InteropServices/internal/metadata.json +377 -47
  172. package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
  173. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
  174. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
  175. package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
  176. package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
  177. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
  178. package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
  179. package/System.Runtime.InteropServices.JavaScript.d.ts +17 -2
  180. package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
  181. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
  182. package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
  183. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
  184. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
  185. package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
  186. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
  187. package/System.Runtime.InteropServices.Swift.d.ts +11 -2
  188. package/System.Runtime.InteropServices.d.ts +11 -2
  189. package/System.Runtime.Intrinsics/bindings.json +112 -16
  190. package/System.Runtime.Intrinsics/internal/index.d.ts +804 -829
  191. package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
  192. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
  193. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
  194. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
  195. package/System.Runtime.Intrinsics.d.ts +29 -8
  196. package/System.Runtime.Loader/internal/index.d.ts +0 -25
  197. package/System.Runtime.Remoting/internal/index.d.ts +0 -25
  198. package/System.Runtime.Serialization/bindings.json +71 -9
  199. package/System.Runtime.Serialization/internal/index.d.ts +9 -34
  200. package/System.Runtime.Serialization/internal/metadata.json +71 -9
  201. package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
  202. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
  203. package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
  204. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
  205. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
  206. package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
  207. package/System.Runtime.Versioning/internal/index.d.ts +1 -26
  208. package/System.Security/internal/index.d.ts +1 -26
  209. package/System.Security.AccessControl/bindings.json +14 -2
  210. package/System.Security.AccessControl/internal/index.d.ts +3 -28
  211. package/System.Security.AccessControl/internal/metadata.json +14 -2
  212. package/System.Security.AccessControl.d.ts +23 -6
  213. package/System.Security.Authentication/internal/index.d.ts +0 -25
  214. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
  215. package/System.Security.Claims/internal/index.d.ts +1 -26
  216. package/System.Security.Cryptography/bindings.json +1348 -192
  217. package/System.Security.Cryptography/internal/index.d.ts +608 -633
  218. package/System.Security.Cryptography/internal/metadata.json +1348 -192
  219. package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
  220. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
  221. package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
  222. package/System.Security.Permissions/internal/index.d.ts +0 -25
  223. package/System.Security.Policy/internal/index.d.ts +0 -25
  224. package/System.Security.Principal/internal/index.d.ts +1 -26
  225. package/System.Text/bindings.json +494 -58
  226. package/System.Text/internal/index.d.ts +146 -170
  227. package/System.Text/internal/metadata.json +494 -58
  228. package/System.Text.Encodings.Web/bindings.json +29 -3
  229. package/System.Text.Encodings.Web/internal/index.d.ts +14 -39
  230. package/System.Text.Encodings.Web/internal/metadata.json +29 -3
  231. package/System.Text.Json/bindings.json +309 -43
  232. package/System.Text.Json/internal/index.d.ts +142 -167
  233. package/System.Text.Json/internal/metadata.json +309 -43
  234. package/System.Text.Json.Nodes/bindings.json +46 -6
  235. package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
  236. package/System.Text.Json.Nodes/internal/metadata.json +46 -6
  237. package/System.Text.Json.Schema/internal/index.d.ts +1 -26
  238. package/System.Text.Json.Serialization/bindings.json +21 -3
  239. package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
  240. package/System.Text.Json.Serialization/internal/metadata.json +21 -3
  241. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +21 -46
  242. package/System.Text.Json.Serialization.Metadata.d.ts +11 -2
  243. package/System.Text.Json.Serialization.d.ts +23 -6
  244. package/System.Text.RegularExpressions/bindings.json +14 -2
  245. package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
  246. package/System.Text.RegularExpressions/internal/metadata.json +14 -2
  247. package/System.Text.Unicode/bindings.json +58 -6
  248. package/System.Text.Unicode/internal/index.d.ts +12 -37
  249. package/System.Text.Unicode/internal/metadata.json +58 -6
  250. package/System.Threading/bindings.json +1012 -140
  251. package/System.Threading/internal/index.d.ts +154 -179
  252. package/System.Threading/internal/metadata.json +1012 -140
  253. package/System.Threading.Channels/bindings.json +14 -2
  254. package/System.Threading.Channels/internal/index.d.ts +5 -30
  255. package/System.Threading.Channels/internal/metadata.json +14 -2
  256. package/System.Threading.Channels.d.ts +13 -2
  257. package/System.Threading.Tasks/internal/index.d.ts +35 -60
  258. package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
  259. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +34 -59
  260. package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
  261. package/System.Threading.Tasks.Dataflow.d.ts +21 -2
  262. package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
  263. package/System.Threading.Tasks.Sources.d.ts +11 -2
  264. package/System.Threading.Tasks.d.ts +29 -8
  265. package/System.Timers/internal/index.d.ts +0 -25
  266. package/System.Transactions/internal/index.d.ts +1 -26
  267. package/System.Web/internal/index.d.ts +0 -25
  268. package/System.Windows.Input/internal/index.d.ts +0 -25
  269. package/System.Windows.Markup/internal/index.d.ts +0 -25
  270. package/System.Xml/bindings.json +197 -27
  271. package/System.Xml/internal/index.d.ts +35 -60
  272. package/System.Xml/internal/metadata.json +197 -27
  273. package/System.Xml.Linq/internal/index.d.ts +10 -35
  274. package/System.Xml.Resolvers/internal/index.d.ts +0 -25
  275. package/System.Xml.Schema/internal/index.d.ts +0 -25
  276. package/System.Xml.Serialization/internal/index.d.ts +0 -25
  277. package/System.Xml.XPath/internal/index.d.ts +1 -26
  278. package/System.Xml.Xsl/internal/index.d.ts +1 -26
  279. package/System.Xml.Xsl.Runtime/bindings.json +35 -5
  280. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
  281. package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
  282. package/System.d.ts +75 -14
  283. package/__internal/extensions/index.d.ts +463 -463
  284. package/families.json +359 -0
  285. package/package.json +1 -1
  286. package/tsconfig.json +2 -1
@@ -1513,7 +1513,13 @@
1513
1513
  "parameterCount": 1,
1514
1514
  "declaringClrType": "System.Threading.Channels.ChannelReader\u00601",
1515
1515
  "declaringAssemblyName": "System.Threading.Channels",
1516
- "isExtensionMethod": false
1516
+ "isExtensionMethod": false,
1517
+ "parameterModifiers": [
1518
+ {
1519
+ "index": 0,
1520
+ "modifier": "out"
1521
+ }
1522
+ ]
1517
1523
  },
1518
1524
  {
1519
1525
  "stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::TryPeek(T\u0026):System.Boolean",
@@ -1527,7 +1533,13 @@
1527
1533
  "parameterCount": 1,
1528
1534
  "declaringClrType": "System.Threading.Channels.ChannelReader\u00601",
1529
1535
  "declaringAssemblyName": "System.Threading.Channels",
1530
- "isExtensionMethod": false
1536
+ "isExtensionMethod": false,
1537
+ "parameterModifiers": [
1538
+ {
1539
+ "index": 0,
1540
+ "modifier": "out"
1541
+ }
1542
+ ]
1531
1543
  },
1532
1544
  {
1533
1545
  "stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::WaitToReadAsync(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Boolean,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
@@ -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 { IAsyncEnumerable_1, IComparer_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -19,31 +19,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
19
19
  import * as System_Internal from "../../System/internal/index.js";
20
20
  import type { Action_1, Boolean as ClrBoolean, Enum, Exception, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, InvalidOperationException, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, Void } from "../../System/internal/index.js";
21
21
 
22
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
23
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
24
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
25
- export type CLROf<T> =
26
- T extends sbyte ? System_Internal.SByte :
27
- T extends short ? System_Internal.Int16 :
28
- T extends int ? System_Internal.Int32 :
29
- T extends long ? System_Internal.Int64 :
30
- T extends int128 ? System_Internal.Int128 :
31
- T extends nint ? System_Internal.IntPtr :
32
- T extends byte ? System_Internal.Byte :
33
- T extends ushort ? System_Internal.UInt16 :
34
- T extends uint ? System_Internal.UInt32 :
35
- T extends ulong ? System_Internal.UInt64 :
36
- T extends uint128 ? System_Internal.UInt128 :
37
- T extends nuint ? System_Internal.UIntPtr :
38
- T extends half ? System_Internal.Half :
39
- T extends float ? System_Internal.Single :
40
- T extends double ? System_Internal.Double :
41
- T extends decimal ? System_Internal.Decimal :
42
- T extends char ? System_Internal.Char :
43
- T extends boolean ? System_Internal.Boolean :
44
- T extends string ? System_Internal.String :
45
- T; // Identity fallback for non-primitive types
46
-
47
22
  export enum BoundedChannelFullMode {
48
23
  wait = 0,
49
24
  dropNewest = 1,
@@ -127,9 +102,9 @@ export interface ChannelReader_1$instance<T> {
127
102
  readonly count: int;
128
103
  readAllAsync(cancellationToken?: CancellationToken): IAsyncEnumerable_1<T>;
129
104
  readAsync(cancellationToken?: CancellationToken): ValueTask_1<T>;
130
- tryPeek(item: { value: ref<T> }): boolean;
131
- tryRead(item: { value: ref<T> }): boolean;
132
- waitToReadAsync(cancellationToken?: CancellationToken): ValueTask_1<CLROf<boolean>>;
105
+ tryPeek(item: T): boolean;
106
+ tryRead(item: T): boolean;
107
+ waitToReadAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
133
108
  }
134
109
 
135
110
 
@@ -143,7 +118,7 @@ export interface ChannelWriter_1$instance<T> {
143
118
  complete(error?: Exception): void;
144
119
  tryComplete(error?: Exception): boolean;
145
120
  tryWrite(item: T): boolean;
146
- waitToWriteAsync(cancellationToken?: CancellationToken): ValueTask_1<CLROf<boolean>>;
121
+ waitToWriteAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
147
122
  writeAsync(item: T, cancellationToken?: CancellationToken): ValueTask;
148
123
  }
149
124
 
@@ -340,7 +340,13 @@
340
340
  "isSealed": false,
341
341
  "arity": 0,
342
342
  "parameterCount": 1,
343
- "isExtensionMethod": false
343
+ "isExtensionMethod": false,
344
+ "parameterModifiers": [
345
+ {
346
+ "index": 0,
347
+ "modifier": "out"
348
+ }
349
+ ]
344
350
  },
345
351
  {
346
352
  "stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::TryPeek(T\u0026):System.Boolean",
@@ -356,7 +362,13 @@
356
362
  "isSealed": false,
357
363
  "arity": 0,
358
364
  "parameterCount": 1,
359
- "isExtensionMethod": false
365
+ "isExtensionMethod": false,
366
+ "parameterModifiers": [
367
+ {
368
+ "index": 0,
369
+ "modifier": "out"
370
+ }
371
+ ]
360
372
  },
361
373
  {
362
374
  "stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::WaitToReadAsync(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Boolean,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
@@ -16,12 +16,23 @@ import type { Action_1, Boolean as ClrBoolean, Enum, Exception, IComparable, ICo
16
16
 
17
17
  // Public API exports (curated - no internal $instance/$views leakage)
18
18
  export { BoundedChannelFullMode as BoundedChannelFullMode } from './System.Threading.Channels/internal/index.js';
19
- export { Channel$instance as Channel_0 } from './System.Threading.Channels/internal/index.js';
20
19
  export { ChannelClosedException as ChannelClosedException } from './System.Threading.Channels/internal/index.js';
21
20
  export { ChannelOptions as ChannelOptions } from './System.Threading.Channels/internal/index.js';
22
21
  export { BoundedChannelOptions as BoundedChannelOptions } from './System.Threading.Channels/internal/index.js';
23
22
  export { UnboundedChannelOptions as UnboundedChannelOptions } from './System.Threading.Channels/internal/index.js';
24
23
  export { ChannelReader_1 as ChannelReader } from './System.Threading.Channels/internal/index.js';
25
24
  export { ChannelWriter_1 as ChannelWriter } from './System.Threading.Channels/internal/index.js';
26
- export { Channel_1 as Channel } from './System.Threading.Channels/internal/index.js';
27
25
  export { UnboundedPrioritizedChannelOptions_1 as UnboundedPrioritizedChannelOptions } from './System.Threading.Channels/internal/index.js';
26
+
27
+ // Multi-arity family sentinel (detects unspecified type parameters)
28
+ declare const __unspecified: unique symbol;
29
+ export type __ = typeof __unspecified;
30
+
31
+ export type Channel<
32
+ T1 = __,
33
+ T2 = __,
34
+ > =
35
+ [T1] extends [__] ? Internal.Channel :
36
+ [T2] extends [__] ? Internal.Channel_1<T1> :
37
+ Internal.Channel_2<T1, T2>;
38
+
@@ -19,31 +19,6 @@ import type { CancellationToken, WaitHandle } from "../../System.Threading/inter
19
19
  import * as System_Internal from "../../System/internal/index.js";
20
20
  import type { Action, Action_1, Action_2, Action_3, AggregateException, AsyncCallback, Boolean as ClrBoolean, Enum, EventArgs, EventHandler_1, Exception, Func_1, Func_2, Func_3, Func_4, Func_5, Func_6, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, OperationCanceledException, ReadOnlySpan_1, String as ClrString, TimeProvider, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
21
21
 
22
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
23
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
24
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
25
- export type CLROf<T> =
26
- T extends sbyte ? System_Internal.SByte :
27
- T extends short ? System_Internal.Int16 :
28
- T extends int ? System_Internal.Int32 :
29
- T extends long ? System_Internal.Int64 :
30
- T extends int128 ? System_Internal.Int128 :
31
- T extends nint ? System_Internal.IntPtr :
32
- T extends byte ? System_Internal.Byte :
33
- T extends ushort ? System_Internal.UInt16 :
34
- T extends uint ? System_Internal.UInt32 :
35
- T extends ulong ? System_Internal.UInt64 :
36
- T extends uint128 ? System_Internal.UInt128 :
37
- T extends nuint ? System_Internal.UIntPtr :
38
- T extends half ? System_Internal.Half :
39
- T extends float ? System_Internal.Single :
40
- T extends double ? System_Internal.Double :
41
- T extends decimal ? System_Internal.Decimal :
42
- T extends char ? System_Internal.Char :
43
- T extends boolean ? System_Internal.Boolean :
44
- T extends string ? System_Internal.String :
45
- T; // Identity fallback for non-primitive types
46
-
47
22
  export enum ConfigureAwaitOptions {
48
23
  none = 0,
49
24
  continueOnCapturedContext = 1,
@@ -96,7 +71,7 @@ export enum TaskStatus {
96
71
 
97
72
  export interface ParallelLoopResult$instance {
98
73
  readonly isCompleted: boolean;
99
- readonly lowestBreakIteration: Nullable_1<CLROf<long>>;
74
+ readonly lowestBreakIteration: Nullable_1<System_Internal.Int64>;
100
75
  }
101
76
 
102
77
 
@@ -138,7 +113,7 @@ export interface __ValueTask$views {
138
113
  As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask>;
139
114
 
140
115
  // Structural method bridges for numeric interface constraints
141
- Equals(other: ValueTask): boolean;
116
+ equals(other: ValueTask): boolean;
142
117
  }
143
118
 
144
119
  export type ValueTask = ValueTask$instance & __ValueTask$views;
@@ -172,7 +147,7 @@ export interface __ValueTask_1$views<TResult> {
172
147
  As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask_1<TResult>>;
173
148
 
174
149
  // Structural method bridges for numeric interface constraints
175
- Equals(other: ValueTask_1<TResult>): boolean;
150
+ equals(other: ValueTask_1<TResult>): boolean;
176
151
  }
177
152
 
178
153
  export type ValueTask_1<TResult> = ValueTask_1$instance<TResult> & __ValueTask_1$views<TResult>;
@@ -199,7 +174,7 @@ export type ConcurrentExclusiveSchedulerPair = ConcurrentExclusiveSchedulerPair$
199
174
  export interface ParallelLoopState$instance {
200
175
  readonly isExceptional: boolean;
201
176
  readonly isStopped: boolean;
202
- readonly lowestBreakIteration: Nullable_1<CLROf<long>>;
177
+ readonly lowestBreakIteration: Nullable_1<System_Internal.Int64>;
203
178
  readonly shouldExitCurrentIteration: boolean;
204
179
  break_(): void;
205
180
  stop(): void;
@@ -288,7 +263,7 @@ export const Task: {
288
263
  new(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken): Task$instance;
289
264
  new(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions): Task$instance;
290
265
  new(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task$instance;
291
- readonly currentId: Nullable_1<CLROf<int>>;
266
+ readonly currentId: Nullable_1<System_Internal.Int32>;
292
267
  readonly factory: TaskFactory;
293
268
  readonly completedTask: Task;
294
269
  delay(millisecondsDelay: int, cancellationToken: CancellationToken): Task;
@@ -314,32 +289,32 @@ export const Task: {
314
289
  waitAll(tasks: Task[], millisecondsTimeout: int): boolean;
315
290
  waitAll(tasks: Task[], cancellationToken: CancellationToken): void;
316
291
  waitAll(tasks: Task[], timeout: TimeSpan): boolean;
317
- waitAll(tasks: Task[]): void;
292
+ waitAll(...tasks: Task[]): void;
318
293
  waitAny(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): int;
319
294
  waitAny(tasks: Task[], millisecondsTimeout: int): int;
320
295
  waitAny(tasks: Task[], cancellationToken: CancellationToken): int;
321
296
  waitAny(tasks: Task[], timeout: TimeSpan): int;
322
- waitAny(tasks: Task[]): int;
297
+ waitAny(...tasks: Task[]): int;
323
298
  whenAll<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<TResult[]>;
324
299
  whenAll<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<TResult[]>;
325
300
  whenAll(tasks: IEnumerable_1<Task>): Task;
326
301
  whenAll(tasks: ReadOnlySpan_1<Task>): Task;
327
- whenAll(tasks: Task[]): Task;
328
- whenAll<TResult>(tasks: Task_1<TResult>[]): Task_1<TResult[]>;
302
+ whenAll(...tasks: Task[]): Task;
303
+ whenAll<TResult>(...tasks: Task_1<TResult>[]): Task_1<TResult[]>;
329
304
  whenAny<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
330
305
  whenAny<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
331
306
  whenAny(tasks: IEnumerable_1<Task>): Task_1<Task>;
332
307
  whenAny(tasks: ReadOnlySpan_1<Task>): Task_1<Task>;
333
308
  whenAny(task1: Task, task2: Task): Task_1<Task>;
334
- whenAny(tasks: Task[]): Task_1<Task>;
309
+ whenAny(...tasks: Task[]): Task_1<Task>;
335
310
  whenAny<TResult>(task1: Task_1<TResult>, task2: Task_1<TResult>): Task_1<Task_1<TResult>>;
336
- whenAny<TResult>(tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
311
+ whenAny<TResult>(...tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
337
312
  whenEach<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
338
313
  whenEach<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
339
314
  whenEach(tasks: IEnumerable_1<Task>): IAsyncEnumerable_1<Task>;
340
315
  whenEach(tasks: ReadOnlySpan_1<Task>): IAsyncEnumerable_1<Task>;
341
- whenEach(tasks: Task[]): IAsyncEnumerable_1<Task>;
342
- whenEach<TResult>(tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
316
+ whenEach(...tasks: Task[]): IAsyncEnumerable_1<Task>;
317
+ whenEach<TResult>(...tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
343
318
  yield_(): YieldAwaitable;
344
319
  };
345
320
 
@@ -702,35 +677,35 @@ export const UnobservedTaskExceptionEventArgs: {
702
677
  export type UnobservedTaskExceptionEventArgs = UnobservedTaskExceptionEventArgs$instance;
703
678
 
704
679
  export abstract class Parallel$instance {
705
- static for_<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
706
- static for_(fromInclusive: int, toExclusive: int, body: Action_1<CLROf<int>>): ParallelLoopResult;
707
- static for_(fromInclusive: int, toExclusive: int, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
708
- static for_<TLocal>(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
709
- static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<CLROf<int>>): ParallelLoopResult;
710
- static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
711
- static for_<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
712
- static for_(fromInclusive: long, toExclusive: long, body: Action_1<CLROf<long>>): ParallelLoopResult;
713
- static for_(fromInclusive: long, toExclusive: long, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
714
- static for_<TLocal>(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
715
- static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<CLROf<long>>): ParallelLoopResult;
716
- static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
680
+ static for_<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int32, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
681
+ static for_(fromInclusive: int, toExclusive: int, body: Action_1<System_Internal.Int32>): ParallelLoopResult;
682
+ static for_(fromInclusive: int, toExclusive: int, body: Action_2<System_Internal.Int32, ParallelLoopState>): ParallelLoopResult;
683
+ static for_<TLocal>(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int32, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
684
+ static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<System_Internal.Int32>): ParallelLoopResult;
685
+ static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<System_Internal.Int32, ParallelLoopState>): ParallelLoopResult;
686
+ static for_<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int64, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
687
+ static for_(fromInclusive: long, toExclusive: long, body: Action_1<System_Internal.Int64>): ParallelLoopResult;
688
+ static for_(fromInclusive: long, toExclusive: long, body: Action_2<System_Internal.Int64, ParallelLoopState>): ParallelLoopResult;
689
+ static for_<TLocal>(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int64, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
690
+ static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<System_Internal.Int64>): ParallelLoopResult;
691
+ static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<System_Internal.Int64, ParallelLoopState>): ParallelLoopResult;
717
692
  static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, body: Func_3<T, CancellationToken, ValueTask>): Task;
718
693
  static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, cancellationToken: CancellationToken, body: Func_3<T, CancellationToken, ValueTask>): Task;
719
694
  static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, parallelOptions: ParallelOptions, body: Func_3<T, CancellationToken, ValueTask>): Task;
720
695
  static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
721
696
  static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
722
- static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
697
+ static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
723
698
  static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
724
- static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
699
+ static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
725
700
  static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
726
701
  static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
727
- static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
702
+ static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
728
703
  static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
729
- static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
730
- static forEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
731
- static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
732
- static forEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
733
- static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, CLROf<long>, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
704
+ static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
705
+ static forEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
706
+ static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
707
+ static forEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
708
+ static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
734
709
  static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
735
710
  static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
736
711
  static forEach<TSource, TLocal>(source: Partitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
@@ -743,8 +718,8 @@ export abstract class Parallel$instance {
743
718
  static forEachAsync<TSource>(source: IEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
744
719
  static forEachAsync<TSource>(source: IEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
745
720
  static forEachAsync<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
746
- static invoke(actions: Action[]): void;
747
- static invoke(parallelOptions: ParallelOptions, actions: Action[]): void;
721
+ static invoke(...actions: Action[]): void;
722
+ static invoke(parallelOptions: ParallelOptions, ...actions: Action[]): void;
748
723
  }
749
724
 
750
725