@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.Linq.Expressions
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
@@ -133,7 +133,7 @@ export interface IDynamicExpression$instance extends IArgumentProvider {
133
133
 
134
134
  readonly DelegateType: Type;
135
135
  readonly ArgumentCount: int;
136
- CreateCallSite(): JsValue;
136
+ CreateCallSite(): unknown;
137
137
  GetArgument(index: int): Expression;
138
138
  Rewrite(args: Expression[]): Expression;
139
139
  }
@@ -226,7 +226,7 @@ export interface ConstantExpression$instance extends Expression {
226
226
 
227
227
  readonly NodeType: ExpressionType;
228
228
  readonly Type: Type;
229
- readonly Value: JsValue | null;
229
+ readonly Value: unknown | null;
230
230
  Accept(visitor: ExpressionVisitor): Expression;
231
231
  }
232
232
 
@@ -303,7 +303,8 @@ export const DynamicExpression: {
303
303
  MakeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression, arg2: Expression): DynamicExpression;
304
304
  MakeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression): DynamicExpression;
305
305
  MakeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression): DynamicExpression;
306
- MakeDynamic(delegateType: Type, binder: CallSiteBinder, ...arguments: Expression[] | null): DynamicExpression;
306
+ MakeDynamic(delegateType: Type, binder: CallSiteBinder, ...arguments: Expression[]): DynamicExpression;
307
+ MakeDynamic(delegateType: Type, binder: CallSiteBinder, arguments: Expression[] | null): DynamicExpression;
307
308
  };
308
309
 
309
310
 
@@ -388,7 +389,8 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
388
389
  AndAssign(left: Expression, right: Expression, method: MethodInfo | null): BinaryExpression;
389
390
  AndAssign(left: Expression, right: Expression): BinaryExpression;
390
391
  ArrayAccess(array: Expression, indexes: IEnumerable_1<Expression> | null): IndexExpression;
391
- ArrayAccess(array: Expression, ...indexes: Expression[] | null): IndexExpression;
392
+ ArrayAccess(array: Expression, ...indexes: Expression[]): IndexExpression;
393
+ ArrayAccess(array: Expression, indexes: Expression[] | null): IndexExpression;
392
394
  ArrayIndex(array: Expression, indexes: IEnumerable_1<Expression>): MethodCallExpression;
393
395
  ArrayIndex(array: Expression, index: Expression): BinaryExpression;
394
396
  ArrayIndex(array: Expression, ...indexes: Expression[]): MethodCallExpression;
@@ -415,17 +417,21 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
415
417
  Call(instance: Expression | null, method: MethodInfo, arguments: IEnumerable_1<Expression> | null): MethodCallExpression;
416
418
  Call(instance: Expression | null, method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression): MethodCallExpression;
417
419
  Call(instance: Expression | null, method: MethodInfo, arg0: Expression, arg1: Expression): MethodCallExpression;
418
- Call(instance: Expression | null, method: MethodInfo, ...arguments: Expression[] | null): MethodCallExpression;
420
+ Call(instance: Expression | null, method: MethodInfo, ...arguments: Expression[]): MethodCallExpression;
421
+ Call(instance: Expression | null, method: MethodInfo, arguments: Expression[] | null): MethodCallExpression;
419
422
  Call(instance: Expression | null, method: MethodInfo): MethodCallExpression;
420
- Call(instance: Expression, methodName: string, typeArguments: Type[] | null, ...arguments: Expression[] | null): MethodCallExpression;
423
+ Call(instance: Expression, methodName: string, typeArguments: Type[] | null, ...arguments: Expression[]): MethodCallExpression;
424
+ Call(instance: Expression, methodName: string, typeArguments: Type[] | null, arguments: Expression[] | null): MethodCallExpression;
421
425
  Call(method: MethodInfo, arguments: IEnumerable_1<Expression> | null): MethodCallExpression;
422
426
  Call(method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression, arg4: Expression): MethodCallExpression;
423
427
  Call(method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression): MethodCallExpression;
424
428
  Call(method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression): MethodCallExpression;
425
429
  Call(method: MethodInfo, arg0: Expression, arg1: Expression): MethodCallExpression;
426
430
  Call(method: MethodInfo, arg0: Expression): MethodCallExpression;
427
- Call(method: MethodInfo, ...arguments: Expression[] | null): MethodCallExpression;
428
- Call(type: Type, methodName: string, typeArguments: Type[] | null, ...arguments: Expression[] | null): MethodCallExpression;
431
+ Call(method: MethodInfo, ...arguments: Expression[]): MethodCallExpression;
432
+ Call(method: MethodInfo, arguments: Expression[] | null): MethodCallExpression;
433
+ Call(type: Type, methodName: string, typeArguments: Type[] | null, ...arguments: Expression[]): MethodCallExpression;
434
+ Call(type: Type, methodName: string, typeArguments: Type[] | null, arguments: Expression[] | null): MethodCallExpression;
429
435
  Catch(variable: ParameterExpression, body: Expression, filter: Expression | null): CatchBlock;
430
436
  Catch(variable: ParameterExpression, body: Expression): CatchBlock;
