@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
@@ -5723,7 +5723,13 @@
5723
5723
  "isSealed": false,
5724
5724
  "arity": 0,
5725
5725
  "parameterCount": 2,
5726
- "isExtensionMethod": false
5726
+ "isExtensionMethod": false,
5727
+ "parameterModifiers": [
5728
+ {
5729
+ "index": 1,
5730
+ "modifier": "out"
5731
+ }
5732
+ ]
5727
5733
  },
5728
5734
  {
5729
5735
  "stableId": "System.Net.NetworkInformation:System.Net.NetworkInformation.PhysicalAddress::TryParse(System.ReadOnlySpan_1[[System.Char,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Net.NetworkInformation.PhysicalAddress\u0026):System.Boolean",
@@ -5739,7 +5745,13 @@
5739
5745
  "isSealed": false,
5740
5746
  "arity": 0,
5741
5747
  "parameterCount": 2,
5742
- "isExtensionMethod": false
5748
+ "isExtensionMethod": false,
5749
+ "parameterModifiers": [
5750
+ {
5751
+ "index": 1,
5752
+ "modifier": "out"
5753
+ }
5754
+ ]
5743
5755
  }
5744
5756
  ],
5745
5757
  "properties": [],
@@ -22,31 +22,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
22
22
  import * as System_Internal from "../../System/internal/index.js";
23
23
  import type { Action_2, AsyncCallback, Boolean as ClrBoolean, Byte, Enum, Exception, Func_4, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
24
24
 
25
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
26
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
27
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
28
- export type CLROf<T> =
29
- T extends sbyte ? System_Internal.SByte :
30
- T extends short ? System_Internal.Int16 :
31
- T extends int ? System_Internal.Int32 :
32
- T extends long ? System_Internal.Int64 :
33
- T extends int128 ? System_Internal.Int128 :
34
- T extends nint ? System_Internal.IntPtr :
35
- T extends byte ? System_Internal.Byte :
36
- T extends ushort ? System_Internal.UInt16 :
37
- T extends uint ? System_Internal.UInt32 :
38
- T extends ulong ? System_Internal.UInt64 :
39
- T extends uint128 ? System_Internal.UInt128 :
40
- T extends nuint ? System_Internal.UIntPtr :
41
- T extends half ? System_Internal.Half :
42
- T extends float ? System_Internal.Single :
43
- T extends double ? System_Internal.Double :
44
- T extends decimal ? System_Internal.Decimal :
45
- T extends char ? System_Internal.Char :
46
- T extends boolean ? System_Internal.Boolean :
47
- T extends string ? System_Internal.String :
48
- T; // Identity fallback for non-primitive types
49
-
50
25
  export enum QuicAbortDirection {
51
26
  read = 1,
52
27
  write = 2,
@@ -155,15 +130,15 @@ export const QuicConnectionOptions: {
155
130
  export type QuicConnectionOptions = QuicConnectionOptions$instance;
156
131
 
157
132
  export interface QuicException$instance extends IOException {
158
- readonly applicationErrorCode: Nullable_1<CLROf<long>>;
133
+ readonly applicationErrorCode: Nullable_1<System_Internal.Int64>;
159
134
  readonly quicError: QuicError;
160
- readonly transportErrorCode: Nullable_1<CLROf<long>>;
135
+ readonly transportErrorCode: Nullable_1<System_Internal.Int64>;
161
136
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
162
137
  }
163
138
 
164
139
 
165
140
  export const QuicException: {
166
- new(error: QuicError, applicationErrorCode: Nullable_1<CLROf<long>>, message: string): QuicException$instance;
141
+ new(error: QuicError, applicationErrorCode: Nullable_1<System_Internal.Int64>, message: string): QuicException$instance;
167
142
  };
168
143
 
169
144
 
@@ -265,24 +240,24 @@ export interface QuicStream$instance extends Stream {
265
240
  flushAsync(cancellationToken?: CancellationToken): Task;
266
241
  flushAsync(): Task;
267
242
  read(buffer: byte[], offset: int, count: int): int;
268
- read(buffer: Span_1<CLROf<byte>>): int;
269
- read(buffer: Span_1<CLROf<byte>>): int;
270
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
271
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken?: CancellationToken): Task_1<CLROf<int>>;
272
- readAsync(buffer: byte[], offset: int, count: int): Task_1<CLROf<int>>;
273
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
274
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
243
+ read(buffer: Span_1<System_Internal.Byte>): int;
244
+ read(buffer: Span_1<System_Internal.Byte>): int;
245
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
246
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken?: CancellationToken): Task_1<System_Internal.Int32>;
247
+ readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
248
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
249
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
275
250
  readByte(): int;
276
251
  seek(offset: long, origin: SeekOrigin): long;
277
252
  setLength(value: long): void;
278
253
  toString(): string;
279
254
  write(buffer: byte[], offset: int, count: int): void;
280
- write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
281
- write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
282
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
255
+ write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
256
+ write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
257
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
283
258
  writeAsync(buffer: byte[], offset: int, count: int, cancellationToken?: CancellationToken): Task;
284
259
  writeAsync(buffer: byte[], offset: int, count: int): Task;
285
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
260
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
286
261
  writeByte(value: byte): void;
287
262
  }
288
263
 
@@ -13859,7 +13859,13 @@
13859
13859
  "parameterCount": 2,
13860
13860
  "declaringClrType": "System.Net.Security.NegotiateAuthentication",
13861
13861
  "declaringAssemblyName": "System.Net.Security",
13862
- "isExtensionMethod": false
13862
+ "isExtensionMethod": false,
13863
+ "parameterModifiers": [
13864
+ {
13865
+ "index": 1,
13866
+ "modifier": "out"
13867
+ }
13868
+ ]
13863
13869
  },
