@tsonic/dotnet 0.7.4 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/Internal/internal/index.d.ts +0 -25
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
  3. package/Microsoft.VisualBasic/bindings.json +203 -29
  4. package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
  5. package/Microsoft.VisualBasic/internal/metadata.json +203 -29
  6. package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
  7. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
  8. package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
  10. package/Microsoft.Win32/internal/index.d.ts +0 -25
  11. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
  12. package/System/bindings.json +4800 -552
  13. package/System/internal/index.d.ts +2537 -395
  14. package/System/internal/metadata.json +4800 -552
  15. package/System.Buffers/bindings.json +196 -24
  16. package/System.Buffers/internal/index.d.ts +29 -54
  17. package/System.Buffers/internal/metadata.json +196 -24
  18. package/System.Buffers.Binary/bindings.json +182 -26
  19. package/System.Buffers.Binary/internal/index.d.ts +115 -140
  20. package/System.Buffers.Binary/internal/metadata.json +182 -26
  21. package/System.Buffers.Text/bindings.json +431 -49
  22. package/System.Buffers.Text/internal/index.d.ts +64 -89
  23. package/System.Buffers.Text/internal/metadata.json +431 -49
  24. package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
  25. package/System.Collections/bindings.json +11 -1
  26. package/System.Collections/internal/index.d.ts +2 -27
  27. package/System.Collections/internal/metadata.json +11 -1
  28. package/System.Collections.Concurrent/bindings.json +211 -29
  29. package/System.Collections.Concurrent/internal/index.d.ts +31 -56
  30. package/System.Collections.Concurrent/internal/metadata.json +211 -29
  31. package/System.Collections.Frozen/bindings.json +56 -8
  32. package/System.Collections.Frozen/internal/index.d.ts +9 -34
  33. package/System.Collections.Frozen/internal/metadata.json +56 -8
  34. package/System.Collections.Generic/bindings.json +273 -35
  35. package/System.Collections.Generic/internal/index.d.ts +36 -61
  36. package/System.Collections.Generic/internal/metadata.json +273 -35
  37. package/System.Collections.Immutable/bindings.json +362 -50
  38. package/System.Collections.Immutable/internal/index.d.ts +49 -74
  39. package/System.Collections.Immutable/internal/metadata.json +362 -50
  40. package/System.Collections.ObjectModel/bindings.json +28 -4
  41. package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
  42. package/System.Collections.ObjectModel/internal/metadata.json +28 -4
  43. package/System.Collections.Specialized/internal/index.d.ts +0 -25
  44. package/System.ComponentModel/bindings.json +174 -18
  45. package/System.ComponentModel/internal/index.d.ts +22 -47
  46. package/System.ComponentModel/internal/metadata.json +174 -18
  47. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
  48. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
  49. package/System.ComponentModel.Design/internal/index.d.ts +0 -25
  50. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
  51. package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
  52. package/System.Data/internal/index.d.ts +7 -32
  53. package/System.Data.Common/bindings.json +14 -2
  54. package/System.Data.Common/internal/index.d.ts +27 -52
  55. package/System.Data.Common/internal/metadata.json +14 -2
  56. package/System.Data.SqlTypes/internal/index.d.ts +1 -26
  57. package/System.Diagnostics/bindings.json +181 -23
  58. package/System.Diagnostics/internal/index.d.ts +87 -112
  59. package/System.Diagnostics/internal/metadata.json +181 -23
  60. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
  61. package/System.Diagnostics.Contracts/bindings.json +7 -1
  62. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
  63. package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
  64. package/System.Diagnostics.Metrics/bindings.json +35 -5
  65. package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
  66. package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
  67. package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
  68. package/System.Diagnostics.Tracing/bindings.json +37 -3
  69. package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
  70. package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
  71. package/System.Drawing/internal/index.d.ts +0 -25
  72. package/System.Dynamic/bindings.json +63 -9
  73. package/System.Dynamic/internal/index.d.ts +17 -42
  74. package/System.Dynamic/internal/metadata.json +63 -9
  75. package/System.Formats.Asn1/bindings.json +451 -49
  76. package/System.Formats.Asn1/internal/index.d.ts +69 -94
  77. package/System.Formats.Asn1/internal/metadata.json +451 -49
  78. package/System.Formats.Tar/internal/index.d.ts +4 -29
  79. package/System.Globalization/bindings.json +28 -4
  80. package/System.Globalization/internal/index.d.ts +18 -43
  81. package/System.Globalization/internal/metadata.json +28 -4
  82. package/System.IO/bindings.json +35 -5
  83. package/System.IO/internal/index.d.ts +197 -222
  84. package/System.IO/internal/metadata.json +35 -5
  85. package/System.IO.Compression/bindings.json +50 -6
  86. package/System.IO.Compression/internal/index.d.ts +51 -76
  87. package/System.IO.Compression/internal/metadata.json +50 -6
  88. package/System.IO.Enumeration/bindings.json +42 -6
  89. package/System.IO.Enumeration/internal/index.d.ts +11 -36
  90. package/System.IO.Enumeration/internal/metadata.json +42 -6
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
  92. package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
  93. package/System.IO.Pipelines/bindings.json +7 -1
  94. package/System.IO.Pipelines/internal/index.d.ts +17 -42
  95. package/System.IO.Pipelines/internal/metadata.json +7 -1
  96. package/System.IO.Pipes/internal/index.d.ts +11 -36
  97. package/System.Linq/bindings.json +7 -1
  98. package/System.Linq/internal/index.d.ts +332 -357
  99. package/System.Linq/internal/metadata.json +7 -1
  100. package/System.Linq.Expressions/bindings.json +14 -2
  101. package/System.Linq.Expressions/internal/index.d.ts +3 -28
  102. package/System.Linq.Expressions/internal/metadata.json +14 -2
  103. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
  104. package/System.Net/bindings.json +175 -25
  105. package/System.Net/internal/index.d.ts +36 -61
  106. package/System.Net/internal/metadata.json +175 -25
  107. package/System.Net.Cache/internal/index.d.ts +0 -25
  108. package/System.Net.Http/bindings.json +21 -3
  109. package/System.Net.Http/internal/index.d.ts +21 -46
  110. package/System.Net.Http/internal/metadata.json +21 -3
  111. package/System.Net.Http.Headers/bindings.json +154 -22
  112. package/System.Net.Http.Headers/internal/index.d.ts +67 -92
  113. package/System.Net.Http.Headers/internal/metadata.json +154 -22
  114. package/System.Net.Http.Json/internal/index.d.ts +0 -25
  115. package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
  116. package/System.Net.Mail/bindings.json +21 -3
  117. package/System.Net.Mail/internal/index.d.ts +4 -29
  118. package/System.Net.Mail/internal/metadata.json +21 -3
  119. package/System.Net.Mime/internal/index.d.ts +0 -25
  120. package/System.Net.NetworkInformation/bindings.json +14 -2
  121. package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
  122. package/System.Net.NetworkInformation/internal/metadata.json +14 -2
  123. package/System.Net.Quic/internal/index.d.ts +14 -39
  124. package/System.Net.Security/bindings.json +43 -5
  125. package/System.Net.Security/internal/index.d.ts +29 -54
  126. package/System.Net.Security/internal/metadata.json +43 -5
  127. package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
  128. package/System.Net.Sockets/bindings.json +224 -28
  129. package/System.Net.Sockets/internal/index.d.ts +108 -133
  130. package/System.Net.Sockets/internal/metadata.json +224 -28
  131. package/System.Net.WebSockets/internal/index.d.ts +29 -54
  132. package/System.Numerics/bindings.json +1030 -142
  133. package/System.Numerics/internal/index.d.ts +264 -289
  134. package/System.Numerics/internal/metadata.json +1030 -142
  135. package/System.Reflection/bindings.json +29 -3
  136. package/System.Reflection/internal/index.d.ts +4 -29
  137. package/System.Reflection/internal/metadata.json +29 -3
  138. package/System.Reflection.Emit/bindings.json +26 -2
  139. package/System.Reflection.Emit/internal/index.d.ts +3 -28
  140. package/System.Reflection.Emit/internal/metadata.json +26 -2
  141. package/System.Reflection.Metadata/bindings.json +46 -6
  142. package/System.Reflection.Metadata/internal/index.d.ts +31 -56
  143. package/System.Reflection.Metadata/internal/metadata.json +46 -6
  144. package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
  145. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
  146. package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
  147. package/System.Reflection.PortableExecutable/bindings.json +18 -2
  148. package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
  149. package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
  150. package/System.Resources/bindings.json +11 -1
  151. package/System.Resources/internal/index.d.ts +3 -28
  152. package/System.Resources/internal/metadata.json +11 -1
  153. package/System.Runtime/internal/index.d.ts +0 -25
  154. package/System.Runtime.CompilerServices/bindings.json +495 -57
  155. package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
  156. package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
  157. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
  158. package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
  159. package/System.Runtime.InteropServices/bindings.json +377 -47
  160. package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
  161. package/System.Runtime.InteropServices/internal/metadata.json +377 -47
  162. package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
  163. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
  164. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
  165. package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
  166. package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
  167. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
  168. package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
  169. package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
  170. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
  171. package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
  172. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
  173. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
  174. package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
  175. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
  176. package/System.Runtime.Intrinsics/bindings.json +112 -16
  177. package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
  178. package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
  179. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
  181. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
  182. package/System.Runtime.Loader/internal/index.d.ts +0 -25
  183. package/System.Runtime.Remoting/internal/index.d.ts +0 -25
  184. package/System.Runtime.Serialization/bindings.json +71 -9
  185. package/System.Runtime.Serialization/internal/index.d.ts +9 -34
  186. package/System.Runtime.Serialization/internal/metadata.json +71 -9
  187. package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
  188. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
  189. package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
  190. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
  191. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
  192. package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
  193. package/System.Runtime.Versioning/internal/index.d.ts +0 -25
  194. package/System.Security/internal/index.d.ts +1 -26
  195. package/System.Security.AccessControl/bindings.json +14 -2
  196. package/System.Security.AccessControl/internal/index.d.ts +3 -28
  197. package/System.Security.AccessControl/internal/metadata.json +14 -2
  198. package/System.Security.Authentication/internal/index.d.ts +0 -25
  199. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
  200. package/System.Security.Claims/internal/index.d.ts +1 -26
  201. package/System.Security.Cryptography/bindings.json +1348 -192
  202. package/System.Security.Cryptography/internal/index.d.ts +593 -618
  203. package/System.Security.Cryptography/internal/metadata.json +1348 -192
  204. package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
  205. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
  206. package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
  207. package/System.Security.Permissions/internal/index.d.ts +0 -25
  208. package/System.Security.Policy/internal/index.d.ts +0 -25
  209. package/System.Security.Principal/internal/index.d.ts +0 -25
  210. package/System.Text/bindings.json +494 -58
  211. package/System.Text/internal/index.d.ts +137 -162
  212. package/System.Text/internal/metadata.json +494 -58
  213. package/System.Text.Encodings.Web/bindings.json +29 -3
  214. package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
  215. package/System.Text.Encodings.Web/internal/metadata.json +29 -3
  216. package/System.Text.Json/bindings.json +309 -43
  217. package/System.Text.Json/internal/index.d.ts +141 -166
  218. package/System.Text.Json/internal/metadata.json +309 -43
  219. package/System.Text.Json.Nodes/bindings.json +46 -6
  220. package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
  221. package/System.Text.Json.Nodes/internal/metadata.json +46 -6
  222. package/System.Text.Json.Schema/internal/index.d.ts +1 -26
  223. package/System.Text.Json.Serialization/bindings.json +21 -3
  224. package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
  225. package/System.Text.Json.Serialization/internal/metadata.json +21 -3
  226. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
  227. package/System.Text.RegularExpressions/bindings.json +14 -2
  228. package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
  229. package/System.Text.RegularExpressions/internal/metadata.json +14 -2
  230. package/System.Text.Unicode/bindings.json +58 -6
  231. package/System.Text.Unicode/internal/index.d.ts +12 -37
  232. package/System.Text.Unicode/internal/metadata.json +58 -6
  233. package/System.Threading/bindings.json +1012 -140
  234. package/System.Threading/internal/index.d.ts +149 -174
  235. package/System.Threading/internal/metadata.json +1012 -140
  236. package/System.Threading.Channels/bindings.json +14 -2
  237. package/System.Threading.Channels/internal/index.d.ts +5 -30
  238. package/System.Threading.Channels/internal/metadata.json +14 -2
  239. package/System.Threading.Tasks/internal/index.d.ts +23 -48
  240. package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
  241. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
  242. package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
  243. package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
  244. package/System.Timers/internal/index.d.ts +0 -25
  245. package/System.Transactions/internal/index.d.ts +0 -25
  246. package/System.Web/internal/index.d.ts +0 -25
  247. package/System.Windows.Input/internal/index.d.ts +0 -25
  248. package/System.Windows.Markup/internal/index.d.ts +0 -25
  249. package/System.Xml/bindings.json +197 -27
  250. package/System.Xml/internal/index.d.ts +35 -60
  251. package/System.Xml/internal/metadata.json +197 -27
  252. package/System.Xml.Linq/internal/index.d.ts +0 -25
  253. package/System.Xml.Resolvers/internal/index.d.ts +0 -25
  254. package/System.Xml.Schema/internal/index.d.ts +0 -25
  255. package/System.Xml.Serialization/internal/index.d.ts +0 -25
  256. package/System.Xml.XPath/internal/index.d.ts +1 -26
  257. package/System.Xml.Xsl/internal/index.d.ts +1 -26
  258. package/System.Xml.Xsl.Runtime/bindings.json +35 -5
  259. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
  260. package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
  261. package/System.d.ts +21 -0
  262. package/__internal/extensions/index.d.ts +463 -463
  263. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