431
437
  Catch(type: Type, body: Expression, filter: Expression | null): CatchBlock;
@@ -435,8 +441,8 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
435
441
  Coalesce(left: Expression, right: Expression): BinaryExpression;
436
442
  Condition(test: Expression, ifTrue: Expression, ifFalse: Expression, type: Type): ConditionalExpression;
437
443
  Condition(test: Expression, ifTrue: Expression, ifFalse: Expression): ConditionalExpression;
438
- Constant(value: JsValue | null, type: Type): ConstantExpression;
439
- Constant(value: JsValue | null): ConstantExpression;
444
+ Constant(value: unknown | null, type: Type): ConstantExpression;
445
+ Constant(value: unknown | null): ConstantExpression;
440
446
  Continue(target: LabelTarget, type: Type): GotoExpression;
441
447
  Continue(target: LabelTarget): GotoExpression;
442
448
  Convert(expression: Expression, type: Type, method: MethodInfo | null): UnaryExpression;
@@ -471,9 +477,11 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
471
477
  Field(expression: Expression | null, field: FieldInfo): MemberExpression;
472
478
  Field(expression: Expression, fieldName: string): MemberExpression;
473
479
  Field(expression: Expression | null, type: Type, fieldName: string): MemberExpression;
474
- GetActionType(...typeArgs: Type[] | null): Type;
480
+ GetActionType(...typeArgs: Type[]): Type;
481
+ GetActionType(typeArgs: Type[] | null): Type;
475
482
  GetDelegateType(...typeArgs: Type[]): Type;
476
- GetFuncType(...typeArgs: Type[] | null): Type;
483
+ GetFuncType(...typeArgs: Type[]): Type;
484
+ GetFuncType(typeArgs: Type[] | null): Type;
477
485
  Goto(target: LabelTarget, value: Expression | null, type: Type): GotoExpression;
478
486
  Goto(target: LabelTarget, value: Expression | null): GotoExpression;
479
487
  Goto(target: LabelTarget, type: Type): GotoExpression;
@@ -487,7 +495,8 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
487
495
  Increment(expression: Expression, method: MethodInfo | null): UnaryExpression;
488
496
  Increment(expression: Expression): UnaryExpression;
489
497
  Invoke(expression: Expression, arguments: IEnumerable_1<Expression> | null): InvocationExpression;
490
- Invoke(expression: Expression, ...arguments: Expression[] | null): InvocationExpression;
498
+ Invoke(expression: Expression, ...arguments: Expression[]): InvocationExpression;
499
+ Invoke(expression: Expression, arguments: Expression[] | null): InvocationExpression;
491
500
  IsFalse(expression: Expression, method: MethodInfo | null): UnaryExpression;
492
501
  IsFalse(expression: Expression): UnaryExpression;
493
502
  IsTrue(expression: Expression, method: MethodInfo | null): UnaryExpression;
@@ -498,22 +507,28 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
498
507
  Label(name: string | null): LabelTarget;
499
508
  Label(type: Type, name: string | null): LabelTarget;
500
509
  Label(type: Type): LabelTarget;