13864
13870
  {
13865
13871
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::GetOutgoingBlob(System.String,System.Net.Security.NegotiateAuthenticationStatusCode\u0026):System.String",
@@ -13873,7 +13879,13 @@
13873
13879
  "parameterCount": 2,
13874
13880
  "declaringClrType": "System.Net.Security.NegotiateAuthentication",
13875
13881
  "declaringAssemblyName": "System.Net.Security",
13876
- "isExtensionMethod": false
13882
+ "isExtensionMethod": false,
13883
+ "parameterModifiers": [
13884
+ {
13885
+ "index": 1,
13886
+ "modifier": "out"
13887
+ }
13888
+ ]
13877
13889
  },
13878
13890
  {
13879
13891
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::Wrap(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Buffers.IBufferWriter_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Boolean,System.Boolean\u0026):System.Net.Security.NegotiateAuthenticationStatusCode",
@@ -13887,7 +13899,13 @@
13887
13899
  "parameterCount": 4,
13888
13900
  "declaringClrType": "System.Net.Security.NegotiateAuthentication",
13889
13901
  "declaringAssemblyName": "System.Net.Security",
13890
- "isExtensionMethod": false
13902
+ "isExtensionMethod": false,
13903
+ "parameterModifiers": [
13904
+ {
13905
+ "index": 3,
13906
+ "modifier": "out"
13907
+ }
13908
+ ]
13891
13909
  },
13892
13910
  {
13893
13911
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::Unwrap(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Buffers.IBufferWriter_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Boolean\u0026):System.Net.Security.NegotiateAuthenticationStatusCode",
@@ -13901,7 +13919,13 @@
13901
13919
  "parameterCount": 3,
13902
13920
  "declaringClrType": "System.Net.Security.NegotiateAuthentication",
13903
13921
  "declaringAssemblyName": "System.Net.Security",
13904
- "isExtensionMethod": false
13922
+ "isExtensionMethod": false,
13923
+ "parameterModifiers": [
13924
+ {
13925
+ "index": 2,
13926
+ "modifier": "out"
13927
+ }
13928
+ ]
13905
13929
  },
