@tsonic/dotnet 10.0.1 → 10.0.2

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 (283) hide show
  1. package/Internal/bindings.json +5 -0
  2. package/Microsoft.CSharp.RuntimeBinder/bindings.json +71 -8
  3. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +2 -0
  4. package/Microsoft.VisualBasic/bindings.json +635 -68
  5. package/Microsoft.VisualBasic.CompilerServices/bindings.json +210 -0
  6. package/Microsoft.VisualBasic.FileIO/bindings.json +195 -24
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +8 -3
  8. package/Microsoft.Win32/bindings.json +107 -24
  9. package/Microsoft.Win32.SafeHandles/bindings.json +769 -15
  10. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +123 -18
  11. package/System/bindings.json +11622 -2308
  12. package/System/internal/index.d.ts +165 -15
  13. package/System.Buffers/bindings.json +371 -62
  14. package/System.Buffers/internal/index.d.ts +25 -13
  15. package/System.Buffers.Binary/bindings.json +126 -0
  16. package/System.Buffers.Text/bindings.json +67 -0
  17. package/System.Buffers.Text/internal/index.d.ts +1 -1
  18. package/System.Buffers.Text.d.ts +1 -1
  19. package/System.Buffers.d.ts +1 -1
  20. package/System.CodeDom.Compiler/bindings.json +142 -4
  21. package/System.CodeDom.Compiler/internal/index.d.ts +10 -3
  22. package/System.CodeDom.Compiler.d.ts +1 -1
  23. package/System.Collections/bindings.json +1094 -69
  24. package/System.Collections/internal/index.d.ts +41 -3
  25. package/System.Collections.Concurrent/bindings.json +353 -90
  26. package/System.Collections.Concurrent/internal/index.d.ts +9 -2
  27. package/System.Collections.Frozen/bindings.json +158 -48
  28. package/System.Collections.Generic/bindings.json +1910 -634
  29. package/System.Collections.Generic/internal/index.d.ts +24 -9
  30. package/System.Collections.Immutable/bindings.json +1321 -292
  31. package/System.Collections.ObjectModel/bindings.json +1123 -199
  32. package/System.Collections.ObjectModel/internal/index.d.ts +46 -7
  33. package/System.Collections.ObjectModel.d.ts +3 -3
  34. package/System.Collections.Specialized/bindings.json +763 -58
  35. package/System.Collections.Specialized/internal/index.d.ts +15 -1
  36. package/System.ComponentModel/bindings.json +3590 -166
  37. package/System.ComponentModel/internal/index.d.ts +173 -27
  38. package/System.ComponentModel.DataAnnotations/bindings.json +743 -13
  39. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +152 -43
  40. package/System.ComponentModel.DataAnnotations.Schema/bindings.json +24 -4
  41. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
  42. package/System.ComponentModel.DataAnnotations.Schema.d.ts +1 -1
  43. package/System.ComponentModel.DataAnnotations.d.ts +2 -2
  44. package/System.ComponentModel.Design/bindings.json +714 -40
  45. package/System.ComponentModel.Design/internal/index.d.ts +43 -12
  46. package/System.ComponentModel.Design.Serialization/bindings.json +261 -12
  47. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -4
  48. package/System.ComponentModel.Design.d.ts +1 -1
  49. package/System.ComponentModel.d.ts +2 -2
  50. package/System.Configuration.Assemblies/bindings.json +19 -8
  51. package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
  52. package/System.Configuration.Assemblies.d.ts +1 -1
  53. package/System.Data/bindings.json +3325 -302
  54. package/System.Data/internal/index.d.ts +145 -24
  55. package/System.Data.Common/bindings.json +3047 -241
  56. package/System.Data.Common/internal/index.d.ts +228 -55
  57. package/System.Data.Common.d.ts +3 -3
  58. package/System.Data.SqlTypes/bindings.json +754 -71
  59. package/System.Data.SqlTypes/internal/index.d.ts +1 -0
  60. package/System.Data.d.ts +3 -3
  61. package/System.Diagnostics/bindings.json +1737 -130
  62. package/System.Diagnostics/internal/index.d.ts +121 -41
  63. package/System.Diagnostics.CodeAnalysis/bindings.json +125 -4
  64. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +1 -1
  65. package/System.Diagnostics.CodeAnalysis.d.ts +1 -1
  66. package/System.Diagnostics.Contracts/bindings.json +68 -4
  67. package/System.Diagnostics.Metrics/bindings.json +565 -55
  68. package/System.Diagnostics.Metrics/internal/index.d.ts +49 -12
  69. package/System.Diagnostics.SymbolStore/bindings.json +106 -4
  70. package/System.Diagnostics.Tracing/bindings.json +979 -160
  71. package/System.Diagnostics.Tracing/internal/index.d.ts +37 -17
  72. package/System.Diagnostics.d.ts +2 -2
  73. package/System.Drawing/bindings.json +611 -4
  74. package/System.Drawing/internal/index.d.ts +1 -1
  75. package/System.Drawing.d.ts +1 -1
  76. package/System.Dynamic/bindings.json +346 -24
  77. package/System.Dynamic/internal/index.d.ts +13 -0
  78. package/System.Formats.Asn1/bindings.json +229 -12
  79. package/System.Formats.Asn1/internal/index.d.ts +1 -0
  80. package/System.Formats.Tar/bindings.json +120 -16
  81. package/System.Globalization/bindings.json +1088 -53
  82. package/System.Globalization/internal/index.d.ts +44 -7
  83. package/System.IO/bindings.json +2163 -110
  84. package/System.IO/internal/index.d.ts +119 -27
  85. package/System.IO.Compression/bindings.json +466 -38
  86. package/System.IO.Compression/internal/index.d.ts +36 -9
  87. package/System.IO.Compression.d.ts +2 -2
  88. package/System.IO.Enumeration/bindings.json +221 -22
  89. package/System.IO.Enumeration/internal/index.d.ts +15 -4
  90. package/System.IO.IsolatedStorage/bindings.json +250 -11
  91. package/System.IO.IsolatedStorage/internal/index.d.ts +18 -5
  92. package/System.IO.IsolatedStorage.d.ts +2 -2
  93. package/System.IO.MemoryMappedFiles/bindings.json +138 -16
  94. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -8
  95. package/System.IO.MemoryMappedFiles.d.ts +4 -3
  96. package/System.IO.Pipelines/bindings.json +147 -3
  97. package/System.IO.Pipelines/internal/index.d.ts +15 -2
  98. package/System.IO.Pipes/bindings.json +889 -54
  99. package/System.IO.Pipes/internal/index.d.ts +64 -23
  100. package/System.IO.Pipes.d.ts +4 -3
  101. package/System.IO.d.ts +2 -2
  102. package/System.Linq/bindings.json +944 -79
  103. package/System.Linq.Expressions/bindings.json +1998 -57
  104. package/System.Linq.Expressions/internal/index.d.ts +207 -29
  105. package/System.Linq.Expressions.Interpreter/bindings.json +2 -0
  106. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +1 -1
  107. package/System.Linq.Expressions.Interpreter.d.ts +1 -1
  108. package/System.Linq.Expressions.d.ts +1 -1
  109. package/System.Net/bindings.json +2083 -248
  110. package/System.Net/internal/index.d.ts +102 -40
  111. package/System.Net.Cache/bindings.json +53 -12
  112. package/System.Net.Cache/internal/index.d.ts +1 -1
  113. package/System.Net.Cache.d.ts +1 -1
  114. package/System.Net.Http/bindings.json +2104 -105
  115. package/System.Net.Http/internal/index.d.ts +174 -31
  116. package/System.Net.Http.Headers/bindings.json +456 -24
  117. package/System.Net.Http.Headers/internal/index.d.ts +8 -2
  118. package/System.Net.Http.Json/bindings.json +171 -0
  119. package/System.Net.Http.Json/internal/index.d.ts +14 -2
  120. package/System.Net.Http.Metrics/bindings.json +5 -0
  121. package/System.Net.Mail/bindings.json +1127 -101
  122. package/System.Net.Mail/internal/index.d.ts +87 -16
  123. package/System.Net.Mime/bindings.json +82 -4
  124. package/System.Net.Mime/internal/index.d.ts +1 -1
  125. package/System.Net.Mime.d.ts +1 -1
  126. package/System.Net.NetworkInformation/bindings.json +857 -61
  127. package/System.Net.NetworkInformation/internal/index.d.ts +27 -5
  128. package/System.Net.NetworkInformation.d.ts +2 -2
  129. package/System.Net.Quic/bindings.json +157 -16
  130. package/System.Net.Quic/internal/index.d.ts +8 -3
  131. package/System.Net.Quic.d.ts +2 -2
  132. package/System.Net.Security/bindings.json +798 -37
  133. package/System.Net.Security/internal/index.d.ts +22 -5
  134. package/System.Net.Security.d.ts +2 -2
  135. package/System.Net.ServerSentEvents/bindings.json +31 -13
  136. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  137. package/System.Net.Sockets/bindings.json +1157 -78
  138. package/System.Net.Sockets/internal/index.d.ts +53 -21
  139. package/System.Net.Sockets.d.ts +2 -2
  140. package/System.Net.WebSockets/bindings.json +311 -26
  141. package/System.Net.WebSockets/internal/index.d.ts +12 -3
  142. package/System.Net.WebSockets.d.ts +2 -2
  143. package/System.Net.d.ts +2 -2
  144. package/System.Numerics/bindings.json +3546 -957
  145. package/System.Reflection/bindings.json +1913 -132
  146. package/System.Reflection/internal/index.d.ts +49 -5
  147. package/System.Reflection.Emit/bindings.json +2509 -57
  148. package/System.Reflection.Emit/internal/index.d.ts +158 -15
  149. package/System.Reflection.Emit.d.ts +1 -1
  150. package/System.Reflection.Metadata/bindings.json +1936 -231
  151. package/System.Reflection.Metadata/internal/index.d.ts +8 -1
  152. package/System.Reflection.Metadata.Ecma335/bindings.json +480 -24
  153. package/System.Reflection.PortableExecutable/bindings.json +583 -39
  154. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -3
  155. package/System.Resources/bindings.json +323 -17
  156. package/System.Resources/internal/index.d.ts +21 -5
  157. package/System.Resources.d.ts +1 -1
  158. package/System.Runtime/bindings.json +65 -8
  159. package/System.Runtime/internal/index.d.ts +6 -1
  160. package/System.Runtime.CompilerServices/bindings.json +718 -139
  161. package/System.Runtime.CompilerServices/internal/index.d.ts +3 -0
  162. package/System.Runtime.ConstrainedExecution/bindings.json +56 -10
  163. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +8 -2
  164. package/System.Runtime.ConstrainedExecution.d.ts +1 -1
  165. package/System.Runtime.ExceptionServices/bindings.json +11 -0
  166. package/System.Runtime.InteropServices/bindings.json +1858 -265
  167. package/System.Runtime.InteropServices/internal/index.d.ts +51 -11
  168. package/System.Runtime.InteropServices.ComTypes/bindings.json +478 -72
  169. package/System.Runtime.InteropServices.Java/bindings.json +12 -0
  170. package/System.Runtime.InteropServices.JavaScript/bindings.json +205 -30
  171. package/System.Runtime.InteropServices.Marshalling/bindings.json +484 -89
  172. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +22 -4
  173. package/System.Runtime.InteropServices.Marshalling.d.ts +2 -1
  174. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +19 -4
  175. package/System.Runtime.InteropServices.Swift/bindings.json +11 -3
  176. package/System.Runtime.InteropServices.d.ts +1 -1
  177. package/System.Runtime.Intrinsics/bindings.json +1296 -40
  178. package/System.Runtime.Intrinsics.Arm/bindings.json +4959 -8
  179. package/System.Runtime.Intrinsics.Wasm/bindings.json +484 -1
  180. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -0
  181. package/System.Runtime.Intrinsics.X86/bindings.json +3765 -8
  182. package/System.Runtime.Loader/bindings.json +130 -0
  183. package/System.Runtime.Loader/internal/index.d.ts +10 -1
  184. package/System.Runtime.Remoting/bindings.json +2 -0
  185. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  186. package/System.Runtime.Remoting.d.ts +1 -1
  187. package/System.Runtime.Serialization/bindings.json +920 -17
  188. package/System.Runtime.Serialization/internal/index.d.ts +36 -5
  189. package/System.Runtime.Serialization.DataContracts/bindings.json +85 -38
  190. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +27 -19
  191. package/System.Runtime.Serialization.Formatters/bindings.json +24 -12
  192. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
  193. package/System.Runtime.Serialization.Formatters.Binary/bindings.json +15 -0
  194. package/System.Runtime.Serialization.Formatters.d.ts +1 -1
  195. package/System.Runtime.Serialization.Json/bindings.json +56 -0
  196. package/System.Runtime.Serialization.d.ts +2 -2
  197. package/System.Runtime.Versioning/bindings.json +62 -8
  198. package/System.Runtime.Versioning/internal/index.d.ts +1 -1
  199. package/System.Runtime.Versioning.d.ts +1 -1
  200. package/System.Security/bindings.json +265 -12
  201. package/System.Security/internal/index.d.ts +12 -1
  202. package/System.Security.AccessControl/bindings.json +4082 -797
  203. package/System.Security.AccessControl/internal/index.d.ts +131 -72
  204. package/System.Security.AccessControl.d.ts +2 -1
  205. package/System.Security.Authentication/bindings.json +80 -16
  206. package/System.Security.Authentication/internal/index.d.ts +2 -0
  207. package/System.Security.Authentication.ExtendedProtection/bindings.json +108 -13
  208. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -3
  209. package/System.Security.Authentication.ExtendedProtection.d.ts +2 -2
  210. package/System.Security.Claims/bindings.json +436 -0
  211. package/System.Security.Claims/internal/index.d.ts +34 -4
  212. package/System.Security.Claims.d.ts +2 -1
  213. package/System.Security.Cryptography/bindings.json +11592 -237
  214. package/System.Security.Cryptography/internal/index.d.ts +822 -102
  215. package/System.Security.Cryptography.X509Certificates/bindings.json +1000 -114
  216. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +36 -9
  217. package/System.Security.Cryptography.X509Certificates.d.ts +1 -1
  218. package/System.Security.Cryptography.d.ts +2 -2
  219. package/System.Security.Permissions/bindings.json +88 -14
  220. package/System.Security.Permissions/internal/index.d.ts +3 -1
  221. package/System.Security.Permissions.d.ts +1 -1
  222. package/System.Security.Policy/bindings.json +42 -1
  223. package/System.Security.Policy/internal/index.d.ts +1 -0
  224. package/System.Security.Principal/bindings.json +355 -28
  225. package/System.Security.Principal/internal/index.d.ts +11 -3
  226. package/System.Security.Principal.d.ts +1 -1
  227. package/System.Text/bindings.json +800 -31
  228. package/System.Text/internal/index.d.ts +10 -1
  229. package/System.Text.Encodings.Web/bindings.json +87 -4
  230. package/System.Text.Encodings.Web/internal/index.d.ts +4 -0
  231. package/System.Text.Json/bindings.json +574 -49
  232. package/System.Text.Json/internal/index.d.ts +12 -10
  233. package/System.Text.Json.Nodes/bindings.json +152 -19
  234. package/System.Text.Json.Nodes/internal/index.d.ts +1 -1
  235. package/System.Text.Json.Schema/bindings.json +10 -0
  236. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  237. package/System.Text.Json.Schema.d.ts +1 -1
  238. package/System.Text.Json.Serialization/bindings.json +295 -54
  239. package/System.Text.Json.Serialization/internal/index.d.ts +13 -1
  240. package/System.Text.Json.Serialization.Metadata/bindings.json +198 -24
  241. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +7 -4
  242. package/System.Text.RegularExpressions/bindings.json +1319 -103
  243. package/System.Text.RegularExpressions/internal/index.d.ts +25 -5
  244. package/System.Text.RegularExpressions.d.ts +1 -1
  245. package/System.Text.Unicode/bindings.json +185 -0
  246. package/System.Text.Unicode/internal/index.d.ts +1 -1
  247. package/System.Text.Unicode.d.ts +1 -1
  248. package/System.Threading/bindings.json +1270 -64
  249. package/System.Threading/internal/index.d.ts +104 -36
  250. package/System.Threading.Channels/bindings.json +143 -29
  251. package/System.Threading.Channels/internal/index.d.ts +8 -2
  252. package/System.Threading.Tasks/bindings.json +719 -29
  253. package/System.Threading.Tasks/internal/index.d.ts +25 -4
  254. package/System.Threading.Tasks.Dataflow/bindings.json +442 -143
  255. package/System.Threading.Tasks.Sources/bindings.json +34 -11
  256. package/System.Timers/bindings.json +50 -4
  257. package/System.Timers/internal/index.d.ts +9 -4
  258. package/System.Timers.d.ts +2 -2
  259. package/System.Transactions/bindings.json +269 -32
  260. package/System.Transactions/internal/index.d.ts +5 -0
  261. package/System.Web/bindings.json +32 -0
  262. package/System.Windows.Input/bindings.json +3 -0
  263. package/System.Windows.Markup/bindings.json +4 -0
  264. package/System.Windows.Markup/internal/index.d.ts +1 -1
  265. package/System.Windows.Markup.d.ts +1 -1
  266. package/System.Xml/bindings.json +2447 -210
  267. package/System.Xml/internal/index.d.ts +100 -30
  268. package/System.Xml.Linq/bindings.json +361 -24
  269. package/System.Xml.Resolvers/bindings.json +26 -4
  270. package/System.Xml.Schema/bindings.json +830 -56
  271. package/System.Xml.Schema/internal/index.d.ts +20 -1
  272. package/System.Xml.Serialization/bindings.json +4421 -149
  273. package/System.Xml.Serialization/internal/index.d.ts +74 -8
  274. package/System.Xml.Serialization.d.ts +4 -4
  275. package/System.Xml.XPath/bindings.json +287 -35
  276. package/System.Xml.XPath/internal/index.d.ts +4 -0
  277. package/System.Xml.Xsl/bindings.json +174 -8
  278. package/System.Xml.Xsl/internal/index.d.ts +8 -2
  279. package/System.Xml.Xsl.Runtime/bindings.json +613 -58
  280. package/System.Xml.Xsl.Runtime/internal/index.d.ts +19 -3
  281. package/System.Xml.Xsl.d.ts +1 -1
  282. package/System.d.ts +1 -1
  283. package/package.json +1 -1