7
7
 
8
8
  // Import support types from @tsonic/types
9
- import type { ptr, ref } from "@tsonic/types";
9
+ import type { ptr } from "@tsonic/types";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -16,31 +16,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
16
16
  import * as System_Internal from "../../System/internal/index.js";
17
17
  import type { Action_1, Boolean as ClrBoolean, Enum, Exception, Func_2, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int32, Int64, IObservable_1, IObserver_1, ISpanFormattable, Object as ClrObject, Predicate_1, String as ClrString, TimeSpan, Tuple_2, Tuple_3, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
18
18
 
19
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
20
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
21
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
22
- export type CLROf<T> =
23
- T extends sbyte ? System_Internal.SByte :
24
- T extends short ? System_Internal.Int16 :
25
- T extends int ? System_Internal.Int32 :
26
- T extends long ? System_Internal.Int64 :
27
- T extends int128 ? System_Internal.Int128 :
28
- T extends nint ? System_Internal.IntPtr :
29
- T extends byte ? System_Internal.Byte :
30
- T extends ushort ? System_Internal.UInt16 :
31
- T extends uint ? System_Internal.UInt32 :
32
- T extends ulong ? System_Internal.UInt64 :
33
- T extends uint128 ? System_Internal.UInt128 :
34
- T extends nuint ? System_Internal.UIntPtr :
35
- T extends half ? System_Internal.Half :
36
- T extends float ? System_Internal.Single :
37
- T extends double ? System_Internal.Double :
38
- T extends decimal ? System_Internal.Decimal :
39
- T extends char ? System_Internal.Char :
40
- T extends boolean ? System_Internal.Boolean :
41
- T extends string ? System_Internal.String :
42
- T; // Identity fallback for non-primitive types
43
-
44
19
  export enum DataflowMessageStatus {
45
20
  accepted = 0,
46
21
  declined = 1,
@@ -62,7 +37,7 @@ export type IDataflowBlock = IDataflowBlock$instance;
62
37
  export interface IPropagatorBlock_2$instance<TInput, TOutput> extends ITargetBlock_1<TInput>, IDataflowBlock, ISourceBlock_1<TOutput> {
63
38
  readonly completion: Task;
64
39
  complete(): void;
65
- consumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: { value: ref<boolean> }): TOutput;
40
+ consumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
66
41
  fault(exception: Exception): void;
67
42
  linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
68
43
  offerMessage(messageHeader: DataflowMessageHeader, messageValue: TInput, source: ISourceBlock_1<TInput>, consumeToAccept: boolean): DataflowMessageStatus;
@@ -76,13 +51,13 @@ export type IPropagatorBlock_2<TInput, TOutput> = IPropagatorBlock_2$instance<TI
76
51
  export interface IReceivableSourceBlock_1$instance<TOutput> extends ISourceBlock_1<TOutput>, IDataflowBlock {
77
52
  readonly completion: Task;
78
53
  complete(): void;
79
- consumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: { value: ref<boolean> }): TOutput;
54
+ consumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
80
55
  fault(exception: Exception): void;
81
56
  linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
82
57
  releaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
83
58
  reserveMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): boolean;
84
- tryReceive(filter: Predicate_1<TOutput>, item: { value: ref<TOutput> }): boolean;
85
- tryReceiveAll(items: { value: ref<IList_1<TOutput>> }): boolean;
59
+ tryReceive(filter: Predicate_1<TOutput>, item: TOutput): boolean;
60
+ tryReceiveAll(items: IList_1<TOutput>): boolean;
86
61
  }