13906
13930
  {
13907
13931
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::UnwrapInPlace(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Int32\u0026,System.Int32\u0026,System.Boolean\u0026):System.Net.Security.NegotiateAuthenticationStatusCode",
@@ -13915,7 +13939,21 @@
13915
13939
  "parameterCount": 4,
13916
13940
  "declaringClrType": "System.Net.Security.NegotiateAuthentication",
13917
13941
  "declaringAssemblyName": "System.Net.Security",
13918
- "isExtensionMethod": false
13942
+ "isExtensionMethod": false,
13943
+ "parameterModifiers": [
13944
+ {
13945
+ "index": 1,
13946
+ "modifier": "out"
13947
+ },
13948
+ {
13949
+ "index": 2,
13950
+ "modifier": "out"
13951
+ },
13952
+ {
13953
+ "index": 3,
13954
+ "modifier": "out"
13955
+ }
13956
+ ]
13919
13957
  },
13920
13958
  {
13921
13959
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::ComputeIntegrityCheck(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Buffers.IBufferWriter_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]):System.Void",
@@ -6,7 +6,7 @@
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
7
7
 
8
8
  // Import support types from @tsonic/types
9
- import type { ptr, ref } from "@tsonic/types";
9
+ import type { ptr } from "@tsonic/types";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import type { IBufferWriter_1 } from "../../System.Buffers/internal/index.js";
@@ -27,31 +27,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
27
27
  import * as System_Internal from "../../System/internal/index.js";
28
28
  import type { AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Enum, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Memory_1, MulticastDelegate, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, Type, TypeCode, UInt16, ValueType, Void } from "../../System/internal/index.js";
29
29
 