@@ -14,7 +14,7 @@ import type { ReadOnlyCollection_1 } from "../../System.Collections.ObjectModel/
14
14
  import type { ConstructorInfo, FieldInfo, MemberInfo, MethodInfo, PropertyInfo } from "../../System.Reflection/internal/index.js";
15
15
  import type { CallSiteBinder, DebugInfoGenerator } from "../../System.Runtime.CompilerServices/internal/index.js";
16
16
  import * as System_Internal from "../../System/internal/index.js";
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";
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, Void } from "../../System/internal/index.js";
18
18
 
19
19
  export enum ExpressionType {
20
20
  Add = 0,
@@ -141,7 +141,12 @@ export interface IDynamicExpression$instance extends IArgumentProvider$instance
141
141
 
142
142
  export type IDynamicExpression = IDynamicExpression$instance;
143
143
 
144
- export interface BinaryExpression$instance extends Expression {
144
+ export abstract class BinaryExpression$protected {
145
+ protected Accept(visitor: ExpressionVisitor): Expression;
146
+ }
147
+
148
+
149
+ export interface BinaryExpression$instance extends BinaryExpression$protected, Expression {
145
150
  readonly CanReduce: boolean;
146
151
  readonly Conversion: LambdaExpression | undefined;
147
152
  readonly IsLifted: boolean;
@@ -161,7 +166,12 @@ export const BinaryExpression: {
161
166
 
162
167
  export type BinaryExpression = BinaryExpression$instance;
163
168
 
164
- export interface BlockExpression$instance extends Expression {
169
+ export abstract class BlockExpression$protected {
170
+ protected Accept(visitor: ExpressionVisitor): Expression;
171
+ }
172
+
173
+
174
+ export interface BlockExpression$instance extends BlockExpression$protected, Expression {
165
175
  readonly Expressions: ReadOnlyCollection_1<Expression>;
166
176
  readonly NodeType: ExpressionType;
167
177
  readonly Result: Expression;
@@ -195,7 +205,12 @@ export const CatchBlock: {
195
205
 
196
206
  export type CatchBlock = CatchBlock$instance;
197
207
 
198
- export interface ConditionalExpression$instance extends Expression {
208
+ export abstract class ConditionalExpression$protected {
209
+ protected Accept(visitor: ExpressionVisitor): Expression;
210
+ }
211
+
212
+
213
+ export interface ConditionalExpression$instance extends ConditionalExpression$protected, Expression {
199
214
  readonly IfFalse: Expression;
200
215
  readonly IfTrue: Expression;
201
216
  readonly NodeType: ExpressionType;
@@ -212,7 +227,12 @@ export const ConditionalExpression: {
212
227
 
213
228
  export type ConditionalExpression = ConditionalExpression$instance;
214
229
 
215
- export interface ConstantExpression$instance extends Expression {
230
+ export abstract class ConstantExpression$protected {
231
+ protected Accept(visitor: ExpressionVisitor): Expression;
232
+ }
233
+
234
+
235
+ export interface ConstantExpression$instance extends ConstantExpression$protected, Expression {
216
236
  readonly NodeType: ExpressionType;
217
237
  readonly Type: Type;
218
238
  readonly Value: unknown;
@@ -226,7 +246,12 @@ export const ConstantExpression: {
226
246
 
227
247
  export type ConstantExpression = ConstantExpression$instance;
228
248
 
229
- export interface DebugInfoExpression$instance extends Expression {
249
+ export abstract class DebugInfoExpression$protected {
250
+ protected Accept(visitor: ExpressionVisitor): Expression;
251
+ }
252
+
253
+
254
+ export interface DebugInfoExpression$instance extends DebugInfoExpression$protected, Expression {
230
255
  readonly Document: SymbolDocumentInfo;
231
256
  readonly EndColumn: int;
232
257
  readonly EndLine: int;
@@ -245,7 +270,12 @@ export const DebugInfoExpression: {
245
270
 
246
271
  export type DebugInfoExpression = DebugInfoExpression$instance;
247
272
 
248
- export interface DefaultExpression$instance extends Expression {
273
+ export abstract class DefaultExpression$protected {
274
+ protected Accept(visitor: ExpressionVisitor): Expression;
275
+ }
276
+
277
+
278
+ export interface DefaultExpression$instance extends DefaultExpression$protected, Expression {
249
279
  readonly NodeType: ExpressionType;
250
280
  readonly Type: Type;
251
281
  }
@@ -258,7 +288,12 @@ export const DefaultExpression: {
258
288
 
259
289
  export type DefaultExpression = DefaultExpression$instance;
260
290
 
261
- export interface DynamicExpression$instance extends Expression {
291
+ export abstract class DynamicExpression$protected {
292
+ protected Accept(visitor: ExpressionVisitor): Expression;
293
+ }
294
+
295
+
296
+ export interface DynamicExpression$instance extends DynamicExpression$protected, Expression {
262
297
  readonly Arguments: ReadOnlyCollection_1<Expression>;
263
298
  readonly Binder: CallSiteBinder;
264
299
  readonly CanReduce: boolean;
@@ -297,7 +332,12 @@ export interface DynamicExpression$instance extends IDynamicExpression$instance
297
332
  export type DynamicExpression = DynamicExpression$instance & __DynamicExpression$views;
298
333
 
299
334
 
300
- export interface DynamicExpressionVisitor$instance extends ExpressionVisitor {
335
+ export abstract class DynamicExpressionVisitor$protected {
336
+ protected VisitDynamic(node: DynamicExpression): Expression;
337
+ }
338
+
339
+
340
+ export interface DynamicExpressionVisitor$instance extends DynamicExpressionVisitor$protected, ExpressionVisitor {
301
341
  }
302
342
 
303
343
 
@@ -332,7 +372,13 @@ export interface ElementInit$instance extends IArgumentProvider$instance {}
332
372
  export type ElementInit = ElementInit$instance & __ElementInit$views;
333
373
 
334
374
 
335
- export interface Expression$instance {
375
+ export abstract class Expression$protected {
376
+ protected Accept(visitor: ExpressionVisitor): Expression;
377
+ protected VisitChildren(visitor: ExpressionVisitor): Expression;
378
+ }
379
+
380
+
381
+ export interface Expression$instance extends Expression$protected {
336
382
  readonly CanReduce: boolean;
337
383
  readonly NodeType: ExpressionType;
338
384
  readonly Type: Type;
@@ -344,6 +390,8 @@ export interface Expression$instance {
344
390
 
345
391
 
346
392
  export const Expression: {
393
+ new(nodeType: ExpressionType, type: Type): Expression;
394
+ new(): Expression;
347
395
  Add(left: Expression, right: Expression, method: MethodInfo): BinaryExpression;
348
396
  Add(left: Expression, right: Expression): BinaryExpression;
349
397
  AddAssign(left: Expression, right: Expression, method: MethodInfo, conversion: LambdaExpression): BinaryExpression;
@@ -658,7 +706,12 @@ export const Expression: {
658
706
 
659
707
  export type Expression = Expression$instance;
660
708
 
661
- export interface Expression_1$instance<TDelegate> extends LambdaExpression {
709
+ export abstract class Expression_1$protected<TDelegate> {
710
+ protected Accept(visitor: ExpressionVisitor): Expression;
711
+ }
712
+
713
+
714
+ export interface Expression_1$instance<TDelegate> extends Expression_1$protected<TDelegate>, LambdaExpression {
662
715
  Compile(): TDelegate;
663
716
  Compile(preferInterpretation: boolean): TDelegate;
664
717
  Compile(debugInfoGenerator: DebugInfoGenerator): TDelegate;
@@ -676,7 +729,45 @@ export const Expression_1: {
676
729
 
677
730
  export type Expression_1<TDelegate> = TDelegate | Expression_1$instance<TDelegate>;
678
731
 
679
- export interface ExpressionVisitor$instance {
732
+ export abstract class ExpressionVisitor$protected {
733
+ protected VisitBinary(node: BinaryExpression): Expression;
734
+ protected VisitBlock(node: BlockExpression): Expression;
735
+ protected VisitCatchBlock(node: CatchBlock): CatchBlock;
736
+ protected VisitConditional(node: ConditionalExpression): Expression;
737
+ protected VisitConstant(node: ConstantExpression): Expression;
738
+ protected VisitDebugInfo(node: DebugInfoExpression): Expression;
739
+ protected VisitDefault(node: DefaultExpression): Expression;
740
+ protected VisitDynamic(node: DynamicExpression): Expression;
741
+ protected VisitElementInit(node: ElementInit): ElementInit;
742
+ protected VisitExtension(node: Expression): Expression;
743
+ protected VisitGoto(node: GotoExpression): Expression;
744
+ protected VisitIndex(node: IndexExpression): Expression;
745
+ protected VisitInvocation(node: InvocationExpression): Expression;
746
+ protected VisitLabel(node: LabelExpression): Expression;
747
+ protected VisitLabelTarget(node: LabelTarget): LabelTarget | undefined;
748
+ protected VisitLambda<T>(node: Expression_1<T>): Expression;
749
+ protected VisitListInit(node: ListInitExpression): Expression;
750
+ protected VisitLoop(node: LoopExpression): Expression;
751
+ protected VisitMember(node: MemberExpression): Expression;
752
+ protected VisitMemberAssignment(node: MemberAssignment): MemberAssignment;
753
+ protected VisitMemberBinding(node: MemberBinding): MemberBinding;
754
+ protected VisitMemberInit(node: MemberInitExpression): Expression;
755
+ protected VisitMemberListBinding(node: MemberListBinding): MemberListBinding;
756
+ protected VisitMemberMemberBinding(node: MemberMemberBinding): MemberMemberBinding;
757
+ protected VisitMethodCall(node: MethodCallExpression): Expression;
758
+ protected VisitNew(node: NewExpression): Expression;
759
+ protected VisitNewArray(node: NewArrayExpression): Expression;
760
+ protected VisitParameter(node: ParameterExpression): Expression;
761
+ protected VisitRuntimeVariables(node: RuntimeVariablesExpression): Expression;
762
+ protected VisitSwitch(node: SwitchExpression): Expression;
763
+ protected VisitSwitchCase(node: SwitchCase): SwitchCase;
764
+ protected VisitTry(node: TryExpression): Expression;
765
+ protected VisitTypeBinary(node: TypeBinaryExpression): Expression;
766
+ protected VisitUnary(node: UnaryExpression): Expression;
767
+ }
768
+
769
+
770
+ export interface ExpressionVisitor$instance extends ExpressionVisitor$protected {
680
771
  Visit(node: Expression): Expression | undefined;
681
772
  Visit(nodes: ReadOnlyCollection_1<Expression>): ReadOnlyCollection_1<Expression>;
682
773
  VisitAndConvert<T extends Expression>(node: T, callerName: string): T | undefined;
@@ -685,13 +776,19 @@ export interface ExpressionVisitor$instance {
685
776
 
686
777
 
687
778
  export const ExpressionVisitor: {
779
+ new(): ExpressionVisitor;
688
780
  Visit<T>(nodes: ReadOnlyCollection_1<T>, elementVisitor: Func_2<T, T>): ReadOnlyCollection_1<T>;
689
781
  };
690
782
 
691
783
 
692
784
  export type ExpressionVisitor = ExpressionVisitor$instance;
693
785
 
694
- export interface GotoExpression$instance extends Expression {
786
+ export abstract class GotoExpression$protected {
787
+ protected Accept(visitor: ExpressionVisitor): Expression;
788
+ }
789
+
790
+
791
+ export interface GotoExpression$instance extends GotoExpression$protected, Expression {
695
792
  readonly Kind: GotoExpressionKind;
696
793
  readonly NodeType: ExpressionType;
697
794
  readonly Target: LabelTarget;
@@ -708,7 +805,12 @@ export const GotoExpression: {
708
805
 
709
806
  export type GotoExpression = GotoExpression$instance;
710
807
 
711
- export interface IndexExpression$instance extends Expression {
808
+ export abstract class IndexExpression$protected {
809
+ protected Accept(visitor: ExpressionVisitor): Expression;
810
+ }
811
+
812
+
813
+ export interface IndexExpression$instance extends IndexExpression$protected, Expression {
712
814
  readonly ArgumentCount: int;
713
815
  readonly Arguments: ReadOnlyCollection_1<Expression>;
714
816
  readonly Indexer: PropertyInfo | undefined;
@@ -734,7 +836,12 @@ export interface IndexExpression$instance extends IArgumentProvider$instance {}
734
836
  export type IndexExpression = IndexExpression$instance & __IndexExpression$views;
735
837
 
736
838
 
737
- export interface InvocationExpression$instance extends Expression {
839
+ export abstract class InvocationExpression$protected {
840
+ protected Accept(visitor: ExpressionVisitor): Expression;
841
+ }
842
+
843
+
844
+ export interface InvocationExpression$instance extends InvocationExpression$protected, Expression {
738
845
  readonly ArgumentCount: int;
739
846
  readonly Arguments: ReadOnlyCollection_1<Expression>;
740
847
  readonly Expression: Expression;
@@ -759,7 +866,12 @@ export interface InvocationExpression$instance extends IArgumentProvider$instanc
759
866
  export type InvocationExpression = InvocationExpression$instance & __InvocationExpression$views;
760
867
 
761
868
 
762
- export interface LabelExpression$instance extends Expression {
869
+ export abstract class LabelExpression$protected {
870
+ protected Accept(visitor: ExpressionVisitor): Expression;
871
+ }
872
+
873
+
874
+ export interface LabelExpression$instance extends LabelExpression$protected, Expression {
763
875
  readonly DefaultValue: Expression;
764
876
  readonly NodeType: ExpressionType;
765
877
  readonly Target: LabelTarget;
@@ -811,7 +923,12 @@ export const LambdaExpression: {
811
923
 
812
924
  export type LambdaExpression = LambdaExpression$instance;
813
925
 
814
- export interface ListInitExpression$instance extends Expression {
926
+ export abstract class ListInitExpression$protected {
927
+ protected Accept(visitor: ExpressionVisitor): Expression;
928
+ }
929
+
930
+
931
+ export interface ListInitExpression$instance extends ListInitExpression$protected, Expression {
815
932
  readonly CanReduce: boolean;
816
933
  readonly Initializers: ReadOnlyCollection_1<ElementInit>;
817
934
  readonly NewExpression: NewExpression;
@@ -829,7 +946,12 @@ export const ListInitExpression: {
829
946
 
830
947
  export type ListInitExpression = ListInitExpression$instance;
831
948
 
832
- export interface LoopExpression$instance extends Expression {
949
+ export abstract class LoopExpression$protected {
950
+ protected Accept(visitor: ExpressionVisitor): Expression;
951
+ }
952
+
953
+
954
+ export interface LoopExpression$instance extends LoopExpression$protected, Expression {
833
955
  readonly Body: Expression;
834
956
  readonly BreakLabel: LabelTarget | undefined;
835
957
  readonly ContinueLabel: LabelTarget | undefined;
@@ -867,12 +989,18 @@ export interface MemberBinding$instance {
867
989
 
868
990
 
869
991
  export const MemberBinding: {
992
+ new(type: MemberBindingType, member: MemberInfo): MemberBinding;
870
993
  };
871
994
 
872
995
 
873
996
  export type MemberBinding = MemberBinding$instance;
874
997
 
875
- export interface MemberExpression$instance extends Expression {
998
+ export abstract class MemberExpression$protected {
999
+ protected Accept(visitor: ExpressionVisitor): Expression;
1000
+ }
1001
+
1002
+
1003
+ export interface MemberExpression$instance extends MemberExpression$protected, Expression {
876
1004
  readonly Expression: Expression;
877
1005
  readonly Member: MemberInfo;
878
1006
  readonly NodeType: ExpressionType;
@@ -887,7 +1015,12 @@ export const MemberExpression: {
887
1015
 
888
1016
  export type MemberExpression = MemberExpression$instance;
889
1017
 
890
- export interface MemberInitExpression$instance extends Expression {
1018
+ export abstract class MemberInitExpression$protected {
1019
+ protected Accept(visitor: ExpressionVisitor): Expression;
1020
+ }
1021
+
1022
+
1023
+ export interface MemberInitExpression$instance extends MemberInitExpression$protected, Expression {
891
1024
  readonly Bindings: ReadOnlyCollection_1<MemberBinding>;
892
1025
  readonly CanReduce: boolean;
893
1026
  readonly NewExpression: NewExpression;
@@ -931,7 +1064,12 @@ export const MemberMemberBinding: {
931
1064
 
932
1065
  export type MemberMemberBinding = MemberMemberBinding$instance;
933
1066
 
934
- export interface MethodCallExpression$instance extends Expression {
1067
+ export abstract class MethodCallExpression$protected {
1068
+ protected Accept(visitor: ExpressionVisitor): Expression;
1069
+ }
1070
+
1071
+
1072
+ export interface MethodCallExpression$instance extends MethodCallExpression$protected, Expression {
935
1073
  readonly ArgumentCount: int;
936
1074
  readonly Arguments: ReadOnlyCollection_1<Expression>;
937
1075
  readonly Method: MethodInfo;
@@ -957,7 +1095,12 @@ export interface MethodCallExpression$instance extends IArgumentProvider$instanc
957
1095
  export type MethodCallExpression = MethodCallExpression$instance & __MethodCallExpression$views;
958
1096
 
959
1097
 
960
- export interface NewArrayExpression$instance extends Expression {
1098
+ export abstract class NewArrayExpression$protected {
1099
+ protected Accept(visitor: ExpressionVisitor): Expression;
1100
+ }
1101
+
1102
+
1103
+ export interface NewArrayExpression$instance extends NewArrayExpression$protected, Expression {
961
1104
  readonly Expressions: ReadOnlyCollection_1<Expression>;
962
1105
  readonly Type: Type;
963
1106
  Update(expressions: IEnumerable_1<Expression>): NewArrayExpression;
@@ -971,7 +1114,12 @@ export const NewArrayExpression: {
971
1114
 
972
1115
  export type NewArrayExpression = NewArrayExpression$instance;
973
1116
 
974
- export interface NewExpression$instance extends Expression {
1117
+ export abstract class NewExpression$protected {
1118
+ protected Accept(visitor: ExpressionVisitor): Expression;
1119
+ }
1120
+
1121
+
1122
+ export interface NewExpression$instance extends NewExpression$protected, Expression {
975
1123
  readonly ArgumentCount: int;
976
1124
  readonly Arguments: ReadOnlyCollection_1<Expression>;
977
1125
  readonly Constructor: ConstructorInfo;
@@ -997,7 +1145,12 @@ export interface NewExpression$instance extends IArgumentProvider$instance {}
997
1145
  export type NewExpression = NewExpression$instance & __NewExpression$views;
998
1146
 
999
1147
 
1000
- export interface ParameterExpression$instance extends Expression {
1148
+ export abstract class ParameterExpression$protected {
1149
+ protected Accept(visitor: ExpressionVisitor): Expression;
1150
+ }
1151
+
1152
+
1153
+ export interface ParameterExpression$instance extends ParameterExpression$protected, Expression {
1001
1154
  readonly IsByRef: boolean;
1002
1155
  readonly Name: string;
1003
1156
  readonly NodeType: ExpressionType;
@@ -1012,7 +1165,12 @@ export const ParameterExpression: {
1012
1165
 
1013
1166
  export type ParameterExpression = ParameterExpression$instance;
1014
1167
 
1015
- export interface RuntimeVariablesExpression$instance extends Expression {
1168
+ export abstract class RuntimeVariablesExpression$protected {
1169
+ protected Accept(visitor: ExpressionVisitor): Expression;
1170
+ }
1171
+
1172
+
1173
+ export interface RuntimeVariablesExpression$instance extends RuntimeVariablesExpression$protected, Expression {
1016
1174
  readonly NodeType: ExpressionType;
1017
1175
  readonly Type: Type;
1018
1176
  readonly Variables: ReadOnlyCollection_1<ParameterExpression>;
@@ -1042,7 +1200,12 @@ export const SwitchCase: {
1042
1200
 
1043
1201
  export type SwitchCase = SwitchCase$instance;
1044
1202
 
1045
- export interface SwitchExpression$instance extends Expression {
1203
+ export abstract class SwitchExpression$protected {
1204
+ protected Accept(visitor: ExpressionVisitor): Expression;
1205
+ }
1206
+
1207
+
1208
+ export interface SwitchExpression$instance extends SwitchExpression$protected, Expression {
1046
1209
  readonly Cases: ReadOnlyCollection_1<SwitchCase>;
1047
1210
  readonly Comparison: MethodInfo | undefined;
1048
1211
  readonly DefaultBody: Expression | undefined;
@@ -1075,7 +1238,12 @@ export const SymbolDocumentInfo: {
1075
1238
 
1076
1239
  export type SymbolDocumentInfo = SymbolDocumentInfo$instance;
1077
1240
 
1078
- export interface TryExpression$instance extends Expression {
1241
+ export abstract class TryExpression$protected {
1242
+ protected Accept(visitor: ExpressionVisitor): Expression;
1243
+ }
1244
+
1245
+
1246
+ export interface TryExpression$instance extends TryExpression$protected, Expression {
1079
1247
  readonly Body: Expression;
1080
1248
  readonly Fault: Expression | undefined;
1081
1249
  readonly Finally: Expression | undefined;
@@ -1093,7 +1261,12 @@ export const TryExpression: {
1093
1261
 
1094
1262
  export type TryExpression = TryExpression$instance;
1095
1263
 
1096
- export interface TypeBinaryExpression$instance extends Expression {
1264
+ export abstract class TypeBinaryExpression$protected {
1265
+ protected Accept(visitor: ExpressionVisitor): Expression;
1266
+ }
1267
+
1268
+
1269
+ export interface TypeBinaryExpression$instance extends TypeBinaryExpression$protected, Expression {
1097
1270
  readonly Expression: Expression;
1098
1271
  readonly NodeType: ExpressionType;
1099
1272
  readonly Type: Type;
@@ -1109,7 +1282,12 @@ export const TypeBinaryExpression: {
1109
1282
 
1110
1283
  export type TypeBinaryExpression = TypeBinaryExpression$instance;
1111
1284
 
1112
- export interface UnaryExpression$instance extends Expression {
1285
+ export abstract class UnaryExpression$protected {
1286
+ protected Accept(visitor: ExpressionVisitor): Expression;
1287
+ }
1288
+
1289
+
1290
+ export interface UnaryExpression$instance extends UnaryExpression$protected, Expression {
1113
1291
  readonly CanReduce: boolean;
1114
1292
  readonly IsLifted: boolean;
1115
1293
  readonly IsLiftedToNull: boolean;
@@ -35,6 +35,7 @@
35
35
  "isVirtual": false,
36
36
  "isOverride": false,
37
37
  "isSealed": false,
38
+ "visibility": "Public",
38
39
  "declaringClrType": "System.Linq.Expressions.Interpreter.LightLambda",
39
40
  "declaringAssemblyName": "System.Linq.Expressions",
40
41
  "isExtensionMethod": false
@@ -54,6 +55,7 @@
54
55
  "isVirtual": false,
55
56
  "isOverride": false,
56
57
  "isSealed": false,
58
+ "visibility": "Public",
57
59
  "declaringClrType": "System.Linq.Expressions.Interpreter.LightLambda",
58
60
  "declaringAssemblyName": "System.Linq.Expressions",
59
61
  "isExtensionMethod": false
@@ -7,7 +7,7 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
7
7
 
8
8
  // Import types from other namespaces
9
9
  import * as System_Internal from "../../System/internal/index.js";
10
- import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type } from "../../System/internal/index.js";
10
+ import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type, Void } from "../../System/internal/index.js";
11
11
 
12
12
  export interface LightLambda$instance {
13
13
  Run(...arguments: unknown[]): unknown | undefined;
@@ -6,7 +6,7 @@
6
6
  import * as Internal from './System.Linq.Expressions.Interpreter/internal/index.js';
7
7
 
8
8
  // Cross-namespace type imports for constraints
9
- import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type } from './System/internal/index.js';
9
+ import type { Boolean as ClrBoolean, Int32, Object as ClrObject, String as ClrString, Type, Void } from './System/internal/index.js';
10
10
 
11
11
  // Public API exports (curated - no internal $instance/$views leakage)
12
12
  export { LightLambda as LightLambda } from './System.Linq.Expressions.Interpreter/internal/index.js';
@@ -10,7 +10,7 @@ import type { IEnumerable_1 } from './System.Collections.Generic/internal/index.
10
10
  import type { ReadOnlyCollection_1 } from './System.Collections.ObjectModel/internal/index.js';
11
11
  import type { ConstructorInfo, FieldInfo, MemberInfo, MethodInfo, PropertyInfo } from './System.Reflection/internal/index.js';
12
12
  import type { CallSiteBinder, DebugInfoGenerator } from './System.Runtime.CompilerServices/internal/index.js';
13
- 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';
13
+ import type { Boolean as ClrBoolean, Delegate, Enum, Func_2, Guid, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, Void } from './System/internal/index.js';
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';