@tsonic/dotnet 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -111,22 +111,22 @@ export class ValueTask$instance {
111
111
  readonly isFaulted: boolean;
112
112
  asTask(): Task;
113
113
  configureAwait(continueOnCapturedContext: boolean): ConfiguredValueTaskAwaitable;
114
- equals(obj: any): boolean;
114
+ equals(obj: unknown): boolean;
115
115
  equals(other: ValueTask): boolean;
116
116
  getAwaiter(): ValueTaskAwaiter;
117
117
  getHashCode(): int;
118
118
  preserve(): ValueTask;
119
- static readonly CompletedTask: ValueTask;
120
- static FromCanceled(cancellationToken: CancellationToken): ValueTask;
121
- static FromCanceled<TResult>(cancellationToken: CancellationToken): ValueTask_1<TResult>;
122
- static FromException(exception: Exception): ValueTask;
123
- static FromException<TResult>(exception: Exception): ValueTask_1<TResult>;
124
- static FromResult<TResult>(result: TResult): ValueTask_1<TResult>;
119
+ static readonly completedTask: ValueTask;
120
+ static fromCanceled(cancellationToken: CancellationToken): ValueTask;
121
+ static fromCanceled<TResult>(cancellationToken: CancellationToken): ValueTask_1<TResult>;
122
+ static fromException(exception: Exception): ValueTask;
123
+ static fromException<TResult>(exception: Exception): ValueTask_1<TResult>;
124
+ static fromResult<TResult>(result: TResult): ValueTask_1<TResult>;
125
125
  }
126
126
 
127
127
 
