@tsonic/dotnet 10.0.2 → 10.0.4
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.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
- package/Microsoft.Win32/internal/index.d.ts +0 -1
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
- package/System/internal/index.d.ts +87 -200
- package/System.Buffers/internal/index.d.ts +10 -23
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
- package/System.Collections/internal/index.d.ts +41 -57
- package/System.Collections.Concurrent/internal/index.d.ts +4 -10
- package/System.Collections.Generic/internal/index.d.ts +15 -37
- package/System.Collections.Immutable/internal/index.d.ts +7 -20
- package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
- package/System.Collections.Specialized/internal/index.d.ts +15 -30
- package/System.ComponentModel/internal/index.d.ts +126 -216
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
- package/System.ComponentModel.Design/internal/index.d.ts +26 -53
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
- package/System.Data/internal/index.d.ts +110 -188
- package/System.Data.Common/internal/index.d.ts +155 -238
- package/System.Data.SqlTypes/internal/index.d.ts +6 -7
- package/System.Diagnostics/internal/index.d.ts +105 -169
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
- package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
- package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
- package/System.Dynamic/internal/index.d.ts +15 -29
- package/System.Formats.Asn1/internal/index.d.ts +0 -1
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Globalization/internal/index.d.ts +17 -51
- package/System.IO/internal/index.d.ts +47 -123
- package/System.IO.Compression/internal/index.d.ts +11 -33
- package/System.IO.Enumeration/internal/index.d.ts +11 -16
- package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
- package/System.IO.Pipelines/internal/index.d.ts +7 -18
- package/System.IO.Pipes/internal/index.d.ts +24 -50
- package/System.Linq/internal/index.d.ts +0 -4
- package/System.Linq.Expressions/internal/index.d.ts +108 -257
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
- package/System.Net/internal/index.d.ts +133 -184
- package/System.Net.Http/internal/index.d.ts +128 -201
- package/System.Net.Http.Headers/internal/index.d.ts +37 -40
- package/System.Net.Http.Json/internal/index.d.ts +8 -13
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
- package/System.Net.Mail/internal/index.d.ts +49 -105
- package/System.Net.Mime/internal/index.d.ts +4 -3
- package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
- package/System.Net.Quic/internal/index.d.ts +5 -11
- package/System.Net.Security/internal/index.d.ts +30 -42
- package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
- package/System.Net.Sockets/internal/index.d.ts +33 -56
- package/System.Net.WebSockets/internal/index.d.ts +16 -23
- package/System.Numerics/internal/index.d.ts +5 -5
- package/System.Reflection/internal/index.d.ts +66 -102
- package/System.Reflection.Emit/internal/index.d.ts +104 -177
- package/System.Reflection.Metadata/internal/index.d.ts +11 -21
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
- package/System.Resources/internal/index.d.ts +8 -20
- package/System.Runtime/internal/index.d.ts +5 -8
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
- package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
- package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
- package/System.Runtime.Loader/internal/index.d.ts +5 -11
- package/System.Runtime.Serialization/internal/index.d.ts +62 -65
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
- package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
- package/System.Runtime.Versioning/internal/index.d.ts +6 -6
- package/System.Security/internal/index.d.ts +22 -25
- package/System.Security.AccessControl/internal/index.d.ts +51 -89
- package/System.Security.Authentication/internal/index.d.ts +0 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
- package/System.Security.Claims/internal/index.d.ts +19 -38
- package/System.Security.Cryptography/internal/index.d.ts +492 -903
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
- package/System.Security.Permissions/internal/index.d.ts +2 -4
- package/System.Security.Policy/internal/index.d.ts +3 -4
- package/System.Security.Principal/internal/index.d.ts +11 -17
- package/System.Text/internal/index.d.ts +11 -23
- package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
- package/System.Text.Json/internal/index.d.ts +10 -12
- package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
- package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
- package/System.Threading/internal/index.d.ts +36 -106
- package/System.Threading.Channels/internal/index.d.ts +7 -12
- package/System.Threading.Tasks/internal/index.d.ts +18 -29
- package/System.Timers/internal/index.d.ts +4 -8
- package/System.Transactions/internal/index.d.ts +3 -14
- package/System.Xml/internal/index.d.ts +104 -167
- package/System.Xml.Linq/internal/index.d.ts +17 -13
- package/System.Xml.Schema/internal/index.d.ts +117 -112
- package/System.Xml.Serialization/internal/index.d.ts +92 -100
- package/System.Xml.XPath/internal/index.d.ts +5 -9
- package/System.Xml.Xsl/internal/index.d.ts +4 -9
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
- package/package.json +1 -1
|
@@ -155,7 +155,7 @@ export type Label = Label$instance & __Label$views;
|
|
|
155
155
|
export interface OpCode$instance {
|
|
156
156
|
readonly EvaluationStackDelta: int;
|
|
157
157
|
readonly FlowControl: FlowControl;
|
|
158
|
-
readonly Name: string;
|
|
158
|
+
readonly Name: string | undefined;
|
|
159
159
|
readonly OpCodeType: OpCodeType;
|
|
160
160
|
readonly OperandType: OperandType;
|
|
161
161
|
readonly Size: int;
|
|
@@ -184,22 +184,17 @@ export interface __OpCode$views {
|
|
|
184
184
|
export type OpCode = OpCode$instance & __OpCode$views;
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
export
|
|
188
|
-
protected abstract DefineDynamicModuleCore(name: string): ModuleBuilder;
|
|
189
|
-
protected abstract GetDynamicModuleCore(name: string): ModuleBuilder | undefined;
|
|
190
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
export interface AssemblyBuilder$instance extends AssemblyBuilder$protected, Assembly {
|
|
187
|
+
export interface AssemblyBuilder$instance extends Assembly {
|
|
195
188
|
readonly CodeBase: string | undefined;
|
|
196
189
|
readonly EntryPoint: MethodInfo | undefined;
|
|
197
190
|
readonly IsDynamic: boolean;
|
|
198
191
|
readonly Location: string;
|
|
199
192
|
DefineDynamicModule(name: string): ModuleBuilder;
|
|
193
|
+
DefineDynamicModuleCore(name: string): ModuleBuilder;
|
|
200
194
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
201
195
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
202
196
|
GetDynamicModule(name: string): ModuleBuilder | undefined;
|
|
197
|
+
GetDynamicModuleCore(name: string): ModuleBuilder | undefined;
|
|
203
198
|
GetExportedTypes(): Type[];
|
|
204
199
|
GetFile(name: string): FileStream;
|
|
205
200
|
GetFiles(getResourceModules: boolean): FileStream[];
|
|
@@ -212,11 +207,11 @@ export interface AssemblyBuilder$instance extends AssemblyBuilder$protected, Ass
|
|
|
212
207
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
213
208
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
214
209
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
210
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
215
211
|
}
|
|
216
212
|
|
|
217
213
|
|
|
218
|
-
export const AssemblyBuilder: {
|
|
219
|
-
new(): AssemblyBuilder;
|
|
214
|
+
export const AssemblyBuilder: (abstract new() => AssemblyBuilder) & {
|
|
220
215
|
DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder>): AssemblyBuilder;
|
|
221
216
|
DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess): AssemblyBuilder;
|
|
222
217
|
};
|
|
@@ -230,31 +225,26 @@ export interface __AssemblyBuilder$views {
|
|
|
230
225
|
export type AssemblyBuilder = AssemblyBuilder$instance & __AssemblyBuilder$views;
|
|
231
226
|
|
|
232
227
|
|
|
233
|
-
export
|
|
234
|
-
protected InitLocalsCore: boolean;
|
|
235
|
-
protected abstract DefineParameterCore(iSequence: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
236
|
-
protected abstract GetILGeneratorCore(streamSize: int): ILGenerator;
|
|
237
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
238
|
-
protected abstract SetImplementationFlagsCore(attributes: MethodImplAttributes): void;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
export interface ConstructorBuilder$instance extends ConstructorBuilder$protected, ConstructorInfo {
|
|
228
|
+
export interface ConstructorBuilder$instance extends ConstructorInfo {
|
|
243
229
|
InitLocals: boolean;
|
|
230
|
+
InitLocalsCore: boolean;
|
|
244
231
|
DefineParameter(iSequence: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
232
|
+
DefineParameterCore(iSequence: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
245
233
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
246
234
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
247
235
|
GetILGenerator(): ILGenerator;
|
|
248
236
|
GetILGenerator(streamSize: int): ILGenerator;
|
|
237
|
+
GetILGeneratorCore(streamSize: int): ILGenerator;
|
|
249
238
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
250
239
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
251
240
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
241
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
252
242
|
SetImplementationFlags(attributes: MethodImplAttributes): void;
|
|
243
|
+
SetImplementationFlagsCore(attributes: MethodImplAttributes): void;
|
|
253
244
|
}
|
|
254
245
|
|
|
255
246
|
|
|
256
|
-
export const ConstructorBuilder: {
|
|
257
|
-
new(): ConstructorBuilder;
|
|
247
|
+
export const ConstructorBuilder: (abstract new() => ConstructorBuilder) & {
|
|
258
248
|
};
|
|
259
249
|
|
|
260
250
|
|
|
@@ -299,7 +289,6 @@ export interface DynamicILInfo$instance {
|
|
|
299
289
|
|
|
300
290
|
|
|
301
291
|
export const DynamicILInfo: {
|
|
302
|
-
new(): DynamicILInfo;
|
|
303
292
|
};
|
|
304
293
|
|
|
305
294
|
|
|
@@ -308,7 +297,7 @@ export type DynamicILInfo = DynamicILInfo$instance;
|
|
|
308
297
|
export interface DynamicMethod$instance extends MethodInfo {
|
|
309
298
|
readonly Attributes: MethodAttributes;
|
|
310
299
|
readonly CallingConvention: CallingConventions;
|
|
311
|
-
readonly DeclaringType: Type;
|
|
300
|
+
readonly DeclaringType: Type | undefined;
|
|
312
301
|
InitLocals: boolean;
|
|
313
302
|
readonly IsSecurityCritical: boolean;
|
|
314
303
|
readonly IsSecuritySafeCritical: boolean;
|
|
@@ -324,7 +313,7 @@ export interface DynamicMethod$instance extends MethodInfo {
|
|
|
324
313
|
CreateDelegate(delegateType: Type, target: unknown): Function;
|
|
325
314
|
CreateDelegate<T extends Function>(): T;
|
|
326
315
|
CreateDelegate<T extends Function>(target: unknown): T;
|
|
327
|
-
DefineParameter(position: int, attributes: ParameterAttributes, parameterName: string): ParameterBuilder;
|
|
316
|
+
DefineParameter(position: int, attributes: ParameterAttributes, parameterName: string): ParameterBuilder | undefined;
|
|
328
317
|
GetBaseDefinition(): MethodInfo;
|
|
329
318
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
330
319
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
@@ -359,19 +348,14 @@ export interface __DynamicMethod$views {
|
|
|
359
348
|
export type DynamicMethod = DynamicMethod$instance & __DynamicMethod$views;
|
|
360
349
|
|
|
361
350
|
|
|
362
|
-
export
|
|
363
|
-
protected readonly UnderlyingFieldCore: FieldBuilder;
|
|
364
|
-
protected abstract CreateTypeInfoCore(): TypeInfo;
|
|
365
|
-
protected abstract DefineLiteralCore(literalName: string, literalValue: unknown): FieldBuilder;
|
|
366
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
export interface EnumBuilder$instance extends EnumBuilder$protected, TypeInfo {
|
|
351
|
+
export interface EnumBuilder$instance extends TypeInfo {
|
|
371
352
|
readonly UnderlyingField: FieldBuilder;
|
|
353
|
+
readonly UnderlyingFieldCore: FieldBuilder;
|
|
372
354
|
CreateType(): Type;
|
|
373
355
|
CreateTypeInfo(): TypeInfo;
|
|
356
|
+
CreateTypeInfoCore(): TypeInfo;
|
|
374
357
|
DefineLiteral(literalName: string, literalValue: unknown): FieldBuilder;
|
|
358
|
+
DefineLiteralCore(literalName: string, literalValue: unknown): FieldBuilder;
|
|
375
359
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
376
360
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
377
361
|
GetField3(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
@@ -417,11 +401,11 @@ export interface EnumBuilder$instance extends EnumBuilder$protected, TypeInfo {
|
|
|
417
401
|
MakePointerType(): Type;
|
|
418
402
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
419
403
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
404
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
420
405
|
}
|
|
421
406
|
|
|
422
407
|
|
|
423
|
-
export const EnumBuilder: {
|
|
424
|
-
new(): EnumBuilder;
|
|
408
|
+
export const EnumBuilder: (abstract new() => EnumBuilder) & {
|
|
425
409
|
};
|
|
426
410
|
|
|
427
411
|
|
|
@@ -436,52 +420,42 @@ export interface EnumBuilder$instance extends System_Reflection_Internal.IReflec
|
|
|
436
420
|
export type EnumBuilder = EnumBuilder$instance & __EnumBuilder$views;
|
|
437
421
|
|
|
438
422
|
|
|
439
|
-
export
|
|
440
|
-
protected abstract AddOtherMethodCore(mdBuilder: MethodBuilder): void;
|
|
441
|
-
protected abstract SetAddOnMethodCore(mdBuilder: MethodBuilder): void;
|
|
442
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
443
|
-
protected abstract SetRaiseMethodCore(mdBuilder: MethodBuilder): void;
|
|
444
|
-
protected abstract SetRemoveOnMethodCore(mdBuilder: MethodBuilder): void;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
export interface EventBuilder$instance extends EventBuilder$protected {
|
|
423
|
+
export interface EventBuilder$instance {
|
|
449
424
|
AddOtherMethod(mdBuilder: MethodBuilder): void;
|
|
425
|
+
AddOtherMethodCore(mdBuilder: MethodBuilder): void;
|
|
450
426
|
SetAddOnMethod(mdBuilder: MethodBuilder): void;
|
|
427
|
+
SetAddOnMethodCore(mdBuilder: MethodBuilder): void;
|
|
451
428
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
452
429
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
430
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
453
431
|
SetRaiseMethod(mdBuilder: MethodBuilder): void;
|
|
432
|
+
SetRaiseMethodCore(mdBuilder: MethodBuilder): void;
|
|
454
433
|
SetRemoveOnMethod(mdBuilder: MethodBuilder): void;
|
|
434
|
+
SetRemoveOnMethodCore(mdBuilder: MethodBuilder): void;
|
|
455
435
|
}
|
|
456
436
|
|
|
457
437
|
|
|
458
|
-
export const EventBuilder: {
|
|
459
|
-
new(): EventBuilder;
|
|
438
|
+
export const EventBuilder: (abstract new() => EventBuilder) & {
|
|
460
439
|
};
|
|
461
440
|
|
|
462
441
|
|
|
463
442
|
export type EventBuilder = EventBuilder$instance;
|
|
464
443
|
|
|
465
|
-
export
|
|
466
|
-
protected abstract SetConstantCore(defaultValue: unknown): void;
|
|
467
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
468
|
-
protected abstract SetOffsetCore(iOffset: int): void;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
export interface FieldBuilder$instance extends FieldBuilder$protected, FieldInfo {
|
|
444
|
+
export interface FieldBuilder$instance extends FieldInfo {
|
|
473
445
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
474
446
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
475
447
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
476
448
|
SetConstant(defaultValue: unknown): void;
|
|
449
|
+
SetConstantCore(defaultValue: unknown): void;
|
|
477
450
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
478
451
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
452
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
479
453
|
SetOffset(iOffset: int): void;
|
|
454
|
+
SetOffsetCore(iOffset: int): void;
|
|
480
455
|
}
|
|
481
456
|
|
|
482
457
|
|
|
483
|
-
export const FieldBuilder: {
|
|
484
|
-
new(): FieldBuilder;
|
|
458
|
+
export const FieldBuilder: (abstract new() => FieldBuilder) & {
|
|
485
459
|
};
|
|
486
460
|
|
|
487
461
|
|
|
@@ -492,15 +466,7 @@ export interface __FieldBuilder$views {
|
|
|
492
466
|
export type FieldBuilder = FieldBuilder$instance & __FieldBuilder$views;
|
|
493
467
|
|
|
494
468
|
|
|
495
|
-
export
|
|
496
|
-
protected abstract SetBaseTypeConstraintCore(baseTypeConstraint: Type): void;
|
|
497
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
498
|
-
protected abstract SetGenericParameterAttributesCore(genericParameterAttributes: GenericParameterAttributes): void;
|
|
499
|
-
protected abstract SetInterfaceConstraintsCore(...interfaceConstraints: Type[]): void;
|
|
500
|
-
}
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
export interface GenericTypeParameterBuilder$instance extends GenericTypeParameterBuilder$protected, TypeInfo {
|
|
469
|
+
export interface GenericTypeParameterBuilder$instance extends TypeInfo {
|
|
504
470
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
505
471
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
506
472
|
GetField3(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
@@ -541,15 +507,18 @@ export interface GenericTypeParameterBuilder$instance extends GenericTypeParamet
|
|
|
541
507
|
InvokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown | undefined;
|
|
542
508
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
543
509
|
SetBaseTypeConstraint(baseTypeConstraint: Type): void;
|
|
510
|
+
SetBaseTypeConstraintCore(baseTypeConstraint: Type): void;
|
|
544
511
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
545
512
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
513
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
546
514
|
SetGenericParameterAttributes(genericParameterAttributes: GenericParameterAttributes): void;
|
|
515
|
+
SetGenericParameterAttributesCore(genericParameterAttributes: GenericParameterAttributes): void;
|
|
547
516
|
SetInterfaceConstraints(...interfaceConstraints: Type[]): void;
|
|
517
|
+
SetInterfaceConstraintsCore(...interfaceConstraints: Type[]): void;
|
|
548
518
|
}
|
|
549
519
|
|
|
550
520
|
|
|
551
|
-
export const GenericTypeParameterBuilder: {
|
|
552
|
-
new(): GenericTypeParameterBuilder;
|
|
521
|
+
export const GenericTypeParameterBuilder: (abstract new() => GenericTypeParameterBuilder) & {
|
|
553
522
|
};
|
|
554
523
|
|
|
555
524
|
|
|
@@ -564,12 +533,7 @@ export interface GenericTypeParameterBuilder$instance extends System_Reflection_
|
|
|
564
533
|
export type GenericTypeParameterBuilder = GenericTypeParameterBuilder$instance & __GenericTypeParameterBuilder$views;
|
|
565
534
|
|
|
566
535
|
|
|
567
|
-
export
|
|
568
|
-
protected MarkSequencePointCore(document: ISymbolDocumentWriter, startLine: int, startColumn: int, endLine: int, endColumn: int): void;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
export interface ILGenerator$instance extends ILGenerator$protected {
|
|
536
|
+
export interface ILGenerator$instance {
|
|
573
537
|
readonly ILOffset: int;
|
|
574
538
|
BeginCatchBlock(exceptionType: Type): void;
|
|
575
539
|
BeginExceptFilterBlock(): void;
|
|
@@ -607,67 +571,57 @@ export interface ILGenerator$instance extends ILGenerator$protected {
|
|
|
607
571
|
EndScope(): void;
|
|
608
572
|
MarkLabel(loc: Label): void;
|
|
609
573
|
MarkSequencePoint(document: ISymbolDocumentWriter, startLine: int, startColumn: int, endLine: int, endColumn: int): void;
|
|
574
|
+
MarkSequencePointCore(document: ISymbolDocumentWriter, startLine: int, startColumn: int, endLine: int, endColumn: int): void;
|
|
610
575
|
ThrowException(excType: Type): void;
|
|
611
576
|
UsingNamespace(usingNamespace: string): void;
|
|
612
577
|
}
|
|
613
578
|
|
|
614
579
|
|
|
615
|
-
export const ILGenerator: {
|
|
616
|
-
new(): ILGenerator;
|
|
580
|
+
export const ILGenerator: (abstract new() => ILGenerator) & {
|
|
617
581
|
CreateLabel(id: int): Label;
|
|
618
582
|
};
|
|
619
583
|
|
|
620
584
|
|
|
621
585
|
export type ILGenerator = ILGenerator$instance;
|
|
622
586
|
|
|
623
|
-
export
|
|
624
|
-
protected SetLocalSymInfoCore(name: string): void;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
export interface LocalBuilder$instance extends LocalBuilder$protected, LocalVariableInfo {
|
|
587
|
+
export interface LocalBuilder$instance extends LocalVariableInfo {
|
|
629
588
|
SetLocalSymInfo(name: string): void;
|
|
589
|
+
SetLocalSymInfoCore(name: string): void;
|
|
630
590
|
}
|
|
631
591
|
|
|
632
592
|
|
|
633
|
-
export const LocalBuilder: {
|
|
634
|
-
new(): LocalBuilder;
|
|
593
|
+
export const LocalBuilder: (abstract new() => LocalBuilder) & {
|
|
635
594
|
};
|
|
636
595
|
|
|
637
596
|
|
|
638
597
|
export type LocalBuilder = LocalBuilder$instance;
|
|
639
598
|
|
|
640
|
-
export
|
|
641
|
-
protected InitLocalsCore: boolean;
|
|
642
|
-
protected abstract DefineGenericParametersCore(...names: string[]): GenericTypeParameterBuilder[];
|
|
643
|
-
protected abstract DefineParameterCore(position: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
644
|
-
protected abstract GetILGeneratorCore(size: int): ILGenerator;
|
|
645
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
646
|
-
protected abstract SetImplementationFlagsCore(attributes: MethodImplAttributes): void;
|
|
647
|
-
protected abstract SetSignatureCore(returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): void;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
export interface MethodBuilder$instance extends MethodBuilder$protected, MethodInfo {
|
|
599
|
+
export interface MethodBuilder$instance extends MethodInfo {
|
|
652
600
|
InitLocals: boolean;
|
|
601
|
+
InitLocalsCore: boolean;
|
|
653
602
|
DefineGenericParameters(...names: string[]): GenericTypeParameterBuilder[];
|
|
603
|
+
DefineGenericParametersCore(...names: string[]): GenericTypeParameterBuilder[];
|
|
654
604
|
DefineParameter(position: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
605
|
+
DefineParameterCore(position: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
655
606
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
656
607
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
657
608
|
GetILGenerator(): ILGenerator;
|
|
658
609
|
GetILGenerator(size: int): ILGenerator;
|
|
610
|
+
GetILGeneratorCore(size: int): ILGenerator;
|
|
659
611
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
660
612
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
661
613
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
614
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
662
615
|
SetImplementationFlags(attributes: MethodImplAttributes): void;
|
|
616
|
+
SetImplementationFlagsCore(attributes: MethodImplAttributes): void;
|
|
663
617
|
SetParameters(...parameterTypes: Type[]): void;
|
|
664
618
|
SetReturnType(returnType: Type): void;
|
|
665
619
|
SetSignature(returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): void;
|
|
620
|
+
SetSignatureCore(returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): void;
|
|
666
621
|
}
|
|
667
622
|
|
|
668
623
|
|
|
669
|
-
export const MethodBuilder: {
|
|
670
|
-
new(): MethodBuilder;
|
|
624
|
+
export const MethodBuilder: (abstract new() => MethodBuilder) & {
|
|
671
625
|
};
|
|
672
626
|
|
|
673
627
|
|
|
@@ -678,31 +632,23 @@ export interface __MethodBuilder$views {
|
|
|
678
632
|
export type MethodBuilder = MethodBuilder$instance & __MethodBuilder$views;
|
|
679
633
|
|
|
680
634
|
|
|
681
|
-
export
|
|
682
|
-
protected abstract CreateGlobalFunctionsCore(): void;
|
|
683
|
-
protected DefineDocumentCore(url: string, language?: Guid): ISymbolDocumentWriter;
|
|
684
|
-
protected abstract DefineEnumCore(name: string, visibility: TypeAttributes, underlyingType: Type): EnumBuilder;
|
|
685
|
-
protected abstract DefineGlobalMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): MethodBuilder;
|
|
686
|
-
protected abstract DefineInitializedDataCore(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
687
|
-
protected abstract DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
688
|
-
protected abstract DefineTypeCore(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[], packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
689
|
-
protected abstract DefineUninitializedDataCore(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
690
|
-
protected abstract GetArrayMethodCore(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodInfo;
|
|
691
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
export interface ModuleBuilder$instance extends ModuleBuilder$protected, Module {
|
|
635
|
+
export interface ModuleBuilder$instance extends Module {
|
|
696
636
|
CreateGlobalFunctions(): void;
|
|
637
|
+
CreateGlobalFunctionsCore(): void;
|
|
697
638
|
DefineDocument(url: string, language: Guid, languageVendor: Guid, documentType: Guid): ISymbolDocumentWriter;
|
|
698
639
|
DefineDocument(url: string, language?: Guid): ISymbolDocumentWriter;
|
|
640
|
+
DefineDocumentCore(url: string, language?: Guid): ISymbolDocumentWriter;
|
|
699
641
|
DefineEnum(name: string, visibility: TypeAttributes, underlyingType: Type): EnumBuilder;
|
|
642
|
+
DefineEnumCore(name: string, visibility: TypeAttributes, underlyingType: Type): EnumBuilder;
|
|
700
643
|
DefineGlobalMethod(name: string, attributes: MethodAttributes, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
701
644
|
DefineGlobalMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
702
645
|
DefineGlobalMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): MethodBuilder;
|
|
646
|
+
DefineGlobalMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): MethodBuilder;
|
|
703
647
|
DefineInitializedData(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
648
|
+
DefineInitializedDataCore(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
704
649
|
DefinePInvokeMethod(name: string, dllName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
705
650
|
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
651
|
+
DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
706
652
|
DefineType(name: string): TypeBuilder;
|
|
707
653
|
DefineType(name: string, attr: TypeAttributes): TypeBuilder;
|
|
708
654
|
DefineType(name: string, attr: TypeAttributes, parent: Type): TypeBuilder;
|
|
@@ -710,8 +656,11 @@ export interface ModuleBuilder$instance extends ModuleBuilder$protected, Module
|
|
|
710
656
|
DefineType(name: string, attr: TypeAttributes, parent: Type, typesize: int): TypeBuilder;
|
|
711
657
|
DefineType(name: string, attr: TypeAttributes, parent: Type, packsize: PackingSize): TypeBuilder;
|
|
712
658
|
DefineType(name: string, attr: TypeAttributes, parent: Type, packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
659
|
+
DefineTypeCore(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[], packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
713
660
|
DefineUninitializedData(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
661
|
+
DefineUninitializedDataCore(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
714
662
|
GetArrayMethod(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodInfo;
|
|
663
|
+
GetArrayMethodCore(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodInfo;
|
|
715
664
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
716
665
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
717
666
|
GetFieldMetadataToken(field: FieldInfo): int;
|
|
@@ -724,11 +673,11 @@ export interface ModuleBuilder$instance extends ModuleBuilder$protected, Module
|
|
|
724
673
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
725
674
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
726
675
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
676
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
727
677
|
}
|
|
728
678
|
|
|
729
679
|
|
|
730
|
-
export const ModuleBuilder: {
|
|
731
|
-
new(): ModuleBuilder;
|
|
680
|
+
export const ModuleBuilder: (abstract new() => ModuleBuilder) & {
|
|
732
681
|
};
|
|
733
682
|
|
|
734
683
|
|
|
@@ -745,7 +694,6 @@ export interface OpCodes$instance {
|
|
|
745
694
|
|
|
746
695
|
|
|
747
696
|
export const OpCodes: {
|
|
748
|
-
new(): OpCodes;
|
|
749
697
|
readonly Nop: OpCode;
|
|
750
698
|
readonly Break: OpCode;
|
|
751
699
|
readonly Ldarg_0: OpCode;
|
|
@@ -978,52 +926,42 @@ export const OpCodes: {
|
|
|
978
926
|
|
|
979
927
|
export type OpCodes = OpCodes$instance;
|
|
980
928
|
|
|
981
|
-
export
|
|
982
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
export interface ParameterBuilder$instance extends ParameterBuilder$protected {
|
|
929
|
+
export interface ParameterBuilder$instance {
|
|
987
930
|
readonly Attributes: int;
|
|
988
931
|
readonly IsIn: boolean;
|
|
989
932
|
readonly IsOptional: boolean;
|
|
990
933
|
readonly IsOut: boolean;
|
|
991
|
-
readonly Name: string;
|
|
934
|
+
readonly Name: string | undefined;
|
|
992
935
|
readonly Position: int;
|
|
993
936
|
SetConstant(defaultValue: unknown): void;
|
|
994
937
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
995
938
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
939
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
996
940
|
}
|
|
997
941
|
|
|
998
942
|
|
|
999
|
-
export const ParameterBuilder: {
|
|
1000
|
-
new(): ParameterBuilder;
|
|
943
|
+
export const ParameterBuilder: (abstract new() => ParameterBuilder) & {
|
|
1001
944
|
};
|
|
1002
945
|
|
|
1003
946
|
|
|
1004
947
|
export type ParameterBuilder = ParameterBuilder$instance;
|
|
1005
948
|
|
|
1006
|
-
export
|
|
1007
|
-
|
|
1008
|
-
protected GetDynamicModuleCore(name: string): ModuleBuilder | undefined;
|
|
1009
|
-
protected SetCustomAttributeCore2(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1010
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
export interface PersistedAssemblyBuilder$instance extends PersistedAssemblyBuilder$protected, AssemblyBuilder$instance {
|
|
1015
|
-
readonly FullName: string;
|
|
949
|
+
export interface PersistedAssemblyBuilder$instance extends AssemblyBuilder$instance {
|
|
950
|
+
readonly FullName: string | undefined;
|
|
1016
951
|
readonly ManifestModule: Module;
|
|
952
|
+
DefineDynamicModuleCore(name: string): ModuleBuilder;
|
|
1017
953
|
GenerateMetadata(ilStream: BlobBuilder, mappedFieldData: BlobBuilder): MetadataBuilder;
|
|
1018
954
|
GenerateMetadata(ilStream: BlobBuilder, mappedFieldData: BlobBuilder, pdbBuilder: MetadataBuilder): MetadataBuilder;
|
|
1019
955
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1020
956
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
957
|
+
GetDynamicModuleCore(name: string): ModuleBuilder | undefined;
|
|
1021
958
|
GetName(copiedName: boolean): AssemblyName;
|
|
1022
959
|
GetName(): AssemblyName;
|
|
1023
960
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1024
961
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1025
962
|
Save(stream: Stream): void;
|
|
1026
963
|
Save(assemblyFileName: string): void;
|
|
964
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1027
965
|
}
|
|
1028
966
|
|
|
1029
967
|
|
|
@@ -1040,30 +978,25 @@ export interface __PersistedAssemblyBuilder$views {
|
|
|
1040
978
|
export type PersistedAssemblyBuilder = PersistedAssemblyBuilder$instance & __PersistedAssemblyBuilder$views;
|
|
1041
979
|
|
|
1042
980
|
|
|
1043
|
-
export
|
|
1044
|
-
protected abstract AddOtherMethodCore(mdBuilder: MethodBuilder): void;
|
|
1045
|
-
protected abstract SetConstantCore(defaultValue: unknown): void;
|
|
1046
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1047
|
-
protected abstract SetGetMethodCore(mdBuilder: MethodBuilder): void;
|
|
1048
|
-
protected abstract SetSetMethodCore(mdBuilder: MethodBuilder): void;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
export interface PropertyBuilder$instance extends PropertyBuilder$protected, PropertyInfo {
|
|
981
|
+
export interface PropertyBuilder$instance extends PropertyInfo {
|
|
1053
982
|
AddOtherMethod(mdBuilder: MethodBuilder): void;
|
|
983
|
+
AddOtherMethodCore(mdBuilder: MethodBuilder): void;
|
|
1054
984
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1055
985
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1056
986
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1057
987
|
SetConstant(defaultValue: unknown): void;
|
|
988
|
+
SetConstantCore(defaultValue: unknown): void;
|
|
1058
989
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
1059
990
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
991
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1060
992
|
SetGetMethod(mdBuilder: MethodBuilder): void;
|
|
993
|
+
SetGetMethodCore(mdBuilder: MethodBuilder): void;
|
|
1061
994
|
SetSetMethod(mdBuilder: MethodBuilder): void;
|
|
995
|
+
SetSetMethodCore(mdBuilder: MethodBuilder): void;
|
|
1062
996
|
}
|
|
1063
997
|
|
|
1064
998
|
|
|
1065
|
-
export const PropertyBuilder: {
|
|
1066
|
-
new(): PropertyBuilder;
|
|
999
|
+
export const PropertyBuilder: (abstract new() => PropertyBuilder) & {
|
|
1067
1000
|
};
|
|
1068
1001
|
|
|
1069
1002
|
|
|
@@ -1088,7 +1021,6 @@ export interface SignatureHelper$instance {
|
|
|
1088
1021
|
|
|
1089
1022
|
|
|
1090
1023
|
export const SignatureHelper: {
|
|
1091
|
-
new(): SignatureHelper;
|
|
1092
1024
|
GetFieldSigHelper(mod: Module): SignatureHelper;
|
|
1093
1025
|
GetLocalVarSigHelper(): SignatureHelper;
|
|
1094
1026
|
GetLocalVarSigHelper(mod: Module): SignatureHelper;
|
|
@@ -1103,50 +1035,38 @@ export const SignatureHelper: {
|
|
|
1103
1035
|
|
|
1104
1036
|
export type SignatureHelper = SignatureHelper$instance;
|
|
1105
1037
|
|
|
1106
|
-
export
|
|
1107
|
-
protected readonly PackingSizeCore: PackingSize;
|
|
1108
|
-
protected readonly SizeCore: int;
|
|
1109
|
-
protected abstract AddInterfaceImplementationCore(interfaceType: Type): void;
|
|
1110
|
-
protected abstract CreateTypeInfoCore(): TypeInfo;
|
|
1111
|
-
protected abstract DefineConstructorCore(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): ConstructorBuilder;
|
|
1112
|
-
protected abstract DefineDefaultConstructorCore(attributes: MethodAttributes): ConstructorBuilder;
|
|
1113
|
-
protected abstract DefineEventCore(name: string, attributes: EventAttributes, eventtype: Type): EventBuilder;
|
|
1114
|
-
protected abstract DefineFieldCore(fieldName: string, type: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[], attributes: FieldAttributes): FieldBuilder;
|
|
1115
|
-
protected abstract DefineGenericParametersCore(...names: string[]): GenericTypeParameterBuilder[];
|
|
1116
|
-
protected abstract DefineInitializedDataCore(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
1117
|
-
protected abstract DefineMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): MethodBuilder;
|
|
1118
|
-
protected abstract DefineMethodOverrideCore(methodInfoBody: MethodInfo, methodInfoDeclaration: MethodInfo): void;
|
|
1119
|
-
protected abstract DefineNestedTypeCore(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[], packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1120
|
-
protected abstract DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1121
|
-
protected abstract DefinePropertyCore(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1122
|
-
protected abstract DefineTypeInitializerCore(): ConstructorBuilder;
|
|
1123
|
-
protected abstract DefineUninitializedDataCore(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
1124
|
-
protected abstract IsCreatedCore(): boolean;
|
|
1125
|
-
protected abstract SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1126
|
-
protected abstract SetParentCore(parent: Type): void;
|
|
1127
|
-
}
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
export interface TypeBuilder$instance extends TypeBuilder$protected, TypeInfo {
|
|
1038
|
+
export interface TypeBuilder$instance extends TypeInfo {
|
|
1131
1039
|
readonly PackingSize: PackingSize;
|
|
1040
|
+
readonly PackingSizeCore: PackingSize;
|
|
1132
1041
|
readonly Size: int;
|
|
1042
|
+
readonly SizeCore: int;
|
|
1133
1043
|
AddInterfaceImplementation(interfaceType: Type): void;
|
|
1044
|
+
AddInterfaceImplementationCore(interfaceType: Type): void;
|
|
1134
1045
|
CreateType(): Type;
|
|
1135
1046
|
CreateTypeInfo(): TypeInfo;
|
|
1047
|
+
CreateTypeInfoCore(): TypeInfo;
|
|
1136
1048
|
DefineConstructor(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[]): ConstructorBuilder;
|
|
1137
1049
|
DefineConstructor(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): ConstructorBuilder;
|
|
1050
|
+
DefineConstructorCore(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): ConstructorBuilder;
|
|
1138
1051
|
DefineDefaultConstructor(attributes: MethodAttributes): ConstructorBuilder;
|
|
1052
|
+
DefineDefaultConstructorCore(attributes: MethodAttributes): ConstructorBuilder;
|
|
1139
1053
|
DefineEvent(name: string, attributes: EventAttributes, eventtype: Type): EventBuilder;
|
|
1054
|
+
DefineEventCore(name: string, attributes: EventAttributes, eventtype: Type): EventBuilder;
|
|
1140
1055
|
DefineField(fieldName: string, type: Type, attributes: FieldAttributes): FieldBuilder;
|
|
1141
1056
|
DefineField(fieldName: string, type: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[], attributes: FieldAttributes): FieldBuilder;
|
|
1057
|
+
DefineFieldCore(fieldName: string, type: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[], attributes: FieldAttributes): FieldBuilder;
|
|
1142
1058
|
DefineGenericParameters(...names: string[]): GenericTypeParameterBuilder[];
|
|
1059
|
+
DefineGenericParametersCore(...names: string[]): GenericTypeParameterBuilder[];
|
|
1143
1060
|
DefineInitializedData(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
1061
|
+
DefineInitializedDataCore(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
1144
1062
|
DefineMethod(name: string, attributes: MethodAttributes): MethodBuilder;
|
|
1145
1063
|
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions): MethodBuilder;
|
|
1146
1064
|
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
1147
1065
|
DefineMethod(name: string, attributes: MethodAttributes, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
1148
1066
|
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): MethodBuilder;
|
|
1067
|
+
DefineMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): MethodBuilder;
|
|
1149
1068
|
DefineMethodOverride(methodInfoBody: MethodInfo, methodInfoDeclaration: MethodInfo): void;
|
|
1069
|
+
DefineMethodOverrideCore(methodInfoBody: MethodInfo, methodInfoDeclaration: MethodInfo): void;
|
|
1150
1070
|
DefineNestedType(name: string): TypeBuilder;
|
|
1151
1071
|
DefineNestedType(name: string, attr: TypeAttributes): TypeBuilder;
|
|
1152
1072
|
DefineNestedType(name: string, attr: TypeAttributes, parent: Type): TypeBuilder;
|
|
@@ -1154,15 +1074,20 @@ export interface TypeBuilder$instance extends TypeBuilder$protected, TypeInfo {
|
|
|
1154
1074
|
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, typeSize: int): TypeBuilder;
|
|
1155
1075
|
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, packSize: PackingSize): TypeBuilder;
|
|
1156
1076
|
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1077
|
+
DefineNestedTypeCore(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[], packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1157
1078
|
DefinePInvokeMethod(name: string, dllName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1158
1079
|
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1159
1080
|
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1081
|
+
DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1160
1082
|
DefineProperty(name: string, attributes: PropertyAttributes, returnType: Type, parameterTypes: Type[]): PropertyBuilder;
|
|
1161
1083
|
DefineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): PropertyBuilder;
|
|
1162
1084
|
DefineProperty(name: string, attributes: PropertyAttributes, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1163
1085
|
DefineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1086
|
+
DefinePropertyCore(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1164
1087
|
DefineTypeInitializer(): ConstructorBuilder;
|
|
1088
|
+
DefineTypeInitializerCore(): ConstructorBuilder;
|
|
1165
1089
|
DefineUninitializedData(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
1090
|
+
DefineUninitializedDataCore(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
1166
1091
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1167
1092
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1168
1093
|
GetField3(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
@@ -1202,6 +1127,7 @@ export interface TypeBuilder$instance extends TypeBuilder$protected, TypeInfo {
|
|
|
1202
1127
|
InvokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown | undefined;
|
|
1203
1128
|
InvokeMember4(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown | undefined;
|
|
1204
1129
|
IsCreated(): boolean;
|
|
1130
|
+
IsCreatedCore(): boolean;
|
|
1205
1131
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1206
1132
|
MakeArrayType(): Type;
|
|
1207
1133
|
MakeArrayType(rank: int): Type;
|
|
@@ -1210,12 +1136,13 @@ export interface TypeBuilder$instance extends TypeBuilder$protected, TypeInfo {
|
|
|
1210
1136
|
MakePointerType(): Type;
|
|
1211
1137
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
1212
1138
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
1139
|
+
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1213
1140
|
SetParent(parent: Type): void;
|
|
1141
|
+
SetParentCore(parent: Type): void;
|
|
1214
1142
|
}
|
|
1215
1143
|
|
|
1216
1144
|
|
|
1217
|
-
export const TypeBuilder: {
|
|
1218
|
-
new(): TypeBuilder;
|
|
1145
|
+
export const TypeBuilder: (abstract new() => TypeBuilder) & {
|
|
1219
1146
|
readonly UnspecifiedTypeSize: int;
|
|
1220
1147
|
GetConstructor(type: Type, constructor: ConstructorInfo): ConstructorInfo;
|
|
1221
1148
|
GetField(type: Type, field: FieldInfo): FieldInfo;
|