87
62
 
88
63
 
@@ -91,7 +66,7 @@ export type IReceivableSourceBlock_1<TOutput> = IReceivableSourceBlock_1$instanc
91
66
  export interface ISourceBlock_1$instance<TOutput> extends IDataflowBlock {
92
67
  readonly completion: Task;
93
68
  complete(): void;
94
- consumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: { value: ref<boolean> }): TOutput;
69
+ consumeMessage(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>, messageConsumed: boolean): TOutput;
95
70
  fault(exception: Exception): void;
96
71
  linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
97
72
  releaseReservation(messageHeader: DataflowMessageHeader, target: ITargetBlock_1<TOutput>): void;
@@ -172,8 +147,8 @@ export interface BatchBlock_1$instance<T> {
172
147
  linkTo(target: ITargetBlock_1<T[]>, linkOptions: DataflowLinkOptions): IDisposable;
173
148
  toString(): string;
174
149
  triggerBatch(): void;
175
- tryReceive(filter: Predicate_1<T[]>, item: { value: ref<T[]> }): boolean;
176
- tryReceiveAll(items: { value: ref<IList_1<T[]>> }): boolean;
150
+ tryReceive(filter: Predicate_1<T[]>, item: T[]): boolean;
151
+ tryReceiveAll(items: IList_1<T[]>): boolean;
177
152
  }