128
128
  export interface __ValueTask$views {
129
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<ValueTask>;
129
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask>;
130
130
 
131
131
  // Structural method bridges for numeric interface constraints
132
132
  Equals(other: ValueTask): boolean;
@@ -146,7 +146,7 @@ export class ValueTask_1$instance<TResult> {
146
146
  readonly result: TResult;
147
147
  asTask(): Task_1<TResult>;
148
148
  configureAwait(continueOnCapturedContext: boolean): ConfiguredValueTaskAwaitable_1<TResult>;
149
- equals(obj: any): boolean;
149
+ equals(obj: unknown): boolean;
150
150
  equals(other: ValueTask_1<TResult>): boolean;
151
151
  getAwaiter(): ValueTaskAwaiter_1<TResult>;
152
152
  getHashCode(): int;
@@ -156,7 +156,7 @@ export class ValueTask_1$instance<TResult> {
156
156
 
157
157
 
158
158
  export interface __ValueTask_1$views<TResult> {
159
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<ValueTask_1<TResult>>;
159
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask_1<TResult>>;
160
160
 
161
161
  // Structural method bridges for numeric interface constraints
162
162
  Equals(other: ValueTask_1<TResult>): boolean;
@@ -206,11 +206,11 @@ export class Task$instance {
206
206
  constructor(action: Action, cancellationToken: CancellationToken);
207
207
  constructor(action: Action, creationOptions: TaskCreationOptions);
208
208
  constructor(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
209
- constructor(action: Action_1<any>, state: any);
210
- constructor(action: Action_1<any>, state: any, cancellationToken: CancellationToken);
211
- constructor(action: Action_1<any>, state: any, creationOptions: TaskCreationOptions);
212
- constructor(action: Action_1<any>, state: any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
213
- readonly asyncState: any;
209
+ constructor(action: Action_1<unknown>, state: unknown);
210
+ constructor(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken);
211
+ constructor(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions);
212
+ constructor(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
213
+ readonly asyncState: unknown;
214
214
  readonly creationOptions: TaskCreationOptions;
215
215
  readonly exception: AggregateException;
216
216
  readonly id: int;
@@ -226,21 +226,21 @@ export class Task$instance {
226
226
  continueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
227
227
  continueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
228
228
  continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
229
- continueWith(continuationAction: Action_2<Task, any>, state: any): Task;
230
- continueWith(continuationAction: Action_2<Task, any>, state: any, cancellationToken: CancellationToken): Task;
231
- continueWith(continuationAction: Action_2<Task, any>, state: any, scheduler: TaskScheduler): Task;
232
- continueWith(continuationAction: Action_2<Task, any>, state: any, continuationOptions: TaskContinuationOptions): Task;
233
- continueWith(continuationAction: Action_2<Task, any>, state: any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
229
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown): Task;
230
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
231
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, scheduler: TaskScheduler): Task;
232
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
233
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
234
234
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
235
235
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
236
236
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
237
237
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
238
238
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
239
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any): Task_1<TResult>;
240
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, cancellationToken: CancellationToken): Task_1<TResult>;
241
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, scheduler: TaskScheduler): Task_1<TResult>;
242
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
243
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
239
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown): Task_1<TResult>;
240
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
241
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, scheduler: TaskScheduler): Task_1<TResult>;
242
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
243
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
244
244
  dispose(): void;
245
245
  getAwaiter(): TaskAwaiter;
246
246
  runSynchronously(): void;
@@ -258,67 +258,69 @@ export class Task$instance {
258
258
  waitAsync(timeout: TimeSpan, timeProvider: TimeProvider): Task;
259
259
  waitAsync(timeout: TimeSpan, cancellationToken: CancellationToken): Task;
260
260
  waitAsync(timeout: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
261
- static readonly CurrentId: Nullable_1<CLROf<int>>;
262
- static readonly Factory: TaskFactory;
263
- static readonly CompletedTask: Task;
264
- static Delay(millisecondsDelay: int, cancellationToken: CancellationToken): Task;
265
- static Delay(millisecondsDelay: int): Task;
266
- static Delay(delay: TimeSpan, cancellationToken: CancellationToken): Task;
267
- static Delay(delay: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
268
- static Delay(delay: TimeSpan, timeProvider: TimeProvider): Task;
269
- static Delay(delay: TimeSpan): Task;
270
- static FromCanceled(cancellationToken: CancellationToken): Task;
271
- static FromCanceled<TResult>(cancellationToken: CancellationToken): Task_1<TResult>;
272
- static FromException(exception: Exception): Task;
273
- static FromException<TResult>(exception: Exception): Task_1<TResult>;
274
- static FromResult<TResult>(result: TResult): Task_1<TResult>;
275
- static Run<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
276
- static Run<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
277
- static Run(action: Action, cancellationToken: CancellationToken): Task;
278
- static Run(action: Action): Task;
279
- static Run(function_: Func_1<Task>, cancellationToken: CancellationToken): Task;
280
- static Run(function_: Func_1<Task>): Task;
281
- static WaitAll(tasks: IEnumerable_1<Task>, cancellationToken?: CancellationToken): void;
282
- static WaitAll(tasks: ReadOnlySpan_1<Task>): void;
283
- static WaitAll(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): boolean;
284
- static WaitAll(tasks: Task[], millisecondsTimeout: int): boolean;
285
- static WaitAll(tasks: Task[], cancellationToken: CancellationToken): void;
286
- static WaitAll(tasks: Task[], timeout: TimeSpan): boolean;
287
- static WaitAll(tasks: Task[]): void;
288
- static WaitAny(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): int;
289
- static WaitAny(tasks: Task[], millisecondsTimeout: int): int;
290
- static WaitAny(tasks: Task[], cancellationToken: CancellationToken): int;
291
- static WaitAny(tasks: Task[], timeout: TimeSpan): int;
292
- static WaitAny(tasks: Task[]): int;
293
- static WhenAll<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<TResult[]>;
294
- static WhenAll<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<TResult[]>;
295
- static WhenAll(tasks: IEnumerable_1<Task>): Task;
296
- static WhenAll(tasks: ReadOnlySpan_1<Task>): Task;
297
- static WhenAll(tasks: Task[]): Task;
298
- static WhenAll<TResult>(tasks: Task_1<TResult>[]): Task_1<TResult[]>;
299
- static WhenAny<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
300
- static WhenAny<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
301
- static WhenAny(tasks: IEnumerable_1<Task>): Task_1<Task>;
302
- static WhenAny(tasks: ReadOnlySpan_1<Task>): Task_1<Task>;
303
- static WhenAny(task1: Task, task2: Task): Task_1<Task>;
304
- static WhenAny(tasks: Task[]): Task_1<Task>;
305
- static WhenAny<TResult>(task1: Task_1<TResult>, task2: Task_1<TResult>): Task_1<Task_1<TResult>>;
306
- static WhenAny<TResult>(tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
307
- static WhenEach<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
308
- static WhenEach<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
309
- static WhenEach(tasks: IEnumerable_1<Task>): IAsyncEnumerable_1<Task>;
310
- static WhenEach(tasks: ReadOnlySpan_1<Task>): IAsyncEnumerable_1<Task>;
311
- static WhenEach(tasks: Task[]): IAsyncEnumerable_1<Task>;
312
- static WhenEach<TResult>(tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
313
- static Yield(): YieldAwaitable;
261
+ static readonly currentId: Nullable_1<CLROf<int>>;
262
+ static readonly factory: TaskFactory;
263
+ static readonly completedTask: Task;
264
+ static delay6(millisecondsDelay: int, cancellationToken: CancellationToken): Task;
265
+ static delay6(millisecondsDelay: int): Task;
266
+ static delay6(delay: TimeSpan, cancellationToken: CancellationToken): Task;
267
+ static delay6(delay: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
268
+ static delay6(delay: TimeSpan, timeProvider: TimeProvider): Task;
269
+ static delay6(delay: TimeSpan): Task;
270
+ static fromCanceled(cancellationToken: CancellationToken): Task;
271
+ static fromCanceled<TResult>(cancellationToken: CancellationToken): Task_1<TResult>;
272
+ static fromException(exception: Exception): Task;
273
+ static fromException<TResult>(exception: Exception): Task_1<TResult>;
274
+ static fromResult<TResult>(result: TResult): Task_1<TResult>;
275
+ static run4<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
276
+ static run4<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
277
+ static run4(action: Action, cancellationToken: CancellationToken): Task;
278
+ static run4(action: Action): Task;
279
+ static run4(function_: Func_1<Task>, cancellationToken: CancellationToken): Task;
280
+ static run4(function_: Func_1<Task>): Task;
281
+ static waitAll7(tasks: IEnumerable_1<Task>, cancellationToken?: CancellationToken): void;
282
+ static waitAll7(tasks: ReadOnlySpan_1<Task>): void;
283
+ static waitAll7(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): boolean;
284
+ static waitAll7(tasks: Task[], millisecondsTimeout: int): boolean;
285
+ static waitAll7(tasks: Task[], cancellationToken: CancellationToken): void;
286
+ static waitAll7(tasks: Task[], timeout: TimeSpan): boolean;
287
+ static waitAll7(tasks: Task[]): void;
288
+ static waitAny5(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): int;
289
+ static waitAny5(tasks: Task[], millisecondsTimeout: int): int;
290
+ static waitAny5(tasks: Task[], cancellationToken: CancellationToken): int;
291
+ static waitAny5(tasks: Task[], timeout: TimeSpan): int;
292
+ static waitAny5(tasks: Task[]): int;
293
+ static whenAll4<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<TResult[]>;
294
+ static whenAll4<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<TResult[]>;
295
+ static whenAll4(tasks: IEnumerable_1<Task>): Task;
296
+ static whenAll4(tasks: ReadOnlySpan_1<Task>): Task;
297
+ static whenAll4(tasks: Task[]): Task;
298
+ static whenAll4<TResult>(tasks: Task_1<TResult>[]): Task_1<TResult[]>;
299
+ static whenAny8<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
300
+ static whenAny8<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
301
+ static whenAny8(tasks: IEnumerable_1<Task>): Task_1<Task>;
302
+ static whenAny8(tasks: ReadOnlySpan_1<Task>): Task_1<Task>;
303
+ static whenAny8(task1: Task, task2: Task): Task_1<Task>;
304
+ static whenAny8(tasks: Task[]): Task_1<Task>;
305
+ static whenAny8<TResult>(task1: Task_1<TResult>, task2: Task_1<TResult>): Task_1<Task_1<TResult>>;
306
+ static whenAny8<TResult>(tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
307
+ static whenEach6<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
308
+ static whenEach6<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
309
+ static whenEach6(tasks: IEnumerable_1<Task>): IAsyncEnumerable_1<Task>;
310
+ static whenEach6(tasks: ReadOnlySpan_1<Task>): IAsyncEnumerable_1<Task>;
311
+ static whenEach6(tasks: Task[]): IAsyncEnumerable_1<Task>;
312
+ static whenEach6<TResult>(tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
313
+ static yield_(): YieldAwaitable;
314
314
  }
315
315
 
316
316
 
317
317
  export interface __Task$views {
318
- readonly As_IAsyncResult: System_Internal.IAsyncResult$instance;
319
- readonly As_IDisposable: System_Internal.IDisposable$instance;
318
+ As_IAsyncResult(): System_Internal.IAsyncResult$instance;
319
+ As_IDisposable(): System_Internal.IDisposable$instance;
320
320
  }
321
321
 
322
+ export interface Task$instance extends System_Internal.IAsyncResult$instance, System_Internal.IDisposable$instance {}
323
+
322
324
  export type Task = Task$instance & __Task$views;
323
325
 
324
326
 
@@ -327,10 +329,10 @@ export class Task_1$instance<TResult> extends Task$instance {
327
329
  constructor(function_: Func_1<TResult>, cancellationToken: CancellationToken);
328
330
  constructor(function_: Func_1<TResult>, creationOptions: TaskCreationOptions);
329
331
  constructor(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
330
- constructor(function_: Func_2<any, TResult>, state: any);
331
- constructor(function_: Func_2<any, TResult>, state: any, cancellationToken: CancellationToken);
332
- constructor(function_: Func_2<any, TResult>, state: any, creationOptions: TaskCreationOptions);
333
- constructor(function_: Func_2<any, TResult>, state: any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
332
+ constructor(function_: Func_2<unknown, TResult>, state: unknown);
333
+ constructor(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken);
334
+ constructor(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions);
335
+ constructor(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions);
334
336
  readonly result: TResult;
335
337
  configureAwait(continueOnCapturedContext: boolean): ConfiguredTaskAwaitable;
336
338
  configureAwait(options: ConfigureAwaitOptions): ConfiguredTaskAwaitable;
@@ -339,41 +341,41 @@ export class Task_1$instance<TResult> extends Task$instance {
339
341
  continueWith(continuationAction: Action_1<Task_1<TResult>>, scheduler: TaskScheduler): Task;
340
342
  continueWith(continuationAction: Action_1<Task_1<TResult>>, continuationOptions: TaskContinuationOptions): Task;
341
343
  continueWith(continuationAction: Action_1<Task_1<TResult>>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
342
- continueWith(continuationAction: Action_2<Task_1<TResult>, any>, state: any): Task;
343
- continueWith(continuationAction: Action_2<Task_1<TResult>, any>, state: any, cancellationToken: CancellationToken): Task;
344
- continueWith(continuationAction: Action_2<Task_1<TResult>, any>, state: any, scheduler: TaskScheduler): Task;
345
- continueWith(continuationAction: Action_2<Task_1<TResult>, any>, state: any, continuationOptions: TaskContinuationOptions): Task;
346
- continueWith(continuationAction: Action_2<Task_1<TResult>, any>, state: any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
344
+ continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown): Task;
345
+ continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
346
+ continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, scheduler: TaskScheduler): Task;
347
+ continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
348
+ continueWith(continuationAction: Action_2<Task_1<TResult>, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
347
349
  continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>): Task_1<TNewResult>;
348
350
  continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, cancellationToken: CancellationToken): Task_1<TNewResult>;
349
351
  continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, scheduler: TaskScheduler): Task_1<TNewResult>;
350
352
  continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
351
353
  continueWith<TNewResult>(continuationFunction: Func_2<Task_1<TResult>, TNewResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
352
- continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, any, TNewResult>, state: any): Task_1<TNewResult>;
353
- continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, any, TNewResult>, state: any, cancellationToken: CancellationToken): Task_1<TNewResult>;
354
- continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, any, TNewResult>, state: any, scheduler: TaskScheduler): Task_1<TNewResult>;
355
- continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, any, TNewResult>, state: any, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
356
- continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, any, TNewResult>, state: any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
354
+ continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown): Task_1<TNewResult>;
355
+ continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TNewResult>;
356
+ continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, scheduler: TaskScheduler): Task_1<TNewResult>;
357
+ continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TNewResult>;
358
+ continueWith<TNewResult>(continuationFunction: Func_3<Task_1<TResult>, unknown, TNewResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TNewResult>;
357
359
  continueWith(continuationAction: Action_1<Task>): Task;
358
360
  continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken): Task;
359
361
  continueWith(continuationAction: Action_1<Task>, scheduler: TaskScheduler): Task;
360
362
  continueWith(continuationAction: Action_1<Task>, continuationOptions: TaskContinuationOptions): Task;
361
363
  continueWith(continuationAction: Action_1<Task>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
362
- continueWith(continuationAction: Action_2<Task, any>, state: any): Task;
363
- continueWith(continuationAction: Action_2<Task, any>, state: any, cancellationToken: CancellationToken): Task;
364
- continueWith(continuationAction: Action_2<Task, any>, state: any, scheduler: TaskScheduler): Task;
365
- continueWith(continuationAction: Action_2<Task, any>, state: any, continuationOptions: TaskContinuationOptions): Task;
366
- continueWith(continuationAction: Action_2<Task, any>, state: any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
364
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown): Task;
365
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken): Task;
366
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, scheduler: TaskScheduler): Task;
367
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, continuationOptions: TaskContinuationOptions): Task;
368
+ continueWith(continuationAction: Action_2<Task, unknown>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task;
367
369
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>): Task_1<TResult>;
368
370
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
369
371
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, scheduler: TaskScheduler): Task_1<TResult>;
370
372
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
371
373
  continueWith<TResult>(continuationFunction: Func_2<Task, TResult>, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
372
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any): Task_1<TResult>;
373
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, cancellationToken: CancellationToken): Task_1<TResult>;
374
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, scheduler: TaskScheduler): Task_1<TResult>;
375
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
376
- continueWith<TResult>(continuationFunction: Func_3<Task, any, TResult>, state: any, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
374
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown): Task_1<TResult>;
375
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
376
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, scheduler: TaskScheduler): Task_1<TResult>;
377
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
378
+ continueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
377
379
  dispose(): void;
378
380
  getAwaiter(): TaskAwaiter;
379
381
  waitAsync(cancellationToken: CancellationToken): Task;
@@ -385,10 +387,12 @@ export class Task_1$instance<TResult> extends Task$instance {
385
387
 
386
388
 
387
389
  export interface __Task_1$views<TResult> {
388
- readonly As_IAsyncResult: System_Internal.IAsyncResult$instance;
389
- readonly As_IDisposable: System_Internal.IDisposable$instance;
390
+ As_IAsyncResult(): System_Internal.IAsyncResult$instance;
391
+ As_IDisposable(): System_Internal.IDisposable$instance;
390
392
  }
391
393
 
394
+ export interface Task_1$instance<TResult> extends System_Internal.IAsyncResult$instance {}
395
+
392
396
  export type Task_1<TResult> = Task_1$instance<TResult> & __Task_1$views<TResult>;
393
397
 
394
398
 
@@ -404,7 +408,7 @@ export class TaskCanceledException$instance extends System_Internal.OperationCan
404
408
 
405
409
 
406
410
  export interface __TaskCanceledException$views {
407
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
411
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
408
412
  }
409
413
 
410
414
  export type TaskCanceledException = TaskCanceledException$instance & __TaskCanceledException$views;
@@ -413,8 +417,8 @@ export type TaskCanceledException = TaskCanceledException$instance & __TaskCance
413
417
  export class TaskCompletionSource$instance {
414
418
  constructor();
415
419
  constructor(creationOptions: TaskCreationOptions);
416
- constructor(state: any);
417
- constructor(state: any, creationOptions: TaskCreationOptions);
420
+ constructor(state: unknown);
421
+ constructor(state: unknown, creationOptions: TaskCreationOptions);
418
422
  readonly task: Task;
419
423
  setCanceled(): void;
420
424
  setCanceled(cancellationToken: CancellationToken): void;
@@ -436,8 +440,8 @@ export type TaskCompletionSource = TaskCompletionSource$instance;
436
440
  export class TaskCompletionSource_1$instance<TResult> {
437
441
  constructor();
438
442
  constructor(creationOptions: TaskCreationOptions);
439
- constructor(state: any);
440
- constructor(state: any, creationOptions: TaskCreationOptions);
443
+ constructor(state: unknown);
444
+ constructor(state: unknown, creationOptions: TaskCreationOptions);
441
445
  readonly task: Task_1<TResult>;
442
446
  setCanceled(): void;
443
447
  setCanceled(cancellationToken: CancellationToken): void;
@@ -501,41 +505,41 @@ export class TaskFactory$instance {
501
505
  fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>): Task;
502
506
  fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions): Task;
503
507
  fromAsync(asyncResult: IAsyncResult, endMethod: Action_1<IAsyncResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
504
- fromAsync(beginMethod: Func_3<AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: any): Task;
505
- fromAsync(beginMethod: Func_3<AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: any, creationOptions: TaskCreationOptions): Task;
506
- fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: any): Task;
507
- fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: any, creationOptions: TaskCreationOptions): Task;
508
- fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: any): Task;
509
- fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: any, creationOptions: TaskCreationOptions): Task;
510
- fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: any): Task;
511
- fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, any, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: any, creationOptions: TaskCreationOptions): Task;
508
+ fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: unknown): Task;
509
+ fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, state: unknown, creationOptions: TaskCreationOptions): Task;
510
+ fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: unknown): Task;
511
+ fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task;
512
+ fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task;
513
+ fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task;
514
+ fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown): Task;
515
+ fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Action_1<IAsyncResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown, creationOptions: TaskCreationOptions): Task;
512
516
  fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
