@tsonic/dotnet 10.0.41 → 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 (332) hide show
  1. package/Internal/bindings.json +5 -5
  2. package/Internal/internal/index.d.ts +1 -1
  3. package/Internal.d.ts +4 -0
  4. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +1 -1
  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 +51 -51
  8. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +116 -116
  9. package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
  10. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
  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 +9 -9
  14. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +1 -1
  15. package/Microsoft.Win32.SafeHandles.d.ts +4 -0
  16. package/Microsoft.Win32.d.ts +4 -0
  17. package/README.md +8 -1
  18. package/System/bindings.json +204 -124
  19. package/System/internal/index.d.ts +1041 -1026
  20. package/System.Buffers/internal/index.d.ts +51 -51
  21. package/System.Buffers.Binary/internal/index.d.ts +1 -1
  22. package/System.Buffers.Binary.d.ts +4 -0
  23. package/System.Buffers.Text/internal/index.d.ts +1 -1
  24. package/System.Buffers.Text.d.ts +4 -0
  25. package/System.Buffers.d.ts +10 -6
  26. package/System.CodeDom.Compiler/internal/index.d.ts +14 -14
  27. package/System.CodeDom.Compiler.d.ts +4 -0
  28. package/System.Collections/bindings.json +300 -300
  29. package/System.Collections/internal/index.d.ts +113 -113
  30. package/System.Collections.Concurrent/bindings.json +93 -93
  31. package/System.Collections.Concurrent/internal/index.d.ts +65 -65
  32. package/System.Collections.Concurrent.d.ts +7 -3
  33. package/System.Collections.Frozen/bindings.json +90 -50
  34. package/System.Collections.Frozen/internal/index.d.ts +35 -33
  35. package/System.Collections.Frozen.d.ts +6 -2
  36. package/System.Collections.Generic/bindings.json +932 -612
  37. package/System.Collections.Generic/internal/index.d.ts +303 -287
  38. package/System.Collections.Generic.d.ts +19 -15
  39. package/System.Collections.Immutable/bindings.json +189 -189
  40. package/System.Collections.Immutable/internal/index.d.ts +235 -234
  41. package/System.Collections.Immutable.d.ts +21 -17
  42. package/System.Collections.ObjectModel/bindings.json +229 -229
  43. package/System.Collections.ObjectModel/internal/index.d.ts +41 -41
  44. package/System.Collections.ObjectModel.d.ts +6 -2
  45. package/System.Collections.Specialized/bindings.json +79 -79
  46. package/System.Collections.Specialized/internal/index.d.ts +46 -46
  47. package/System.Collections.Specialized.d.ts +4 -0
  48. package/System.Collections.d.ts +4 -0
  49. package/System.ComponentModel/bindings.json +108 -108
  50. package/System.ComponentModel/internal/index.d.ts +368 -363
  51. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +78 -78
  52. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
  53. package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
  54. package/System.ComponentModel.DataAnnotations.d.ts +4 -0
  55. package/System.ComponentModel.Design/bindings.json +18 -18
  56. package/System.ComponentModel.Design/internal/index.d.ts +47 -47
  57. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +38 -38
  58. package/System.ComponentModel.Design.Serialization.d.ts +4 -0
  59. package/System.ComponentModel.Design.d.ts +4 -0
  60. package/System.ComponentModel.d.ts +4 -0
  61. package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
  62. package/System.Configuration.Assemblies.d.ts +4 -0
  63. package/System.Data/bindings.json +124 -124
  64. package/System.Data/internal/index.d.ts +156 -156
  65. package/System.Data.Common/bindings.json +68 -68
  66. package/System.Data.Common/internal/index.d.ts +42 -42
  67. package/System.Data.Common.d.ts +4 -0
  68. package/System.Data.SqlTypes/internal/index.d.ts +40 -40
  69. package/System.Data.SqlTypes.d.ts +4 -0
  70. package/System.Data.d.ts +8 -4
  71. package/System.Diagnostics/bindings.json +251 -231
  72. package/System.Diagnostics/internal/index.d.ts +167 -154
  73. package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
  74. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +7 -7
  75. package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
  76. package/System.Diagnostics.Contracts/bindings.json +62 -62
  77. package/System.Diagnostics.Contracts/internal/index.d.ts +9 -9
  78. package/System.Diagnostics.Contracts.d.ts +4 -0
  79. package/System.Diagnostics.Metrics/internal/index.d.ts +86 -86
  80. package/System.Diagnostics.Metrics.d.ts +7 -3
  81. package/System.Diagnostics.SymbolStore/bindings.json +2 -2
  82. package/System.Diagnostics.SymbolStore/internal/index.d.ts +3 -3
  83. package/System.Diagnostics.SymbolStore.d.ts +4 -0
  84. package/System.Diagnostics.Tracing/bindings.json +212 -212
  85. package/System.Diagnostics.Tracing/internal/index.d.ts +7 -7
  86. package/System.Diagnostics.Tracing.d.ts +4 -0
  87. package/System.Diagnostics.d.ts +5 -1
  88. package/System.Drawing/internal/index.d.ts +48 -48
  89. package/System.Drawing.d.ts +4 -0
  90. package/System.Dynamic/bindings.json +13 -13
  91. package/System.Dynamic/internal/index.d.ts +36 -35
  92. package/System.Dynamic.d.ts +4 -0
  93. package/System.Formats.Asn1/internal/index.d.ts +11 -11
  94. package/System.Formats.Asn1.d.ts +4 -0
  95. package/System.Formats.Tar/internal/index.d.ts +1 -1
  96. package/System.Formats.Tar.d.ts +4 -0
  97. package/System.Globalization/bindings.json +3 -3
  98. package/System.Globalization/internal/index.d.ts +19 -19
  99. package/System.Globalization.d.ts +4 -0
  100. package/System.IO/bindings.json +957 -957
  101. package/System.IO/internal/index.d.ts +55 -55
  102. package/System.IO.Compression/internal/index.d.ts +13 -13
  103. package/System.IO.Compression.d.ts +4 -0
  104. package/System.IO.Enumeration/bindings.json +47 -47
  105. package/System.IO.Enumeration/internal/index.d.ts +11 -11
  106. package/System.IO.Enumeration.d.ts +4 -0
  107. package/System.IO.IsolatedStorage/internal/index.d.ts +10 -10
  108. package/System.IO.IsolatedStorage.d.ts +4 -0
  109. package/System.IO.MemoryMappedFiles/internal/index.d.ts +1 -1
  110. package/System.IO.MemoryMappedFiles.d.ts +4 -0
  111. package/System.IO.Pipelines/internal/index.d.ts +4 -4
  112. package/System.IO.Pipelines.d.ts +4 -0
  113. package/System.IO.Pipes/internal/index.d.ts +4 -4
  114. package/System.IO.Pipes.d.ts +4 -0
  115. package/System.IO.d.ts +4 -0
  116. package/System.Linq/bindings.json +22 -22
  117. package/System.Linq/internal/index.d.ts +703 -701
  118. package/System.Linq.Expressions/internal/index.d.ts +67 -41
  119. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
  120. package/System.Linq.Expressions.Interpreter.d.ts +4 -0
  121. package/System.Linq.Expressions.d.ts +6 -2
  122. package/System.Linq.d.ts +18 -14
  123. package/System.Net/bindings.json +27 -27
  124. package/System.Net/internal/index.d.ts +53 -53
  125. package/System.Net.Cache/internal/index.d.ts +1 -1
  126. package/System.Net.Cache.d.ts +4 -0
  127. package/System.Net.Http/bindings.json +22 -22
  128. package/System.Net.Http/internal/index.d.ts +16 -16
  129. package/System.Net.Http.Headers/bindings.json +66 -26
  130. package/System.Net.Http.Headers/internal/index.d.ts +26 -24
  131. package/System.Net.Http.Headers.d.ts +4 -0
  132. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  133. package/System.Net.Http.Json.d.ts +4 -0
  134. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  135. package/System.Net.Http.Metrics.d.ts +4 -0
  136. package/System.Net.Http.d.ts +5 -1
  137. package/System.Net.Mail/bindings.json +96 -96
  138. package/System.Net.Mail/internal/index.d.ts +8 -8
  139. package/System.Net.Mail.d.ts +4 -0
  140. package/System.Net.Mime/internal/index.d.ts +3 -3
  141. package/System.Net.Mime.d.ts +4 -0
  142. package/System.Net.NetworkInformation/bindings.json +40 -40
  143. package/System.Net.NetworkInformation/internal/index.d.ts +15 -15
  144. package/System.Net.NetworkInformation.d.ts +4 -0
  145. package/System.Net.Quic/internal/index.d.ts +4 -4
  146. package/System.Net.Quic.d.ts +4 -0
  147. package/System.Net.Security/internal/index.d.ts +29 -29
  148. package/System.Net.Security.d.ts +4 -0
  149. package/System.Net.ServerSentEvents/internal/index.d.ts +9 -9
  150. package/System.Net.ServerSentEvents.d.ts +7 -3
  151. package/System.Net.Sockets/internal/index.d.ts +42 -42
  152. package/System.Net.Sockets.d.ts +4 -0
  153. package/System.Net.WebSockets/bindings.json +101 -101
  154. package/System.Net.WebSockets/internal/index.d.ts +5 -5
  155. package/System.Net.WebSockets.d.ts +4 -0
  156. package/System.Net.d.ts +4 -0
  157. package/System.Numerics/bindings.json +3 -3
  158. package/System.Numerics/internal/index.d.ts +218 -218
  159. package/System.Numerics.d.ts +38 -34
  160. package/System.Reflection/bindings.json +870 -870
  161. package/System.Reflection/internal/index.d.ts +107 -107
  162. package/System.Reflection.Emit/bindings.json +754 -754
  163. package/System.Reflection.Emit/internal/index.d.ts +27 -25
  164. package/System.Reflection.Emit.d.ts +4 -0
  165. package/System.Reflection.Metadata/bindings.json +607 -87
  166. package/System.Reflection.Metadata/internal/index.d.ts +144 -118
  167. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +9 -9
  168. package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
  169. package/System.Reflection.Metadata.d.ts +9 -5
  170. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  171. package/System.Reflection.PortableExecutable.d.ts +4 -0
  172. package/System.Reflection.d.ts +4 -0
  173. package/System.Resources/bindings.json +3 -3
  174. package/System.Resources/internal/index.d.ts +7 -7
  175. package/System.Resources.d.ts +4 -0
  176. package/System.Runtime/bindings.json +9 -9
  177. package/System.Runtime/internal/index.d.ts +7 -7
  178. package/System.Runtime.CompilerServices/bindings.json +383 -383
  179. package/System.Runtime.CompilerServices/internal/index.d.ts +226 -226
  180. package/System.Runtime.CompilerServices.d.ts +20 -16
  181. package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
  182. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +1 -1
  183. package/System.Runtime.ConstrainedExecution.d.ts +4 -0
  184. package/System.Runtime.ExceptionServices/bindings.json +9 -9
  185. package/System.Runtime.ExceptionServices/internal/index.d.ts +2 -2
  186. package/System.Runtime.ExceptionServices.d.ts +4 -0
  187. package/System.Runtime.InteropServices/bindings.json +559 -559
  188. package/System.Runtime.InteropServices/internal/index.d.ts +182 -182
  189. package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
  190. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +19 -19
  191. package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
  192. package/System.Runtime.InteropServices.Java/bindings.json +12 -12
  193. package/System.Runtime.InteropServices.Java/internal/index.d.ts +2 -2
  194. package/System.Runtime.InteropServices.Java.d.ts +4 -0
  195. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +38 -38
  196. package/System.Runtime.InteropServices.JavaScript.d.ts +6 -2
  197. package/System.Runtime.InteropServices.Marshalling/bindings.json +117 -117
  198. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +81 -81
  199. package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
  200. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +15 -15
  201. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +2 -2
  202. package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
  203. package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
  204. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
  205. package/System.Runtime.InteropServices.Swift.d.ts +6 -2
  206. package/System.Runtime.InteropServices.d.ts +6 -2
  207. package/System.Runtime.Intrinsics/internal/index.d.ts +514 -514
  208. package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
  209. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +1 -1
  210. package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
  211. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
  212. package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
  213. package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
  214. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +1 -1
  215. package/System.Runtime.Intrinsics.X86.d.ts +4 -0
  216. package/System.Runtime.Intrinsics.d.ts +12 -8
  217. package/System.Runtime.Loader/internal/index.d.ts +1 -1
  218. package/System.Runtime.Loader.d.ts +4 -0
  219. package/System.Runtime.Remoting/internal/index.d.ts +3 -3
  220. package/System.Runtime.Remoting.d.ts +4 -0
  221. package/System.Runtime.Serialization/bindings.json +13 -13
  222. package/System.Runtime.Serialization/internal/index.d.ts +102 -102
  223. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +4 -4
  224. package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
  225. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
  226. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -3
  227. package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
  228. package/System.Runtime.Serialization.Formatters.d.ts +4 -0
  229. package/System.Runtime.Serialization.Json/internal/index.d.ts +13 -13
  230. package/System.Runtime.Serialization.Json.d.ts +4 -0
  231. package/System.Runtime.Serialization.d.ts +4 -0
  232. package/System.Runtime.Versioning/bindings.json +13 -13
  233. package/System.Runtime.Versioning/internal/index.d.ts +2 -2
  234. package/System.Runtime.Versioning.d.ts +4 -0
  235. package/System.Runtime.d.ts +4 -0
  236. package/System.Security/bindings.json +5 -5
  237. package/System.Security/internal/index.d.ts +10 -10
  238. package/System.Security.AccessControl/bindings.json +33 -33
  239. package/System.Security.AccessControl/internal/index.d.ts +21 -21
  240. package/System.Security.AccessControl.d.ts +10 -6
  241. package/System.Security.Authentication/internal/index.d.ts +1 -1
  242. package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
  243. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -3
  244. package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
  245. package/System.Security.Authentication.d.ts +4 -0
  246. package/System.Security.Claims/internal/index.d.ts +3 -3
  247. package/System.Security.Claims.d.ts +4 -0
  248. package/System.Security.Cryptography/bindings.json +40 -40
  249. package/System.Security.Cryptography/internal/index.d.ts +28 -27
  250. package/System.Security.Cryptography.X509Certificates/bindings.json +312 -312
  251. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +10 -10
  252. package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
  253. package/System.Security.Cryptography.d.ts +4 -0
  254. package/System.Security.Permissions/internal/index.d.ts +1 -1
  255. package/System.Security.Permissions.d.ts +4 -0
  256. package/System.Security.Policy/bindings.json +5 -5
  257. package/System.Security.Policy/internal/index.d.ts +9 -9
  258. package/System.Security.Policy.d.ts +4 -0
  259. package/System.Security.Principal/bindings.json +8 -8
  260. package/System.Security.Principal/internal/index.d.ts +8 -8
  261. package/System.Security.Principal.d.ts +4 -0
  262. package/System.Security.d.ts +4 -0
  263. package/System.Text/bindings.json +20 -20
  264. package/System.Text/internal/index.d.ts +48 -48
  265. package/System.Text.Encodings.Web/internal/index.d.ts +1 -1
  266. package/System.Text.Encodings.Web.d.ts +4 -0
  267. package/System.Text.Json/internal/index.d.ts +109 -109
  268. package/System.Text.Json.Nodes/bindings.json +27 -27
  269. package/System.Text.Json.Nodes/internal/index.d.ts +8 -8
  270. package/System.Text.Json.Nodes.d.ts +4 -0
  271. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  272. package/System.Text.Json.Schema.d.ts +4 -0
  273. package/System.Text.Json.Serialization/internal/index.d.ts +18 -18
  274. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -67
  275. package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
  276. package/System.Text.Json.Serialization.d.ts +10 -6
  277. package/System.Text.Json.d.ts +4 -0
  278. package/System.Text.RegularExpressions/bindings.json +158 -118
  279. package/System.Text.RegularExpressions/internal/index.d.ts +9 -7
  280. package/System.Text.RegularExpressions.d.ts +4 -0
  281. package/System.Text.Unicode/internal/index.d.ts +6 -6
  282. package/System.Text.Unicode.d.ts +4 -0
  283. package/System.Text.d.ts +4 -0
  284. package/System.Threading/bindings.json +19 -19
  285. package/System.Threading/internal/index.d.ts +97 -97
  286. package/System.Threading.Channels/internal/index.d.ts +23 -23
  287. package/System.Threading.Channels.d.ts +8 -4
  288. package/System.Threading.Tasks/bindings.json +138 -38
  289. package/System.Threading.Tasks/internal/index.d.ts +229 -227
  290. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +95 -95
  291. package/System.Threading.Tasks.Dataflow.d.ts +18 -14
  292. package/System.Threading.Tasks.Sources/bindings.json +9 -9
  293. package/System.Threading.Tasks.Sources/internal/index.d.ts +9 -9
  294. package/System.Threading.Tasks.Sources.d.ts +6 -2
  295. package/System.Threading.Tasks.d.ts +12 -8
  296. package/System.Threading.d.ts +4 -0
  297. package/System.Timers/internal/index.d.ts +2 -2
  298. package/System.Timers.d.ts +4 -0
  299. package/System.Transactions/internal/index.d.ts +6 -6
  300. package/System.Transactions.d.ts +4 -0
  301. package/System.Web/internal/index.d.ts +2 -2
  302. package/System.Web.d.ts +4 -0
  303. package/System.Windows.Input/internal/index.d.ts +3 -3
  304. package/System.Windows.Input.d.ts +4 -0
  305. package/System.Windows.Markup/internal/index.d.ts +1 -1
  306. package/System.Windows.Markup.d.ts +4 -0
  307. package/System.Xml/bindings.json +27 -27
  308. package/System.Xml/internal/index.d.ts +29 -29
  309. package/System.Xml.Linq/bindings.json +6 -6
  310. package/System.Xml.Linq/internal/index.d.ts +49 -49
  311. package/System.Xml.Linq.d.ts +4 -0
  312. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  313. package/System.Xml.Resolvers.d.ts +4 -0
  314. package/System.Xml.Schema/bindings.json +24 -24
  315. package/System.Xml.Schema/internal/index.d.ts +24 -24
  316. package/System.Xml.Schema.d.ts +4 -0
  317. package/System.Xml.Serialization/bindings.json +57 -57
  318. package/System.Xml.Serialization/internal/index.d.ts +49 -49
  319. package/System.Xml.Serialization.d.ts +4 -0
  320. package/System.Xml.XPath/bindings.json +1 -1
  321. package/System.Xml.XPath/internal/index.d.ts +18 -18
  322. package/System.Xml.XPath.d.ts +4 -0
  323. package/System.Xml.Xsl/bindings.json +1 -1
  324. package/System.Xml.Xsl/internal/index.d.ts +12 -12
  325. package/System.Xml.Xsl.Runtime/bindings.json +70 -70
  326. package/System.Xml.Xsl.Runtime/internal/index.d.ts +21 -21
  327. package/System.Xml.Xsl.Runtime.d.ts +4 -0
  328. package/System.Xml.Xsl.d.ts +4 -0
  329. package/System.Xml.d.ts +4 -0
  330. package/System.d.ts +126 -122
  331. package/__internal/extensions/index.d.ts +1288 -1293
  332. package/package.json +2 -2
