@tsonic/dotnet 10.0.40 → 10.0.42

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 (341) hide show
  1. package/Internal/bindings.json +5 -5
  2. package/Internal/internal/index.d.ts +4 -3
  3. package/Internal.d.ts +4 -0
  4. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  5. package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
  6. package/Microsoft.VisualBasic/bindings.json +13 -13
  7. package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
  8. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
  9. package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
  10. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
  11. package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
  12. package/Microsoft.VisualBasic.d.ts +4 -0
  13. package/Microsoft.Win32/internal/index.d.ts +19 -18
  14. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  15. package/Microsoft.Win32.SafeHandles.d.ts +4 -0
  16. package/Microsoft.Win32.d.ts +4 -0
  17. package/README.md +83 -104
  18. package/System/bindings.json +1858 -2297
  19. package/System/internal/index.d.ts +1972 -2010
  20. package/System.Buffers/bindings.json +12 -3
  21. package/System.Buffers/internal/index.d.ts +56 -58
  22. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  23. package/System.Buffers.Binary.d.ts +4 -0
  24. package/System.Buffers.Text/internal/index.d.ts +2 -4
  25. package/System.Buffers.Text.d.ts +4 -0
  26. package/System.Buffers.d.ts +10 -6
  27. package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
  28. package/System.CodeDom.Compiler.d.ts +4 -0
  29. package/System.Collections/bindings.json +300 -300
  30. package/System.Collections/internal/index.d.ts +90 -92
  31. package/System.Collections.Concurrent/bindings.json +311 -311
  32. package/System.Collections.Concurrent/internal/index.d.ts +83 -85
  33. package/System.Collections.Concurrent.d.ts +7 -3
  34. package/System.Collections.Frozen/bindings.json +490 -648
  35. package/System.Collections.Frozen/internal/index.d.ts +95 -109
  36. package/System.Collections.Frozen.d.ts +18 -2
  37. package/System.Collections.Generic/bindings.json +9628 -14043
  38. package/System.Collections.Generic/internal/index.d.ts +632 -827
  39. package/System.Collections.Generic.d.ts +20 -16
  40. package/System.Collections.Immutable/bindings.json +6134 -9214
  41. package/System.Collections.Immutable/internal/index.d.ts +414 -502
  42. package/System.Collections.Immutable.d.ts +58 -17
  43. package/System.Collections.ObjectModel/bindings.json +328 -850
  44. package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
  45. package/System.Collections.ObjectModel.d.ts +6 -2
  46. package/System.Collections.Specialized/bindings.json +79 -202
  47. package/System.Collections.Specialized/internal/index.d.ts +72 -85
  48. package/System.Collections.Specialized.d.ts +4 -0
  49. package/System.Collections.d.ts +4 -0
  50. package/System.ComponentModel/bindings.json +271 -210
  51. package/System.ComponentModel/internal/index.d.ts +562 -547
  52. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
  53. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  54. package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
  55. package/System.ComponentModel.DataAnnotations.d.ts +4 -0
  56. package/System.ComponentModel.Design/bindings.json +40 -310
  57. package/System.ComponentModel.Design/internal/index.d.ts +85 -93
  58. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
  59. package/System.ComponentModel.Design.Serialization.d.ts +4 -0
  60. package/System.ComponentModel.Design.d.ts +4 -0
  61. package/System.ComponentModel.d.ts +5 -0
  62. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  63. package/System.Configuration.Assemblies.d.ts +4 -0
  64. package/System.Data/bindings.json +128 -125
  65. package/System.Data/internal/index.d.ts +341 -340
  66. package/System.Data.Common/bindings.json +68 -68
  67. package/System.Data.Common/internal/index.d.ts +135 -136
  68. package/System.Data.Common.d.ts +4 -0
  69. package/System.Data.SqlTypes/internal/index.d.ts +55 -54
  70. package/System.Data.SqlTypes.d.ts +4 -0
  71. package/System.Data.d.ts +8 -4
  72. package/System.Diagnostics/bindings.json +6324 -6509
  73. package/System.Diagnostics/internal/index.d.ts +435 -437
  74. package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
  75. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  76. package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
  77. package/System.Diagnostics.Contracts/bindings.json +62 -62
  78. package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
  79. package/System.Diagnostics.Contracts.d.ts +4 -0
  80. package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
  81. package/System.Diagnostics.Metrics.d.ts +7 -3
  82. package/System.Diagnostics.SymbolStore/bindings.json +2 -2
  83. package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
  84. package/System.Diagnostics.SymbolStore.d.ts +4 -0
  85. package/System.Diagnostics.Tracing/bindings.json +291 -231
  86. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  87. package/System.Diagnostics.Tracing.d.ts +6 -1
  88. package/System.Diagnostics.d.ts +5 -1
  89. package/System.Drawing/internal/index.d.ts +76 -75
  90. package/System.Drawing.d.ts +4 -0
  91. package/System.Dynamic/bindings.json +13 -13
  92. package/System.Dynamic/internal/index.d.ts +35 -36
  93. package/System.Dynamic.d.ts +4 -0
  94. package/System.Formats.Asn1/bindings.json +48 -69
  95. package/System.Formats.Asn1/internal/index.d.ts +30 -37
  96. package/System.Formats.Asn1.d.ts +4 -0
  97. package/System.Formats.Tar/internal/index.d.ts +8 -7
  98. package/System.Formats.Tar.d.ts +4 -0
  99. package/System.Globalization/bindings.json +3 -3
  100. package/System.Globalization/internal/index.d.ts +35 -37
  101. package/System.Globalization.d.ts +4 -0
  102. package/System.IO/bindings.json +957 -957
  103. package/System.IO/internal/index.d.ts +183 -185
  104. package/System.IO.Compression/internal/index.d.ts +33 -35
  105. package/System.IO.Compression.d.ts +4 -0
  106. package/System.IO.Enumeration/bindings.json +402 -402
  107. package/System.IO.Enumeration/internal/index.d.ts +21 -23
  108. package/System.IO.Enumeration.d.ts +4 -0
  109. package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
  110. package/System.IO.IsolatedStorage.d.ts +4 -0
  111. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  112. package/System.IO.MemoryMappedFiles.d.ts +4 -0
  113. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  114. package/System.IO.Pipelines.d.ts +4 -0
  115. package/System.IO.Pipes/internal/index.d.ts +8 -7
  116. package/System.IO.Pipes.d.ts +4 -0
  117. package/System.IO.d.ts +4 -0
  118. package/System.Linq/bindings.json +22 -22
  119. package/System.Linq/internal/index.d.ts +705 -705
  120. package/System.Linq.Expressions/internal/index.d.ts +219 -195
  121. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  122. package/System.Linq.Expressions.Interpreter.d.ts +4 -0
  123. package/System.Linq.Expressions.d.ts +6 -2
  124. package/System.Linq.d.ts +18 -14
  125. package/System.Net/bindings.json +131 -131
  126. package/System.Net/internal/index.d.ts +276 -278
  127. package/System.Net.Cache/internal/index.d.ts +3 -2
  128. package/System.Net.Cache.d.ts +4 -0
  129. package/System.Net.Http/bindings.json +22 -22
  130. package/System.Net.Http/internal/index.d.ts +128 -130
  131. package/System.Net.Http.Headers/bindings.json +36 -200
  132. package/System.Net.Http.Headers/internal/index.d.ts +114 -128
  133. package/System.Net.Http.Headers.d.ts +4 -0
  134. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  135. package/System.Net.Http.Json.d.ts +4 -0
  136. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  137. package/System.Net.Http.Metrics.d.ts +4 -0
  138. package/System.Net.Http.d.ts +5 -1
  139. package/System.Net.Mail/bindings.json +96 -96
  140. package/System.Net.Mail/internal/index.d.ts +78 -80
  141. package/System.Net.Mail.d.ts +4 -0
  142. package/System.Net.Mime/internal/index.d.ts +11 -10
  143. package/System.Net.Mime.d.ts +4 -0
  144. package/System.Net.NetworkInformation/bindings.json +40 -40
  145. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  146. package/System.Net.NetworkInformation.d.ts +4 -0
  147. package/System.Net.Quic/internal/index.d.ts +11 -10
  148. package/System.Net.Quic.d.ts +4 -0
  149. package/System.Net.Security/internal/index.d.ts +90 -92
  150. package/System.Net.Security.d.ts +4 -0
  151. package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
  152. package/System.Net.ServerSentEvents.d.ts +7 -3
  153. package/System.Net.Sockets/internal/index.d.ts +91 -93
  154. package/System.Net.Sockets.d.ts +4 -0
  155. package/System.Net.WebSockets/bindings.json +101 -101
  156. package/System.Net.WebSockets/internal/index.d.ts +49 -48
  157. package/System.Net.WebSockets.d.ts +4 -0
  158. package/System.Net.d.ts +4 -0
  159. package/System.Numerics/bindings.json +547 -119
  160. package/System.Numerics/internal/index.d.ts +302 -304
  161. package/System.Numerics.d.ts +38 -34
  162. package/System.Reflection/bindings.json +870 -870
  163. package/System.Reflection/internal/index.d.ts +257 -259
  164. package/System.Reflection.Emit/bindings.json +754 -754
  165. package/System.Reflection.Emit/internal/index.d.ts +114 -114
  166. package/System.Reflection.Emit.d.ts +4 -0
  167. package/System.Reflection.Metadata/bindings.json +535 -3018
  168. package/System.Reflection.Metadata/internal/index.d.ts +188 -369
  169. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
  170. package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
  171. package/System.Reflection.Metadata.d.ts +9 -5
  172. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  173. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
  174. package/System.Reflection.PortableExecutable.d.ts +5 -0
  175. package/System.Reflection.d.ts +4 -0
  176. package/System.Resources/bindings.json +3 -3
  177. package/System.Resources/internal/index.d.ts +33 -35
  178. package/System.Resources.d.ts +4 -0
  179. package/System.Runtime/bindings.json +9 -9
  180. package/System.Runtime/internal/index.d.ts +11 -10
  181. package/System.Runtime.CompilerServices/bindings.json +962 -1160
  182. package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
  183. package/System.Runtime.CompilerServices.d.ts +30 -16
  184. package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
  185. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  186. package/System.Runtime.ConstrainedExecution.d.ts +4 -0
  187. package/System.Runtime.ExceptionServices/bindings.json +9 -9
  188. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
  189. package/System.Runtime.ExceptionServices.d.ts +4 -0
  190. package/System.Runtime.InteropServices/bindings.json +666 -666
  191. package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
  192. package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
  193. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
  194. package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
  195. package/System.Runtime.InteropServices.Java/bindings.json +12 -12
  196. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
  197. package/System.Runtime.InteropServices.Java.d.ts +4 -0
  198. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  199. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
  200. package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
  201. package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
  202. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
  203. package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
  204. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
  205. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
  206. package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
  207. package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
  208. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
  209. package/System.Runtime.InteropServices.Swift.d.ts +6 -2
  210. package/System.Runtime.InteropServices.d.ts +6 -2
  211. package/System.Runtime.Intrinsics/bindings.json +64 -16
  212. package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
  213. package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
  214. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  215. package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
  216. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  217. package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
  218. package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
  219. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  220. package/System.Runtime.Intrinsics.X86.d.ts +4 -0
  221. package/System.Runtime.Intrinsics.d.ts +12 -8
  222. package/System.Runtime.Loader/bindings.json +48 -69
  223. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  224. package/System.Runtime.Loader.d.ts +4 -0
  225. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  226. package/System.Runtime.Remoting.d.ts +4 -0
  227. package/System.Runtime.Serialization/bindings.json +13 -13
  228. package/System.Runtime.Serialization/internal/index.d.ts +124 -126
  229. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
  230. package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
  231. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  232. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
  233. package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
  234. package/System.Runtime.Serialization.Formatters.d.ts +4 -0
  235. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  236. package/System.Runtime.Serialization.Json.d.ts +4 -0
  237. package/System.Runtime.Serialization.d.ts +4 -0
  238. package/System.Runtime.Versioning/bindings.json +13 -13
  239. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  240. package/System.Runtime.Versioning.d.ts +4 -0
  241. package/System.Runtime.d.ts +4 -0
  242. package/System.Security/bindings.json +5 -5
  243. package/System.Security/internal/index.d.ts +64 -66
  244. package/System.Security.AccessControl/bindings.json +137 -33
  245. package/System.Security.AccessControl/internal/index.d.ts +62 -61
  246. package/System.Security.AccessControl.d.ts +13 -8
  247. package/System.Security.Authentication/internal/index.d.ts +7 -6
  248. package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
  249. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  250. package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
  251. package/System.Security.Authentication.d.ts +4 -0
  252. package/System.Security.Claims/internal/index.d.ts +45 -44
  253. package/System.Security.Claims.d.ts +4 -0
  254. package/System.Security.Cryptography/bindings.json +509 -509
  255. package/System.Security.Cryptography/internal/index.d.ts +268 -269
  256. package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
  257. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
  258. package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
  259. package/System.Security.Cryptography.d.ts +4 -0
  260. package/System.Security.Permissions/internal/index.d.ts +5 -4
  261. package/System.Security.Permissions.d.ts +4 -0
  262. package/System.Security.Policy/bindings.json +5 -5
  263. package/System.Security.Policy/internal/index.d.ts +9 -8
  264. package/System.Security.Policy.d.ts +4 -0
  265. package/System.Security.Principal/bindings.json +8 -8
  266. package/System.Security.Principal/internal/index.d.ts +30 -29
  267. package/System.Security.Principal.d.ts +4 -0
  268. package/System.Security.d.ts +4 -0
  269. package/System.Text/bindings.json +1577 -1577
  270. package/System.Text/internal/index.d.ts +121 -123
  271. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  272. package/System.Text.Encodings.Web.d.ts +4 -0
  273. package/System.Text.Json/bindings.json +0 -290
  274. package/System.Text.Json/internal/index.d.ts +143 -161
  275. package/System.Text.Json.Nodes/bindings.json +27 -27
  276. package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
  277. package/System.Text.Json.Nodes.d.ts +4 -0
  278. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  279. package/System.Text.Json.Schema.d.ts +4 -0
  280. package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
  281. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
  282. package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
  283. package/System.Text.Json.Serialization.d.ts +10 -6
  284. package/System.Text.Json.d.ts +4 -0
  285. package/System.Text.RegularExpressions/bindings.json +414 -578
  286. package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
  287. package/System.Text.RegularExpressions.d.ts +4 -0
  288. package/System.Text.Unicode/bindings.json +508 -508
  289. package/System.Text.Unicode/internal/index.d.ts +29 -31
  290. package/System.Text.Unicode.d.ts +4 -0
  291. package/System.Text.d.ts +4 -0
  292. package/System.Threading/bindings.json +61 -61
  293. package/System.Threading/internal/index.d.ts +156 -158
  294. package/System.Threading.Channels/internal/index.d.ts +31 -33
  295. package/System.Threading.Channels.d.ts +8 -4
  296. package/System.Threading.Tasks/bindings.json +142 -39
  297. package/System.Threading.Tasks/internal/index.d.ts +250 -247
  298. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
  299. package/System.Threading.Tasks.Dataflow.d.ts +18 -14
  300. package/System.Threading.Tasks.Sources/bindings.json +9 -9
  301. package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
  302. package/System.Threading.Tasks.Sources.d.ts +6 -2
  303. package/System.Threading.Tasks.d.ts +12 -8
  304. package/System.Threading.d.ts +4 -0
  305. package/System.Timers/internal/index.d.ts +8 -7
  306. package/System.Timers.d.ts +4 -0
  307. package/System.Transactions/internal/index.d.ts +31 -30
  308. package/System.Transactions.d.ts +4 -0
  309. package/System.Web/internal/index.d.ts +32 -31
  310. package/System.Web.d.ts +4 -0
  311. package/System.Windows.Input/internal/index.d.ts +5 -4
  312. package/System.Windows.Input.d.ts +4 -0
  313. package/System.Windows.Markup/internal/index.d.ts +3 -2
  314. package/System.Windows.Markup.d.ts +4 -0
  315. package/System.Xml/bindings.json +27 -27
  316. package/System.Xml/internal/index.d.ts +376 -378
  317. package/System.Xml.Linq/bindings.json +6 -6
  318. package/System.Xml.Linq/internal/index.d.ts +101 -100
  319. package/System.Xml.Linq.d.ts +4 -0
  320. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  321. package/System.Xml.Resolvers.d.ts +4 -0
  322. package/System.Xml.Schema/bindings.json +100 -100
  323. package/System.Xml.Schema/internal/index.d.ts +231 -230
  324. package/System.Xml.Schema.d.ts +4 -0
  325. package/System.Xml.Serialization/bindings.json +250 -57
  326. package/System.Xml.Serialization/internal/index.d.ts +274 -242
  327. package/System.Xml.Serialization.d.ts +6 -0
  328. package/System.Xml.XPath/bindings.json +1 -1
  329. package/System.Xml.XPath/internal/index.d.ts +37 -36
  330. package/System.Xml.XPath.d.ts +4 -0
  331. package/System.Xml.Xsl/bindings.json +1 -1
  332. package/System.Xml.Xsl/internal/index.d.ts +50 -49
  333. package/System.Xml.Xsl.Runtime/bindings.json +74 -71
  334. package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
  335. package/System.Xml.Xsl.Runtime.d.ts +4 -0
  336. package/System.Xml.Xsl.d.ts +4 -0
  337. package/System.Xml.d.ts +4 -0
  338. package/System.d.ts +126 -122
  339. package/__internal/extensions/index.d.ts +1335 -1338
  340. package/families.json +63 -7
  341. package/package.json +2 -2
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.IO.Enumeration
3
3
  // Assembly: System.Private.CoreLib
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
@@ -22,12 +20,6 @@ import type { ISerializable, SerializationInfo, StreamingContext } from "../../S
22
20
  import * as System_Internal from "../../System/internal/index.js";
