@tsonic/dotnet 0.7.3 → 0.7.6

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 (286) hide show
  1. package/Internal/internal/index.d.ts +0 -25
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
  3. package/Microsoft.VisualBasic/bindings.json +203 -29
  4. package/Microsoft.VisualBasic/internal/index.d.ts +38 -63
  5. package/Microsoft.VisualBasic/internal/metadata.json +203 -29
  6. package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
  7. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +6 -31
  8. package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
  9. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +10 -35
  10. package/Microsoft.Win32/internal/index.d.ts +0 -25
  11. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
  12. package/System/bindings.json +4800 -552
  13. package/System/internal/index.d.ts +2608 -459
  14. package/System/internal/metadata.json +4800 -552
  15. package/System.Buffers/bindings.json +196 -24
  16. package/System.Buffers/internal/index.d.ts +30 -55
  17. package/System.Buffers/internal/metadata.json +196 -24
  18. package/System.Buffers.Binary/bindings.json +182 -26
  19. package/System.Buffers.Binary/internal/index.d.ts +115 -140
  20. package/System.Buffers.Binary/internal/metadata.json +182 -26
  21. package/System.Buffers.Text/bindings.json +431 -49
  22. package/System.Buffers.Text/internal/index.d.ts +64 -89
  23. package/System.Buffers.Text/internal/metadata.json +431 -49
  24. package/System.Buffers.d.ts +11 -2
  25. package/System.CodeDom.Compiler/internal/index.d.ts +8 -33
  26. package/System.Collections/bindings.json +11 -1
  27. package/System.Collections/internal/index.d.ts +2 -27
  28. package/System.Collections/internal/metadata.json +11 -1
  29. package/System.Collections.Concurrent/bindings.json +211 -29
  30. package/System.Collections.Concurrent/internal/index.d.ts +32 -56
  31. package/System.Collections.Concurrent/internal/metadata.json +211 -29
  32. package/System.Collections.Concurrent.d.ts +11 -2
  33. package/System.Collections.Frozen/bindings.json +56 -8
  34. package/System.Collections.Frozen/internal/index.d.ts +9 -34
  35. package/System.Collections.Frozen/internal/metadata.json +56 -8
  36. package/System.Collections.Generic/bindings.json +273 -35
  37. package/System.Collections.Generic/internal/index.d.ts +46 -61
  38. package/System.Collections.Generic/internal/metadata.json +273 -35
  39. package/System.Collections.Immutable/bindings.json +362 -50
  40. package/System.Collections.Immutable/internal/index.d.ts +65 -85
  41. package/System.Collections.Immutable/internal/metadata.json +362 -50
  42. package/System.Collections.ObjectModel/bindings.json +28 -4
  43. package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
  44. package/System.Collections.ObjectModel/internal/metadata.json +28 -4
  45. package/System.Collections.ObjectModel.d.ts +11 -2
  46. package/System.Collections.Specialized/internal/index.d.ts +3 -27
  47. package/System.ComponentModel/bindings.json +174 -18
  48. package/System.ComponentModel/internal/index.d.ts +33 -54
  49. package/System.ComponentModel/internal/metadata.json +174 -18
  50. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
  51. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
  52. package/System.ComponentModel.Design/internal/index.d.ts +3 -25
  53. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +3 -26
  54. package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
  55. package/System.Data/internal/index.d.ts +19 -39
  56. package/System.Data.Common/bindings.json +14 -2
  57. package/System.Data.Common/internal/index.d.ts +27 -52
  58. package/System.Data.Common/internal/metadata.json +14 -2
  59. package/System.Data.SqlTypes/internal/index.d.ts +27 -52
  60. package/System.Data.d.ts +17 -4
  61. package/System.Diagnostics/bindings.json +181 -23
  62. package/System.Diagnostics/internal/index.d.ts +106 -131
  63. package/System.Diagnostics/internal/metadata.json +181 -23
  64. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
  65. package/System.Diagnostics.Contracts/bindings.json +7 -1
  66. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
  67. package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
  68. package/System.Diagnostics.Metrics/bindings.json +35 -5
  69. package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
  70. package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
  71. package/System.Diagnostics.Metrics.d.ts +11 -2
  72. package/System.Diagnostics.SymbolStore/internal/index.d.ts +1 -26
  73. package/System.Diagnostics.Tracing/bindings.json +37 -3
  74. package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
  75. package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
  76. package/System.Drawing/internal/index.d.ts +7 -32
  77. package/System.Dynamic/bindings.json +63 -9
  78. package/System.Dynamic/internal/index.d.ts +19 -44
  79. package/System.Dynamic/internal/metadata.json +63 -9
  80. package/System.Formats.Asn1/bindings.json +451 -49
  81. package/System.Formats.Asn1/internal/index.d.ts +70 -95
  82. package/System.Formats.Asn1/internal/metadata.json +451 -49
  83. package/System.Formats.Tar/internal/index.d.ts +4 -29
  84. package/System.Globalization/bindings.json +28 -4
  85. package/System.Globalization/internal/index.d.ts +19 -44
  86. package/System.Globalization/internal/metadata.json +28 -4
  87. package/System.IO/bindings.json +35 -5
  88. package/System.IO/internal/index.d.ts +206 -231
  89. package/System.IO/internal/metadata.json +35 -5
  90. package/System.IO.Compression/bindings.json +50 -6
  91. package/System.IO.Compression/internal/index.d.ts +51 -76
  92. package/System.IO.Compression/internal/metadata.json +50 -6
  93. package/System.IO.Enumeration/bindings.json +42 -6
  94. package/System.IO.Enumeration/internal/index.d.ts +11 -36
  95. package/System.IO.Enumeration/internal/metadata.json +42 -6
  96. package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
  97. package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
  98. package/System.IO.Pipelines/bindings.json +7 -1
  99. package/System.IO.Pipelines/internal/index.d.ts +17 -42
  100. package/System.IO.Pipelines/internal/metadata.json +7 -1
  101. package/System.IO.Pipes/internal/index.d.ts +11 -36
  102. package/System.Linq/bindings.json +7 -1
  103. package/System.Linq/internal/index.d.ts +337 -357
  104. package/System.Linq/internal/metadata.json +7 -1
  105. package/System.Linq.Expressions/bindings.json +14 -2
  106. package/System.Linq.Expressions/internal/index.d.ts +50 -75
  107. package/System.Linq.Expressions/internal/metadata.json +14 -2
  108. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -27
  109. package/System.Linq.Expressions.d.ts +11 -2
  110. package/System.Linq.d.ts +35 -10
  111. package/System.Net/bindings.json +175 -25
  112. package/System.Net/internal/index.d.ts +40 -61
  113. package/System.Net/internal/metadata.json +175 -25
  114. package/System.Net.Cache/internal/index.d.ts +0 -25
  115. package/System.Net.Http/bindings.json +21 -3
  116. package/System.Net.Http/internal/index.d.ts +22 -47
  117. package/System.Net.Http/internal/metadata.json +21 -3
  118. package/System.Net.Http.Headers/bindings.json +154 -22
  119. package/System.Net.Http.Headers/internal/index.d.ts +67 -92
  120. package/System.Net.Http.Headers/internal/metadata.json +154 -22
  121. package/System.Net.Http.Json/internal/index.d.ts +0 -25
  122. package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
  123. package/System.Net.Mail/bindings.json +21 -3
  124. package/System.Net.Mail/internal/index.d.ts +4 -29
  125. package/System.Net.Mail/internal/metadata.json +21 -3
  126. package/System.Net.Mime/internal/index.d.ts +0 -25
  127. package/System.Net.NetworkInformation/bindings.json +14 -2
  128. package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
  129. package/System.Net.NetworkInformation/internal/metadata.json +14 -2
  130. package/System.Net.Quic/internal/index.d.ts +14 -39
  131. package/System.Net.Security/bindings.json +43 -5
  132. package/System.Net.Security/internal/index.d.ts +30 -55
  133. package/System.Net.Security/internal/metadata.json +43 -5
  134. package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
  135. package/System.Net.ServerSentEvents.d.ts +11 -2
  136. package/System.Net.Sockets/bindings.json +224 -28
  137. package/System.Net.Sockets/internal/index.d.ts +110 -135
  138. package/System.Net.Sockets/internal/metadata.json +224 -28
  139. package/System.Net.WebSockets/internal/index.d.ts +29 -54
  140. package/System.Numerics/bindings.json +1030 -142
  141. package/System.Numerics/internal/index.d.ts +303 -288
  142. package/System.Numerics/internal/metadata.json +1030 -142
  143. package/System.Numerics.d.ts +11 -2
  144. package/System.Reflection/bindings.json +29 -3
  145. package/System.Reflection/internal/index.d.ts +7 -32
  146. package/System.Reflection/internal/metadata.json +29 -3
  147. package/System.Reflection.Emit/bindings.json +26 -2
  148. package/System.Reflection.Emit/internal/index.d.ts +10 -35
  149. package/System.Reflection.Emit/internal/metadata.json +26 -2
  150. package/System.Reflection.Metadata/bindings.json +46 -6
  151. package/System.Reflection.Metadata/internal/index.d.ts +77 -99
  152. package/System.Reflection.Metadata/internal/metadata.json +46 -6
  153. package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
  154. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +26 -51
  155. package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
  156. package/System.Reflection.PortableExecutable/bindings.json +18 -2
  157. package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
  158. package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
  159. package/System.Resources/bindings.json +11 -1
  160. package/System.Resources/internal/index.d.ts +5 -28
  161. package/System.Resources/internal/metadata.json +11 -1
  162. package/System.Runtime/internal/index.d.ts +0 -25
  163. package/System.Runtime.CompilerServices/bindings.json +495 -57
  164. package/System.Runtime.CompilerServices/internal/index.d.ts +70 -94
  165. package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
  166. package/System.Runtime.CompilerServices.d.ts +41 -12
  167. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
  168. package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
  169. package/System.Runtime.InteropServices/bindings.json +377 -47
  170. package/System.Runtime.InteropServices/internal/index.d.ts +83 -107
  171. package/System.Runtime.InteropServices/internal/metadata.json +377 -47
  172. package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
  173. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
  174. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
  175. package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
  176. package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
  177. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
  178. package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
  179. package/System.Runtime.InteropServices.JavaScript.d.ts +17 -2
  180. package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
  181. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
  182. package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
  183. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
  184. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
  185. package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
  186. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
  187. package/System.Runtime.InteropServices.Swift.d.ts +11 -2
  188. package/System.Runtime.InteropServices.d.ts +11 -2
  189. package/System.Runtime.Intrinsics/bindings.json +112 -16
  190. package/System.Runtime.Intrinsics/internal/index.d.ts +804 -829
  191. package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
  192. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
  193. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
  194. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
  195. package/System.Runtime.Intrinsics.d.ts +29 -8
  196. package/System.Runtime.Loader/internal/index.d.ts +0 -25
  197. package/System.Runtime.Remoting/internal/index.d.ts +0 -25
  198. package/System.Runtime.Serialization/bindings.json +71 -9
  199. package/System.Runtime.Serialization/internal/index.d.ts +9 -34
  200. package/System.Runtime.Serialization/internal/metadata.json +71 -9
  201. package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
  202. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
  203. package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
  204. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
  205. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
  206. package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
  207. package/System.Runtime.Versioning/internal/index.d.ts +1 -26
  208. package/System.Security/internal/index.d.ts +1 -26
  209. package/System.Security.AccessControl/bindings.json +14 -2
  210. package/System.Security.AccessControl/internal/index.d.ts +3 -28
  211. package/System.Security.AccessControl/internal/metadata.json +14 -2
  212. package/System.Security.AccessControl.d.ts +23 -6
  213. package/System.Security.Authentication/internal/index.d.ts +0 -25
  214. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
  215. package/System.Security.Claims/internal/index.d.ts +1 -26
  216. package/System.Security.Cryptography/bindings.json +1348 -192
  217. package/System.Security.Cryptography/internal/index.d.ts +608 -633
  218. package/System.Security.Cryptography/internal/metadata.json +1348 -192
  219. package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
  220. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
  221. package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
  222. package/System.Security.Permissions/internal/index.d.ts +0 -25
  223. package/System.Security.Policy/internal/index.d.ts +0 -25
  224. package/System.Security.Principal/internal/index.d.ts +1 -26
  225. package/System.Text/bindings.json +494 -58
  226. package/System.Text/internal/index.d.ts +146 -170
  227. package/System.Text/internal/metadata.json +494 -58
  228. package/System.Text.Encodings.Web/bindings.json +29 -3
  229. package/System.Text.Encodings.Web/internal/index.d.ts +14 -39
  230. package/System.Text.Encodings.Web/internal/metadata.json +29 -3
  231. package/System.Text.Json/bindings.json +309 -43
  232. package/System.Text.Json/internal/index.d.ts +142 -167
  233. package/System.Text.Json/internal/metadata.json +309 -43
  234. package/System.Text.Json.Nodes/bindings.json +46 -6
  235. package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
  236. package/System.Text.Json.Nodes/internal/metadata.json +46 -6
  237. package/System.Text.Json.Schema/internal/index.d.ts +1 -26
  238. package/System.Text.Json.Serialization/bindings.json +21 -3
  239. package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
  240. package/System.Text.Json.Serialization/internal/metadata.json +21 -3
  241. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +21 -46
  242. package/System.Text.Json.Serialization.Metadata.d.ts +11 -2
  243. package/System.Text.Json.Serialization.d.ts +23 -6
  244. package/System.Text.RegularExpressions/bindings.json +14 -2
  245. package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
  246. package/System.Text.RegularExpressions/internal/metadata.json +14 -2
  247. package/System.Text.Unicode/bindings.json +58 -6
  248. package/System.Text.Unicode/internal/index.d.ts +12 -37
  249. package/System.Text.Unicode/internal/metadata.json +58 -6
  250. package/System.Threading/bindings.json +1012 -140
  251. package/System.Threading/internal/index.d.ts +154 -179
  252. package/System.Threading/internal/metadata.json +1012 -140
  253. package/System.Threading.Channels/bindings.json +14 -2
  254. package/System.Threading.Channels/internal/index.d.ts +5 -30
  255. package/System.Threading.Channels/internal/metadata.json +14 -2
  256. package/System.Threading.Channels.d.ts +13 -2
  257. package/System.Threading.Tasks/internal/index.d.ts +35 -60
  258. package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
  259. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +34 -59
  260. package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
  261. package/System.Threading.Tasks.Dataflow.d.ts +21 -2
  262. package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
  263. package/System.Threading.Tasks.Sources.d.ts +11 -2
  264. package/System.Threading.Tasks.d.ts +29 -8
  265. package/System.Timers/internal/index.d.ts +0 -25
  266. package/System.Transactions/internal/index.d.ts +1 -26
  267. package/System.Web/internal/index.d.ts +0 -25
  268. package/System.Windows.Input/internal/index.d.ts +0 -25
  269. package/System.Windows.Markup/internal/index.d.ts +0 -25
  270. package/System.Xml/bindings.json +197 -27
  271. package/System.Xml/internal/index.d.ts +35 -60
  272. package/System.Xml/internal/metadata.json +197 -27
  273. package/System.Xml.Linq/internal/index.d.ts +10 -35
  274. package/System.Xml.Resolvers/internal/index.d.ts +0 -25
  275. package/System.Xml.Schema/internal/index.d.ts +0 -25
  276. package/System.Xml.Serialization/internal/index.d.ts +0 -25
  277. package/System.Xml.XPath/internal/index.d.ts +1 -26
  278. package/System.Xml.Xsl/internal/index.d.ts +1 -26
  279. package/System.Xml.Xsl.Runtime/bindings.json +35 -5
  280. package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
  281. package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
  282. package/System.d.ts +75 -14
  283. package/__internal/extensions/index.d.ts +463 -463
  284. package/families.json +359 -0
  285. package/package.json +1 -1
  286. package/tsconfig.json +2 -1