513
517
  fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
514
518
  fromAsync<TResult>(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
515
- fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: any): Task_1<TResult>;
516
- fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
517
- fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: any): Task_1<TResult>;
518
- fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
519
- fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: any): Task_1<TResult>;
520
- fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
521
- fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: any): Task_1<TResult>;
522
- fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
519
+ fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown): Task_1<TResult>;
520
+ fromAsync<TResult>(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
521
+ fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown): Task_1<TResult>;
522
+ fromAsync<TArg1, TResult>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
523
+ fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task_1<TResult>;
524
+ fromAsync<TArg1, TArg2, TResult>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
525
+ fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown): Task_1<TResult>;
526
+ fromAsync<TArg1, TArg2, TArg3, TResult>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
523
527
  startNew(action: Action): Task;
524
528
  startNew(action: Action, cancellationToken: CancellationToken): Task;
525
529
  startNew(action: Action, creationOptions: TaskCreationOptions): Task;
526
530
  startNew(action: Action, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
527
- startNew(action: Action_1<any>, state: any): Task;
528
- startNew(action: Action_1<any>, state: any, cancellationToken: CancellationToken): Task;
529
- startNew(action: Action_1<any>, state: any, creationOptions: TaskCreationOptions): Task;
530
- startNew(action: Action_1<any>, state: any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
531
+ startNew(action: Action_1<unknown>, state: unknown): Task;
532
+ startNew(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken): Task;
533
+ startNew(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions): Task;
534
+ startNew(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task;
531
535
  startNew<TResult>(function_: Func_1<TResult>): Task_1<TResult>;
532
536
  startNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
533
537
  startNew<TResult>(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
534
538
  startNew<TResult>(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
535
- startNew<TResult>(function_: Func_2<any, TResult>, state: any): Task_1<TResult>;
536
- startNew<TResult>(function_: Func_2<any, TResult>, state: any, cancellationToken: CancellationToken): Task_1<TResult>;
537
- startNew<TResult>(function_: Func_2<any, TResult>, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
538
- startNew<TResult>(function_: Func_2<any, TResult>, state: any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
539
+ startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
540
+ startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
541
+ startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
542
+ startNew<TResult>(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
539
543
  }
540
544
 
541
545
 
@@ -570,22 +574,22 @@ export class TaskFactory_1$instance<TResult> {
570
574
  fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>): Task_1<TResult>;
571
575
  fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
572
576
  fromAsync(asyncResult: IAsyncResult, endMethod: Func_2<IAsyncResult, TResult>, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
573
- fromAsync(beginMethod: Func_3<AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: any): Task_1<TResult>;
574
- fromAsync(beginMethod: Func_3<AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
575
- fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: any): Task_1<TResult>;
576
- fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
577
- fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: any): Task_1<TResult>;
578
- fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
579
- fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: any): Task_1<TResult>;
580
- fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, any, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
577
+ fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown): Task_1<TResult>;
578
+ fromAsync(beginMethod: Func_3<AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
579
+ fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown): Task_1<TResult>;
580
+ fromAsync<TArg1>(beginMethod: Func_4<TArg1, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
581
+ fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown): Task_1<TResult>;
582
+ fromAsync<TArg1, TArg2>(beginMethod: Func_5<TArg1, TArg2, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
583
+ fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown): Task_1<TResult>;
584
+ fromAsync<TArg1, TArg2, TArg3>(beginMethod: Func_6<TArg1, TArg2, TArg3, AsyncCallback, unknown, IAsyncResult>, endMethod: Func_2<IAsyncResult, TResult>, arg1: TArg1, arg2: TArg2, arg3: TArg3, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
581
585
  startNew(function_: Func_1<TResult>): Task_1<TResult>;
582
586
  startNew(function_: Func_1<TResult>, cancellationToken: CancellationToken): Task_1<TResult>;
583
587
  startNew(function_: Func_1<TResult>, creationOptions: TaskCreationOptions): Task_1<TResult>;
584
588
  startNew(function_: Func_1<TResult>, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
585
- startNew(function_: Func_2<any, TResult>, state: any): Task_1<TResult>;
586
- startNew(function_: Func_2<any, TResult>, state: any, cancellationToken: CancellationToken): Task_1<TResult>;
587
- startNew(function_: Func_2<any, TResult>, state: any, creationOptions: TaskCreationOptions): Task_1<TResult>;
588
- startNew(function_: Func_2<any, TResult>, state: any, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
589
+ startNew(function_: Func_2<unknown, TResult>, state: unknown): Task_1<TResult>;
590
+ startNew(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken): Task_1<TResult>;
591
+ startNew(function_: Func_2<unknown, TResult>, state: unknown, creationOptions: TaskCreationOptions): Task_1<TResult>;
592
+ startNew(function_: Func_2<unknown, TResult>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions, scheduler: TaskScheduler): Task_1<TResult>;
589
593
  }
590
594
 
591
595
 
@@ -594,9 +598,9 @@ export type TaskFactory_1<TResult> = TaskFactory_1$instance<TResult>;
594
598
  export abstract class TaskScheduler$instance {
595
599
  readonly id: int;
596
600
  readonly maximumConcurrencyLevel: int;
597
- static readonly Default: TaskScheduler;
598
- static readonly Current: TaskScheduler;
599
- static FromCurrentSynchronizationContext(): TaskScheduler;
601
+ static readonly default_: TaskScheduler;
602
+ static readonly current: TaskScheduler;
603
+ static fromCurrentSynchronizationContext(): TaskScheduler;
600
604
  }
601
605
 
602
606
 
@@ -612,7 +616,7 @@ export class TaskSchedulerException$instance extends System_Internal.Exception$i
612
616
 
613
617
 
614
618
  export interface __TaskSchedulerException$views {
615
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
619
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
616
620
  }
617
621
 
618
622
  export type TaskSchedulerException = TaskSchedulerException$instance & __TaskSchedulerException$views;
@@ -629,78 +633,78 @@ export class UnobservedTaskExceptionEventArgs$instance extends System_Internal.E
629
633
  export type UnobservedTaskExceptionEventArgs = UnobservedTaskExceptionEventArgs$instance;
630
634
 
631
635
  export abstract class Parallel$instance {
632
- static For<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
633
- static For(fromInclusive: int, toExclusive: int, body: Action_1<CLROf<int>>): ParallelLoopResult;
634
- static For(fromInclusive: int, toExclusive: int, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
635
- 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;
636
- static For(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<CLROf<int>>): ParallelLoopResult;
637
- static For(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
638
- static For<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
639
- static For(fromInclusive: long, toExclusive: long, body: Action_1<CLROf<long>>): ParallelLoopResult;
640
- static For(fromInclusive: long, toExclusive: long, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
641
- 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;
642
- static For(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<CLROf<long>>): ParallelLoopResult;
643
- static For(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
644
- static ForAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, body: Func_3<T, CancellationToken, ValueTask>): Task;
645
- static ForAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, cancellationToken: CancellationToken, body: Func_3<T, CancellationToken, ValueTask>): Task;
646
- static ForAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, parallelOptions: ParallelOptions, body: Func_3<T, CancellationToken, ValueTask>): Task;
647
- static ForEach<TSource>(source: IEnumerable_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
648
- static ForEach<TSource>(source: IEnumerable_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
649
- static ForEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
650
- static ForEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
651
- 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;
652
- static ForEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
653
- static ForEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
654
- static ForEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
655
- 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;
656
- 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;
657
- static ForEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
658
- 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;
659
- static ForEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
660
- 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;
661
- static ForEach<TSource>(source: Partitioner_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
662
- static ForEach<TSource>(source: Partitioner_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
663
- static ForEach<TSource, TLocal>(source: Partitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
664
- static ForEach<TSource>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
665
- static ForEach<TSource>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
666
- static ForEach<TSource, TLocal>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
667
- static ForEachAsync<TSource>(source: IAsyncEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
668
- static ForEachAsync<TSource>(source: IAsyncEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
669
- static ForEachAsync<TSource>(source: IAsyncEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
670
- static ForEachAsync<TSource>(source: IEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
671
- static ForEachAsync<TSource>(source: IEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
672
- static ForEachAsync<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
673
- static Invoke(actions: Action[]): void;
674
- static Invoke(parallelOptions: ParallelOptions, actions: Action[]): void;
636
+ static for_9<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
637
+ static for_9(fromInclusive: int, toExclusive: int, body: Action_1<CLROf<int>>): ParallelLoopResult;
638
+ static for_9(fromInclusive: int, toExclusive: int, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
639
+ static for_9<TLocal>(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<CLROf<int>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
640
+ static for_9(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<CLROf<int>>): ParallelLoopResult;
641
+ static for_9(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<CLROf<int>, ParallelLoopState>): ParallelLoopResult;
642
+ static for_9<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
643
+ static for_9(fromInclusive: long, toExclusive: long, body: Action_1<CLROf<long>>): ParallelLoopResult;
644
+ static for_9(fromInclusive: long, toExclusive: long, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
645
+ static for_9<TLocal>(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<CLROf<long>, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
646
+ static for_9(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<CLROf<long>>): ParallelLoopResult;
647
+ static for_9(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<CLROf<long>, ParallelLoopState>): ParallelLoopResult;
648
+ static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, body: Func_3<T, CancellationToken, ValueTask>): Task;
649
+ static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, cancellationToken: CancellationToken, body: Func_3<T, CancellationToken, ValueTask>): Task;
650
+ static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, parallelOptions: ParallelOptions, body: Func_3<T, CancellationToken, ValueTask>): Task;
651
+ static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
652
+ static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
653
+ static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
654
+ static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
655
+ 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;
656
+ static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
657
+ static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
658
+ static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
659
+ 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;
660
+ 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;
661
+ static forEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
662
+ 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;
663
+ static forEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, CLROf<long>>): ParallelLoopResult;
664
+ 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;
665
+ static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
666
+ static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
667
+ static forEach<TSource, TLocal>(source: Partitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
668
+ static forEach<TSource>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
669
+ static forEach<TSource>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
670
+ static forEach<TSource, TLocal>(source: Partitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
671
+ static forEachAsync4<TSource>(source: IAsyncEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
672
+ static forEachAsync4<TSource>(source: IAsyncEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
673
+ static forEachAsync4<TSource>(source: IAsyncEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
674
+ static forEachAsync4<TSource>(source: IEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
675
+ static forEachAsync4<TSource>(source: IEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
676
+ static forEachAsync4<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
677
+ static invoke(actions: Action[]): void;
678
+ static invoke(parallelOptions: ParallelOptions, actions: Action[]): void;
675
679
  }
676
680
 
677
681
 
678
682
  export type Parallel = Parallel$instance;
679
683
 
680
684
  export abstract class TaskAsyncEnumerableExtensions$instance {
681
- static ConfigureAwait<T>(source: IAsyncEnumerable_1<T>, continueOnCapturedContext: boolean): ConfiguredCancelableAsyncEnumerable_1<T>;
682
- static ConfigureAwait(source: IAsyncDisposable, continueOnCapturedContext: boolean): ConfiguredAsyncDisposable;
683
- static ToBlockingEnumerable<T>(source: IAsyncEnumerable_1<T>, cancellationToken?: CancellationToken): IEnumerable_1<T>;
684
- static WithCancellation<T>(source: IAsyncEnumerable_1<T>, cancellationToken: CancellationToken): ConfiguredCancelableAsyncEnumerable_1<T>;
685
+ static configureAwait2<T>(source: IAsyncEnumerable_1<T>, continueOnCapturedContext: boolean): ConfiguredCancelableAsyncEnumerable_1<T>;
686
+ static configureAwait2(source: IAsyncDisposable, continueOnCapturedContext: boolean): ConfiguredAsyncDisposable;
687
+ static toBlockingEnumerable<T>(source: IAsyncEnumerable_1<T>, cancellationToken?: CancellationToken): IEnumerable_1<T>;
688
+ static withCancellation<T>(source: IAsyncEnumerable_1<T>, cancellationToken: CancellationToken): ConfiguredCancelableAsyncEnumerable_1<T>;
685
689
  }
686
690
 
687
691
 
688
692
  export type TaskAsyncEnumerableExtensions = TaskAsyncEnumerableExtensions$instance;
689
693
 
690
694
  export abstract class TaskExtensions$instance {
691
- static Unwrap(task: Task_1<Task>): Task;
692
- static Unwrap<TResult>(task: Task_1<Task_1<TResult>>): Task_1<TResult>;
695
+ static unwrap(task: Task_1<Task>): Task;
696
+ static unwrap<TResult>(task: Task_1<Task_1<TResult>>): Task_1<TResult>;
693
697
  }
694
698
 
695
699
 
696
700
  export type TaskExtensions = TaskExtensions$instance;
697
701
 
698
702
  export abstract class TaskToAsyncResult$instance {
699
- static Begin(task: Task, callback: AsyncCallback, state: any): IAsyncResult;
700
- static End(asyncResult: IAsyncResult): void;
701
- static End<TResult>(asyncResult: IAsyncResult): TResult;
702
- static Unwrap(asyncResult: IAsyncResult): Task;
703
- static Unwrap<TResult>(asyncResult: IAsyncResult): Task_1<TResult>;
703
+ static begin(task: Task, callback: AsyncCallback, state: unknown): IAsyncResult;
704
+ static end(asyncResult: IAsyncResult): void;
705
+ static end<TResult>(asyncResult: IAsyncResult): TResult;
706
+ static unwrap(asyncResult: IAsyncResult): Task;
707
+ static unwrap<TResult>(asyncResult: IAsyncResult): Task_1<TResult>;
704
708
  }
705
709
 
706
710