@tsonic/dotnet 0.5.2 → 0.6.0

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 (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -60,7 +60,7 @@ export enum FlowControl {
60
60
  branch = 0,
61
61
  break_ = 1,
62
62
  call = 2,
63
- cond_Branch = 3,
63
+ Cond_Branch = 3,
64
64
  meta = 4,
65
65
  next = 5,
66
66
  phi = 6,
@@ -124,25 +124,25 @@ export enum PEFileKinds {
124
124
  export enum StackBehaviour {
125
125
  pop0 = 0,
126
126
  pop1 = 1,
127
- pop1_pop1 = 2,
127
+ Pop1_pop1 = 2,
128
128
  popi = 3,
129
- popi_pop1 = 4,
130
- popi_popi = 5,
131
- popi_popi8 = 6,
132
- popi_popi_popi = 7,
133
- popi_popr4 = 8,
134
- popi_popr8 = 9,
129
+ Popi_pop1 = 4,
130
+ Popi_popi = 5,
131
+ Popi_popi8 = 6,
132
+ Popi_popi_popi = 7,
133
+ Popi_popr4 = 8,
134
+ Popi_popr8 = 9,
135
135
  popref = 10,
136
- popref_pop1 = 11,
137
- popref_popi = 12,
138
- popref_popi_popi = 13,
139
- popref_popi_popi8 = 14,
140
- popref_popi_popr4 = 15,
141
- popref_popi_popr8 = 16,
142
- popref_popi_popref = 17,
136
+ Popref_pop1 = 11,
137
+ Popref_popi = 12,
138
+ Popref_popi_popi = 13,
139
+ Popref_popi_popi8 = 14,
140
+ Popref_popi_popr4 = 15,
141
+ Popref_popi_popr8 = 16,
142
+ Popref_popi_popref = 17,
143
143
  push0 = 18,
144
144
  push1 = 19,
145
- push1_push1 = 20,
145
+ Push1_push1 = 20,
146
146
  pushi = 21,
147
147
  pushi8 = 22,
148
148
  pushr4 = 23,
@@ -150,20 +150,20 @@ export enum StackBehaviour {
150
150
  pushref = 25,
151
151
  varpop = 26,
152
152
  varpush = 27,
153
- popref_popi_pop1 = 28
153
+ Popref_popi_pop1 = 28
154
154
  }
155
155
 
156
156
 
157
157
  export class Label$instance {
158
158
  readonly id: int;
159
- equals(obj: any): boolean;
159
+ equals(obj: unknown): boolean;
160
160
  equals(obj: Label): boolean;
161
161
  getHashCode(): int;
162
162
  }
163
163
 
164
164
 
165
165
  export interface __Label$views {
166
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<Label>;
166
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<Label>;
167
167
 
168
168
  // Structural method bridges for numeric interface constraints
169
169
  Equals(other: Label): boolean;
@@ -182,7 +182,7 @@ export class OpCode$instance {
182
182
  readonly stackBehaviourPop: StackBehaviour;
183
183
  readonly stackBehaviourPush: StackBehaviour;
184
184
  readonly value: short;
185
- equals(obj: any): boolean;
185
+ equals(obj: unknown): boolean;
186
186
  equals(obj: OpCode): boolean;
187
187
  getHashCode(): int;
188
188
  toString(): string;
@@ -190,7 +190,7 @@ export class OpCode$instance {
190
190
 
191
191
 
192
192
  export interface __OpCode$views {
193
- readonly As_IEquatable_1_of_ConsoleKeyInfo: System_Internal.IEquatable_1$instance<OpCode>;
193
+ As_IEquatable_1(): System_Internal.IEquatable_1$instance<OpCode>;
194
194
 
195
195
  // Structural method bridges for numeric interface constraints
196
196
  Equals(other: OpCode): boolean;
@@ -205,8 +205,8 @@ export abstract class AssemblyBuilder$instance extends System_Reflection_Interna
205
205
  readonly isDynamic: boolean;
206
206
  readonly location: string;
207
207
  defineDynamicModule(name: string): ModuleBuilder;
208
- getCustomAttributes(inherit: boolean): any[];
209
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
208
+ getCustomAttributes(inherit: boolean): unknown[];
209
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
210
210
  getDynamicModule(name: string): ModuleBuilder;
211
211
  getExportedTypes(): Type[];
212
212
  getFile(name: string): FileStream;
@@ -220,14 +220,14 @@ export abstract class AssemblyBuilder$instance extends System_Reflection_Interna
220
220
  isDefined(attributeType: Type, inherit: boolean): boolean;
221
221
  setCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
222
222
  setCustomAttribute(customBuilder: CustomAttributeBuilder): void;
223
- static DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder>): AssemblyBuilder;
224
- static DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess): AssemblyBuilder;
223
+ static defineDynamicAssembly2(name: AssemblyName, access: AssemblyBuilderAccess, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder>): AssemblyBuilder;
224
+ static defineDynamicAssembly2(name: AssemblyName, access: AssemblyBuilderAccess): AssemblyBuilder;
225
225
  }
226
226
 
227
227
 
228
228
  export interface __AssemblyBuilder$views {
229
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
230
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
229
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
230
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
231
231
  }
232
232
 
233
233
  export type AssemblyBuilder = AssemblyBuilder$instance & __AssemblyBuilder$views;
@@ -236,8 +236,8 @@ export type AssemblyBuilder = AssemblyBuilder$instance & __AssemblyBuilder$views
236
236
  export abstract class ConstructorBuilder$instance extends System_Reflection_Internal.ConstructorInfo$instance {
237
237
  initLocals: boolean;
238
238
  defineParameter(iSequence: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
239
- getCustomAttributes(inherit: boolean): any[];
240
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
239
+ getCustomAttributes(inherit: boolean): unknown[];
240
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
241
241
  getILGenerator(): ILGenerator;
242
242
  getILGenerator(streamSize: int): ILGenerator;
243
243
  isDefined(attributeType: Type, inherit: boolean): boolean;
@@ -248,17 +248,17 @@ export abstract class ConstructorBuilder$instance extends System_Reflection_Inte
248
248
 
249
249
 
250
250
  export interface __ConstructorBuilder$views {
251
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
251
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
252
252
  }
253
253
 
254
254
  export type ConstructorBuilder = ConstructorBuilder$instance & __ConstructorBuilder$views;
255
255
 
256
256
 
257
257
  export class CustomAttributeBuilder$instance {
258
- constructor(con: ConstructorInfo, constructorArgs: any[]);
259
- constructor(con: ConstructorInfo, constructorArgs: any[], namedProperties: PropertyInfo[], propertyValues: any[]);
260
- constructor(con: ConstructorInfo, constructorArgs: any[], namedFields: FieldInfo[], fieldValues: any[]);
261
- constructor(con: ConstructorInfo, constructorArgs: any[], namedProperties: PropertyInfo[], propertyValues: any[], namedFields: FieldInfo[], fieldValues: any[]);
258
+ constructor(con: ConstructorInfo, constructorArgs: unknown[]);
259
+ constructor(con: ConstructorInfo, constructorArgs: unknown[], namedProperties: PropertyInfo[], propertyValues: unknown[]);
260
+ constructor(con: ConstructorInfo, constructorArgs: unknown[], namedFields: FieldInfo[], fieldValues: unknown[]);
261
+ constructor(con: ConstructorInfo, constructorArgs: unknown[], namedProperties: PropertyInfo[], propertyValues: unknown[], namedFields: FieldInfo[], fieldValues: unknown[]);
262
262
  }
263
263
 
264
264
 
@@ -309,27 +309,27 @@ export class DynamicMethod$instance extends System_Reflection_Internal.MethodInf
309
309
  readonly returnType: Type;
310
310
  readonly returnTypeCustomAttributes: ICustomAttributeProvider;
311
311
  createDelegate(delegateType: Type): Function;
312
- createDelegate(delegateType: Type, target: any): Function;
312
+ createDelegate(delegateType: Type, target: unknown): Function;
313
313
  createDelegate<T extends Function>(): T;
314
- createDelegate<T extends Function>(target: any): T;
314
+ createDelegate<T extends Function>(target: unknown): T;
315
315
  defineParameter(position: int, attributes: ParameterAttributes, parameterName: string): ParameterBuilder;
316
316
  getBaseDefinition(): MethodInfo;
317
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
318
- getCustomAttributes(inherit: boolean): any[];
317
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
318
+ getCustomAttributes(inherit: boolean): unknown[];
319
319
  getDynamicILInfo(): DynamicILInfo;
320
320
  getILGenerator(streamSize: int): ILGenerator;
321
321
  getILGenerator(): ILGenerator;
322
322
  getMethodImplementationFlags(): MethodImplAttributes;
323
323
  getParameters(): ParameterInfo[];
324
- invoke(obj: any, invokeAttr: BindingFlags, binder: Binder, parameters: any[], culture: CultureInfo): any;
325
- invoke(obj: any, parameters: any[]): any;
324
+ invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
325
+ invoke(obj: unknown, parameters: unknown[]): unknown;
326
326
  isDefined(attributeType: Type, inherit: boolean): boolean;
327
327
  toString(): string;
328
328
  }
329
329
 
330
330
 
331
331
  export interface __DynamicMethod$views {
332
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
332
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
333
333
  }
334
334
 
335
335
  export type DynamicMethod = DynamicMethod$instance & __DynamicMethod$views;
@@ -339,9 +339,9 @@ export abstract class EnumBuilder$instance extends System_Reflection_Internal.Ty
339
339
  readonly underlyingField: FieldBuilder;
340
340
  createType(): Type;
341
341
  createTypeInfo(): TypeInfo;
342
- defineLiteral(literalName: string, literalValue: any): FieldBuilder;
343
- getCustomAttributes(inherit: boolean): any[];
344
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
342
+ defineLiteral(literalName: string, literalValue: unknown): FieldBuilder;
343
+ getCustomAttributes(inherit: boolean): unknown[];
344
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
345
345
  getField3(name: string, bindingAttr: BindingFlags): FieldInfo;
346
346
  getField3(name: string): FieldInfo;
347
347
  getFields3(bindingAttr: BindingFlags): FieldInfo[];
@@ -375,9 +375,9 @@ export abstract class EnumBuilder$instance extends System_Reflection_Internal.Ty
375
375
  getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
376
376
  getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
377
377
  getTypeInfo(): TypeInfo;
378
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): any;
379
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[]): any;
380
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[], culture: CultureInfo): any;
378
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
379
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
380
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
381
381
  isDefined(attributeType: Type, inherit: boolean): boolean;
382
382
  makeArrayType(): Type;
383
383
  makeArrayType(rank: int): Type;
@@ -389,11 +389,13 @@ export abstract class EnumBuilder$instance extends System_Reflection_Internal.Ty
389
389
 
390
390
 
391
391
  export interface __EnumBuilder$views {
392
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
393
- readonly As_IReflect: System_Reflection_Internal.IReflect$instance;
394
- readonly As_IReflectableType: System_Reflection_Internal.IReflectableType$instance;
392
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
393
+ As_IReflect(): System_Reflection_Internal.IReflect$instance;
394
+ As_IReflectableType(): System_Reflection_Internal.IReflectableType$instance;
395
395
  }
396
396
 
397
+ export interface EnumBuilder$instance extends System_Reflection_Internal.IReflectableType$instance {}
398
+
397
399
  export type EnumBuilder = EnumBuilder$instance & __EnumBuilder$views;
398
400
 
399
401
 
@@ -410,10 +412,10 @@ export abstract class EventBuilder$instance {
410
412
  export type EventBuilder = EventBuilder$instance;
411
413
 
412
414
  export abstract class FieldBuilder$instance extends System_Reflection_Internal.FieldInfo$instance {
413
- getCustomAttributes(inherit: boolean): any[];
414
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
415
+ getCustomAttributes(inherit: boolean): unknown[];
416
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
415
417
  isDefined(attributeType: Type, inherit: boolean): boolean;
416
- setConstant(defaultValue: any): void;
418
+ setConstant(defaultValue: unknown): void;
417
419
  setCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
418
420
  setCustomAttribute(customBuilder: CustomAttributeBuilder): void;
419
421
  setOffset(iOffset: int): void;
@@ -421,15 +423,15 @@ export abstract class FieldBuilder$instance extends System_Reflection_Internal.F
421
423
 
422
424
 
423
425
  export interface __FieldBuilder$views {
424
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
426
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
425
427
  }
426
428
 
427
429
  export type FieldBuilder = FieldBuilder$instance & __FieldBuilder$views;
428
430
 
429
431
 
430
432
  export abstract class GenericTypeParameterBuilder$instance extends System_Reflection_Internal.TypeInfo$instance {
431
- getCustomAttributes(inherit: boolean): any[];
432
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
433
+ getCustomAttributes(inherit: boolean): unknown[];
434
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
433
435
  getField3(name: string, bindingAttr: BindingFlags): FieldInfo;
434
436
  getField3(name: string): FieldInfo;
435
437
  getFields3(bindingAttr: BindingFlags): FieldInfo[];
@@ -463,9 +465,9 @@ export abstract class GenericTypeParameterBuilder$instance extends System_Reflec
463
465
  getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
464
466
  getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
465
467
  getTypeInfo(): TypeInfo;
466
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): any;
467
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[]): any;
468
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[], culture: CultureInfo): any;
468
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
469
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
470
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
469
471
  isDefined(attributeType: Type, inherit: boolean): boolean;
470
472
  setBaseTypeConstraint(baseTypeConstraint: Type): void;
471
473
  setCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
@@ -476,11 +478,13 @@ export abstract class GenericTypeParameterBuilder$instance extends System_Reflec
476
478
 
477
479
 
478
480
  export interface __GenericTypeParameterBuilder$views {
479
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
480
- readonly As_IReflect: System_Reflection_Internal.IReflect$instance;
481
- readonly As_IReflectableType: System_Reflection_Internal.IReflectableType$instance;
481
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
482
+ As_IReflect(): System_Reflection_Internal.IReflect$instance;
483
+ As_IReflectableType(): System_Reflection_Internal.IReflectableType$instance;
482
484
  }
483
485
 
486
+ export interface GenericTypeParameterBuilder$instance extends System_Reflection_Internal.IReflectableType$instance {}
487
+
484
488
  export type GenericTypeParameterBuilder = GenericTypeParameterBuilder$instance & __GenericTypeParameterBuilder$views;
485
489
 
486
490
 
@@ -540,8 +544,8 @@ export abstract class MethodBuilder$instance extends System_Reflection_Internal.
540
544
  initLocals: boolean;
541
545
  defineGenericParameters(names: string[]): GenericTypeParameterBuilder[];
542
546
  defineParameter(position: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
543
- getCustomAttributes(inherit: boolean): any[];
544
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
547
+ getCustomAttributes(inherit: boolean): unknown[];
548
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
545
549
  getILGenerator(): ILGenerator;
546
550
  getILGenerator(size: int): ILGenerator;
547
551
  isDefined(attributeType: Type, inherit: boolean): boolean;
@@ -555,7 +559,7 @@ export abstract class MethodBuilder$instance extends System_Reflection_Internal.
555
559
 
556
560
 
557
561
  export interface __MethodBuilder$views {
558
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
562
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
559
563
  }
560
564
 
561
565
  export type MethodBuilder = MethodBuilder$instance & __MethodBuilder$views;
@@ -581,8 +585,8 @@ export abstract class ModuleBuilder$instance extends System_Reflection_Internal.
581
585
  defineType(name: string, attr: TypeAttributes, parent: Type, packingSize: PackingSize, typesize: int): TypeBuilder;
582
586
  defineUninitializedData(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
583
587
  getArrayMethod(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodInfo;
584
- getCustomAttributes(inherit: boolean): any[];
585
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
588
+ getCustomAttributes(inherit: boolean): unknown[];
589
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
586
590
  abstract getFieldMetadataToken(field: FieldInfo): int;
587
591
  abstract getMethodMetadataToken(method: MethodInfo): int;
588
592
  abstract getMethodMetadataToken(constructor_: ConstructorInfo): int;
@@ -597,8 +601,8 @@ export abstract class ModuleBuilder$instance extends System_Reflection_Internal.
597
601
 
598
602
 
599
603
  export interface __ModuleBuilder$views {
600
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
601
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
604
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
605
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
602
606
  }
603
607
 
604
608
  export type ModuleBuilder = ModuleBuilder$instance & __ModuleBuilder$views;
@@ -607,59 +611,59 @@ export type ModuleBuilder = ModuleBuilder$instance & __ModuleBuilder$views;
607
611
  export class OpCodes$instance {
608
612
  static readonly nop: OpCode;
609
613
  static readonly break_: OpCode;
610
- static readonly ldarg_0: OpCode;
611
- static readonly ldarg_1: OpCode;
612
- static readonly ldarg_2: OpCode;
613
- static readonly ldarg_3: OpCode;
614
- static readonly ldloc_0: OpCode;
615
- static readonly ldloc_1: OpCode;
616
- static readonly ldloc_2: OpCode;
617
- static readonly ldloc_3: OpCode;
618
- static readonly stloc_0: OpCode;
619
- static readonly stloc_1: OpCode;
620
- static readonly stloc_2: OpCode;
621
- static readonly stloc_3: OpCode;
622
- static readonly ldarg_S: OpCode;
623
- static readonly ldarga_S: OpCode;
624
- static readonly starg_S: OpCode;
625
- static readonly ldloc_S: OpCode;
626
- static readonly ldloca_S: OpCode;
627
- static readonly stloc_S: OpCode;
614
+ static readonly Ldarg_0: OpCode;
615
+ static readonly Ldarg_1: OpCode;
616
+ static readonly Ldarg_2: OpCode;
617
+ static readonly Ldarg_3: OpCode;
618
+ static readonly Ldloc_0: OpCode;
619
+ static readonly Ldloc_1: OpCode;
620
+ static readonly Ldloc_2: OpCode;
621
+ static readonly Ldloc_3: OpCode;
622
+ static readonly Stloc_0: OpCode;
623
+ static readonly Stloc_1: OpCode;
624
+ static readonly Stloc_2: OpCode;
625
+ static readonly Stloc_3: OpCode;
626
+ static readonly Ldarg_S: OpCode;
627
+ static readonly Ldarga_S: OpCode;
628
+ static readonly Starg_S: OpCode;
629
+ static readonly Ldloc_S: OpCode;
630
+ static readonly Ldloca_S: OpCode;
631
+ static readonly Stloc_S: OpCode;
628
632
  static readonly ldnull: OpCode;
629
- static readonly ldc_I4_M1: OpCode;
630
- static readonly ldc_I4_0: OpCode;
631
- static readonly ldc_I4_1: OpCode;
632
- static readonly ldc_I4_2: OpCode;
633
- static readonly ldc_I4_3: OpCode;
634
- static readonly ldc_I4_4: OpCode;
635
- static readonly ldc_I4_5: OpCode;
636
- static readonly ldc_I4_6: OpCode;
637
- static readonly ldc_I4_7: OpCode;
638
- static readonly ldc_I4_8: OpCode;
639
- static readonly ldc_I4_S: OpCode;
640
- static readonly ldc_I4: OpCode;
641
- static readonly ldc_I8: OpCode;
642
- static readonly ldc_R4: OpCode;
643
- static readonly ldc_R8: OpCode;
633
+ static readonly Ldc_I4_M1: OpCode;
634
+ static readonly Ldc_I4_0: OpCode;
635
+ static readonly Ldc_I4_1: OpCode;
636
+ static readonly Ldc_I4_2: OpCode;
637
+ static readonly Ldc_I4_3: OpCode;
638
+ static readonly Ldc_I4_4: OpCode;
639
+ static readonly Ldc_I4_5: OpCode;
640
+ static readonly Ldc_I4_6: OpCode;
641
+ static readonly Ldc_I4_7: OpCode;
642
+ static readonly Ldc_I4_8: OpCode;
643
+ static readonly Ldc_I4_S: OpCode;
644
+ static readonly Ldc_I4: OpCode;
645
+ static readonly Ldc_I8: OpCode;
646
+ static readonly Ldc_R4: OpCode;
647
+ static readonly Ldc_R8: OpCode;
644
648
  static readonly dup: OpCode;
645
649
  static readonly pop: OpCode;
646
650
  static readonly jmp: OpCode;
647
651
  static readonly call: OpCode;
648
652
  static readonly calli: OpCode;
649
653
  static readonly ret: OpCode;
650
- static readonly br_S: OpCode;
651
- static readonly brfalse_S: OpCode;
652
- static readonly brtrue_S: OpCode;
653
- static readonly beq_S: OpCode;
654
- static readonly bge_S: OpCode;
655
- static readonly bgt_S: OpCode;
656
- static readonly ble_S: OpCode;
657
- static readonly blt_S: OpCode;
658
- static readonly bne_Un_S: OpCode;
659
- static readonly bge_Un_S: OpCode;
660
- static readonly bgt_Un_S: OpCode;
661
- static readonly ble_Un_S: OpCode;
662
- static readonly blt_Un_S: OpCode;
654
+ static readonly Br_S: OpCode;
655
+ static readonly Brfalse_S: OpCode;
656
+ static readonly Brtrue_S: OpCode;
657
+ static readonly Beq_S: OpCode;
658
+ static readonly Bge_S: OpCode;
659
+ static readonly Bgt_S: OpCode;
660
+ static readonly Ble_S: OpCode;
661
+ static readonly Blt_S: OpCode;
662
+ static readonly Bne_Un_S: OpCode;
663
+ static readonly Bge_Un_S: OpCode;
664
+ static readonly Bgt_Un_S: OpCode;
665
+ static readonly Ble_Un_S: OpCode;
666
+ static readonly Blt_Un_S: OpCode;
663
667
  static readonly br: OpCode;
664
668
  static readonly brfalse: OpCode;
665
669
  static readonly brtrue: OpCode;
@@ -668,53 +672,53 @@ export class OpCodes$instance {
668
672
  static readonly bgt: OpCode;
669
673
  static readonly ble: OpCode;
670
674
  static readonly blt: OpCode;
671
- static readonly bne_Un: OpCode;
672
- static readonly bge_Un: OpCode;
673
- static readonly bgt_Un: OpCode;
674
- static readonly ble_Un: OpCode;
675
- static readonly blt_Un: OpCode;
675
+ static readonly Bne_Un: OpCode;
676
+ static readonly Bge_Un: OpCode;
677
+ static readonly Bgt_Un: OpCode;
678
+ static readonly Ble_Un: OpCode;
679
+ static readonly Blt_Un: OpCode;
676
680
  static readonly switch_: OpCode;
677
- static readonly ldind_I1: OpCode;
678
- static readonly ldind_U1: OpCode;
679
- static readonly ldind_I2: OpCode;
680
- static readonly ldind_U2: OpCode;
681
- static readonly ldind_I4: OpCode;
682
- static readonly ldind_U4: OpCode;
683
- static readonly ldind_I8: OpCode;
684
- static readonly ldind_I: OpCode;
685
- static readonly ldind_R4: OpCode;
686
- static readonly ldind_R8: OpCode;
687
- static readonly ldind_Ref: OpCode;
688
- static readonly stind_Ref: OpCode;
689
- static readonly stind_I1: OpCode;
690
- static readonly stind_I2: OpCode;
691
- static readonly stind_I4: OpCode;
692
- static readonly stind_I8: OpCode;
693
- static readonly stind_R4: OpCode;
694
- static readonly stind_R8: OpCode;
681
+ static readonly Ldind_I1: OpCode;
682
+ static readonly Ldind_U1: OpCode;
683
+ static readonly Ldind_I2: OpCode;
684
+ static readonly Ldind_U2: OpCode;
685
+ static readonly Ldind_I4: OpCode;
686
+ static readonly Ldind_U4: OpCode;
687
+ static readonly Ldind_I8: OpCode;
688
+ static readonly Ldind_I: OpCode;
689
+ static readonly Ldind_R4: OpCode;
690
+ static readonly Ldind_R8: OpCode;
691
+ static readonly Ldind_Ref: OpCode;
692
+ static readonly Stind_Ref: OpCode;
693
+ static readonly Stind_I1: OpCode;
694
+ static readonly Stind_I2: OpCode;
695
+ static readonly Stind_I4: OpCode;
696
+ static readonly Stind_I8: OpCode;
697
+ static readonly Stind_R4: OpCode;
698
+ static readonly Stind_R8: OpCode;
695
699
  static readonly add: OpCode;
696
700
  static readonly sub: OpCode;
697
701
  static readonly mul: OpCode;
698
702
  static readonly div: OpCode;
699
- static readonly div_Un: OpCode;
703
+ static readonly Div_Un: OpCode;
700
704
  static readonly rem: OpCode;
701
- static readonly rem_Un: OpCode;
705
+ static readonly Rem_Un: OpCode;
702
706
  static readonly and: OpCode;
703
707
  static readonly or: OpCode;
704
708
  static readonly xor: OpCode;
705
709
  static readonly shl: OpCode;
706
710
  static readonly shr: OpCode;
707
- static readonly shr_Un: OpCode;
711
+ static readonly Shr_Un: OpCode;
708
712
  static readonly neg: OpCode;
709
713
  static readonly not: OpCode;
710
- static readonly conv_I1: OpCode;
711
- static readonly conv_I2: OpCode;
712
- static readonly conv_I4: OpCode;
713
- static readonly conv_I8: OpCode;
714
- static readonly conv_R4: OpCode;
715
- static readonly conv_R8: OpCode;
716
- static readonly conv_U4: OpCode;
717
- static readonly conv_U8: OpCode;
714
+ static readonly Conv_I1: OpCode;
715
+ static readonly Conv_I2: OpCode;
716
+ static readonly Conv_I4: OpCode;
717
+ static readonly Conv_I8: OpCode;
718
+ static readonly Conv_R4: OpCode;
719
+ static readonly Conv_R8: OpCode;
720
+ static readonly Conv_U4: OpCode;
721
+ static readonly Conv_U8: OpCode;
718
722
  static readonly callvirt: OpCode;
719
723
  static readonly cpobj: OpCode;
720
724
  static readonly ldobj: OpCode;
@@ -722,7 +726,7 @@ export class OpCodes$instance {
722
726
  static readonly newobj: OpCode;
723
727
  static readonly castclass: OpCode;
724
728
  static readonly isinst: OpCode;
725
- static readonly conv_R_Un: OpCode;
729
+ static readonly Conv_R_Un: OpCode;
726
730
  static readonly unbox: OpCode;
727
731
  static readonly throw_: OpCode;
728
732
  static readonly ldfld: OpCode;
@@ -732,70 +736,70 @@ export class OpCodes$instance {
732
736
  static readonly ldsflda: OpCode;
733
737
  static readonly stsfld: OpCode;
734
738
  static readonly stobj: OpCode;
735
- static readonly conv_Ovf_I1_Un: OpCode;
736
- static readonly conv_Ovf_I2_Un: OpCode;
737
- static readonly conv_Ovf_I4_Un: OpCode;
738
- static readonly conv_Ovf_I8_Un: OpCode;
739
- static readonly conv_Ovf_U1_Un: OpCode;
740
- static readonly conv_Ovf_U2_Un: OpCode;
741
- static readonly conv_Ovf_U4_Un: OpCode;
742
- static readonly conv_Ovf_U8_Un: OpCode;
743
- static readonly conv_Ovf_I_Un: OpCode;
744
- static readonly conv_Ovf_U_Un: OpCode;
739
+ static readonly Conv_Ovf_I1_Un: OpCode;
740
+ static readonly Conv_Ovf_I2_Un: OpCode;
741
+ static readonly Conv_Ovf_I4_Un: OpCode;
742
+ static readonly Conv_Ovf_I8_Un: OpCode;
743
+ static readonly Conv_Ovf_U1_Un: OpCode;
744
+ static readonly Conv_Ovf_U2_Un: OpCode;
745
+ static readonly Conv_Ovf_U4_Un: OpCode;
746
+ static readonly Conv_Ovf_U8_Un: OpCode;
747
+ static readonly Conv_Ovf_I_Un: OpCode;
748
+ static readonly Conv_Ovf_U_Un: OpCode;
745
749
  static readonly box: OpCode;
746
750
  static readonly newarr: OpCode;
747
751
  static readonly ldlen: OpCode;
748
752
  static readonly ldelema: OpCode;
749
- static readonly ldelem_I1: OpCode;
750
- static readonly ldelem_U1: OpCode;
751
- static readonly ldelem_I2: OpCode;
752
- static readonly ldelem_U2: OpCode;
753
- static readonly ldelem_I4: OpCode;
754
- static readonly ldelem_U4: OpCode;
755
- static readonly ldelem_I8: OpCode;
756
- static readonly ldelem_I: OpCode;
757
- static readonly ldelem_R4: OpCode;
758
- static readonly ldelem_R8: OpCode;
759
- static readonly ldelem_Ref: OpCode;
760
- static readonly stelem_I: OpCode;
761
- static readonly stelem_I1: OpCode;
762
- static readonly stelem_I2: OpCode;
763
- static readonly stelem_I4: OpCode;
764
- static readonly stelem_I8: OpCode;
765
- static readonly stelem_R4: OpCode;
766
- static readonly stelem_R8: OpCode;
767
- static readonly stelem_Ref: OpCode;
753
+ static readonly Ldelem_I1: OpCode;
754
+ static readonly Ldelem_U1: OpCode;
755
+ static readonly Ldelem_I2: OpCode;
756
+ static readonly Ldelem_U2: OpCode;
757
+ static readonly Ldelem_I4: OpCode;
758
+ static readonly Ldelem_U4: OpCode;
759
+ static readonly Ldelem_I8: OpCode;
760
+ static readonly Ldelem_I: OpCode;
761
+ static readonly Ldelem_R4: OpCode;
762
+ static readonly Ldelem_R8: OpCode;
763
+ static readonly Ldelem_Ref: OpCode;
764
+ static readonly Stelem_I: OpCode;
765
+ static readonly Stelem_I1: OpCode;
766
+ static readonly Stelem_I2: OpCode;
767
+ static readonly Stelem_I4: OpCode;
768
+ static readonly Stelem_I8: OpCode;
769
+ static readonly Stelem_R4: OpCode;
770
+ static readonly Stelem_R8: OpCode;
771
+ static readonly Stelem_Ref: OpCode;
768
772
  static readonly ldelem: OpCode;
769
773
  static readonly stelem: OpCode;
770
- static readonly unbox_Any: OpCode;
771
- static readonly conv_Ovf_I1: OpCode;
772
- static readonly conv_Ovf_U1: OpCode;
773
- static readonly conv_Ovf_I2: OpCode;
774
- static readonly conv_Ovf_U2: OpCode;
775
- static readonly conv_Ovf_I4: OpCode;
776
- static readonly conv_Ovf_U4: OpCode;
777
- static readonly conv_Ovf_I8: OpCode;
778
- static readonly conv_Ovf_U8: OpCode;
774
+ static readonly Unbox_Any: OpCode;
775
+ static readonly Conv_Ovf_I1: OpCode;
776
+ static readonly Conv_Ovf_U1: OpCode;
777
+ static readonly Conv_Ovf_I2: OpCode;
778
+ static readonly Conv_Ovf_U2: OpCode;
779
+ static readonly Conv_Ovf_I4: OpCode;
780
+ static readonly Conv_Ovf_U4: OpCode;
781
+ static readonly Conv_Ovf_I8: OpCode;
782
+ static readonly Conv_Ovf_U8: OpCode;
779
783
  static readonly refanyval: OpCode;
780
784
  static readonly ckfinite: OpCode;
781
785
  static readonly mkrefany: OpCode;
782
786
  static readonly ldtoken: OpCode;
783
- static readonly conv_U2: OpCode;
784
- static readonly conv_U1: OpCode;
785
- static readonly conv_I: OpCode;
786
- static readonly conv_Ovf_I: OpCode;
787
- static readonly conv_Ovf_U: OpCode;
788
- static readonly add_Ovf: OpCode;
789
- static readonly add_Ovf_Un: OpCode;
790
- static readonly mul_Ovf: OpCode;
791
- static readonly mul_Ovf_Un: OpCode;
792
- static readonly sub_Ovf: OpCode;
793
- static readonly sub_Ovf_Un: OpCode;
787
+ static readonly Conv_U2: OpCode;
788
+ static readonly Conv_U1: OpCode;
789
+ static readonly Conv_I: OpCode;
790
+ static readonly Conv_Ovf_I: OpCode;
791
+ static readonly Conv_Ovf_U: OpCode;
792
+ static readonly Add_Ovf: OpCode;
793
+ static readonly Add_Ovf_Un: OpCode;
794
+ static readonly Mul_Ovf: OpCode;
795
+ static readonly Mul_Ovf_Un: OpCode;
796
+ static readonly Sub_Ovf: OpCode;
797
+ static readonly Sub_Ovf_Un: OpCode;
794
798
  static readonly endfinally: OpCode;
795
799
  static readonly leave: OpCode;
796
- static readonly leave_S: OpCode;
797
- static readonly stind_I: OpCode;
798
- static readonly conv_U: OpCode;
800
+ static readonly Leave_S: OpCode;
801
+ static readonly Stind_I: OpCode;
802
+ static readonly Conv_U: OpCode;
799
803
  static readonly prefix7: OpCode;
800
804
  static readonly prefix6: OpCode;
801
805
  static readonly prefix5: OpCode;
@@ -807,9 +811,9 @@ export class OpCodes$instance {
807
811
  static readonly arglist: OpCode;
808
812
  static readonly ceq: OpCode;
809
813
  static readonly cgt: OpCode;
810
- static readonly cgt_Un: OpCode;
814
+ static readonly Cgt_Un: OpCode;
811
815
  static readonly clt: OpCode;
812
- static readonly clt_Un: OpCode;
816
+ static readonly Clt_Un: OpCode;
813
817
  static readonly ldftn: OpCode;
814
818
  static readonly ldvirtftn: OpCode;
815
819
  static readonly ldarg: OpCode;
@@ -831,7 +835,7 @@ export class OpCodes$instance {
831
835
  static readonly sizeof: OpCode;
832
836
  static readonly refanytype: OpCode;
833
837
  static readonly readonly_: OpCode;
834
- static TakesSingleByteArgument(inst: OpCode): boolean;
838
+ static takesSingleByteArgument(inst: OpCode): boolean;
835
839
  }
836
840
 
837
841
 
@@ -844,7 +848,7 @@ export abstract class ParameterBuilder$instance {
844
848
  readonly isOut: boolean;
845
849
  readonly name: string;
846
850
  readonly position: int;
847
- setConstant(defaultValue: any): void;
851
+ setConstant(defaultValue: unknown): void;
848
852
  setCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
849
853
  setCustomAttribute(customBuilder: CustomAttributeBuilder): void;
850
854
  }
@@ -858,8 +862,8 @@ export class PersistedAssemblyBuilder$instance extends AssemblyBuilder$instance
858
862
  readonly manifestModule: Module;
859
863
  generateMetadata(ilStream: { value: ref<BlobBuilder> }, mappedFieldData: { value: ref<BlobBuilder> }): MetadataBuilder;
860
864
  generateMetadata(ilStream: { value: ref<BlobBuilder> }, mappedFieldData: { value: ref<BlobBuilder> }, pdbBuilder: { value: ref<MetadataBuilder> }): MetadataBuilder;
861
- getCustomAttributes(inherit: boolean): any[];
862
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
865
+ getCustomAttributes(inherit: boolean): unknown[];
866
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
863
867
  getName(copiedName: boolean): AssemblyName;
864
868
  getName(): AssemblyName;
865
869
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
@@ -870,8 +874,8 @@ export class PersistedAssemblyBuilder$instance extends AssemblyBuilder$instance
870
874
 
871
875
 
872
876
  export interface __PersistedAssemblyBuilder$views {
873
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
874
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
877
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
878
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
875
879
  }
876
880
 
877
881
  export type PersistedAssemblyBuilder = PersistedAssemblyBuilder$instance & __PersistedAssemblyBuilder$views;
@@ -879,10 +883,10 @@ export type PersistedAssemblyBuilder = PersistedAssemblyBuilder$instance & __Per
879
883
 
880
884
  export abstract class PropertyBuilder$instance extends System_Reflection_Internal.PropertyInfo$instance {
881
885
  addOtherMethod(mdBuilder: MethodBuilder): void;
882
- getCustomAttributes(inherit: boolean): any[];
883
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
886
+ getCustomAttributes(inherit: boolean): unknown[];
887
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
884
888
  isDefined(attributeType: Type, inherit: boolean): boolean;
885
- setConstant(defaultValue: any): void;
889
+ setConstant(defaultValue: unknown): void;
886
890
  setCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
887
891
  setCustomAttribute(customBuilder: CustomAttributeBuilder): void;
888
892
  setGetMethod(mdBuilder: MethodBuilder): void;
@@ -891,7 +895,7 @@ export abstract class PropertyBuilder$instance extends System_Reflection_Interna
891
895
 
892
896
 
893
897
  export interface __PropertyBuilder$views {
894
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
898
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
895
899
  }
896
900
 
897
901
  export type PropertyBuilder = PropertyBuilder$instance & __PropertyBuilder$views;
@@ -903,19 +907,19 @@ export class SignatureHelper$instance {
903
907
  addArgument(argument: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[]): void;
904
908
  addArguments(arguments: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): void;
905
909
  addSentinel(): void;
906
- equals(obj: any): boolean;
910
+ equals(obj: unknown): boolean;
907
911
  getHashCode(): int;
908
912
  getSignature(): byte[];
909
913
  toString(): string;
910
- static GetFieldSigHelper(mod: Module): SignatureHelper;
911
- static GetLocalVarSigHelper(): SignatureHelper;
912
- static GetLocalVarSigHelper(mod: Module): SignatureHelper;
913
- static GetMethodSigHelper(callingConvention: CallingConventions, returnType: Type): SignatureHelper;
914
- static GetMethodSigHelper(mod: Module, callingConvention: CallingConventions, returnType: Type): SignatureHelper;
915
- static GetMethodSigHelper(mod: Module, returnType: Type, parameterTypes: Type[]): SignatureHelper;
916
- static GetPropertySigHelper(mod: Module, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): SignatureHelper;
917
- static GetPropertySigHelper(mod: Module, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): SignatureHelper;
918
- static GetPropertySigHelper(mod: Module, returnType: Type, parameterTypes: Type[]): SignatureHelper;
914
+ static getFieldSigHelper(mod: Module): SignatureHelper;
915
+ static getLocalVarSigHelper(): SignatureHelper;
916
+ static getLocalVarSigHelper(mod: Module): SignatureHelper;
917
+ static getMethodSigHelper3(callingConvention: CallingConventions, returnType: Type): SignatureHelper;
918
+ static getMethodSigHelper3(mod: Module, callingConvention: CallingConventions, returnType: Type): SignatureHelper;
919
+ static getMethodSigHelper3(mod: Module, returnType: Type, parameterTypes: Type[]): SignatureHelper;
920
+ static getPropertySigHelper3(mod: Module, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): SignatureHelper;
921
+ static getPropertySigHelper3(mod: Module, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): SignatureHelper;
922
+ static getPropertySigHelper3(mod: Module, returnType: Type, parameterTypes: Type[]): SignatureHelper;
919
923
  }
920
924
 
921
925
 
@@ -957,8 +961,8 @@ export abstract class TypeBuilder$instance extends System_Reflection_Internal.Ty
957
961
  defineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
958
962
  defineTypeInitializer(): ConstructorBuilder;
959
963
  defineUninitializedData(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
960
- getCustomAttributes(inherit: boolean): any[];
961
- getCustomAttributes(attributeType: Type, inherit: boolean): any[];
964
+ getCustomAttributes(inherit: boolean): unknown[];
965
+ getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
962
966
  getField3(name: string, bindingAttr: BindingFlags): FieldInfo;
963
967
  getField3(name: string): FieldInfo;
964
968
  getFields3(bindingAttr: BindingFlags): FieldInfo[];
@@ -992,9 +996,9 @@ export abstract class TypeBuilder$instance extends System_Reflection_Internal.Ty
992
996
  getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
993
997
  getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
994
998
  getTypeInfo(): TypeInfo;
995
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): any;
996
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[]): any;
997
- invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: any, args: any[], culture: CultureInfo): any;
999
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
1000
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
1001
+ invokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
998
1002
  isCreated(): boolean;
999
1003
  isDefined(attributeType: Type, inherit: boolean): boolean;
1000
1004
  makeArrayType(): Type;
@@ -1005,19 +1009,21 @@ export abstract class TypeBuilder$instance extends System_Reflection_Internal.Ty
1005
1009
  setCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
1006
1010
  setCustomAttribute(customBuilder: CustomAttributeBuilder): void;
1007
1011
  setParent(parent: Type): void;
1008
- static readonly UnspecifiedTypeSize: int;
1009
- static GetConstructor(type_: Type, constructor_: ConstructorInfo): ConstructorInfo;
1010
- static GetField(type_: Type, field: FieldInfo): FieldInfo;
1011
- static GetMethod(type_: Type, method: MethodInfo): MethodInfo;
1012
+ static readonly unspecifiedTypeSize: int;
1013
+ static getConstructor(type_: Type, constructor_: ConstructorInfo): ConstructorInfo;
1014
+ static getField(type_: Type, field: FieldInfo): FieldInfo;
1015
+ static getMethod(type_: Type, method: MethodInfo): MethodInfo;
1012
1016
  }
1013
1017
 
1014
1018
 
1015
1019
  export interface __TypeBuilder$views {
1016
- readonly As_ICustomAttributeProvider: System_Reflection_Internal.ICustomAttributeProvider$instance;
1017
- readonly As_IReflect: System_Reflection_Internal.IReflect$instance;
1018
- readonly As_IReflectableType: System_Reflection_Internal.IReflectableType$instance;
1020
+ As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
1021
+ As_IReflect(): System_Reflection_Internal.IReflect$instance;
1022
+ As_IReflectableType(): System_Reflection_Internal.IReflectableType$instance;
1019
1023
  }
1020
1024
 
1025
+ export interface TypeBuilder$instance extends System_Reflection_Internal.IReflectableType$instance {}
1026
+
1021
1027
  export type TypeBuilder = TypeBuilder$instance & __TypeBuilder$views;
1022
1028
 
1023
1029