@@ -4897,7 +4897,13 @@
4897
4897
  "isSealed": false,
4898
4898
  "arity": 1,
4899
4899
  "parameterCount": 2,
4900
- "isExtensionMethod": true
4900
+ "isExtensionMethod": true,
4901
+ "parameterModifiers": [
4902
+ {
4903
+ "index": 1,
4904
+ "modifier": "out"
4905
+ }
4906
+ ]
4901
4907
  },
4902
4908
  {
4903
4909
  "stableId": "System.Linq:System.Linq.Enumerable::LongCount(IEnumerable_1):System.Int64",
@@ -25889,7 +25889,13 @@
25889
25889
  "parameterCount": 2,
25890
25890
  "declaringClrType": "System.Linq.Expressions.Expression",
25891
25891
  "declaringAssemblyName": "System.Linq.Expressions",
25892
- "isExtensionMethod": false
25892
+ "isExtensionMethod": false,
25893
+ "parameterModifiers": [
25894
+ {
25895
+ "index": 1,
25896
+ "modifier": "out"
25897
+ }
25898
+ ]
25893
25899
  },
25894
25900
  {
25895
25901
  "stableId": "System.Linq.Expressions:System.Linq.Expressions.Expression::GetActionType(System.Type[]):System.Type",
@@ -25917,7 +25923,13 @@
25917
25923
  "parameterCount": 2,
25918
25924
  "declaringClrType": "System.Linq.Expressions.Expression",
25919
25925
  "declaringAssemblyName": "System.Linq.Expressions",
25920
- "isExtensionMethod": false
25926
+ "isExtensionMethod": false,
25927
+ "parameterModifiers": [
25928
+ {
25929
+ "index": 1,
25930
+ "modifier": "out"
25931
+ }
25932
+ ]
25921
25933
  },