178
153
 
179
154
 
@@ -202,8 +177,8 @@ export interface BatchedJoinBlock_2$instance<T1, T2> {
202
177
  complete(): void;
203
178
  linkTo(target: ITargetBlock_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, linkOptions: DataflowLinkOptions): IDisposable;
204
179
  toString(): string;
205
- tryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, item: { value: ref<Tuple_2<IList_1<T1>, IList_1<T2>>> }): boolean;
206
- tryReceiveAll(items: { value: ref<IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>>> }): boolean;
180
+ tryReceive(filter: Predicate_1<Tuple_2<IList_1<T1>, IList_1<T2>>>, item: Tuple_2<IList_1<T1>, IList_1<T2>>): boolean;
181
+ tryReceiveAll(items: IList_1<Tuple_2<IList_1<T1>, IList_1<T2>>>): boolean;
207
182
  }
208
183
 
209
184
 
@@ -232,8 +207,8 @@ export interface BatchedJoinBlock_3$instance<T1, T2, T3> {
232
207
  complete(): void;
233
208
  linkTo(target: ITargetBlock_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, linkOptions: DataflowLinkOptions): IDisposable;
234
209
  toString(): string;
235
- tryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, item: { value: ref<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>> }): boolean;
236
- tryReceiveAll(items: { value: ref<IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>> }): boolean;
210
+ tryReceive(filter: Predicate_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>, item: Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>): boolean;
211
+ tryReceiveAll(items: IList_1<Tuple_3<IList_1<T1>, IList_1<T2>, IList_1<T3>>>): boolean;
237
212
  }