23
21
  import type { AsyncCallback, Boolean as ClrBoolean, Char, DateTimeOffset, Delegate, IAsyncResult, ICloneable, IDisposable, Int32, Int64, IntPtr, MulticastDelegate, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
24
22
 
25
- export type FileSystemEnumerable_1_FindPredicate<TResult> = (entry: FileSystemEntry) => boolean;
26
-
27
-
28
- export type FileSystemEnumerable_1_FindTransform<TResult> = (entry: FileSystemEntry) => TResult;
29
-
30
-
31
23
  export interface FileSystemEntry$instance {
32
24
  readonly __tsonic_type_System_IO_Enumeration_FileSystemEntry: never;
33
25
 
@@ -55,34 +47,40 @@ export const FileSystemEntry: {
55
47
 
56
48
  export type FileSystemEntry = FileSystemEntry$instance;
57
49
 
58
- export interface FileSystemEnumerable_1$instance<TResult> {
50
+ export interface FileSystemEnumerable_1$instance<TResult extends unknown> {
59
51
  readonly __tsonic_type_System_IO_Enumeration_FileSystemEnumerable_1: never;
60
52
 
61
53
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
62
54
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
63
55
 
64
- get ShouldIncludePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
65
- set ShouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | undefined);
66
- get ShouldRecursePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
67
- set ShouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | undefined);
56
+ get ShouldIncludePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | null;
57
+ set ShouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | null);
58
+ get ShouldRecursePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | null;
59
+ set ShouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | null);
68
60
  GetEnumerator(): IEnumerator_1<TResult>;
69
61
  }