501
- Lambda<TDelegate>(body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
510
+ Lambda<TDelegate extends unknown>(body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
502
511
  Lambda(body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
503
- Lambda<TDelegate>(body: Expression, tailCall: boolean, ...parameters: ParameterExpression[] | null): Expression_1<TDelegate>;
504
- Lambda(body: Expression, tailCall: boolean, ...parameters: ParameterExpression[] | null): LambdaExpression;
505
- Lambda<TDelegate>(body: Expression, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
512
+ Lambda<TDelegate extends unknown>(body: Expression, tailCall: boolean, ...parameters: ParameterExpression[]): Expression_1<TDelegate>;
513
+ Lambda<TDelegate extends unknown>(body: Expression, tailCall: boolean, parameters: ParameterExpression[] | null): Expression_1<TDelegate>;
514
+ Lambda(body: Expression, tailCall: boolean, ...parameters: ParameterExpression[]): LambdaExpression;
515
+ Lambda(body: Expression, tailCall: boolean, parameters: ParameterExpression[] | null): LambdaExpression;
516
+ Lambda<TDelegate extends unknown>(body: Expression, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
506
517
  Lambda(body: Expression, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
507
- Lambda<TDelegate>(body: Expression, ...parameters: ParameterExpression[] | null): Expression_1<TDelegate>;
508
- Lambda(body: Expression, ...parameters: ParameterExpression[] | null): LambdaExpression;
509
- Lambda<TDelegate>(body: Expression, name: string | null, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
518
+ Lambda<TDelegate extends unknown>(body: Expression, ...parameters: ParameterExpression[]): Expression_1<TDelegate>;
519
+ Lambda<TDelegate extends unknown>(body: Expression, parameters: ParameterExpression[] | null): Expression_1<TDelegate>;
520
+ Lambda(body: Expression, ...parameters: ParameterExpression[]): LambdaExpression;
521
+ Lambda(body: Expression, parameters: ParameterExpression[] | null): LambdaExpression;
522
+ Lambda<TDelegate extends unknown>(body: Expression, name: string | null, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
510
523
  Lambda(body: Expression, name: string | null, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
511
- Lambda<TDelegate>(body: Expression, name: string | null, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
524
+ Lambda<TDelegate extends unknown>(body: Expression, name: string | null, parameters: IEnumerable_1<ParameterExpression> | null): Expression_1<TDelegate>;
512
525
  Lambda(body: Expression, name: string | null, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
513
526
  Lambda(delegateType: Type, body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
514
- Lambda(delegateType: Type, body: Expression, tailCall: boolean, ...parameters: ParameterExpression[] | null): LambdaExpression;
527
+ Lambda(delegateType: Type, body: Expression, tailCall: boolean, ...parameters: ParameterExpression[]): LambdaExpression;
528
+ Lambda(delegateType: Type, body: Expression, tailCall: boolean, parameters: ParameterExpression[] | null): LambdaExpression;
515
529
  Lambda(delegateType: Type, body: Expression, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
516
- Lambda(delegateType: Type, body: Expression, ...parameters: ParameterExpression[] | null): LambdaExpression;
530
+ Lambda(delegateType: Type, body: Expression, ...parameters: ParameterExpression[]): LambdaExpression;
531
+ Lambda(delegateType: Type, body: Expression, parameters: ParameterExpression[] | null): LambdaExpression;
517
532
  Lambda(delegateType: Type, body: Expression, name: string | null, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
518
533
  Lambda(delegateType: Type, body: Expression, name: string | null, parameters: IEnumerable_1<ParameterExpression> | null): LambdaExpression;
519
534
  LeftShift(left: Expression, right: Expression, method: MethodInfo | null): BinaryExpression;
@@ -547,7 +562,8 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
547
562
  MakeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression, arg2: Expression): DynamicExpression;
548
563
  MakeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression): DynamicExpression;
549
564
  MakeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression): DynamicExpression;
550
- MakeDynamic(delegateType: Type, binder: CallSiteBinder, ...arguments: Expression[] | null): DynamicExpression;
565
+ MakeDynamic(delegateType: Type, binder: CallSiteBinder, ...arguments: Expression[]): DynamicExpression;
566
+ MakeDynamic(delegateType: Type, binder: CallSiteBinder, arguments: Expression[] | null): DynamicExpression;
551
567
  MakeGoto(kind: GotoExpressionKind, target: LabelTarget, value: Expression | null, type: Type): GotoExpression;
552
568
  MakeIndex(instance: Expression, indexer: PropertyInfo | null, arguments: IEnumerable_1<Expression> | null): IndexExpression;
553
569
  MakeMemberAccess(expression: Expression | null, member: MemberInfo): MemberExpression;
@@ -580,9 +596,11 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
580
596
  NegateChecked(expression: Expression, method: MethodInfo | null): UnaryExpression;
581
597
  NegateChecked(expression: Expression): UnaryExpression;
582
598
  New(constructor: ConstructorInfo, arguments: IEnumerable_1<Expression> | null, members: IEnumerable_1<MemberInfo> | null): NewExpression;
583
- New(constructor: ConstructorInfo, arguments: IEnumerable_1<Expression> | null, ...members: MemberInfo[] | null): NewExpression;
599
+ New(constructor: ConstructorInfo, arguments: IEnumerable_1<Expression> | null, ...members: MemberInfo[]): NewExpression;
600
+ New(constructor: ConstructorInfo, arguments: IEnumerable_1<Expression> | null, members: MemberInfo[] | null): NewExpression;
584
601
  New(constructor: ConstructorInfo, arguments: IEnumerable_1<Expression> | null): NewExpression;
585
- New(constructor: ConstructorInfo, ...arguments: Expression[] | null): NewExpression;
602
+ New(constructor: ConstructorInfo, ...arguments: Expression[]): NewExpression;
603
+ New(constructor: ConstructorInfo, arguments: Expression[] | null): NewExpression;
586
604
  New(constructor: ConstructorInfo): NewExpression;
587
605
  New(type: Type): NewExpression;
588
606
  NewArrayBounds(type: Type, bounds: IEnumerable_1<Expression>): NewArrayExpression;
@@ -619,9 +637,11 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
619
637
  PreIncrementAssign(expression: Expression): UnaryExpression;
620
638
  Property(expression: Expression | null, propertyAccessor: MethodInfo): MemberExpression;
621
639
  Property(instance: Expression | null, indexer: PropertyInfo, arguments: IEnumerable_1<Expression> | null): IndexExpression;
622
- Property(instance: Expression | null, indexer: PropertyInfo, ...arguments: Expression[] | null): IndexExpression;
640
+ Property(instance: Expression | null, indexer: PropertyInfo, ...arguments: Expression[]): IndexExpression;
641
+ Property(instance: Expression | null, indexer: PropertyInfo, arguments: Expression[] | null): IndexExpression;
623
642
  Property(expression: Expression | null, property: PropertyInfo): MemberExpression;
624
- Property(instance: Expression, propertyName: string, ...arguments: Expression[] | null): IndexExpression;
643
+ Property(instance: Expression, propertyName: string, ...arguments: Expression[]): IndexExpression;
644
+ Property(instance: Expression, propertyName: string, arguments: Expression[] | null): IndexExpression;
625
645
  Property(expression: Expression, propertyName: string): MemberExpression;
626
646
  Property(expression: Expression | null, type: Type, propertyName: string): MemberExpression;
627
647
  PropertyOrField(expression: Expression, propertyOrFieldName: string): MemberExpression;
@@ -651,12 +671,16 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
651
671
  SubtractAssignChecked(left: Expression, right: Expression): BinaryExpression;
652
672
  SubtractChecked(left: Expression, right: Expression, method: MethodInfo | null): BinaryExpression;
653
673
  SubtractChecked(left: Expression, right: Expression): BinaryExpression;
654
- Switch(switchValue: Expression, defaultBody: Expression | null, ...cases: SwitchCase[] | null): SwitchExpression;
674
+ Switch(switchValue: Expression, defaultBody: Expression | null, ...cases: SwitchCase[]): SwitchExpression;
675
+ Switch(switchValue: Expression, defaultBody: Expression | null, cases: SwitchCase[] | null): SwitchExpression;
655
676
  Switch(switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, cases: IEnumerable_1<SwitchCase> | null): SwitchExpression;
656
- Switch(switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, ...cases: SwitchCase[] | null): SwitchExpression;
657
- Switch(switchValue: Expression, ...cases: SwitchCase[] | null): SwitchExpression;
677
+ Switch(switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, ...cases: SwitchCase[]): SwitchExpression;
678
+ Switch(switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, cases: SwitchCase[] | null): SwitchExpression;
679
+ Switch(switchValue: Expression, ...cases: SwitchCase[]): SwitchExpression;
680
+ Switch(switchValue: Expression, cases: SwitchCase[] | null): SwitchExpression;
658
681
  Switch(type: Type | null, switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, cases: IEnumerable_1<SwitchCase> | null): SwitchExpression;
659
- Switch(type: Type | null, switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, ...cases: SwitchCase[] | null): SwitchExpression;
682
+ Switch(type: Type | null, switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, ...cases: SwitchCase[]): SwitchExpression;
683
+ Switch(type: Type | null, switchValue: Expression, defaultBody: Expression | null, comparison: MethodInfo | null, cases: SwitchCase[] | null): SwitchExpression;
660
684
  SwitchCase(body: Expression, testValues: IEnumerable_1<Expression>): SwitchCase;
661
685
  SwitchCase(body: Expression, ...testValues: Expression[]): SwitchCase;
662
686
  SymbolDocument(fileName: string, language: Guid, languageVendor: Guid, documentType: Guid): SymbolDocumentInfo;
@@ -665,8 +689,10 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
665
689
  SymbolDocument(fileName: string): SymbolDocumentInfo;
666
690
  Throw(value: Expression | null, type: Type): UnaryExpression;
667
691
  Throw(value: Expression | null): UnaryExpression;
668
- TryCatch(body: Expression, ...handlers: CatchBlock[] | null): TryExpression;
669
- TryCatchFinally(body: Expression, finally_: Expression | null, ...handlers: CatchBlock[] | null): TryExpression;
692
+ TryCatch(body: Expression, ...handlers: CatchBlock[]): TryExpression;
693
+ TryCatch(body: Expression, handlers: CatchBlock[] | null): TryExpression;
694
+ TryCatchFinally(body: Expression, finally_: Expression | null, ...handlers: CatchBlock[]): TryExpression;
695
+ TryCatchFinally(body: Expression, finally_: Expression | null, handlers: CatchBlock[] | null): TryExpression;
670
696
  TryFault(body: Expression, fault: Expression | null): TryExpression;
671
697
  TryFinally(body: Expression, finally_: Expression | null): TryExpression;
672
698
  TryGetActionType(typeArgs: Type[], actionType: Type | null): boolean;
@@ -684,7 +710,7 @@ export const Expression: (abstract new(nodeType: ExpressionType, type: Type) =>
684
710
 
685
711
  export type Expression = Expression$instance;
686
712
 
687
- export interface Expression_1$instance<TDelegate> extends LambdaExpression {
713
+ export interface Expression_1$instance<TDelegate extends unknown> extends LambdaExpression {
688
714
  readonly __tsonic_type_System_Linq_Expressions_Expression_1: never;
689
715
 
690
716
  readonly __tsonic_iface_System_Linq_Expressions_IParameterProvider: never;
@@ -704,15 +730,15 @@ export const Expression_1: {
704
730
  };
705
731
 
706
732
 
707
- export type Expression_1<TDelegate> = TDelegate | Expression_1$instance<TDelegate>;
733
+ export type Expression_1<TDelegate extends unknown> = TDelegate | Expression_1$instance<TDelegate>;
708
734
 
709
735
  export interface ExpressionVisitor$instance {
710
736
  readonly __tsonic_type_System_Linq_Expressions_ExpressionVisitor: never;
711
737
 
712
738
  Visit(node: Expression | null): Expression | null;
713
739
  Visit(nodes: ReadOnlyCollection_1<Expression>): ReadOnlyCollection_1<Expression>;
714
- VisitAndConvert<T extends Expression>(node: T | null, callerName: string | null): T | null;
715
- VisitAndConvert<T extends Expression>(nodes: ReadOnlyCollection_1<T>, callerName: string | null): ReadOnlyCollection_1<T>;
740
+ VisitAndConvert<T extends unknown & Expression>(node: T | null, callerName: string | null): T | null;
741
+ VisitAndConvert<T extends unknown & Expression>(nodes: ReadOnlyCollection_1<T>, callerName: string | null): ReadOnlyCollection_1<T>;
716
742
  VisitBinary(node: BinaryExpression): Expression;
717
743
  VisitBlock(node: BlockExpression): Expression;
718
744
  VisitCatchBlock(node: CatchBlock): CatchBlock;
@@ -728,7 +754,7 @@ export interface ExpressionVisitor$instance {
728
754
  VisitInvocation(node: InvocationExpression): Expression;
729
755
  VisitLabel(node: LabelExpression): Expression;
730
756
  VisitLabelTarget(node: LabelTarget | null): LabelTarget | null;
731
- VisitLambda<T>(node: Expression_1<T>): Expression;
757
+ VisitLambda<T extends unknown>(node: Expression_1<T>): Expression;
732
758
  VisitListInit(node: ListInitExpression): Expression;
733
759
  VisitLoop(node: LoopExpression): Expression;
734
760
  VisitMember(node: MemberExpression): Expression;
@@ -751,7 +777,7 @@ export interface ExpressionVisitor$instance {
751
777
 
752
778
 
753
779
  export const ExpressionVisitor: (abstract new() => ExpressionVisitor) & {
754
- Visit<T>(nodes: ReadOnlyCollection_1<T>, elementVisitor: Func_2<T, T>): ReadOnlyCollection_1<T>;
780
+ Visit<T extends unknown>(nodes: ReadOnlyCollection_1<T>, elementVisitor: Func_2<T, T>): ReadOnlyCollection_1<T>;
755
781
  };
756
782
 
757
783
 
@@ -3,7 +3,7 @@
3
3
  // Assembly: System.Linq.Expressions
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
@@ -13,8 +13,8 @@ import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrSt
13
13
  export interface LightLambda$instance {
14
14
  readonly __tsonic_type_System_Linq_Expressions_Interpreter_LightLambda: never;
15
15
 
16
- Run(...arguments: (JsValue | null)[]): JsValue | null;
17
- RunVoid(...arguments: (JsValue | null)[]): JsValue | null;
16
+ Run(...arguments: (unknown | null)[]): unknown | null;
17
+ RunVoid(...arguments: (unknown | null)[]): unknown | null;
18
18
  }
19
19
 
20
20
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Linq.Expressions.Interpreter/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 { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type, Void } from './System/internal/index.js';
10
14
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Linq.Expressions/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 } from './System.Collections.Generic/internal/index.js';
10
14
  import type { ReadOnlyCollection_1 } from './System.Collections.ObjectModel/internal/index.js';
@@ -63,8 +67,8 @@ declare const __unspecified: unique symbol;
63
67
  export type __ = typeof __unspecified;
64
68
 
65
69
  export type Expression<
66
- T1 = __,
70
+ T1 extends unknown | __ = __,
67
71
  > =
68
72
  [T1] extends [__] ? Internal.Expression :
69
- Internal.Expression_1<T1>;
73
+ [T1] extends [unknown] ? Internal.Expression_1<T1> : never;
70
74
 
package/System.Linq.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Linq/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 { Partitioner_1 } from './System.Collections.Concurrent/internal/index.js';
10
14
  import type { Dictionary_2, HashSet_1, IAsyncEnumerable_1, IAsyncEnumerator_1, IComparer_1, IEnumerable_1, IEnumerator_1, IEqualityComparer_1, KeyValuePair_2, List_1 } from './System.Collections.Generic/internal/index.js';
@@ -19,12 +23,12 @@ import type { Action_1, Boolean as ClrBoolean, Decimal, Double, Enum, Func_1, Fu
19
23
  // Public API exports (curated - no internal $instance/$views leakage)
20
24
  export { ImmutableArrayExtensions$instance as ImmutableArrayExtensions } from './System.Linq/internal/index.js';
21
25
  export { Enumerable$instance as Enumerable } from './System.Linq/internal/index.js';
22
- export type IGrouping<TKey, TElement> = Internal.IGrouping_2<TKey, TElement>;
23
- export type ILookup<TKey, TElement> = Internal.ILookup_2<TKey, TElement>;
26
+ export type IGrouping<TKey extends unknown, TElement extends unknown> = Internal.IGrouping_2<TKey, TElement>;
27
+ export type ILookup<TKey extends unknown, TElement extends unknown> = Internal.ILookup_2<TKey, TElement>;
24
28
  export { Lookup_2 as Lookup } from './System.Linq/internal/index.js';
25
- export type IOrderedEnumerable<TElement> = Internal.IOrderedEnumerable_1<TElement>;
29
+ export type IOrderedEnumerable<TElement extends unknown> = Internal.IOrderedEnumerable_1<TElement>;
26
30
  export { AsyncEnumerable$instance as AsyncEnumerable } from './System.Linq/internal/index.js';
27
- export type IOrderedAsyncEnumerable<TElement> = Internal.IOrderedAsyncEnumerable_1<TElement>;
31
+ export type IOrderedAsyncEnumerable<TElement extends unknown> = Internal.IOrderedAsyncEnumerable_1<TElement>;
28
32
  export type IQueryProvider = Internal.IQueryProvider;
29
33
  export { OrderedParallelQuery_1 as OrderedParallelQuery } from './System.Linq/internal/index.js';
30
34
  export { ParallelEnumerable$instance as ParallelEnumerable } from './System.Linq/internal/index.js';
@@ -42,34 +46,34 @@ declare const __unspecified: unique symbol;
42
46
  export type __ = typeof __unspecified;
43
47
 
44
48
  export type EnumerableExecutor<
45
- T1 = __,
49
+ T1 extends unknown | __ = __,
46
50
  > =
47
51
  [T1] extends [__] ? Internal.EnumerableExecutor :
48
- Internal.EnumerableExecutor_1<T1>;
52
+ [T1] extends [unknown] ? Internal.EnumerableExecutor_1<T1> : never;
49
53
 
50
54
  export type EnumerableQuery<
51
- T1 = __,
55
+ T1 extends unknown | __ = __,
52
56
  > =
53
57
  [T1] extends [__] ? Internal.EnumerableQuery :
54
- Internal.EnumerableQuery_1<T1>;
58
+ [T1] extends [unknown] ? Internal.EnumerableQuery_1<T1> : never;
55
59
 
56
60
  export type IOrderedQueryable<
57
- T1 = __,
61
+ T1 extends unknown | __ = __,
58
62
  > =
59
63
  [T1] extends [__] ? Internal.IOrderedQueryable :
60
- Internal.IOrderedQueryable_1<T1>;
64
+ [T1] extends [unknown] ? Internal.IOrderedQueryable_1<T1> : never;
61
65
 
62
66
  export type IQueryable<
63
- T1 = __,
67
+ T1 extends unknown | __ = __,
64
68
  > =
65
69
  [T1] extends [__] ? Internal.IQueryable :
66
- Internal.IQueryable_1<T1>;
70
+ [T1] extends [unknown] ? Internal.IQueryable_1<T1> : never;
67
71
 
68
72
  export type ParallelQuery<
69
- T1 = __,
73
+ T1 extends unknown | __ = __,
70
74
  > =
71
75
  [T1] extends [__] ? Internal.ParallelQuery :
72
- Internal.ParallelQuery_1<T1>;
76
+ [T1] extends [unknown] ? Internal.ParallelQuery_1<T1> : never;
73
77
 
74
78
  // Extension methods (C# using semantics)
75
79
  export type { ExtensionMethods_System_Linq as ExtensionMethods } from './__internal/extensions/index.js';
@@ -6548,7 +6548,7 @@
6548
6548
  {
6549
6549
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Add(T):System.Void",
6550
6550
  "clrName": "Add",
6551
- "metadataToken": 100704538,
6551
+ "metadataToken": 100704543,
6552
6552
  "canonicalSignature": "(T):System.Void",
6553
6553
  "normalizedSignature": "Add|(T):System.Void|static=false",
6554
6554
  "emitScope": "ViewOnly",
@@ -6569,7 +6569,7 @@
6569
6569
  {
6570
6570
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
6571
6571
  "clrName": "Contains",
6572
- "metadataToken": 100704540,
6572
+ "metadataToken": 100704545,
6573
6573
  "canonicalSignature": "(T):System.Boolean",
6574
6574
  "normalizedSignature": "Contains|(T):System.Boolean|static=false",
6575
6575
  "emitScope": "ViewOnly",
@@ -6590,7 +6590,7 @@
6590
6590
  {
6591
6591
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
6592
6592
  "clrName": "CopyTo",
6593
- "metadataToken": 100704541,
6593
+ "metadataToken": 100704546,
6594
6594
  "canonicalSignature": "(T[],System.Int32):System.Void",
6595
6595
  "normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
6596
6596
  "emitScope": "ViewOnly",
@@ -6611,7 +6611,7 @@
6611
6611
  {
6612
6612
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
6613
6613
  "clrName": "GetEnumerator",
6614
- "metadataToken": 100704560,
6614
+ "metadataToken": 100704565,
6615
6615
  "canonicalSignature": "():IEnumerator_1",
6616
6616
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
6617
6617
  "emitScope": "ViewOnly",
@@ -6632,7 +6632,7 @@
6632
6632
  {
6633
6633
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Clear():System.Void",
6634
6634
  "clrName": "Clear",
6635
- "metadataToken": 100704539,
6635
+ "metadataToken": 100704544,
6636
6636
  "canonicalSignature": "():System.Void",
6637
6637
  "normalizedSignature": "Clear|():System.Void|static=false",
6638
6638
  "emitScope": "ViewOnly",
@@ -6653,7 +6653,7 @@
6653
6653
  {
6654
6654
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
6655
6655
  "clrName": "GetEnumerator",
6656
- "metadataToken": 100703845,
6656
+ "metadataToken": 100703850,
6657
6657
  "canonicalSignature": "():System.Collections.IEnumerator",
6658
6658
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
6659
6659
  "emitScope": "ViewOnly",
@@ -6674,7 +6674,7 @@
6674
6674
  {
6675
6675
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::CopyTo(System.Array,System.Int32):System.Void",
6676
6676
  "clrName": "CopyTo",
6677
- "metadataToken": 100703826,
6677
+ "metadataToken": 100703831,
6678
6678
  "canonicalSignature": "(System.Array,System.Int32):System.Void",
6679
6679
  "normalizedSignature": "CopyTo|(System.Array,System.Int32):System.Void|static=false",
6680
6680
  "emitScope": "ViewOnly",
@@ -6813,7 +6813,7 @@
6813
6813
  {
6814
6814
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Count:System.Int32",
6815
6815
  "clrName": "Count",
6816
- "metadataToken": 385881417,
6816
+ "metadataToken": 385881419,
6817
6817
  "canonicalSignature": ":System.Int32",
6818
6818
  "normalizedSignature": "Count|:System.Int32|static=false|accessor=get",
6819
6819
  "emitScope": "ViewOnly",
@@ -6833,7 +6833,7 @@
6833
6833
  {
6834
6834
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::IsReadOnly:System.Boolean",
6835
6835
  "clrName": "IsReadOnly",
6836
- "metadataToken": 385881418,
6836
+ "metadataToken": 385881420,
6837
6837
  "canonicalSignature": ":System.Boolean",
6838
6838
  "normalizedSignature": "IsReadOnly|:System.Boolean|static=false|accessor=get",
6839
6839
  "emitScope": "ViewOnly",
@@ -6853,7 +6853,7 @@
6853
6853
  {
6854
6854
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IReadOnlyCollection\u00601::Count:System.Int32",
6855
6855
  "clrName": "Count",
6856
- "metadataToken": 385881428,
6856
+ "metadataToken": 385881430,
6857
6857
  "canonicalSignature": ":System.Int32",
6858
6858
  "normalizedSignature": "Count|:System.Int32|static=false|accessor=get",
6859
6859
  "emitScope": "ViewOnly",
@@ -6873,7 +6873,7 @@
6873
6873
  {
6874
6874
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::Count:System.Int32",
6875
6875
  "clrName": "Count",
6876
- "metadataToken": 385881256,
6876
+ "metadataToken": 385881258,
6877
6877
  "canonicalSignature": ":System.Int32",
6878
6878
  "normalizedSignature": "Count|:System.Int32|static=false|accessor=get",
6879
6879
  "emitScope": "ViewOnly",
@@ -6893,7 +6893,7 @@
6893
6893
  {
6894
6894
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::SyncRoot:System.Object",
6895
6895
  "clrName": "SyncRoot",
6896
- "metadataToken": 385881257,
6896
+ "metadataToken": 385881259,
6897
6897
  "canonicalSignature": ":System.Object",
6898
6898
  "normalizedSignature": "SyncRoot|:System.Object|static=false|accessor=get",
6899
6899
  "emitScope": "ViewOnly",
@@ -6913,7 +6913,7 @@
6913
6913
  {
6914
6914
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::IsSynchronized:System.Boolean",
6915
6915
  "clrName": "IsSynchronized",
6916
- "metadataToken": 385881258,
6916
+ "metadataToken": 385881260,
6917
6917
  "canonicalSignature": ":System.Boolean",
6918
6918
  "normalizedSignature": "IsSynchronized|:System.Boolean|static=false|accessor=get",
6919
6919
  "emitScope": "ViewOnly",
@@ -7606,7 +7606,7 @@
7606
7606
  {
7607
7607
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
7608
7608
  "clrName": "GetEnumerator",
7609
- "metadataToken": 100703845,
7609
+ "metadataToken": 100703850,
7610
7610
  "canonicalSignature": "():System.Collections.IEnumerator",
7611
7611
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
7612
7612
  "emitScope": "ViewOnly",
@@ -10906,7 +10906,7 @@
10906
10906
  {
10907
10907
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Add(T):System.Void",
10908
10908
  "clrName": "Add",
10909
- "metadataToken": 100704538,
10909
+ "metadataToken": 100704543,
10910
10910
  "canonicalSignature": "(T):System.Void",
10911
10911
  "normalizedSignature": "Add|(T):System.Void|static=false",
10912
10912
  "emitScope": "ViewOnly",
@@ -10927,7 +10927,7 @@
10927
10927
  {
10928
10928
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
10929
10929
  "clrName": "Contains",
10930
- "metadataToken": 100704540,
10930
+ "metadataToken": 100704545,
10931
10931
  "canonicalSignature": "(T):System.Boolean",
10932
10932
  "normalizedSignature": "Contains|(T):System.Boolean|static=false",
10933
10933
  "emitScope": "ViewOnly",
@@ -10948,7 +10948,7 @@
10948
10948
  {
10949
10949
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
10950
10950
  "clrName": "CopyTo",
10951
- "metadataToken": 100704541,
10951
+ "metadataToken": 100704546,
10952
10952
  "canonicalSignature": "(T[],System.Int32):System.Void",
10953
10953
  "normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
10954
10954
  "emitScope": "ViewOnly",
@@ -10969,7 +10969,7 @@
10969
10969
  {
10970
10970
  "stableId": "System.Private.CoreLib:System.Collections.Generic.IEnumerable\u00601::GetEnumerator():IEnumerator_1",
10971
10971
  "clrName": "GetEnumerator",
10972
- "metadataToken": 100704560,
10972
+ "metadataToken": 100704565,
10973
10973
  "canonicalSignature": "():IEnumerator_1",
10974
10974
  "normalizedSignature": "GetEnumerator|():IEnumerator_1|static=false",
10975
10975
  "emitScope": "ViewOnly",
@@ -10990,7 +10990,7 @@
10990
10990
  {
10991
10991
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
10992
10992
  "clrName": "GetEnumerator",
10993
- "metadataToken": 100703845,
10993
+ "metadataToken": 100703850,
10994
10994
  "canonicalSignature": "():System.Collections.IEnumerator",
10995
10995
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
10996
10996
  "emitScope": "ViewOnly",
@@ -11011,7 +11011,7 @@
11011
11011
  {
11012
11012
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Clear():System.Void",
11013
11013
  "clrName": "Clear",
11014
- "metadataToken": 100704539,
11014
+ "metadataToken": 100704544,
11015
11015
  "canonicalSignature": "():System.Void",
11016
11016
  "normalizedSignature": "Clear|():System.Void|static=false",
11017
11017
  "emitScope": "ViewOnly",
@@ -11091,7 +11091,7 @@
11091
11091
  {
11092
11092
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Count:System.Int32",
11093
11093
  "clrName": "Count",
11094
- "metadataToken": 385881417,
11094
+ "metadataToken": 385881419,
11095
11095
  "canonicalSignature": ":System.Int32",
11096
11096
  "normalizedSignature": "Count|:System.Int32|static=false|accessor=get",
11097
11097
  "emitScope": "ViewOnly",
@@ -11111,7 +11111,7 @@
11111
11111
  {
11112
11112
  "stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::IsReadOnly:System.Boolean",
11113
11113
  "clrName": "IsReadOnly",
11114
- "metadataToken": 385881418,
11114
+ "metadataToken": 385881420,
11115
11115
  "canonicalSignature": ":System.Boolean",
11116
11116
  "normalizedSignature": "IsReadOnly|:System.Boolean|static=false|accessor=get",
11117
11117
  "emitScope": "ViewOnly",
@@ -20453,7 +20453,7 @@
20453
20453
  {
20454
20454
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::CopyTo(System.Array,System.Int32):System.Void",
20455
20455
  "clrName": "CopyTo",
20456
- "metadataToken": 100703826,
20456
+ "metadataToken": 100703831,
20457
20457
  "canonicalSignature": "(System.Array,System.Int32):System.Void",
20458
20458
  "normalizedSignature": "CopyTo|(System.Array,System.Int32):System.Void|static=false",
20459
20459
  "emitScope": "ViewOnly",
@@ -20474,7 +20474,7 @@
20474
20474
  {
20475
20475
  "stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
20476
20476
  "clrName": "GetEnumerator",
20477
- "metadataToken": 100703845,
20477
+ "metadataToken": 100703850,
20478
20478
  "canonicalSignature": "():System.Collections.IEnumerator",
20479
20479
  "normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
20480
20480
  "emitScope": "ViewOnly",
@@ -20696,7 +20696,7 @@
20696
20696
  {
20697
20697
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::SyncRoot:System.Object",
20698
20698
  "clrName": "SyncRoot",
20699
- "metadataToken": 385881257,
20699
+ "metadataToken": 385881259,
20700
20700
  "canonicalSignature": ":System.Object",
20701
20701
  "normalizedSignature": "SyncRoot|:System.Object|static=false|accessor=get",
20702
20702
  "emitScope": "ViewOnly",
@@ -20716,7 +20716,7 @@
20716
20716
  {
20717
20717
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::IsSynchronized:System.Boolean",
20718
20718
  "clrName": "IsSynchronized",
20719
- "metadataToken": 385881258,
20719
+ "metadataToken": 385881260,
20720
20720
  "canonicalSignature": ":System.Boolean",
20721
20721
  "normalizedSignature": "IsSynchronized|:System.Boolean|static=false|accessor=get",
20722
20722
  "emitScope": "ViewOnly",
@@ -20736,7 +20736,7 @@
20736
20736
  {
20737
20737
  "stableId": "System.Private.CoreLib:System.Collections.ICollection::Count:System.Int32",
20738
20738
  "clrName": "Count",
20739
- "metadataToken": 385881256,
20739
+ "metadataToken": 385881258,
20740
20740
  "canonicalSignature": ":System.Int32",
20741
20741
  "normalizedSignature": "Count|:System.Int32|static=false|accessor=get",
20742
20742
  "emitScope": "ViewOnly",