238
213
 
239
214
 
@@ -257,7 +232,7 @@ export interface BroadcastBlock_1$instance<T> {
257
232
  complete(): void;
258
233
  linkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
259
234
  toString(): string;
260
- tryReceive(filter: Predicate_1<T>, item: { value: ref<T> }): boolean;
235
+ tryReceive(filter: Predicate_1<T>, item: T): boolean;
261
236
  }
262
237
 
263
238
 
@@ -283,8 +258,8 @@ export interface BufferBlock_1$instance<T> {
283
258
  complete(): void;
284
259
  linkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
285
260
  toString(): string;
286
- tryReceive(filter: Predicate_1<T>, item: { value: ref<T> }): boolean;
287
- tryReceiveAll(items: { value: ref<IList_1<T>> }): boolean;
261
+ tryReceive(filter: Predicate_1<T>, item: T): boolean;
262
+ tryReceiveAll(items: IList_1<T>): boolean;
288
263
  }
289
264
 
290
265
 
@@ -370,8 +345,8 @@ export interface JoinBlock_2$instance<T1, T2> {
370
345
  complete(): void;
371
346
  linkTo(target: ITargetBlock_1<Tuple_2<T1, T2>>, linkOptions: DataflowLinkOptions): IDisposable;
372
347
  toString(): string;
373
- tryReceive(filter: Predicate_1<Tuple_2<T1, T2>>, item: { value: ref<Tuple_2<T1, T2>> }): boolean;
374
- tryReceiveAll(items: { value: ref<IList_1<Tuple_2<T1, T2>>> }): boolean;
348
+ tryReceive(filter: Predicate_1<Tuple_2<T1, T2>>, item: Tuple_2<T1, T2>): boolean;
349
+ tryReceiveAll(items: IList_1<Tuple_2<T1, T2>>): boolean;
375
350
  }