30
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
31
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
32
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
33
- export type CLROf<T> =
34
- T extends sbyte ? System_Internal.SByte :
35
- T extends short ? System_Internal.Int16 :
36
- T extends int ? System_Internal.Int32 :
37
- T extends long ? System_Internal.Int64 :
38
- T extends int128 ? System_Internal.Int128 :
39
- T extends nint ? System_Internal.IntPtr :
40
- T extends byte ? System_Internal.Byte :
41
- T extends ushort ? System_Internal.UInt16 :
42
- T extends uint ? System_Internal.UInt32 :
43
- T extends ulong ? System_Internal.UInt64 :
44
- T extends uint128 ? System_Internal.UInt128 :
45
- T extends nuint ? System_Internal.UIntPtr :
46
- T extends half ? System_Internal.Half :
47
- T extends float ? System_Internal.Single :
48
- T extends double ? System_Internal.Double :
49
- T extends decimal ? System_Internal.Decimal :
50
- T extends char ? System_Internal.Char :
51
- T extends boolean ? System_Internal.Boolean :
52
- T extends string ? System_Internal.String :
53
- T; // Identity fallback for non-primitive types
54
-
55
30
  export enum AuthenticationLevel {
56
31
  none = 0,
57
32
  mutualAuthRequested = 1,
@@ -455,7 +430,7 @@ export type ServerOptionsSelectionCallback = (stream: SslStream, clientHelloInfo
455
430
 
456
431
 
457
432
  export interface SslApplicationProtocol$instance {
458
- readonly protocol: ReadOnlyMemory_1<CLROf<byte>>;
433
+ readonly protocol: ReadOnlyMemory_1<System_Internal.Byte>;
459
434
  equals(other: SslApplicationProtocol): boolean;
460
435
  equals(obj: unknown): boolean;
461
436
  getHashCode(): int;
@@ -542,14 +517,14 @@ export interface NegotiateAuthentication$instance {
542
517
  readonly protectionLevel: ProtectionLevel;
543
518
  readonly remoteIdentity: IIdentity;
544
519
  readonly targetName: string;
545
- computeIntegrityCheck(message: ReadOnlySpan_1<CLROf<byte>>, signatureWriter: IBufferWriter_1<CLROf<byte>>): void;
520
+ computeIntegrityCheck(message: ReadOnlySpan_1<System_Internal.Byte>, signatureWriter: IBufferWriter_1<System_Internal.Byte>): void;
546
521
  dispose(): void;
547
- getOutgoingBlob(incomingBlob: ReadOnlySpan_1<CLROf<byte>>, statusCode: { value: ref<NegotiateAuthenticationStatusCode> }): byte[];
548
- getOutgoingBlob(incomingBlob: string, statusCode: { value: ref<NegotiateAuthenticationStatusCode> }): string;
549
- unwrap(input: ReadOnlySpan_1<CLROf<byte>>, outputWriter: IBufferWriter_1<CLROf<byte>>, wasEncrypted: { value: ref<boolean> }): NegotiateAuthenticationStatusCode;
550
- unwrapInPlace(input: Span_1<CLROf<byte>>, unwrappedOffset: { value: ref<int> }, unwrappedLength: { value: ref<int> }, wasEncrypted: { value: ref<boolean> }): NegotiateAuthenticationStatusCode;
551
- verifyIntegrityCheck(message: ReadOnlySpan_1<CLROf<byte>>, signature: ReadOnlySpan_1<CLROf<byte>>): boolean;
552
- wrap(input: ReadOnlySpan_1<CLROf<byte>>, outputWriter: IBufferWriter_1<CLROf<byte>>, requestEncryption: boolean, isEncrypted: { value: ref<boolean> }): NegotiateAuthenticationStatusCode;
522
+ getOutgoingBlob(incomingBlob: ReadOnlySpan_1<System_Internal.Byte>, statusCode: NegotiateAuthenticationStatusCode): byte[];
523
+ getOutgoingBlob(incomingBlob: string, statusCode: NegotiateAuthenticationStatusCode): string;
524
+ unwrap(input: ReadOnlySpan_1<System_Internal.Byte>, outputWriter: IBufferWriter_1<System_Internal.Byte>, wasEncrypted: boolean): NegotiateAuthenticationStatusCode;
525
+ unwrapInPlace(input: Span_1<System_Internal.Byte>, unwrappedOffset: int, unwrappedLength: int, wasEncrypted: boolean): NegotiateAuthenticationStatusCode;
526
+ verifyIntegrityCheck(message: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
527
+ wrap(input: ReadOnlySpan_1<System_Internal.Byte>, outputWriter: IBufferWriter_1<System_Internal.Byte>, requestEncryption: boolean, isEncrypted: boolean): NegotiateAuthenticationStatusCode;
553
528
  }
554
529
 
555
530
 
@@ -658,20 +633,20 @@ export interface NegotiateStream$instance extends AuthenticatedStream$instance {
658
633
  flushAsync(cancellationToken: CancellationToken): Task;
659
634
  flushAsync(): Task;
660
635
  read(buffer: byte[], offset: int, count: int): int;
661
- read(buffer: Span_1<CLROf<byte>>): int;
662
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
663
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
664
- readAsync(buffer: byte[], offset: int, count: int): Task_1<CLROf<int>>;
665
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
666
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
636
+ read(buffer: Span_1<System_Internal.Byte>): int;
637
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
638
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
639
+ readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
640
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
641
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
667
642
  seek(offset: long, origin: SeekOrigin): long;
668
643
  setLength(value: long): void;
669
644
  write(buffer: byte[], offset: int, count: int): void;
670
- write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
645
+ write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
671
646
  writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
672
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
647
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
673
648
  writeAsync(buffer: byte[], offset: int, count: int): Task;
674
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
649
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
675
650
  }
676
651
 
677
652
 
@@ -817,26 +792,26 @@ export interface SslStream$instance extends AuthenticatedStream$instance {
817
792
  flushAsync(cancellationToken: CancellationToken): Task;
818
793
  flushAsync(): Task;
819
794
  negotiateClientCertificateAsync(cancellationToken?: CancellationToken): Task;
820
- read(buffer: Span_1<CLROf<byte>>): int;
795
+ read(buffer: Span_1<System_Internal.Byte>): int;
821
796
  read(buffer: byte[], offset: int, count: int): int;
822
- read(buffer: Span_1<CLROf<byte>>): int;
823
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
824
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
825
- readAsync(buffer: byte[], offset: int, count: int): Task_1<CLROf<int>>;
826
- readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<CLROf<int>>;
827
- readAsync(buffer: Memory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
797
+ read(buffer: Span_1<System_Internal.Byte>): int;
798
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
799
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
800
+ readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
801
+ readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
802
+ readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
828
803
  readByte(): int;
829
804
  seek(offset: long, origin: SeekOrigin): long;
830
805
  setLength(value: long): void;
831
806
  shutdownAsync(): Task;
832
- write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
807
+ write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
833
808
  write(buffer: byte[]): void;
834
809
  write(buffer: byte[], offset: int, count: int): void;
835
- write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
810
+ write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
836
811
  writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
837
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
812
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
838
813
  writeAsync(buffer: byte[], offset: int, count: int): Task;
839
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
814
+ writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
840
815
  writeByte(value: byte): void;
841
816
  }
842
817
 
@@ -4198,7 +4198,13 @@
4198
4198
  "isSealed": false,
4199
4199
  "arity": 0,
4200
4200
  "parameterCount": 2,
4201
- "isExtensionMethod": false
4201
+ "isExtensionMethod": false,
4202
+ "parameterModifiers": [
4203
+ {
4204
+ "index": 1,
4205
+ "modifier": "out"
4206
+ }
4207
+ ]
4202
4208
  },
4203
4209
  {
4204
4210
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::GetOutgoingBlob(System.String,System.Net.Security.NegotiateAuthenticationStatusCode\u0026):System.String",
@@ -4214,7 +4220,13 @@
4214
4220
  "isSealed": false,
4215
4221
  "arity": 0,
4216
4222
  "parameterCount": 2,
4217
- "isExtensionMethod": false
4223
+ "isExtensionMethod": false,
4224
+ "parameterModifiers": [
4225
+ {
4226
+ "index": 1,
4227
+ "modifier": "out"
4228
+ }
4229
+ ]
4218
4230
  },
4219
4231
  {
4220
4232
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::Wrap(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Buffers.IBufferWriter_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Boolean,System.Boolean\u0026):System.Net.Security.NegotiateAuthenticationStatusCode",
@@ -4230,7 +4242,13 @@
4230
4242
  "isSealed": false,
4231
4243
  "arity": 0,
4232
4244
  "parameterCount": 4,
4233
- "isExtensionMethod": false
4245
+ "isExtensionMethod": false,
4246
+ "parameterModifiers": [
4247
+ {
4248
+ "index": 3,
4249
+ "modifier": "out"
4250
+ }
4251
+ ]
4234
4252
  },
4235
4253
  {
4236
4254
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::Unwrap(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Buffers.IBufferWriter_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Boolean\u0026):System.Net.Security.NegotiateAuthenticationStatusCode",
@@ -4246,7 +4264,13 @@
4246
4264
  "isSealed": false,
4247
4265
  "arity": 0,
4248
4266
  "parameterCount": 3,
4249
- "isExtensionMethod": false
4267
+ "isExtensionMethod": false,
4268
+ "parameterModifiers": [
4269
+ {
4270
+ "index": 2,
4271
+ "modifier": "out"
4272
+ }
4273
+ ]
4250
4274
  },
4251
4275
  {
4252
4276
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::UnwrapInPlace(System.Span_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Int32\u0026,System.Int32\u0026,System.Boolean\u0026):System.Net.Security.NegotiateAuthenticationStatusCode",
@@ -4262,7 +4286,21 @@
4262
4286
  "isSealed": false,
4263
4287
  "arity": 0,
4264
4288
  "parameterCount": 4,
4265
- "isExtensionMethod": false
4289
+ "isExtensionMethod": false,
4290
+ "parameterModifiers": [
4291
+ {
4292
+ "index": 1,
4293
+ "modifier": "out"
4294
+ },
4295
+ {
4296
+ "index": 2,
4297
+ "modifier": "out"
4298
+ },
4299
+ {
4300
+ "index": 3,
4301
+ "modifier": "out"
4302
+ }
4303
+ ]
4266
4304
  },
4267
4305
  {
4268
4306
  "stableId": "System.Net.Security:System.Net.Security.NegotiateAuthentication::ComputeIntegrityCheck(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Buffers.IBufferWriter_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]):System.Void",
@@ -17,32 +17,7 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
17
17
  import * as System_Internal from "../../System/internal/index.js";
18
18
  import type { Action_2, AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, IAsyncResult, ICloneable, Int32, IntPtr, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlySpan_1, String as ClrString, TimeSpan, Type, ValueType, Void } from "../../System/internal/index.js";
19
19
 
20
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
21
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
22
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
23
- export type CLROf<T> =
24
- T extends sbyte ? System_Internal.SByte :
25
- T extends short ? System_Internal.Int16 :
26
- T extends int ? System_Internal.Int32 :
27
- T extends long ? System_Internal.Int64 :
28
- T extends int128 ? System_Internal.Int128 :
29
- T extends nint ? System_Internal.IntPtr :
30
- T extends byte ? System_Internal.Byte :
31
- T extends ushort ? System_Internal.UInt16 :
32
- T extends uint ? System_Internal.UInt32 :
33
- T extends ulong ? System_Internal.UInt64 :
34
- T extends uint128 ? System_Internal.UInt128 :
35
- T extends nuint ? System_Internal.UIntPtr :
36
- T extends half ? System_Internal.Half :
37
- T extends float ? System_Internal.Single :
38
- T extends double ? System_Internal.Double :
39
- T extends decimal ? System_Internal.Decimal :
40
- T extends char ? System_Internal.Char :
41
- T extends boolean ? System_Internal.Boolean :
42
- T extends string ? System_Internal.String :
43
- T; // Identity fallback for non-primitive types
44
-
45
- export type SseItemParser_1<T> = (eventType: string, data: ReadOnlySpan_1<CLROf<byte>>) => T;
20
+ export type SseItemParser_1<T> = (eventType: string, data: ReadOnlySpan_1<System_Internal.Byte>) => T;
46
21
 
47
22
 
48
23
  export interface SseItem_1$instance<T> {
@@ -76,8 +51,8 @@ export const SseParser_1: {
76
51
  export type SseParser_1<T> = SseParser_1$instance<T>;
77
52
 
78
53
  export abstract class SseFormatter$instance {
79
- static writeAsync<T>(source: IAsyncEnumerable_1<SseItem_1<T>>, destination: Stream, itemFormatter: Action_2<SseItem_1<T>, IBufferWriter_1<CLROf<byte>>>, cancellationToken?: CancellationToken): Task;
80
- static writeAsync(source: IAsyncEnumerable_1<SseItem_1<CLROf<string>>>, destination: Stream, cancellationToken?: CancellationToken): Task;
54
+ static writeAsync<T>(source: IAsyncEnumerable_1<SseItem_1<T>>, destination: Stream, itemFormatter: Action_2<SseItem_1<T>, IBufferWriter_1<System_Internal.Byte>>, cancellationToken?: CancellationToken): Task;
55
+ static writeAsync(source: IAsyncEnumerable_1<SseItem_1<System_Internal.String>>, destination: Stream, cancellationToken?: CancellationToken): Task;
81
56
  }
82
57
 
83
58
 
@@ -86,7 +61,7 @@ export type SseFormatter = SseFormatter$instance;
86
61
  export abstract class SseParser$instance {
87
62
  static readonly eventTypeDefault: string;
88
63
  static create<T>(sseStream: Stream, itemParser: SseItemParser_1<T>): SseParser_1<T>;
89
- static create(sseStream: Stream): SseParser_1<CLROf<string>>;
64
+ static create(sseStream: Stream): SseParser_1<System_Internal.String>;
90
65
  }
91
66
 
92
67