25922
25934
  {
25923
25935
  "stableId": "System.Linq.Expressions:System.Linq.Expressions.Expression::GetDelegateType(System.Type[]):System.Type",
@@ -6,7 +6,7 @@
6
6
  import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
7
7
 
8
8
  // Import support types from @tsonic/types
9
- import type { ptr, ref } from "@tsonic/types";
9
+ import type { ptr } from "@tsonic/types";
10
10
 
11
11
  // Import types from other namespaces
12
12
  import type { IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -16,31 +16,6 @@ import type { CallSiteBinder, DebugInfoGenerator } from "../../System.Runtime.Co
16
16
  import * as System_Internal from "../../System/internal/index.js";
17
17
  import type { Boolean as ClrBoolean, Delegate, Enum, Func_2, Guid, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode } from "../../System/internal/index.js";
18
18
 
19
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
20
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
21
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
22
- export type CLROf<T> =
23
- T extends sbyte ? System_Internal.SByte :
24
- T extends short ? System_Internal.Int16 :
25
- T extends int ? System_Internal.Int32 :
26
- T extends long ? System_Internal.Int64 :
27
- T extends int128 ? System_Internal.Int128 :
28
- T extends nint ? System_Internal.IntPtr :
29
- T extends byte ? System_Internal.Byte :
30
- T extends ushort ? System_Internal.UInt16 :
31
- T extends uint ? System_Internal.UInt32 :
32
- T extends ulong ? System_Internal.UInt64 :
33
- T extends uint128 ? System_Internal.UInt128 :
34
- T extends nuint ? System_Internal.UIntPtr :
35
- T extends half ? System_Internal.Half :
36
- T extends float ? System_Internal.Single :
37
- T extends double ? System_Internal.Double :
38
- T extends decimal ? System_Internal.Decimal :
39
- T extends char ? System_Internal.Char :
40
- T extends boolean ? System_Internal.Boolean :
41
- T extends string ? System_Internal.String :
42
- T; // Identity fallback for non-primitive types
43
-
44
19
  export enum ExpressionType {
45
20
  add = 0,
46
21
  addChecked = 1,
@@ -302,13 +277,13 @@ export const DynamicExpression: {
302
277
  dynamic(binder: CallSiteBinder, returnType: Type, arg0: Expression, arg1: Expression, arg2: Expression): DynamicExpression;
303
278
  dynamic(binder: CallSiteBinder, returnType: Type, arg0: Expression, arg1: Expression): DynamicExpression;
304
279
  dynamic(binder: CallSiteBinder, returnType: Type, arg0: Expression): DynamicExpression;
305
- dynamic(binder: CallSiteBinder, returnType: Type, arguments: Expression[]): DynamicExpression;
280
+ dynamic(binder: CallSiteBinder, returnType: Type, ...arguments: Expression[]): DynamicExpression;
306
281
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arguments: IEnumerable_1<Expression>): DynamicExpression;
307
282
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression): DynamicExpression;
308
283
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression, arg2: Expression): DynamicExpression;
309
284
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression): DynamicExpression;
310
285
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression): DynamicExpression;
311
- makeDynamic(delegateType: Type, binder: CallSiteBinder, arguments: Expression[]): DynamicExpression;
286
+ makeDynamic(delegateType: Type, binder: CallSiteBinder, ...arguments: Expression[]): DynamicExpression;
312
287
  };