376
351
 
377
352
 
@@ -399,8 +374,8 @@ export interface JoinBlock_3$instance<T1, T2, T3> {
399
374
  complete(): void;
400
375
  linkTo(target: ITargetBlock_1<Tuple_3<T1, T2, T3>>, linkOptions: DataflowLinkOptions): IDisposable;
401
376
  toString(): string;
402
- tryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3>>, item: { value: ref<Tuple_3<T1, T2, T3>> }): boolean;
403
- tryReceiveAll(items: { value: ref<IList_1<Tuple_3<T1, T2, T3>>> }): boolean;
377
+ tryReceive(filter: Predicate_1<Tuple_3<T1, T2, T3>>, item: Tuple_3<T1, T2, T3>): boolean;
378
+ tryReceiveAll(items: IList_1<Tuple_3<T1, T2, T3>>): boolean;
404
379
  }
405
380
 
406
381
 
@@ -426,8 +401,8 @@ export interface TransformBlock_2$instance<TInput, TOutput> {
426
401
  complete(): void;
427
402
  linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
428
403
  toString(): string;
429
- tryReceive(filter: Predicate_1<TOutput>, item: { value: ref<TOutput> }): boolean;
430
- tryReceiveAll(items: { value: ref<IList_1<TOutput>> }): boolean;
404
+ tryReceive(filter: Predicate_1<TOutput>, item: TOutput): boolean;
405
+ tryReceiveAll(items: IList_1<TOutput>): boolean;
431
406
  }
432
407
 
433
408
 
@@ -454,8 +429,8 @@ export interface TransformManyBlock_2$instance<TInput, TOutput> {
454
429
  complete(): void;
455
430
  linkTo(target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions): IDisposable;
456
431
  toString(): string;
457
- tryReceive(filter: Predicate_1<TOutput>, item: { value: ref<TOutput> }): boolean;
458
- tryReceiveAll(items: { value: ref<IList_1<TOutput>> }): boolean;
432
+ tryReceive(filter: Predicate_1<TOutput>, item: TOutput): boolean;
433
+ tryReceiveAll(items: IList_1<TOutput>): boolean;
459
434
  }
460
435
 
461
436
 
@@ -480,7 +455,7 @@ export interface WriteOnceBlock_1$instance<T> {
480
455
  complete(): void;
481
456
  linkTo(target: ITargetBlock_1<T>, linkOptions: DataflowLinkOptions): IDisposable;
482
457
  toString(): string;
483
- tryReceive(filter: Predicate_1<T>, item: { value: ref<T> }): boolean;
458
+ tryReceive(filter: Predicate_1<T>, item: T): boolean;
484
459
  }
485
460
 
486
461
 