@@ -3,7 +3,7 @@
3
3
  // Assembly: System.IO.FileSystem.AccessControl, System.IO.FileSystem.DriveInfo, System.IO.FileSystem.Watcher, System.Private.CoreLib
4
4
 
5
5
  // Core type aliases from @tsonic/core
6
- import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
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
9
  // Import types from other namespaces
@@ -164,13 +164,13 @@ export enum WatcherChangeTypes {
164
164
  }
165
165
 
166
166
 
167
- export type ErrorEventHandler = (sender: JsValue, e: ErrorEventArgs) => void;
167
+ export type ErrorEventHandler = (sender: unknown, e: ErrorEventArgs) => void;
168
168
 
169
169
 
170
- export type FileSystemEventHandler = (sender: JsValue, e: FileSystemEventArgs) => void;
170
+ export type FileSystemEventHandler = (sender: unknown, e: FileSystemEventArgs) => void;
171
171
 
172
172
 
173
- export type RenamedEventHandler = (sender: JsValue, e: RenamedEventArgs) => void;
173
+ export type RenamedEventHandler = (sender: unknown, e: RenamedEventArgs) => void;
174
174
 
175
175
 
176
176
  export interface WaitForChangedResult$instance {
@@ -300,7 +300,7 @@ export interface __BinaryWriter$views {
300
300
  export type BinaryWriter = BinaryWriter$instance & __BinaryWriter$views;
301
301
 
302
302
 
303
- export interface BufferedStream$instance extends Stream$instance {
303
+ export interface BufferedStream$instance extends Stream$instance, System_Internal.IAsyncDisposable$instance {
304
304
  readonly __tsonic_type_System_IO_BufferedStream: never;
305
305
 
306
306
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -313,8 +313,8 @@ export interface BufferedStream$instance extends Stream$instance {
313
313
  readonly Length: long;
314
314
  Position: long;
315
315
  readonly UnderlyingStream: Stream;
316
- BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
317
- BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
316
+ BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
317
+ BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
318
318
  CopyTo(destination: Stream, bufferSize: int): void;
319
319
  CopyTo(destination: Stream): void;
320
320
  CopyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -590,7 +590,7 @@ export interface __FileInfo$views {
590
590
  export type FileInfo = FileInfo$instance & __FileInfo$views;
591
591
 
592
592
 
593
- export interface FileLoadException$instance extends IOException$instance {
593
+ export interface FileLoadException$instance extends IOException$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
594
594
  readonly __tsonic_type_System_IO_FileLoadException: never;
595
595
 
596
596
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
@@ -619,7 +619,7 @@ export interface __FileLoadException$views {
619
619
  export type FileLoadException = FileLoadException$instance & __FileLoadException$views;
620
620
 
621
621
 
622
- export interface FileNotFoundException$instance extends IOException$instance {
622
+ export interface FileNotFoundException$instance extends IOException$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
623
623
  readonly __tsonic_type_System_IO_FileNotFoundException: never;
624
624
 
625
625
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
@@ -648,7 +648,7 @@ export interface __FileNotFoundException$views {
648
648
  export type FileNotFoundException = FileNotFoundException$instance & __FileNotFoundException$views;
649
649
 
650
650
 
651
- export interface FileStream$instance extends Stream$instance {
651
+ export interface FileStream$instance extends Stream$instance, System_Internal.IAsyncDisposable$instance {
652
652
  readonly __tsonic_type_System_IO_FileStream: never;
653
653
 
654
654
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -663,8 +663,8 @@ export interface FileStream$instance extends Stream$instance {
663
663
  readonly Name: string;
664
664
  Position: long;
665
665
  readonly SafeFileHandle: SafeFileHandle;
666
- BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
667
- BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
666
+ BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
667
+ BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
668
668
  CopyTo(destination: Stream, bufferSize: int): void;
669
669
  CopyTo(destination: Stream): void;
670
670
  CopyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -1026,8 +1026,8 @@ export interface Stream$instance extends MarshalByRefObject, System_Internal.IAs
1026
1026
  Position: long;
1027
1027
  ReadTimeout: int;
1028
1028
  WriteTimeout: int;
1029
- BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
1030
- BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
1029
+ BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
1030
+ BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
1031
1031
  Close(): void;
1032
1032
  CopyTo(destination: Stream): void;
1033
1033
  CopyTo(destination: Stream, bufferSize: int): void;
@@ -1139,7 +1139,7 @@ export interface __StreamReader$views {
1139
1139
  export type StreamReader = StreamReader$instance & __StreamReader$views;
1140
1140
 
1141
1141
 
1142
- export interface StreamWriter$instance extends TextWriter$instance {
1142
+ export interface StreamWriter$instance extends TextWriter$instance, System_Internal.IAsyncDisposable$instance {
1143
1143
  readonly __tsonic_type_System_IO_StreamWriter: never;
1144
1144
 
1145
1145
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -1160,11 +1160,11 @@ export interface StreamWriter$instance extends TextWriter$instance {
1160
1160
  Write(buffer: char[], index: int, count: int): void;
1161
1161
  Write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
1162
1162
  Write(value: string | null): void;
1163
- Write(format: string, arg0: JsValue | null): void;
1164
- Write(format: string, arg0: JsValue | null, arg1: JsValue | null): void;
1165
- Write(format: string, arg0: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): void;
1166
- Write(format: string, ...arg: (JsValue | null)[]): void;
1167
- Write(format: string, arg: ReadOnlySpan_1<JsValue>): void;
1163
+ Write(format: string, arg0: unknown | null): void;
1164
+ Write(format: string, arg0: unknown | null, arg1: unknown | null): void;
1165
+ Write(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
1166
+ Write(format: string, ...arg: (unknown | null)[]): void;
1167
+ Write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1168
1168
  Write(value: boolean): void;
1169
1169
  Write(value: int): void;
1170
1170
  Write(value: uint): void;
@@ -1173,7 +1173,7 @@ export interface StreamWriter$instance extends TextWriter$instance {
1173
1173
  Write(value: float): void;
1174
1174
  Write(value: double): void;
1175
1175
  Write(value: decimal): void;
1176
- Write(value: JsValue | null): void;
1176
+ Write(value: unknown | null): void;
1177
1177
  Write(value: StringBuilder | null): void;
1178
1178
  WriteAsync(value: char): Task;
1179
1179
  WriteAsync(value: string | null): Task;
@@ -1183,11 +1183,11 @@ export interface StreamWriter$instance extends TextWriter$instance {
1183
1183
  WriteAsync(buffer: char[] | null): Task;
1184
1184
  WriteLine(value: string | null): void;
1185
1185
  WriteLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
1186
- WriteLine(format: string, arg0: JsValue | null): void;
1187
- WriteLine(format: string, arg0: JsValue | null, arg1: JsValue | null): void;
1188
- WriteLine(format: string, arg0: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): void;
1189
- WriteLine(format: string, ...arg: (JsValue | null)[]): void;
1190
- WriteLine(format: string, arg: ReadOnlySpan_1<JsValue>): void;
1186
+ WriteLine(format: string, arg0: unknown | null): void;
1187
+ WriteLine(format: string, arg0: unknown | null, arg1: unknown | null): void;
1188
+ WriteLine(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
1189
+ WriteLine(format: string, ...arg: (unknown | null)[]): void;
1190
+ WriteLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1191
1191
  WriteLine(): void;
1192
1192
  WriteLine(value: char): void;
1193
1193
  WriteLine(buffer: char[] | null): void;
@@ -1201,7 +1201,7 @@ export interface StreamWriter$instance extends TextWriter$instance {
1201
1201
  WriteLine(value: double): void;
1202
1202
  WriteLine(value: decimal): void;
1203
1203
  WriteLine(value: StringBuilder | null): void;
1204
- WriteLine(value: JsValue | null): void;
1204
+ WriteLine(value: unknown | null): void;
1205
1205
  WriteLineAsync(): Task;
1206
1206
  WriteLineAsync(value: char): Task;
1207
1207
  WriteLineAsync(value: string | null): Task;
@@ -1301,12 +1301,12 @@ export interface StringWriter$instance extends TextWriter$instance, System_Inter
1301
1301
  Write(value: float): void;
1302
1302
  Write(value: double): void;
1303
1303
  Write(value: decimal): void;
1304
- Write(value: JsValue | null): void;
1305
- Write(format: string, arg0: JsValue | null): void;
1306
- Write(format: string, arg0: JsValue | null, arg1: JsValue | null): void;
1307
- Write(format: string, arg0: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): void;
1308
- Write(format: string, ...arg: (JsValue | null)[]): void;
1309
- Write(format: string, arg: ReadOnlySpan_1<JsValue>): void;
1304
+ Write(value: unknown | null): void;
1305
+ Write(format: string, arg0: unknown | null): void;
1306
+ Write(format: string, arg0: unknown | null, arg1: unknown | null): void;
1307
+ Write(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
1308
+ Write(format: string, ...arg: (unknown | null)[]): void;
1309
+ Write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1310
1310
  WriteAsync(value: char): Task;
1311
1311
  WriteAsync(value: string | null): Task;
1312
1312
  WriteAsync(buffer: char[], index: int, count: int): Task;
@@ -1328,12 +1328,12 @@ export interface StringWriter$instance extends TextWriter$instance, System_Inter
1328
1328
  WriteLine(value: double): void;
1329
1329
  WriteLine(value: decimal): void;
1330
1330
  WriteLine(value: string | null): void;
1331
- WriteLine(value: JsValue | null): void;
1332
- WriteLine(format: string, arg0: JsValue | null): void;
1333
- WriteLine(format: string, arg0: JsValue | null, arg1: JsValue | null): void;
1334
- WriteLine(format: string, arg0: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): void;
1335
- WriteLine(format: string, ...arg: (JsValue | null)[]): void;
1336
- WriteLine(format: string, arg: ReadOnlySpan_1<JsValue>): void;
1331
+ WriteLine(value: unknown | null): void;
1332
+ WriteLine(format: string, arg0: unknown | null): void;
1333
+ WriteLine(format: string, arg0: unknown | null, arg1: unknown | null): void;
1334
+ WriteLine(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
1335
+ WriteLine(format: string, ...arg: (unknown | null)[]): void;
1336
+ WriteLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1337
1337
  WriteLineAsync(value: char): Task;
1338
1338
  WriteLineAsync(value: string | null): Task;
1339
1339
  WriteLineAsync(value: StringBuilder | null, cancellationToken?: CancellationToken): Task;
@@ -1429,13 +1429,13 @@ export interface TextWriter$instance extends MarshalByRefObject, System_Internal
1429
1429
  Write(value: double): void;
1430
1430
  Write(value: decimal): void;
1431
1431
  Write(value: string | null): void;
1432
- Write(value: JsValue | null): void;
1432
+ Write(value: unknown | null): void;
1433
1433
  Write(value: StringBuilder | null): void;
1434
- Write(format: string, arg0: JsValue | null): void;
1435
- Write(format: string, arg0: JsValue | null, arg1: JsValue | null): void;
1436
- Write(format: string, arg0: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): void;
1437
- Write(format: string, ...arg: (JsValue | null)[]): void;
1438
- Write(format: string, arg: ReadOnlySpan_1<JsValue>): void;
1434
+ Write(format: string, arg0: unknown | null): void;
1435
+ Write(format: string, arg0: unknown | null, arg1: unknown | null): void;
1436
+ Write(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
1437
+ Write(format: string, ...arg: (unknown | null)[]): void;
1438
+ Write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1439
1439
  WriteAsync(value: char): Task;
1440
1440
  WriteAsync(value: string | null): Task;
1441
1441
  WriteAsync(value: StringBuilder | null, cancellationToken?: CancellationToken): Task;
@@ -1457,12 +1457,12 @@ export interface TextWriter$instance extends MarshalByRefObject, System_Internal
1457
1457
  WriteLine(value: decimal): void;
1458
1458
  WriteLine(value: string | null): void;
1459
1459
  WriteLine(value: StringBuilder | null): void;
1460
- WriteLine(value: JsValue | null): void;
1461
- WriteLine(format: string, arg0: JsValue | null): void;
1462
- WriteLine(format: string, arg0: JsValue | null, arg1: JsValue | null): void;
1463
- WriteLine(format: string, arg0: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): void;
1464
- WriteLine(format: string, ...arg: (JsValue | null)[]): void;
1465
- WriteLine(format: string, arg: ReadOnlySpan_1<JsValue>): void;
1460
+ WriteLine(value: unknown | null): void;
1461
+ WriteLine(format: string, arg0: unknown | null): void;
1462
+ WriteLine(format: string, arg0: unknown | null, arg1: unknown | null): void;
1463
+ WriteLine(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
1464
+ WriteLine(format: string, ...arg: (unknown | null)[]): void;
1465
+ WriteLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1466
1466
  WriteLineAsync(value: char): Task;
1467
1467
  WriteLineAsync(value: string | null): Task;
1468
1468
  WriteLineAsync(value: StringBuilder | null, cancellationToken?: CancellationToken): Task;
@@ -1498,8 +1498,8 @@ export interface UnmanagedMemoryAccessor$instance {
1498
1498
  readonly Capacity: long;
1499
1499
  Dispose(disposing: boolean): void;
1500
1500
  Dispose(): void;
1501
- Read<T extends NonNullable<JsValue>>(position: long, structure: T): void;
1502
- ReadArray<T extends NonNullable<JsValue>>(position: long, array: T[], offset: int, count: int): int;
1501
+ Read<T extends NonNullable<unknown>>(position: long, structure: T): void;
1502
+ ReadArray<T extends NonNullable<unknown>>(position: long, array: T[], offset: int, count: int): int;
1503
1503
  ReadBoolean(position: long): boolean;
1504
1504
  ReadByte(position: long): byte;
1505
1505
  ReadChar(position: long): char;
@@ -1526,8 +1526,8 @@ export interface UnmanagedMemoryAccessor$instance {
1526
1526
  Write(position: long, value: ushort): void;
1527
1527
  Write(position: long, value: uint): void;
1528
1528
  Write(position: long, value: ulong): void;
1529
- Write<T extends NonNullable<JsValue>>(position: long, structure: T): void;
1530
- WriteArray<T extends NonNullable<JsValue>>(position: long, array: T[], offset: int, count: int): void;
1529
+ Write<T extends NonNullable<unknown>>(position: long, structure: T): void;
1530
+ WriteArray<T extends NonNullable<unknown>>(position: long, array: T[], offset: int, count: int): void;
1531
1531
  }
1532
1532
 
1533
1533
 
@@ -3,7 +3,7 @@
3
3
  // Assembly: System.IO.Compression, System.IO.Compression.Brotli, System.IO.Compression.ZipFile
4
4
 
5
5
  // Core type aliases from @tsonic/core
6
- import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
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
9
  // Import types from other namespaces
@@ -114,7 +114,7 @@ export const BrotliCompressionOptions: {
114
114
 
115
115
  export type BrotliCompressionOptions = BrotliCompressionOptions$instance;
116
116
 
117
- export interface BrotliStream$instance extends Stream {
117
+ export interface BrotliStream$instance extends Stream, System_Internal.IAsyncDisposable$instance {
118
118
  readonly __tsonic_type_System_IO_Compression_BrotliStream: never;
119
119
 
120
120
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -126,8 +126,8 @@ export interface BrotliStream$instance extends Stream {
126
126
  readonly CanWrite: boolean;
127
127
  readonly Length: long;
128
128
  Position: long;
129
- BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
130
- BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
129
+ BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
130
+ BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
131
131
  Dispose(disposing: boolean): void;
132
132
  Dispose(): void;
133
133
  DisposeAsync(): ValueTask;
@@ -170,7 +170,7 @@ export interface __BrotliStream$views {
170
170
  export type BrotliStream = BrotliStream$instance & __BrotliStream$views;
171
171
 
172
172
 
173
- export interface DeflateStream$instance extends Stream {
173
+ export interface DeflateStream$instance extends Stream, System_Internal.IAsyncDisposable$instance {
174
174
  readonly __tsonic_type_System_IO_Compression_DeflateStream: never;
175
175
 
176
176
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -182,8 +182,8 @@ export interface DeflateStream$instance extends Stream {
182
182
  readonly CanWrite: boolean;
183
183
  readonly Length: long;
184
184
  Position: long;
185
- BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
186
- BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
185
+ BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
186
+ BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
187
187
  CopyTo(destination: Stream, bufferSize: int): void;
188
188
  CopyTo(destination: Stream): void;
189
189
  CopyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -232,7 +232,7 @@ export interface __DeflateStream$views {
232
232
  export type DeflateStream = DeflateStream$instance & __DeflateStream$views;
233
233
 
234
234
 
235
- export interface GZipStream$instance extends Stream {
235
+ export interface GZipStream$instance extends Stream, System_Internal.IAsyncDisposable$instance {
236
236
  readonly __tsonic_type_System_IO_Compression_GZipStream: never;
237
237
 
238
238
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -244,8 +244,8 @@ export interface GZipStream$instance extends Stream {
244
244
  readonly CanWrite: boolean;
245
245
  readonly Length: long;
246
246
  Position: long;
247
- BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
248
- BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
247
+ BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
248
+ BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
249
249
  CopyTo(destination: Stream, bufferSize: int): void;
250
250
  CopyTo(destination: Stream): void;
251
251
  CopyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -393,7 +393,7 @@ export interface __ZLibException$views {
393
393
  export type ZLibException = ZLibException$instance & __ZLibException$views;
394
394
 
395
395
 
396
- export interface ZLibStream$instance extends Stream {
396
+ export interface ZLibStream$instance extends Stream, System_Internal.IAsyncDisposable$instance {
397
397
  readonly __tsonic_type_System_IO_Compression_ZLibStream: never;
398
398
 
399
399
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -405,8 +405,8 @@ export interface ZLibStream$instance extends Stream {
405
405
  readonly CanWrite: boolean;
406
406
  readonly Length: long;
407
407
  Position: long;
408
- BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
409
- BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: JsValue | null): IAsyncResult;
408
+ BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
409
+ BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback | null, asyncState: unknown | null): IAsyncResult;
410
410
  CopyTo(destination: Stream, bufferSize: int): void;
411
411
  CopyTo(destination: Stream): void;
412
412
  CopyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.IO.Compression/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 { OperationStatus } from './System.Buffers/internal/index.js';
10
14
  import type { ReadOnlyCollection_1 } from './System.Collections.ObjectModel/internal/index.js';