70
62
 
71
63
 
72
64
  export const FileSystemEnumerable_1: {
73
- new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions): FileSystemEnumerable_1<TResult>;
65
+ new<TResult extends unknown>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions | null): FileSystemEnumerable_1<TResult>;
74
66
  };
75
67
 
76
68
 
77
- export interface __FileSystemEnumerable_1$views<TResult> {
69
+ export interface __FileSystemEnumerable_1$views<TResult extends unknown> {
78
70
  As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<TResult>;
79
71
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
80
72
  }
81
73
 
82
- export type FileSystemEnumerable_1<TResult> = FileSystemEnumerable_1$instance<TResult> & __FileSystemEnumerable_1$views<TResult>;
74
+ export type FileSystemEnumerable_1<TResult extends unknown> = FileSystemEnumerable_1$instance<TResult> & __FileSystemEnumerable_1$views<TResult>;
75
+
76
+
77
+ export type FileSystemEnumerable_1_FindPredicate<TResult extends unknown> = (entry: FileSystemEntry) => boolean;
78
+
79
+
80
+ export type FileSystemEnumerable_1_FindTransform<TResult extends unknown> = (entry: FileSystemEntry) => TResult;
83
81
 
84
82
 
85
- export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinalizerObject, IDisposable {
83
+ export interface FileSystemEnumerator_1$instance<TResult extends unknown> extends CriticalFinalizerObject {
86
84
  readonly __tsonic_type_System_IO_Enumeration_FileSystemEnumerator_1: never;
87
85
 
88
86
  readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
@@ -103,22 +101,22 @@ export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinali
103
101
  }
104
102
 
105
103
 
106
- export const FileSystemEnumerator_1: (abstract new<TResult>(directory: string, options: EnumerationOptions) => FileSystemEnumerator_1<TResult>) & {
104
+ export const FileSystemEnumerator_1: (abstract new<TResult extends unknown>(directory: string, options: EnumerationOptions | null) => FileSystemEnumerator_1<TResult>) & {
107
105
  };
108
106
 
109
107
 
110
- export interface __FileSystemEnumerator_1$views<TResult> {
108
+ export interface __FileSystemEnumerator_1$views<TResult extends unknown> {
111
109
  As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<TResult>;
112
110
  As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
113
111
  }
114
112
 
115
- export type FileSystemEnumerator_1<TResult> = FileSystemEnumerator_1$instance<TResult> & __FileSystemEnumerator_1$views<TResult>;
113
+ export type FileSystemEnumerator_1<TResult extends unknown> = FileSystemEnumerator_1$instance<TResult> & __FileSystemEnumerator_1$views<TResult>;
116
114
 
117
115
 
118
116
  export abstract class FileSystemName$instance {
119
117
  static MatchesSimpleExpression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
120
118
  static MatchesWin32Expression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
121
- static TranslateWin32Expression(expression: string): string;
119
+ static TranslateWin32Expression(expression: string | null): string;
122
120
  }
123
121
 
124
122
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO.Enumeration/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IEnumerable_1, IEnumerator_1 } from './System.Collections.Generic/internal/index.js';
10
14
  import type { IEnumerable, IEnumerator } from './System.Collections/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.IO.IsolatedStorage
3
3
  // Assembly: System.IO.IsolatedStorage
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { SafeFileHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -73,8 +74,8 @@ export interface IsolatedStorageException$instance extends Exception, System_Run
73
74
 
74
75
  export const IsolatedStorageException: {
75
76
  new(): IsolatedStorageException;
76
- new(message: string): IsolatedStorageException;
77
- new(message: string, inner: Exception): IsolatedStorageException;
77
+ new(message: string | null): IsolatedStorageException;
78
+ new(message: string | null, inner: Exception | null): IsolatedStorageException;
78
79
  };
79
80
 
80
81
 
@@ -128,10 +129,10 @@ export const IsolatedStorageFile: {
128
129
  GetMachineStoreForApplication(): IsolatedStorageFile;
129
130
  GetMachineStoreForAssembly(): IsolatedStorageFile;
130
131
  GetMachineStoreForDomain(): IsolatedStorageFile;
131
- GetStore(scope: IsolatedStorageScope, domainIdentity: unknown, assemblyIdentity: unknown): IsolatedStorageFile;
132
- GetStore(scope: IsolatedStorageScope, applicationIdentity: unknown): IsolatedStorageFile;
133
- GetStore(scope: IsolatedStorageScope, domainEvidenceType: Type, assemblyEvidenceType: Type): IsolatedStorageFile;
134
- GetStore(scope: IsolatedStorageScope, applicationEvidenceType: Type): IsolatedStorageFile;
132
+ GetStore(scope: IsolatedStorageScope, domainIdentity: unknown | null, assemblyIdentity: unknown | null): IsolatedStorageFile;
133
+ GetStore(scope: IsolatedStorageScope, applicationIdentity: unknown | null): IsolatedStorageFile;
134
+ GetStore(scope: IsolatedStorageScope, domainEvidenceType: Type | null, assemblyEvidenceType: Type | null): IsolatedStorageFile;
135
+ GetStore(scope: IsolatedStorageScope, applicationEvidenceType: Type | null): IsolatedStorageFile;
135
136
  GetUserStoreForApplication(): IsolatedStorageFile;
136
137
  GetUserStoreForAssembly(): IsolatedStorageFile;
137
138
  GetUserStoreForDomain(): IsolatedStorageFile;
@@ -147,7 +148,7 @@ export interface __IsolatedStorageFile$views {
147
148
  export type IsolatedStorageFile = IsolatedStorageFile$instance & __IsolatedStorageFile$views;
148
149
 
149
150
 
150
- export interface IsolatedStorageFileStream$instance extends FileStream {
151
+ export interface IsolatedStorageFileStream$instance extends FileStream, System_Internal.IAsyncDisposable$instance {
151
152
  readonly __tsonic_type_System_IO_IsolatedStorage_IsolatedStorageFileStream: never;
152
153
 
153
154
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -161,8 +162,8 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
161
162
  readonly Length: long;
162
163
  Position: long;
163
164
  readonly SafeFileHandle: SafeFileHandle;
164
- BeginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
165
- BeginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
165
+ BeginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | null, stateObject: unknown | null): IAsyncResult;
166
+ BeginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | null, stateObject: unknown | null): IAsyncResult;
166
167
  Dispose(disposing: boolean): void;
167
168
  Dispose(): void;
168
169
  DisposeAsync(): ValueTask;
@@ -195,13 +196,13 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
195
196
 
196
197
  export const IsolatedStorageFileStream: {
197
198
  new(path: string, mode: FileMode): IsolatedStorageFileStream;
198
- new(path: string, mode: FileMode, isf: IsolatedStorageFile): IsolatedStorageFileStream;
199
+ new(path: string, mode: FileMode, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
199
200
  new(path: string, mode: FileMode, access: FileAccess): IsolatedStorageFileStream;
200
- new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile): IsolatedStorageFileStream;
201
+ new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
201
202
  new(path: string, mode: FileMode, access: FileAccess, share: FileShare): IsolatedStorageFileStream;
202
- new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile): IsolatedStorageFileStream;
203
+ new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
203
204
  new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int): IsolatedStorageFileStream;
204
- new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile): IsolatedStorageFileStream;
205
+ new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
205
206
  };
206
207
 
207
208
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO.IsolatedStorage/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { SafeFileHandle } from './Microsoft.Win32.SafeHandles/internal/index.js';
10
14
  import type { IDictionary, IEnumerator } from './System.Collections/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.IO.MemoryMappedFiles
3
3
  // Assembly: System.IO.MemoryMappedFiles
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { SafeFileHandle, SafeMemoryMappedFileHandle, SafeMemoryMappedViewHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -66,16 +67,16 @@ export interface MemoryMappedFile$instance {
66
67
 
67
68
 
68
69
  export const MemoryMappedFile: {
69
- CreateFromFile(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
70
- CreateFromFile(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
71
- CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
72
- CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long): MemoryMappedFile;
73
- CreateFromFile(path: string, mode: FileMode, mapName: string): MemoryMappedFile;
70
+ CreateFromFile(fileHandle: SafeFileHandle, mapName: string | null, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
71
+ CreateFromFile(fileStream: FileStream, mapName: string | null, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
72
+ CreateFromFile(path: string, mode: FileMode, mapName: string | null, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
73
+ CreateFromFile(path: string, mode: FileMode, mapName: string | null, capacity: long): MemoryMappedFile;
74
+ CreateFromFile(path: string, mode: FileMode, mapName: string | null): MemoryMappedFile;
74
75
  CreateFromFile(path: string, mode: FileMode): MemoryMappedFile;
75
76
  CreateFromFile(path: string): MemoryMappedFile;
76
- CreateNew(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
77
- CreateNew(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
78
- CreateNew(mapName: string, capacity: long): MemoryMappedFile;
77
+ CreateNew(mapName: string | null, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
78
+ CreateNew(mapName: string | null, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
79
+ CreateNew(mapName: string | null, capacity: long): MemoryMappedFile;
79
80
  CreateOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
80
81
  CreateOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
81
82
  CreateOrOpen(mapName: string, capacity: long): MemoryMappedFile;
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO.MemoryMappedFiles/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { SafeFileHandle, SafeMemoryMappedFileHandle, SafeMemoryMappedViewHandle } from './Microsoft.Win32.SafeHandles/internal/index.js';
10
14
  import type { FileAccess, FileMode, FileStream, HandleInheritability, SeekOrigin, Stream, UnmanagedMemoryAccessor, UnmanagedMemoryStream } from './System.IO/internal/index.js';
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.IO.Pipelines
3
3
  // Assembly: System.IO.Pipelines
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Buffers_Internal from "../../System.Buffers/internal/index.js";
@@ -89,7 +87,7 @@ export interface PipeOptions$instance {
89
87
 
90
88
 
91
89
  export const PipeOptions: {
92
- new(pool: MemoryPool_1<System_Internal.Byte>, readerScheduler: PipeScheduler, writerScheduler: PipeScheduler, pauseWriterThreshold: long, resumeWriterThreshold: long, minimumSegmentSize: int, useSynchronizationContext: boolean): PipeOptions;
90
+ new(pool: MemoryPool_1<System_Internal.Byte> | null, readerScheduler: PipeScheduler | null, writerScheduler: PipeScheduler | null, pauseWriterThreshold: long, resumeWriterThreshold: long, minimumSegmentSize: int, useSynchronizationContext: boolean): PipeOptions;
93
91
  readonly Default: PipeOptions;
94
92
  };
95
93
 
@@ -103,11 +101,11 @@ export interface PipeReader$instance {
103
101
  AdvanceTo(consumed: SequencePosition, examined: SequencePosition): void;
104
102
  AsStream(leaveOpen?: boolean): Stream;
105
103
  CancelPendingRead(): void;
106
- Complete(exception?: Exception): void;
107
- CompleteAsync(exception?: Exception): ValueTask;
104
+ Complete(exception?: Exception | null): void;
105
+ CompleteAsync(exception?: Exception | null): ValueTask;
108
106
  CopyToAsync(destination: PipeWriter, cancellationToken?: CancellationToken): Task;
109
107
  CopyToAsync(destination: Stream, cancellationToken?: CancellationToken): Task;
110
- OnWriterCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
108
+ OnWriterCompleted(callback: Action_2<Exception | null, unknown | null>, state: unknown | null): void;
111
109
  ReadAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
112
110
  ReadAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
113
111
  ReadAtLeastAsyncCore(minimumSize: int, cancellationToken: CancellationToken): ValueTask_1<ReadResult>;
@@ -117,7 +115,7 @@ export interface PipeReader$instance {
117
115
 
118
116
  export const PipeReader: (abstract new() => PipeReader) & {
119
117
  Create(sequence: ReadOnlySequence_1<System_Internal.Byte>): PipeReader;
120
- Create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
118
+ Create(stream: Stream, readerOptions?: StreamPipeReaderOptions | null): PipeReader;
121
119
  };
122
120
 
123
121
 
@@ -126,7 +124,7 @@ export type PipeReader = PipeReader$instance;
126
124
  export interface PipeScheduler$instance {
127
125
  readonly __tsonic_type_System_IO_Pipelines_PipeScheduler: never;
128
126
 
129
- Schedule(action: Action_1<unknown>, state: unknown): void;
127
+ Schedule(action: Action_1<unknown | null>, state: unknown | null): void;
130
128
  }
131
129
 
132
130
 
@@ -148,19 +146,19 @@ export interface PipeWriter$instance extends System_Buffers_Internal.IBufferWrit
148
146
  Advance(bytes: int): void;
149
147
  AsStream(leaveOpen?: boolean): Stream;
150
148
  CancelPendingFlush(): void;
151
- Complete(exception?: Exception): void;
152
- CompleteAsync(exception?: Exception): ValueTask;
149
+ Complete(exception?: Exception | null): void;
150
+ CompleteAsync(exception?: Exception | null): ValueTask;
153
151
  CopyFromAsync(source: Stream, cancellationToken?: CancellationToken): Task;
154
152
  FlushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
155
153
  GetMemory(sizeHint?: int): Memory_1<System_Internal.Byte>;
156
154
  GetSpan(sizeHint?: int): Span_1<System_Internal.Byte>;
157
- OnReaderCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
155
+ OnReaderCompleted(callback: Action_2<Exception | null, unknown | null>, state: unknown | null): void;
158
156
  WriteAsync(source: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
159
157
  }
160
158
 
161
159
 
162
160
  export const PipeWriter: (abstract new() => PipeWriter) & {
163
- Create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
161
+ Create(stream: Stream, writerOptions?: StreamPipeWriterOptions | null): PipeWriter;
164
162
  };
165
163
 
166
164
 
@@ -183,8 +181,8 @@ export interface StreamPipeReaderOptions$instance {
183
181
 
184
182
 
185
183
  export const StreamPipeReaderOptions: {
186
- new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean): StreamPipeReaderOptions;
187
- new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean, useZeroByteReads: boolean): StreamPipeReaderOptions;
184
+ new(pool: MemoryPool_1<System_Internal.Byte> | null, bufferSize: int, minimumReadSize: int, leaveOpen: boolean): StreamPipeReaderOptions;
185
+ new(pool: MemoryPool_1<System_Internal.Byte> | null, bufferSize: int, minimumReadSize: int, leaveOpen: boolean, useZeroByteReads: boolean): StreamPipeReaderOptions;
188
186
  };
189
187
 
190
188
 
@@ -200,7 +198,7 @@ export interface StreamPipeWriterOptions$instance {
200
198
 
201
199
 
202
200
  export const StreamPipeWriterOptions: {
203
- new(pool: MemoryPool_1<System_Internal.Byte>, minimumBufferSize: int, leaveOpen: boolean): StreamPipeWriterOptions;
201
+ new(pool: MemoryPool_1<System_Internal.Byte> | null, minimumBufferSize: int, leaveOpen: boolean): StreamPipeWriterOptions;
204
202
  };
205
203
 
206
204
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO.Pipelines/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { IBufferWriter_1, MemoryPool_1, ReadOnlySequence_1 } from './System.Buffers/internal/index.js';
10
14
  import type { Stream } from './System.IO/internal/index.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.IO.Pipes
3
3
  // Assembly: System.IO.Pipes, System.IO.Pipes.AccessControl
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { SafePipeHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -178,7 +179,7 @@ export interface NamedPipeServerStream$instance extends PipeStream$instance, Sys
178
179
 
179
180
  readonly InBufferSize: int;
180
181
  readonly OutBufferSize: int;
181
- BeginWaitForConnection(callback: AsyncCallback, state: unknown): IAsyncResult;
182
+ BeginWaitForConnection(callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
182
183
  Disconnect(): void;
183
184
  EndWaitForConnection(asyncResult: IAsyncResult): void;
184
185
  Finalize(): void;
@@ -290,8 +291,8 @@ export interface PipeStream$instance extends Stream, System_Internal.IAsyncDispo
290
291
  ReadMode: PipeTransmissionMode;
291
292
  readonly SafePipeHandle: SafePipeHandle;
292
293
  readonly TransmissionMode: PipeTransmissionMode;
293
- BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
294
- BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
294
+ BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
295
+ BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
295
296
  CheckPipePropertyOperations(): void;
296
297
  Dispose(disposing: boolean): void;
297
298
  Dispose(): void;
@@ -331,14 +332,14 @@ export type PipeStream = PipeStream$instance & __PipeStream$views;
331
332
 
332
333
 
333
334
  export abstract class AnonymousPipeServerStreamAcl$instance {
334
- static Create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity): AnonymousPipeServerStream;
335
+ static Create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity | null): AnonymousPipeServerStream;
335
336
  }
336
337
 
337
338
 
338
339
  export type AnonymousPipeServerStreamAcl = AnonymousPipeServerStreamAcl$instance;
339
340
 
340
341
  export abstract class NamedPipeServerStreamAcl$instance {
341
- static Create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
342
+ static Create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity | null, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
342
343
  }
343
344
 
344
345
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO.Pipes/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { SafePipeHandle } from './Microsoft.Win32.SafeHandles/internal/index.js';
10
14
  import type { HandleInheritability, SeekOrigin, Stream } from './System.IO/internal/index.js';
package/System.IO.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { SafeFileHandle } from './Microsoft.Win32.SafeHandles/internal/index.js';
10
14
  import type { IAsyncEnumerable_1, IEnumerable_1, IReadOnlyList_1 } from './System.Collections.Generic/internal/index.js';
@@ -217,7 +217,7 @@
217
217
  {
218
218
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
219
219
  "clrName": "GetEnumerator",
220
- "metadataToken": 100704560,
220
+ "metadataToken": 100704565,
221
221
  "canonicalSignature": "():IEnumerator_1",
222
222
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
223
223
  "emitScope": "ClassSurface",
@@ -237,7 +237,7 @@
237
237
  {
238
238
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
239
239
  "clrName": "GetEnumerator",
240
- "metadataToken": 100703845,
240
+ "metadataToken": 100703850,
241
241
  "canonicalSignature": "():System.Collections.IEnumerator",
242
242
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
243
243
  "emitScope": "ClassSurface",
@@ -332,7 +332,7 @@
332
332
  {
333
333
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
334
334
  "clrName": "GetEnumerator",
335
- "metadataToken": 100704560,
335
+ "metadataToken": 100704565,
336
336
  "canonicalSignature": "():IEnumerator_1",
337
337
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
338
338
  "emitScope": "ClassSurface",
@@ -352,7 +352,7 @@
352
352
  {
353
353
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
354
354
  "clrName": "GetEnumerator",
355
- "metadataToken": 100703845,
355
+ "metadataToken": 100703850,
356
356
  "canonicalSignature": "():System.Collections.IEnumerator",
357
357
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
358
358
  "emitScope": "ClassSurface",
@@ -481,7 +481,7 @@
481
481
  {
482
482
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IAsyncEnumerable\u00601::GetAsyncEnumerator(System.Threading.CancellationToken):IAsyncEnumerator_1",
483
483
  "clrName": "GetAsyncEnumerator",
484
- "metadataToken": 100704533,
484
+ "metadataToken": 100704538,
485
485
  "canonicalSignature": "(System.Threading.CancellationToken):IAsyncEnumerator_1",
486
486
  "normalizedSignature": "GetAsyncEnumerator|(System.Threading.CancellationToken):IAsyncEnumerator_1|static=false",
487
487
  "emitScope": "ClassSurface",
@@ -555,7 +555,7 @@
555
555
  {
556
556
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
557
557
  "clrName": "GetEnumerator",
558
- "metadataToken": 100704560,
558
+ "metadataToken": 100704565,
559
559
  "canonicalSignature": "():IEnumerator_1",
560
560
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
561
561
  "emitScope": "ClassSurface",
@@ -575,7 +575,7 @@
575
575
  {
576
576
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
577
577
  "clrName": "GetEnumerator",
578
- "metadataToken": 100703845,
578
+ "metadataToken": 100703850,
579
579
  "canonicalSignature": "():System.Collections.IEnumerator",
580
580
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
581
581
  "emitScope": "ClassSurface",
@@ -623,7 +623,7 @@
623
623
  {
624
624
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
625
625
  "clrName": "GetEnumerator",
626
- "metadataToken": 100703845,
626
+ "metadataToken": 100703850,
627
627
  "canonicalSignature": "():System.Collections.IEnumerator",
628
628
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
629
629
  "emitScope": "ClassSurface",
@@ -750,7 +750,7 @@
750
750
  {
751
751
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
752
752
  "clrName": "GetEnumerator",
753
- "metadataToken": 100704560,
753
+ "metadataToken": 100704565,
754
754
  "canonicalSignature": "():IEnumerator_1",
755
755
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
756
756
  "emitScope": "ClassSurface",
@@ -770,7 +770,7 @@
770
770
  {
771
771
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
772
772
  "clrName": "GetEnumerator",
773
- "metadataToken": 100703845,
773
+ "metadataToken": 100703850,
774
774
  "canonicalSignature": "():System.Collections.IEnumerator",
775
775
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
776
776
  "emitScope": "ClassSurface",
@@ -872,7 +872,7 @@
872
872
  {
873
873
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
874
874
  "clrName": "GetEnumerator",
875
- "metadataToken": 100703845,
875
+ "metadataToken": 100703850,
876
876
  "canonicalSignature": "():System.Collections.IEnumerator",
877
877
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
878
878
  "emitScope": "ClassSurface",
@@ -988,7 +988,7 @@
988
988
  {
989
989
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
990
990
  "clrName": "GetEnumerator",
991
- "metadataToken": 100704560,
991
+ "metadataToken": 100704565,
992
992
  "canonicalSignature": "():IEnumerator_1",
993
993
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
994
994
  "emitScope": "ClassSurface",
@@ -1008,7 +1008,7 @@
1008
1008
  {
1009
1009
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
1010
1010
  "clrName": "GetEnumerator",
1011
- "metadataToken": 100703845,
1011
+ "metadataToken": 100703850,
1012
1012
  "canonicalSignature": "():System.Collections.IEnumerator",
1013
1013
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
1014
1014
  "emitScope": "ClassSurface",
@@ -1346,7 +1346,7 @@
1346
1346
  {
1347
1347
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
1348
1348
  "clrName": "GetEnumerator",
1349
- "metadataToken": 100704560,
1349
+ "metadataToken": 100704565,
1350
1350
  "canonicalSignature": "():IEnumerator_1",
1351
1351
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
1352
1352
  "emitScope": "ViewOnly",
@@ -1367,7 +1367,7 @@
1367
1367
  {
1368
1368
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
1369
1369
  "clrName": "GetEnumerator",
1370
- "metadataToken": 100703845,
1370
+ "metadataToken": 100703850,
1371
1371
  "canonicalSignature": "():System.Collections.IEnumerator",
1372
1372
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
1373
1373
  "emitScope": "ViewOnly",
@@ -1663,7 +1663,7 @@
1663
1663
  {
1664
1664
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
1665
1665
  "clrName": "GetEnumerator",
1666
- "metadataToken": 100704560,
1666
+ "metadataToken": 100704565,
1667
1667
  "canonicalSignature": "():IEnumerator_1",
1668
1668
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
1669
1669
  "emitScope": "ViewOnly",
@@ -1684,7 +1684,7 @@
1684
1684
  {
1685
1685
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
1686
1686
  "clrName": "GetEnumerator",
1687
- "metadataToken": 100703845,
1687
+ "metadataToken": 100703850,
1688
1688
  "canonicalSignature": "():System.Collections.IEnumerator",
1689
1689
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
1690
1690
  "emitScope": "ViewOnly",
@@ -1846,7 +1846,7 @@
1846
1846
  {
1847
1847
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
1848
1848
  "clrName": "GetEnumerator",
1849
- "metadataToken": 100703845,
1849
+ "metadataToken": 100703850,
1850
1850
  "canonicalSignature": "():System.Collections.IEnumerator",
1851
1851
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
1852
1852
  "emitScope": "ViewOnly",
@@ -1867,7 +1867,7 @@
1867
1867
  {
1868
1868
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
1869
1869
  "clrName": "GetEnumerator",
1870
- "metadataToken": 100704560,
1870
+ "metadataToken": 100704565,
1871
1871
  "canonicalSignature": "():IEnumerator_1",
1872
1872
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
1873
1873
  "emitScope": "ViewOnly",
@@ -1916,7 +1916,7 @@
1916
1916
  {
1917
1917
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
1918
1918
  "clrName": "GetEnumerator",
1919
- "metadataToken": 100703845,
1919
+ "metadataToken": 100703850,
1920
1920
  "canonicalSignature": "():System.Collections.IEnumerator",
1921
1921
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
1922
1922
  "emitScope": "ViewOnly",
@@ -1995,7 +1995,7 @@
1995
1995
  {
1996
1996
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
1997
1997
  "clrName": "GetEnumerator",
1998
- "metadataToken": 100703845,
1998
+ "metadataToken": 100703850,
1999
1999
  "canonicalSignature": "():System.Collections.IEnumerator",
2000
2000
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
2001
2001
  "emitScope": "ViewOnly",
@@ -2016,7 +2016,7 @@
2016
2016
  {
2017
2017
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
2018
2018
  "clrName": "GetEnumerator",
2019
- "metadataToken": 100704560,
2019
+ "metadataToken": 100704565,
2020
2020
  "canonicalSignature": "():IEnumerator_1",
2021
2021
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
2022
2022
  "emitScope": "ViewOnly",