@@ -503,17 +478,17 @@ export type WriteOnceBlock_1<T> = WriteOnceBlock_1$instance<T> & __WriteOnceBloc
503
478
  export abstract class DataflowBlock$instance {
504
479
  static asObservable<TOutput>(source: ISourceBlock_1<TOutput>): IObservable_1<TOutput>;
505
480
  static asObserver<TInput>(target: ITargetBlock_1<TInput>): IObserver_1<TInput>;
506
- static choose<T1, T2, T3>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>, dataflowBlockOptions: DataflowBlockOptions): Task_1<CLROf<int>>;
507
- static choose<T1, T2, T3>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>): Task_1<CLROf<int>>;
508
- static choose<T1, T2>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, dataflowBlockOptions: DataflowBlockOptions): Task_1<CLROf<int>>;
509
- static choose<T1, T2>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>): Task_1<CLROf<int>>;
481
+ static choose<T1, T2, T3>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>, dataflowBlockOptions: DataflowBlockOptions): Task_1<System_Internal.Int32>;
482
+ static choose<T1, T2, T3>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, source3: ISourceBlock_1<T3>, action3: Action_1<T3>): Task_1<System_Internal.Int32>;
483
+ static choose<T1, T2>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>, dataflowBlockOptions: DataflowBlockOptions): Task_1<System_Internal.Int32>;
484
+ static choose<T1, T2>(source1: ISourceBlock_1<T1>, action1: Action_1<T1>, source2: ISourceBlock_1<T2>, action2: Action_1<T2>): Task_1<System_Internal.Int32>;
510
485
  static encapsulate<TInput, TOutput>(target: ITargetBlock_1<TInput>, source: ISourceBlock_1<TOutput>): IPropagatorBlock_2<TInput, TOutput>;
511
486
  static linkTo<TOutput>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>, predicate: Predicate_1<TOutput>): IDisposable;
512
487
  static linkTo<TOutput>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>, linkOptions: DataflowLinkOptions, predicate: Predicate_1<TOutput>): IDisposable;
513
488
  static linkTo<TOutput>(source: ISourceBlock_1<TOutput>, target: ITargetBlock_1<TOutput>): IDisposable;
514
489
  static nullTarget<TInput>(): ITargetBlock_1<TInput>;
515
- static outputAvailableAsync<TOutput>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): Task_1<CLROf<boolean>>;
516
- static outputAvailableAsync<TOutput>(source: ISourceBlock_1<TOutput>): Task_1<CLROf<boolean>>;
490
+ static outputAvailableAsync<TOutput>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
491
+ static outputAvailableAsync<TOutput>(source: ISourceBlock_1<TOutput>): Task_1<System_Internal.Boolean>;
517
492
  static post<TInput>(target: ITargetBlock_1<TInput>, item: TInput): boolean;
518
493
  static receive<TOutput>(source: ISourceBlock_1<TOutput>, cancellationToken: CancellationToken): TOutput;
519
494
  static receive<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan, cancellationToken: CancellationToken): TOutput;
@@ -524,9 +499,9 @@ export abstract class DataflowBlock$instance {
524
499
  static receiveAsync<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan, cancellationToken: CancellationToken): Task_1<TOutput>;
525
500
  static receiveAsync<TOutput>(source: ISourceBlock_1<TOutput>, timeout: TimeSpan): Task_1<TOutput>;
526
501
  static receiveAsync<TOutput>(source: ISourceBlock_1<TOutput>): Task_1<TOutput>;
527
- static sendAsync<TInput>(target: ITargetBlock_1<TInput>, item: TInput, cancellationToken: CancellationToken): Task_1<CLROf<boolean>>;
528
- static sendAsync<TInput>(target: ITargetBlock_1<TInput>, item: TInput): Task_1<CLROf<boolean>>;
529
- static tryReceive<TOutput>(source: IReceivableSourceBlock_1<TOutput>, item: { value: ref<TOutput> }): boolean;
502
+ static sendAsync<TInput>(target: ITargetBlock_1<TInput>, item: TInput, cancellationToken: CancellationToken): Task_1<System_Internal.Boolean>;
503
+ static sendAsync<TInput>(target: ITargetBlock_1<TInput>, item: TInput): Task_1<System_Internal.Boolean>;
504
+ static tryReceive<TOutput>(source: IReceivableSourceBlock_1<TOutput>, item: TOutput): boolean;
530
505
  }
531
506
 
532
507