313
288
 
314
289
 
@@ -387,26 +362,26 @@ export const Expression: {
387
362
  andAssign(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
388
363
  andAssign(left: Expression, right: Expression): BinaryExpression;
389
364
  arrayAccess(array: Expression, indexes: IEnumerable_1<Expression>): IndexExpression;
390
- arrayAccess(array: Expression, indexes: Expression[]): IndexExpression;
365
+ arrayAccess(array: Expression, ...indexes: Expression[]): IndexExpression;
391
366
  arrayIndex(array: Expression, indexes: IEnumerable_1<Expression>): MethodCallExpression;
392
367
  arrayIndex(array: Expression, index: Expression): BinaryExpression;
393
- arrayIndex(array: Expression, indexes: Expression[]): MethodCallExpression;
368
+ arrayIndex(array: Expression, ...indexes: Expression[]): MethodCallExpression;
394
369
  arrayLength(array: Expression): UnaryExpression;
395
370
  assign(left: Expression, right: Expression): BinaryExpression;
396
371
  bind(member: MemberInfo, expression: Expression): MemberAssignment;
397
372
  bind(propertyAccessor: MethodInfo, expression: Expression): MemberAssignment;
398
373
  block(expressions: IEnumerable_1<Expression>): BlockExpression;
399
374
  block(variables: IEnumerable_1<ParameterExpression>, expressions: IEnumerable_1<Expression>): BlockExpression;
400
- block(variables: IEnumerable_1<ParameterExpression>, expressions: Expression[]): BlockExpression;
375
+ block(variables: IEnumerable_1<ParameterExpression>, ...expressions: Expression[]): BlockExpression;
401
376
  block(arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression, arg4: Expression): BlockExpression;
402
377
  block(arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression): BlockExpression;
403
378
  block(arg0: Expression, arg1: Expression, arg2: Expression): BlockExpression;
404
379
  block(arg0: Expression, arg1: Expression): BlockExpression;
405
- block(expressions: Expression[]): BlockExpression;
380
+ block(...expressions: Expression[]): BlockExpression;
406
381
  block(type_: Type, expressions: IEnumerable_1<Expression>): BlockExpression;
407
382
  block(type_: Type, variables: IEnumerable_1<ParameterExpression>, expressions: IEnumerable_1<Expression>): BlockExpression;
408
- block(type_: Type, variables: IEnumerable_1<ParameterExpression>, expressions: Expression[]): BlockExpression;
409
- block(type_: Type, expressions: Expression[]): BlockExpression;
383
+ block(type_: Type, variables: IEnumerable_1<ParameterExpression>, ...expressions: Expression[]): BlockExpression;
384
+ block(type_: Type, ...expressions: Expression[]): BlockExpression;
410
385
  break_(target: LabelTarget, value: Expression, type_: Type): GotoExpression;
411
386
  break_(target: LabelTarget, value: Expression): GotoExpression;
412
387
  break_(target: LabelTarget, type_: Type): GotoExpression;
@@ -414,17 +389,17 @@ export const Expression: {
414
389
  call(instance: Expression, method: MethodInfo, arguments: IEnumerable_1<Expression>): MethodCallExpression;
415
390
  call(instance: Expression, method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression): MethodCallExpression;
416
391
  call(instance: Expression, method: MethodInfo, arg0: Expression, arg1: Expression): MethodCallExpression;
417
- call(instance: Expression, method: MethodInfo, arguments: Expression[]): MethodCallExpression;
392
+ call(instance: Expression, method: MethodInfo, ...arguments: Expression[]): MethodCallExpression;
418
393
  call(instance: Expression, method: MethodInfo): MethodCallExpression;
419
- call(instance: Expression, methodName: string, typeArguments: Type[], arguments: Expression[]): MethodCallExpression;
394
+ call(instance: Expression, methodName: string, typeArguments: Type[], ...arguments: Expression[]): MethodCallExpression;
420
395
  call(method: MethodInfo, arguments: IEnumerable_1<Expression>): MethodCallExpression;
421
396
  call(method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression, arg4: Expression): MethodCallExpression;
422
397
  call(method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression, arg3: Expression): MethodCallExpression;
423
398
  call(method: MethodInfo, arg0: Expression, arg1: Expression, arg2: Expression): MethodCallExpression;
424
399
  call(method: MethodInfo, arg0: Expression, arg1: Expression): MethodCallExpression;
425
400
  call(method: MethodInfo, arg0: Expression): MethodCallExpression;
426
- call(method: MethodInfo, arguments: Expression[]): MethodCallExpression;
427
- call(type_: Type, methodName: string, typeArguments: Type[], arguments: Expression[]): MethodCallExpression;
401
+ call(method: MethodInfo, ...arguments: Expression[]): MethodCallExpression;
402
+ call(type_: Type, methodName: string, typeArguments: Type[], ...arguments: Expression[]): MethodCallExpression;
428
403
  catch_(variable: ParameterExpression, body: Expression, filter: Expression): CatchBlock;
429
404
  catch_(variable: ParameterExpression, body: Expression): CatchBlock;
430
405
  catch_(type_: Type, body: Expression, filter: Expression): CatchBlock;
@@ -456,9 +431,9 @@ export const Expression: {
456
431
  dynamic(binder: CallSiteBinder, returnType: Type, arg0: Expression, arg1: Expression, arg2: Expression): DynamicExpression;
457
432
  dynamic(binder: CallSiteBinder, returnType: Type, arg0: Expression, arg1: Expression): DynamicExpression;
458
433
  dynamic(binder: CallSiteBinder, returnType: Type, arg0: Expression): DynamicExpression;
459
- dynamic(binder: CallSiteBinder, returnType: Type, arguments: Expression[]): DynamicExpression;
434
+ dynamic(binder: CallSiteBinder, returnType: Type, ...arguments: Expression[]): DynamicExpression;
460
435
  elementInit(addMethod: MethodInfo, arguments: IEnumerable_1<Expression>): ElementInit;
461
- elementInit(addMethod: MethodInfo, arguments: Expression[]): ElementInit;
436
+ elementInit(addMethod: MethodInfo, ...arguments: Expression[]): ElementInit;
462
437
  empty(): DefaultExpression;
463
438
  equal(left: Expression, right: Expression, liftToNull: boolean, method: MethodInfo): BinaryExpression;
464
439
  equal(left: Expression, right: Expression): BinaryExpression;
@@ -470,9 +445,9 @@ export const Expression: {
470
445
  field(expression: Expression, field: FieldInfo): MemberExpression;
471
446
  field(expression: Expression, fieldName: string): MemberExpression;
472
447
  field(expression: Expression, type_: Type, fieldName: string): MemberExpression;
473
- getActionType(typeArgs: Type[]): Type;
474
- getDelegateType(typeArgs: Type[]): Type;
475
- getFuncType(typeArgs: Type[]): Type;
448
+ getActionType(...typeArgs: Type[]): Type;
449
+ getDelegateType(...typeArgs: Type[]): Type;
450
+ getFuncType(...typeArgs: Type[]): Type;
476
451
  goto(target: LabelTarget, value: Expression, type_: Type): GotoExpression;
477
452
  goto(target: LabelTarget, value: Expression): GotoExpression;
478
453
  goto(target: LabelTarget, type_: Type): GotoExpression;
@@ -486,7 +461,7 @@ export const Expression: {
486
461
  increment(expression: Expression, method: MethodInfo): UnaryExpression;
487
462
  increment(expression: Expression): UnaryExpression;
488
463
  invoke(expression: Expression, arguments: IEnumerable_1<Expression>): InvocationExpression;
489
- invoke(expression: Expression, arguments: Expression[]): InvocationExpression;
464
+ invoke(expression: Expression, ...arguments: Expression[]): InvocationExpression;
490
465
  isFalse(expression: Expression, method: MethodInfo): UnaryExpression;
491
466
  isFalse(expression: Expression): UnaryExpression;
492
467
  isTrue(expression: Expression, method: MethodInfo): UnaryExpression;
@@ -499,20 +474,20 @@ export const Expression: {
499
474
  label(type_: Type): LabelTarget;
500
475
  lambda<TDelegate>(body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression>): Expression_1<TDelegate>;
501
476
  lambda(body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
502
- lambda<TDelegate>(body: Expression, tailCall: boolean, parameters: ParameterExpression[]): Expression_1<TDelegate>;
503
- lambda(body: Expression, tailCall: boolean, parameters: ParameterExpression[]): LambdaExpression;
477
+ lambda<TDelegate>(body: Expression, tailCall: boolean, ...parameters: ParameterExpression[]): Expression_1<TDelegate>;
478
+ lambda(body: Expression, tailCall: boolean, ...parameters: ParameterExpression[]): LambdaExpression;
504
479
  lambda<TDelegate>(body: Expression, parameters: IEnumerable_1<ParameterExpression>): Expression_1<TDelegate>;
505
480
  lambda(body: Expression, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
506
- lambda<TDelegate>(body: Expression, parameters: ParameterExpression[]): Expression_1<TDelegate>;
507
- lambda(body: Expression, parameters: ParameterExpression[]): LambdaExpression;
481
+ lambda<TDelegate>(body: Expression, ...parameters: ParameterExpression[]): Expression_1<TDelegate>;
482
+ lambda(body: Expression, ...parameters: ParameterExpression[]): LambdaExpression;
508
483
  lambda<TDelegate>(body: Expression, name: string, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression>): Expression_1<TDelegate>;
509
484
  lambda(body: Expression, name: string, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
510
485
  lambda<TDelegate>(body: Expression, name: string, parameters: IEnumerable_1<ParameterExpression>): Expression_1<TDelegate>;
511
486
  lambda(body: Expression, name: string, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
512
487
  lambda(delegateType: Type, body: Expression, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
513
- lambda(delegateType: Type, body: Expression, tailCall: boolean, parameters: ParameterExpression[]): LambdaExpression;
488
+ lambda(delegateType: Type, body: Expression, tailCall: boolean, ...parameters: ParameterExpression[]): LambdaExpression;
514
489
  lambda(delegateType: Type, body: Expression, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
515
- lambda(delegateType: Type, body: Expression, parameters: ParameterExpression[]): LambdaExpression;
490
+ lambda(delegateType: Type, body: Expression, ...parameters: ParameterExpression[]): LambdaExpression;
516
491
  lambda(delegateType: Type, body: Expression, name: string, tailCall: boolean, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
517
492
  lambda(delegateType: Type, body: Expression, name: string, parameters: IEnumerable_1<ParameterExpression>): LambdaExpression;
518
493
  leftShift(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
@@ -525,15 +500,15 @@ export const Expression: {
525
500
  lessThanOrEqual(left: Expression, right: Expression, liftToNull: boolean, method: MethodInfo): BinaryExpression;
526
501
  lessThanOrEqual(left: Expression, right: Expression): BinaryExpression;
527
502
  listBind(member: MemberInfo, initializers: IEnumerable_1<ElementInit>): MemberListBinding;
528
- listBind(member: MemberInfo, initializers: ElementInit[]): MemberListBinding;
503
+ listBind(member: MemberInfo, ...initializers: ElementInit[]): MemberListBinding;
529
504
  listBind(propertyAccessor: MethodInfo, initializers: IEnumerable_1<ElementInit>): MemberListBinding;
530
- listBind(propertyAccessor: MethodInfo, initializers: ElementInit[]): MemberListBinding;
505
+ listBind(propertyAccessor: MethodInfo, ...initializers: ElementInit[]): MemberListBinding;
531
506
  listInit(newExpression: NewExpression, initializers: IEnumerable_1<ElementInit>): ListInitExpression;
532
507
  listInit(newExpression: NewExpression, initializers: IEnumerable_1<Expression>): ListInitExpression;
533
- listInit(newExpression: NewExpression, initializers: ElementInit[]): ListInitExpression;
534
- listInit(newExpression: NewExpression, initializers: Expression[]): ListInitExpression;
508
+ listInit(newExpression: NewExpression, ...initializers: ElementInit[]): ListInitExpression;
509
+ listInit(newExpression: NewExpression, ...initializers: Expression[]): ListInitExpression;
535
510
  listInit(newExpression: NewExpression, addMethod: MethodInfo, initializers: IEnumerable_1<Expression>): ListInitExpression;
536
- listInit(newExpression: NewExpression, addMethod: MethodInfo, initializers: Expression[]): ListInitExpression;
511
+ listInit(newExpression: NewExpression, addMethod: MethodInfo, ...initializers: Expression[]): ListInitExpression;
537
512
  loop(body: Expression, break_: LabelTarget, continue_: LabelTarget): LoopExpression;
538
513
  loop(body: Expression, break_: LabelTarget): LoopExpression;
539
514
  loop(body: Expression): LoopExpression;
@@ -546,7 +521,7 @@ export const Expression: {
546
521
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression, arg2: Expression): DynamicExpression;
547
522
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression, arg1: Expression): DynamicExpression;
548
523
  makeDynamic(delegateType: Type, binder: CallSiteBinder, arg0: Expression): DynamicExpression;
549
- makeDynamic(delegateType: Type, binder: CallSiteBinder, arguments: Expression[]): DynamicExpression;
524
+ makeDynamic(delegateType: Type, binder: CallSiteBinder, ...arguments: Expression[]): DynamicExpression;
550
525
  makeGoto(kind: GotoExpressionKind, target: LabelTarget, value: Expression, type_: Type): GotoExpression;
551
526
  makeIndex(instance: Expression, indexer: PropertyInfo, arguments: IEnumerable_1<Expression>): IndexExpression;
552
527
  makeMemberAccess(expression: Expression, member: MemberInfo): MemberExpression;
@@ -554,11 +529,11 @@ export const Expression: {
554
529
  makeUnary(unaryType: ExpressionType, operand: Expression, type_: Type, method: MethodInfo): UnaryExpression;
555
530
  makeUnary(unaryType: ExpressionType, operand: Expression, type_: Type): UnaryExpression;
556
531
  memberBind(member: MemberInfo, bindings: IEnumerable_1<MemberBinding>): MemberMemberBinding;
557
- memberBind(member: MemberInfo, bindings: MemberBinding[]): MemberMemberBinding;
532
+ memberBind(member: MemberInfo, ...bindings: MemberBinding[]): MemberMemberBinding;
558
533
  memberBind(propertyAccessor: MethodInfo, bindings: IEnumerable_1<MemberBinding>): MemberMemberBinding;
559
- memberBind(propertyAccessor: MethodInfo, bindings: MemberBinding[]): MemberMemberBinding;
534
+ memberBind(propertyAccessor: MethodInfo, ...bindings: MemberBinding[]): MemberMemberBinding;
560
535
  memberInit(newExpression: NewExpression, bindings: IEnumerable_1<MemberBinding>): MemberInitExpression;
561
- memberInit(newExpression: NewExpression, bindings: MemberBinding[]): MemberInitExpression;
536
+ memberInit(newExpression: NewExpression, ...bindings: MemberBinding[]): MemberInitExpression;
562
537
  modulo(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
563
538
  modulo(left: Expression, right: Expression): BinaryExpression;
564
539
  moduloAssign(left: Expression, right: Expression, method: MethodInfo, conversion: LambdaExpression): BinaryExpression;
@@ -579,15 +554,15 @@ export const Expression: {
579
554
  negateChecked(expression: Expression, method: MethodInfo): UnaryExpression;
580
555
  negateChecked(expression: Expression): UnaryExpression;
581
556
  new_(constructor_: ConstructorInfo, arguments: IEnumerable_1<Expression>, members: IEnumerable_1<MemberInfo>): NewExpression;
582
- new_(constructor_: ConstructorInfo, arguments: IEnumerable_1<Expression>, members: MemberInfo[]): NewExpression;
557
+ new_(constructor_: ConstructorInfo, arguments: IEnumerable_1<Expression>, ...members: MemberInfo[]): NewExpression;
583
558
  new_(constructor_: ConstructorInfo, arguments: IEnumerable_1<Expression>): NewExpression;
584
- new_(constructor_: ConstructorInfo, arguments: Expression[]): NewExpression;
559
+ new_(constructor_: ConstructorInfo, ...arguments: Expression[]): NewExpression;
585
560
  new_(constructor_: ConstructorInfo): NewExpression;
586
561
  new_(type_: Type): NewExpression;
587
562
  newArrayBounds(type_: Type, bounds: IEnumerable_1<Expression>): NewArrayExpression;
588
- newArrayBounds(type_: Type, bounds: Expression[]): NewArrayExpression;
563
+ newArrayBounds(type_: Type, ...bounds: Expression[]): NewArrayExpression;
589
564
  newArrayInit(type_: Type, initializers: IEnumerable_1<Expression>): NewArrayExpression;
590
- newArrayInit(type_: Type, initializers: Expression[]): NewArrayExpression;
565
+ newArrayInit(type_: Type, ...initializers: Expression[]): NewArrayExpression;
591
566
  not(expression: Expression, method: MethodInfo): UnaryExpression;
592
567
  not(expression: Expression): UnaryExpression;
593
568
  notEqual(left: Expression, right: Expression, liftToNull: boolean, method: MethodInfo): BinaryExpression;
@@ -618,9 +593,9 @@ export const Expression: {
618
593
  preIncrementAssign(expression: Expression): UnaryExpression;
619
594
  property(expression: Expression, propertyAccessor: MethodInfo): MemberExpression;
620
595
  property(instance: Expression, indexer: PropertyInfo, arguments: IEnumerable_1<Expression>): IndexExpression;
621
- property(instance: Expression, indexer: PropertyInfo, arguments: Expression[]): IndexExpression;
596
+ property(instance: Expression, indexer: PropertyInfo, ...arguments: Expression[]): IndexExpression;
622
597
  property(expression: Expression, property: PropertyInfo): MemberExpression;
623
- property(instance: Expression, propertyName: string, arguments: Expression[]): IndexExpression;
598
+ property(instance: Expression, propertyName: string, ...arguments: Expression[]): IndexExpression;
624
599
  property(expression: Expression, propertyName: string): MemberExpression;
625
600
  property(expression: Expression, type_: Type, propertyName: string): MemberExpression;
626
601
  propertyOrField(expression: Expression, propertyOrFieldName: string): MemberExpression;
@@ -639,7 +614,7 @@ export const Expression: {
639
614
  rightShiftAssign(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
640
615
  rightShiftAssign(left: Expression, right: Expression): BinaryExpression;
641
616
  runtimeVariables(variables: IEnumerable_1<ParameterExpression>): RuntimeVariablesExpression;
642
- runtimeVariables(variables: ParameterExpression[]): RuntimeVariablesExpression;
617
+ runtimeVariables(...variables: ParameterExpression[]): RuntimeVariablesExpression;
643
618
  subtract(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
644
619
  subtract(left: Expression, right: Expression): BinaryExpression;
645
620
  subtractAssign(left: Expression, right: Expression, method: MethodInfo, conversion: LambdaExpression): BinaryExpression;
@@ -650,26 +625,26 @@ export const Expression: {
650
625
  subtractAssignChecked(left: Expression, right: Expression): BinaryExpression;
651
626
  subtractChecked(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
652
627
  subtractChecked(left: Expression, right: Expression): BinaryExpression;
653
- switch_(switchValue: Expression, defaultBody: Expression, cases: SwitchCase[]): SwitchExpression;
628
+ switch_(switchValue: Expression, defaultBody: Expression, ...cases: SwitchCase[]): SwitchExpression;
654
629
  switch_(switchValue: Expression, defaultBody: Expression, comparison: MethodInfo, cases: IEnumerable_1<SwitchCase>): SwitchExpression;
655
- switch_(switchValue: Expression, defaultBody: Expression, comparison: MethodInfo, cases: SwitchCase[]): SwitchExpression;
656
- switch_(switchValue: Expression, cases: SwitchCase[]): SwitchExpression;
630
+ switch_(switchValue: Expression, defaultBody: Expression, comparison: MethodInfo, ...cases: SwitchCase[]): SwitchExpression;
631
+ switch_(switchValue: Expression, ...cases: SwitchCase[]): SwitchExpression;
657
632
  switch_(type_: Type, switchValue: Expression, defaultBody: Expression, comparison: MethodInfo, cases: IEnumerable_1<SwitchCase>): SwitchExpression;
658
- switch_(type_: Type, switchValue: Expression, defaultBody: Expression, comparison: MethodInfo, cases: SwitchCase[]): SwitchExpression;
633
+ switch_(type_: Type, switchValue: Expression, defaultBody: Expression, comparison: MethodInfo, ...cases: SwitchCase[]): SwitchExpression;
659
634
  switchCase(body: Expression, testValues: IEnumerable_1<Expression>): SwitchCase;
660
- switchCase(body: Expression, testValues: Expression[]): SwitchCase;
635
+ switchCase(body: Expression, ...testValues: Expression[]): SwitchCase;
661
636
  symbolDocument(fileName: string, language: Guid, languageVendor: Guid, documentType: Guid): SymbolDocumentInfo;
662
637
  symbolDocument(fileName: string, language: Guid, languageVendor: Guid): SymbolDocumentInfo;
663
638
  symbolDocument(fileName: string, language: Guid): SymbolDocumentInfo;
664
639
  symbolDocument(fileName: string): SymbolDocumentInfo;
665
640
  throw_(value: Expression, type_: Type): UnaryExpression;
666
641
  throw_(value: Expression): UnaryExpression;
667
- tryCatch(body: Expression, handlers: CatchBlock[]): TryExpression;
668
- tryCatchFinally(body: Expression, finally_: Expression, handlers: CatchBlock[]): TryExpression;
642
+ tryCatch(body: Expression, ...handlers: CatchBlock[]): TryExpression;
643
+ tryCatchFinally(body: Expression, finally_: Expression, ...handlers: CatchBlock[]): TryExpression;
669
644
  tryFault(body: Expression, fault: Expression): TryExpression;
670
645
  tryFinally(body: Expression, finally_: Expression): TryExpression;
671
- tryGetActionType(typeArgs: Type[], actionType: { value: ref<Type> }): boolean;
672
- tryGetFuncType(typeArgs: Type[], funcType: { value: ref<Type> }): boolean;
646
+ tryGetActionType(typeArgs: Type[], actionType: Type): boolean;
647
+ tryGetFuncType(typeArgs: Type[], funcType: Type): boolean;
673
648
  typeAs(expression: Expression, type_: Type): UnaryExpression;
674
649
  typeEqual(expression: Expression, type_: Type): TypeBinaryExpression;
675
650
  typeIs(expression: Expression, type_: Type): TypeBinaryExpression;
@@ -5398,7 +5398,13 @@
5398
5398
  "isSealed": false,
5399
5399
  "arity": 0,
5400
5400
  "parameterCount": 2,
5401
- "isExtensionMethod": false
5401
+ "isExtensionMethod": false,
5402
+ "parameterModifiers": [
5403
+ {
5404
+ "index": 1,
5405
+ "modifier": "out"
5406
+ }
5407
+ ]
5402
5408
  },
5403
5409
  {
5404
5410
  "stableId": "System.Linq.Expressions:System.Linq.Expressions.Expression::GetActionType(System.Type[]):System.Type",
@@ -5430,7 +5436,13 @@
5430
5436
  "isSealed": false,
5431
5437
  "arity": 0,
5432
5438
  "parameterCount": 2,
5433
- "isExtensionMethod": false
5439
+ "isExtensionMethod": false,
5440
+ "parameterModifiers": [
5441
+ {
5442
+ "index": 1,
5443
+ "modifier": "out"
5444
+ }
5445
+ ]
5434
5446
  },
5435
5447
  {
5436
5448
  "stableId": "System.Linq.Expressions:System.Linq.Expressions.Expression::GetDelegateType(System.Type[]):System.Type",
@@ -9,34 +9,9 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
9
9
  import * as System_Internal from "../../System/internal/index.js";
10
10
  import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type } from "../../System/internal/index.js";
11
11
 
12
- // CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
13
- // This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
14
- // Value positions (parameters, return types) use lowercase primitives for ergonomics
15
- export type CLROf<T> =
16
- T extends sbyte ? System_Internal.SByte :
17
- T extends short ? System_Internal.Int16 :
18
- T extends int ? System_Internal.Int32 :
19
- T extends long ? System_Internal.Int64 :
20
- T extends int128 ? System_Internal.Int128 :
21
- T extends nint ? System_Internal.IntPtr :
22
- T extends byte ? System_Internal.Byte :
23
- T extends ushort ? System_Internal.UInt16 :
24
- T extends uint ? System_Internal.UInt32 :
25
- T extends ulong ? System_Internal.UInt64 :
26
- T extends uint128 ? System_Internal.UInt128 :
27
- T extends nuint ? System_Internal.UIntPtr :
28
- T extends half ? System_Internal.Half :
29
- T extends float ? System_Internal.Single :
30
- T extends double ? System_Internal.Double :
31
- T extends decimal ? System_Internal.Decimal :
32
- T extends char ? System_Internal.Char :
33
- T extends boolean ? System_Internal.Boolean :
34
- T extends string ? System_Internal.String :
35
- T; // Identity fallback for non-primitive types
36
-
37
12
  export interface LightLambda$instance {
38
- run(arguments: unknown[]): unknown;
39
- runVoid(arguments: unknown[]): unknown;
13
+ run(...arguments: unknown[]): unknown;
14
+ runVoid(...arguments: unknown[]): unknown;
40
15
  }
41
16
 
42
17
 
@@ -14,7 +14,6 @@ import type { Boolean as ClrBoolean, Delegate, Enum, Func_2, Guid, IComparable,
14
14
 
15
15
  // Public API exports (curated - no internal $instance/$views leakage)
16
16
  export { BinaryExpression as BinaryExpression } from './System.Linq.Expressions/internal/index.js';
17
- export { Expression as Expression_0 } from './System.Linq.Expressions/internal/index.js';
18
17
  export { BlockExpression as BlockExpression } from './System.Linq.Expressions/internal/index.js';
19
18
  export { CatchBlock as CatchBlock } from './System.Linq.Expressions/internal/index.js';
20
19
  export { ConditionalExpression as ConditionalExpression } from './System.Linq.Expressions/internal/index.js';
@@ -33,7 +32,6 @@ export { InvocationExpression as InvocationExpression } from './System.Linq.Expr
33
32
  export { LabelExpression as LabelExpression } from './System.Linq.Expressions/internal/index.js';
34
33
  export { LabelTarget as LabelTarget } from './System.Linq.Expressions/internal/index.js';
35
34
  export { LambdaExpression as LambdaExpression } from './System.Linq.Expressions/internal/index.js';
36
- export { Expression_1 as Expression } from './System.Linq.Expressions/internal/index.js';
37
35
  export { ListInitExpression as ListInitExpression } from './System.Linq.Expressions/internal/index.js';
38
36
  export { LoopExpression as LoopExpression } from './System.Linq.Expressions/internal/index.js';
39
37
  export { MemberAssignment as MemberAssignment } from './System.Linq.Expressions/internal/index.js';
@@ -56,3 +54,14 @@ export { TypeBinaryExpression as TypeBinaryExpression } from './System.Linq.Expr
56
54
  export { UnaryExpression as UnaryExpression } from './System.Linq.Expressions/internal/index.js';
57
55
  export { DynamicExpressionVisitor as DynamicExpressionVisitor } from './System.Linq.Expressions/internal/index.js';
58
56
  export { DynamicExpression as DynamicExpression } from './System.Linq.Expressions/internal/index.js';
57
+
58
+ // Multi-arity family sentinel (detects unspecified type parameters)
59
+ declare const __unspecified: unique symbol;
60
+ export type __ = typeof __unspecified;
61
+
62
+ export type Expression<
63
+ T1 = __,
64
+ > =
65
+ [T1] extends [__] ? Internal.Expression :
66
+ Internal.Expression_1<T1>;
67
+
package/System.Linq.d.ts CHANGED
@@ -25,19 +25,44 @@ export { Lookup_2 as Lookup } from './System.Linq/internal/index.js';
25
25
  export type IOrderedEnumerable<TElement> = Internal.IOrderedEnumerable_1<TElement>;
26
26
  export { AsyncEnumerable$instance as AsyncEnumerable } from './System.Linq/internal/index.js';
27
27
  export type IOrderedAsyncEnumerable<TElement> = Internal.IOrderedAsyncEnumerable_1<TElement>;
28
- export type IQueryable_0 = Internal.IQueryable;
29
- export type IQueryable<T> = Internal.IQueryable_1<T>;
30
28
  export type IQueryProvider = Internal.IQueryProvider;
31
- export type IOrderedQueryable_0 = Internal.IOrderedQueryable;
32
- export type IOrderedQueryable<T> = Internal.IOrderedQueryable_1<T>;
33
29
  export { OrderedParallelQuery_1 as OrderedParallelQuery } from './System.Linq/internal/index.js';
34
- export { ParallelQuery as ParallelQuery_0 } from './System.Linq/internal/index.js';
35
- export { ParallelQuery_1 as ParallelQuery } from './System.Linq/internal/index.js';
36
30
  export { ParallelEnumerable$instance as ParallelEnumerable } from './System.Linq/internal/index.js';
37
31
  export { ParallelExecutionMode as ParallelExecutionMode } from './System.Linq/internal/index.js';
38
32
  export { ParallelMergeOptions as ParallelMergeOptions } from './System.Linq/internal/index.js';
39
- export { EnumerableExecutor as EnumerableExecutor_0 } from './System.Linq/internal/index.js';
40
- export { EnumerableExecutor_1 as EnumerableExecutor } from './System.Linq/internal/index.js';
41
- export { EnumerableQuery as EnumerableQuery_0 } from './System.Linq/internal/index.js';
42
- export { EnumerableQuery_1 as EnumerableQuery } from './System.Linq/internal/index.js';
43
33
  export { Queryable$instance as Queryable } from './System.Linq/internal/index.js';
34
+
35
+ // Multi-arity family sentinel (detects unspecified type parameters)
36
+ declare const __unspecified: unique symbol;
37
+ export type __ = typeof __unspecified;
38
+
39
+ export type EnumerableExecutor<
40
+ T1 = __,
41
+ > =
42
+ [T1] extends [__] ? Internal.EnumerableExecutor :
43
+ Internal.EnumerableExecutor_1<T1>;
44
+
45
+ export type EnumerableQuery<
46
+ T1 = __,
47
+ > =
48
+ [T1] extends [__] ? Internal.EnumerableQuery :
49
+ Internal.EnumerableQuery_1<T1>;
50
+
51
+ export type IOrderedQueryable<
52
+ T1 = __,
53
+ > =
54
+ [T1] extends [__] ? Internal.IOrderedQueryable :
55
+ Internal.IOrderedQueryable_1<T1>;
56
+
57
+ export type IQueryable<
58
+ T1 = __,
59
+ > =
60
+ [T1] extends [__] ? Internal.IQueryable :
61
+ Internal.IQueryable_1<T1>;
62
+
63
+ export type ParallelQuery<
64
+ T1 = __,
65
+ > =
66
+ [T1] extends [__] ? Internal.ParallelQuery :
67
+ Internal.ParallelQuery_1<T1>;
68
+