@tsonic/dotnet 0.8.1 → 0.8.3
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.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +156 -154
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +1 -1
- package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
- package/System.Collections/internal/index.d.ts +12 -8
- package/System.Collections.Generic/internal/index.d.ts +22 -14
- package/System.Collections.Immutable/internal/index.d.ts +11 -11
- package/System.Collections.Specialized/internal/index.d.ts +20 -18
- package/System.ComponentModel/internal/index.d.ts +219 -209
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
- package/System.ComponentModel.Design/internal/index.d.ts +40 -40
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
- package/System.Data/internal/index.d.ts +54 -46
- package/System.Data.Common/internal/index.d.ts +52 -44
- package/System.Data.SqlTypes/internal/index.d.ts +2 -2
- package/System.Diagnostics/internal/index.d.ts +85 -63
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
- package/System.Drawing/internal/index.d.ts +33 -33
- package/System.Dynamic/internal/index.d.ts +1 -1
- package/System.Formats.Tar/internal/index.d.ts +3 -2
- package/System.Globalization/internal/index.d.ts +8 -6
- package/System.IO/internal/index.d.ts +30 -27
- package/System.IO.Compression/internal/index.d.ts +1 -1
- package/System.IO.Enumeration/internal/index.d.ts +4 -2
- package/System.Linq/internal/index.d.ts +63 -63
- package/System.Linq.Expressions/internal/index.d.ts +13 -13
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +87 -63
- package/System.Net.Http/internal/index.d.ts +37 -21
- package/System.Net.Http.Headers/internal/index.d.ts +37 -20
- package/System.Net.Http.Json/internal/index.d.ts +39 -39
- package/System.Net.Mail/internal/index.d.ts +22 -12
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
- package/System.Net.Quic/internal/index.d.ts +3 -2
- package/System.Net.Security/internal/index.d.ts +38 -22
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
- package/System.Net.Sockets/internal/index.d.ts +23 -16
- package/System.Net.WebSockets/internal/index.d.ts +17 -11
- package/System.Numerics/bindings.json +408 -0
- package/System.Numerics/internal/metadata.json +272 -0
- package/System.Reflection/internal/index.d.ts +185 -182
- package/System.Reflection.Emit/internal/index.d.ts +82 -82
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +5 -5
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +13 -12
- package/System.Runtime/internal/index.d.ts +2 -1
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
- package/System.Runtime.Loader/internal/index.d.ts +4 -4
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +53 -43
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
- package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
- package/System.Runtime.Versioning/internal/index.d.ts +6 -3
- package/System.Security/internal/index.d.ts +35 -25
- package/System.Security.AccessControl/internal/index.d.ts +14 -10
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
- package/System.Security.Claims/internal/index.d.ts +16 -12
- package/System.Security.Cryptography/internal/index.d.ts +80 -66
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +8 -10
- package/System.Text/internal/index.d.ts +13 -11
- package/System.Text.Json/internal/index.d.ts +67 -61
- package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
- package/System.Threading/internal/index.d.ts +16 -15
- package/System.Threading.Tasks/internal/index.d.ts +4 -14
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
- package/System.Timers/internal/index.d.ts +4 -2
- package/System.Transactions/internal/index.d.ts +8 -6
- package/System.Web/internal/index.d.ts +24 -24
- package/System.Xml/internal/index.d.ts +100 -99
- package/System.Xml.Linq/internal/index.d.ts +16 -15
- package/System.Xml.Resolvers/internal/index.d.ts +1 -1
- package/System.Xml.Schema/internal/index.d.ts +129 -84
- package/System.Xml.Serialization/internal/index.d.ts +68 -47
- package/System.Xml.XPath/internal/index.d.ts +10 -10
- package/System.Xml.Xsl/internal/index.d.ts +7 -7
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
- package/__internal/extensions/index.d.ts +177 -176
- package/package.json +1 -1
|
@@ -397,17 +397,17 @@ export type ICustomTypeProvider = ICustomTypeProvider$instance;
|
|
|
397
397
|
|
|
398
398
|
export interface IReflect$instance {
|
|
399
399
|
readonly underlyingSystemType: Type;
|
|
400
|
-
getField(name: string, bindingAttr: BindingFlags): FieldInfo;
|
|
400
|
+
getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
401
401
|
getFields(bindingAttr: BindingFlags): FieldInfo[];
|
|
402
402
|
getMember(name: string, bindingAttr: BindingFlags): MemberInfo[];
|
|
403
403
|
getMembers(bindingAttr: BindingFlags): MemberInfo[];
|
|
404
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
405
|
-
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo;
|
|
404
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
405
|
+
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
|
|
406
406
|
getMethods(bindingAttr: BindingFlags): MethodInfo[];
|
|
407
407
|
getProperties(bindingAttr: BindingFlags): PropertyInfo[];
|
|
408
|
-
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
409
|
-
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo;
|
|
410
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
|
|
408
|
+
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
409
|
+
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
|
|
410
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown | undefined;
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
|
|
@@ -521,10 +521,10 @@ export type AmbiguousMatchException = AmbiguousMatchException$instance & __Ambig
|
|
|
521
521
|
|
|
522
522
|
|
|
523
523
|
export interface Assembly$instance {
|
|
524
|
-
readonly codeBase: string;
|
|
524
|
+
readonly codeBase: string | undefined;
|
|
525
525
|
readonly customAttributes: IEnumerable_1<CustomAttributeData>;
|
|
526
526
|
readonly definedTypes: IEnumerable_1<TypeInfo>;
|
|
527
|
-
readonly entryPoint: MethodInfo;
|
|
527
|
+
readonly entryPoint: MethodInfo | undefined;
|
|
528
528
|
readonly escapedCodeBase: string;
|
|
529
529
|
readonly exportedTypes: IEnumerable_1<Type>;
|
|
530
530
|
readonly fullName: string;
|
|
@@ -539,26 +539,26 @@ export interface Assembly$instance {
|
|
|
539
539
|
readonly modules: IEnumerable_1<Module>;
|
|
540
540
|
readonly reflectionOnly: boolean;
|
|
541
541
|
readonly securityRuleSet: SecurityRuleSet;
|
|
542
|
-
createInstance(typeName: string): unknown;
|
|
543
|
-
createInstance(typeName: string, ignoreCase: boolean): unknown;
|
|
544
|
-
createInstance(typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown;
|
|
542
|
+
createInstance(typeName: string): unknown | undefined;
|
|
543
|
+
createInstance(typeName: string, ignoreCase: boolean): unknown | undefined;
|
|
544
|
+
createInstance(typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown | undefined;
|
|
545
545
|
equals(o: unknown): boolean;
|
|
546
546
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
547
547
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
548
548
|
getCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
549
549
|
getExportedTypes(): Type[];
|
|
550
|
-
getFile(name: string): FileStream;
|
|
550
|
+
getFile(name: string): FileStream | undefined;
|
|
551
551
|
getFiles(): FileStream[];
|
|
552
552
|
getFiles(getResourceModules: boolean): FileStream[];
|
|
553
553
|
getForwardedTypes(): Type[];
|
|
554
554
|
getHashCode(): int;
|
|
555
555
|
getLoadedModules(): Module[];
|
|
556
556
|
getLoadedModules(getResourceModules: boolean): Module[];
|
|
557
|
-
getManifestResourceInfo(resourceName: string): ManifestResourceInfo;
|
|
557
|
+
getManifestResourceInfo(resourceName: string): ManifestResourceInfo | undefined;
|
|
558
558
|
getManifestResourceNames(): string[];
|
|
559
|
-
getManifestResourceStream(name: string): Stream;
|
|
560
|
-
getManifestResourceStream(type_: Type, name: string): Stream;
|
|
561
|
-
getModule(name: string): Module;
|
|
559
|
+
getManifestResourceStream(name: string): Stream | undefined;
|
|
560
|
+
getManifestResourceStream(type_: Type, name: string): Stream | undefined;
|
|
561
|
+
getModule(name: string): Module | undefined;
|
|
562
562
|
getModules(): Module[];
|
|
563
563
|
getModules(getResourceModules: boolean): Module[];
|
|
564
564
|
getName(): AssemblyName;
|
|
@@ -567,9 +567,9 @@ export interface Assembly$instance {
|
|
|
567
567
|
getReferencedAssemblies(): AssemblyName[];
|
|
568
568
|
getSatelliteAssembly(culture: CultureInfo): Assembly;
|
|
569
569
|
getSatelliteAssembly(culture: CultureInfo, version: Version): Assembly;
|
|
570
|
-
getType(name: string): Type;
|
|
571
|
-
getType(name: string, throwOnError: boolean): Type;
|
|
572
|
-
getType(name: string, throwOnError: boolean, ignoreCase: boolean): Type;
|
|
570
|
+
getType(name: string): Type | undefined;
|
|
571
|
+
getType(name: string, throwOnError: boolean): Type | undefined;
|
|
572
|
+
getType(name: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
|
|
573
573
|
getTypes(): Type[];
|
|
574
574
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
575
575
|
loadModule(moduleName: string, rawModule: byte[]): Module;
|
|
@@ -580,9 +580,9 @@ export interface Assembly$instance {
|
|
|
580
580
|
|
|
581
581
|
export const Assembly: {
|
|
582
582
|
createQualifiedName(assemblyName: string, typeName: string): string;
|
|
583
|
-
getAssembly(type_: Type): Assembly;
|
|
583
|
+
getAssembly(type_: Type): Assembly | undefined;
|
|
584
584
|
getCallingAssembly(): Assembly;
|
|
585
|
-
getEntryAssembly(): Assembly;
|
|
585
|
+
getEntryAssembly(): Assembly | undefined;
|
|
586
586
|
getExecutingAssembly(): Assembly;
|
|
587
587
|
load(rawAssembly: byte[], rawSymbolStore: byte[]): Assembly;
|
|
588
588
|
load(rawAssembly: byte[]): Assembly;
|
|
@@ -591,7 +591,7 @@ export const Assembly: {
|
|
|
591
591
|
loadFile(path: string): Assembly;
|
|
592
592
|
loadFrom(assemblyFile: string, hashValue: byte[], hashAlgorithm: AssemblyHashAlgorithm_Assemblies): Assembly;
|
|
593
593
|
loadFrom(assemblyFile: string): Assembly;
|
|
594
|
-
loadWithPartialName(partialName: string): Assembly;
|
|
594
|
+
loadWithPartialName(partialName: string): Assembly | undefined;
|
|
595
595
|
reflectionOnlyLoad(rawAssembly: byte[]): Assembly;
|
|
596
596
|
reflectionOnlyLoad(assemblyString: string): Assembly;
|
|
597
597
|
reflectionOnlyLoadFrom(assemblyFile: string): Assembly;
|
|
@@ -784,7 +784,8 @@ export const AssemblyMetadataAttribute: {
|
|
|
784
784
|
export type AssemblyMetadataAttribute = AssemblyMetadataAttribute$instance;
|
|
785
785
|
|
|
786
786
|
export interface AssemblyName$instance {
|
|
787
|
-
codeBase: string;
|
|
787
|
+
get codeBase(): string | undefined;
|
|
788
|
+
set codeBase(value: string);
|
|
788
789
|
contentType: AssemblyContentType;
|
|
789
790
|
cultureInfo: CultureInfo;
|
|
790
791
|
cultureName: string;
|
|
@@ -792,7 +793,8 @@ export interface AssemblyName$instance {
|
|
|
792
793
|
flags: AssemblyNameFlags;
|
|
793
794
|
readonly fullName: string;
|
|
794
795
|
hashAlgorithm: AssemblyHashAlgorithm_Assemblies;
|
|
795
|
-
keyPair: StrongNameKeyPair;
|
|
796
|
+
get keyPair(): StrongNameKeyPair | undefined;
|
|
797
|
+
set keyPair(value: StrongNameKeyPair);
|
|
796
798
|
name: string;
|
|
797
799
|
processorArchitecture: ProcessorArchitecture;
|
|
798
800
|
version: Version;
|
|
@@ -800,7 +802,7 @@ export interface AssemblyName$instance {
|
|
|
800
802
|
clone(): unknown;
|
|
801
803
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
802
804
|
getPublicKey(): byte[];
|
|
803
|
-
getPublicKeyToken(): byte[];
|
|
805
|
+
getPublicKeyToken(): byte[] | undefined;
|
|
804
806
|
onDeserialization(sender: unknown): void;
|
|
805
807
|
setPublicKey(publicKey: byte[]): void;
|
|
806
808
|
setPublicKeyToken(publicKeyToken: byte[]): void;
|
|
@@ -905,8 +907,8 @@ export interface Binder$instance {
|
|
|
905
907
|
bindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, names: string[], state: unknown): MethodBase;
|
|
906
908
|
changeType(value: unknown, type_: Type, culture: CultureInfo): unknown;
|
|
907
909
|
reorderArgumentArray(args: unknown[], state: unknown): void;
|
|
908
|
-
selectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[]): MethodBase;
|
|
909
|
-
selectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type, indexes: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
910
|
+
selectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[]): MethodBase | undefined;
|
|
911
|
+
selectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type, indexes: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
910
912
|
}
|
|
911
913
|
|
|
912
914
|
|
|
@@ -922,8 +924,8 @@ export interface ConstructorInfo$instance extends MethodBase$instance {
|
|
|
922
924
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
923
925
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
924
926
|
getHashCode(): int;
|
|
925
|
-
invoke(obj: unknown, parameters: unknown[]): unknown;
|
|
926
|
-
invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
|
|
927
|
+
invoke(obj: unknown, parameters: unknown[]): unknown | undefined;
|
|
928
|
+
invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown | undefined;
|
|
927
929
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
928
930
|
}
|
|
929
931
|
|
|
@@ -1025,25 +1027,25 @@ export type DispatchProxy = DispatchProxy$instance;
|
|
|
1025
1027
|
export interface EventInfo$instance extends MemberInfo$instance {
|
|
1026
1028
|
readonly addMethod: MethodInfo;
|
|
1027
1029
|
readonly attributes: EventAttributes;
|
|
1028
|
-
readonly eventHandlerType: Type;
|
|
1030
|
+
readonly eventHandlerType: Type | undefined;
|
|
1029
1031
|
readonly isMulticast: boolean;
|
|
1030
1032
|
readonly isSpecialName: boolean;
|
|
1031
1033
|
readonly memberType: MemberTypes;
|
|
1032
|
-
readonly raiseMethod: MethodInfo;
|
|
1033
|
-
readonly removeMethod: MethodInfo;
|
|
1034
|
+
readonly raiseMethod: MethodInfo | undefined;
|
|
1035
|
+
readonly removeMethod: MethodInfo | undefined;
|
|
1034
1036
|
addEventHandler(target: unknown, handler: Function): void;
|
|
1035
1037
|
equals(obj: unknown): boolean;
|
|
1036
|
-
getAddMethod(): MethodInfo;
|
|
1037
|
-
getAddMethod(nonPublic: boolean): MethodInfo;
|
|
1038
|
+
getAddMethod(): MethodInfo | undefined;
|
|
1039
|
+
getAddMethod(nonPublic: boolean): MethodInfo | undefined;
|
|
1038
1040
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1039
1041
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1040
1042
|
getHashCode(): int;
|
|
1041
1043
|
getOtherMethods(): MethodInfo[];
|
|
1042
1044
|
getOtherMethods(nonPublic: boolean): MethodInfo[];
|
|
1043
|
-
getRaiseMethod(): MethodInfo;
|
|
1044
|
-
getRaiseMethod(nonPublic: boolean): MethodInfo;
|
|
1045
|
-
getRemoveMethod(): MethodInfo;
|
|
1046
|
-
getRemoveMethod(nonPublic: boolean): MethodInfo;
|
|
1045
|
+
getRaiseMethod(): MethodInfo | undefined;
|
|
1046
|
+
getRaiseMethod(nonPublic: boolean): MethodInfo | undefined;
|
|
1047
|
+
getRemoveMethod(): MethodInfo | undefined;
|
|
1048
|
+
getRemoveMethod(nonPublic: boolean): MethodInfo | undefined;
|
|
1047
1049
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1048
1050
|
removeEventHandler(target: unknown, handler: Function): void;
|
|
1049
1051
|
}
|
|
@@ -1061,7 +1063,7 @@ export type EventInfo = EventInfo$instance & __EventInfo$views;
|
|
|
1061
1063
|
|
|
1062
1064
|
|
|
1063
1065
|
export interface ExceptionHandlingClause$instance {
|
|
1064
|
-
readonly catchType: Type;
|
|
1066
|
+
readonly catchType: Type | undefined;
|
|
1065
1067
|
readonly filterOffset: int;
|
|
1066
1068
|
readonly flags: ExceptionHandlingClauseOptions;
|
|
1067
1069
|
readonly handlerLength: int;
|
|
@@ -1105,10 +1107,10 @@ export interface FieldInfo$instance extends MemberInfo$instance {
|
|
|
1105
1107
|
getHashCode(): int;
|
|
1106
1108
|
getModifiedFieldType(): Type;
|
|
1107
1109
|
getOptionalCustomModifiers(): Type[];
|
|
1108
|
-
getRawConstantValue(): unknown;
|
|
1110
|
+
getRawConstantValue(): unknown | undefined;
|
|
1109
1111
|
getRequiredCustomModifiers(): Type[];
|
|
1110
|
-
getValue(obj: unknown): unknown;
|
|
1111
|
-
getValueDirect(obj: TypedReference): unknown;
|
|
1112
|
+
getValue(obj: unknown): unknown | undefined;
|
|
1113
|
+
getValueDirect(obj: TypedReference): unknown | undefined;
|
|
1112
1114
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1113
1115
|
setValue(obj: unknown, value: unknown): void;
|
|
1114
1116
|
setValue(obj: unknown, value: unknown, invokeAttr: BindingFlags, binder: Binder, culture: CultureInfo): void;
|
|
@@ -1165,7 +1167,7 @@ export type LocalVariableInfo = LocalVariableInfo$instance;
|
|
|
1165
1167
|
|
|
1166
1168
|
export interface ManifestResourceInfo$instance {
|
|
1167
1169
|
readonly fileName: string;
|
|
1168
|
-
readonly referencedAssembly: Assembly;
|
|
1170
|
+
readonly referencedAssembly: Assembly | undefined;
|
|
1169
1171
|
readonly resourceLocation: ResourceLocation;
|
|
1170
1172
|
}
|
|
1171
1173
|
|
|
@@ -1185,7 +1187,7 @@ export interface MemberInfo$instance {
|
|
|
1185
1187
|
readonly metadataToken: int;
|
|
1186
1188
|
readonly module_: Module;
|
|
1187
1189
|
readonly name: string;
|
|
1188
|
-
readonly reflectedType: Type;
|
|
1190
|
+
readonly reflectedType: Type | undefined;
|
|
1189
1191
|
equals(obj: unknown): boolean;
|
|
1190
1192
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1191
1193
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
@@ -1239,19 +1241,19 @@ export interface MethodBase$instance extends MemberInfo$instance {
|
|
|
1239
1241
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1240
1242
|
getGenericArguments(): Type[];
|
|
1241
1243
|
getHashCode(): int;
|
|
1242
|
-
getMethodBody(): MethodBody;
|
|
1244
|
+
getMethodBody(): MethodBody | undefined;
|
|
1243
1245
|
getMethodImplementationFlags(): MethodImplAttributes;
|
|
1244
1246
|
getParameters(): ParameterInfo[];
|
|
1245
|
-
invoke(obj: unknown, parameters: unknown[]): unknown;
|
|
1246
|
-
invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
|
|
1247
|
+
invoke(obj: unknown, parameters: unknown[]): unknown | undefined;
|
|
1248
|
+
invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown | undefined;
|
|
1247
1249
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1248
1250
|
}
|
|
1249
1251
|
|
|
1250
1252
|
|
|
1251
1253
|
export const MethodBase: {
|
|
1252
|
-
getCurrentMethod(): MethodBase;
|
|
1253
|
-
getMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase;
|
|
1254
|
-
getMethodFromHandle(handle: RuntimeMethodHandle): MethodBase;
|
|
1254
|
+
getCurrentMethod(): MethodBase | undefined;
|
|
1255
|
+
getMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase | undefined;
|
|
1256
|
+
getMethodFromHandle(handle: RuntimeMethodHandle): MethodBase | undefined;
|
|
1255
1257
|
};
|
|
1256
1258
|
|
|
1257
1259
|
|
|
@@ -1268,7 +1270,7 @@ export interface MethodBody$instance {
|
|
|
1268
1270
|
readonly localSignatureMetadataToken: int;
|
|
1269
1271
|
readonly localVariables: IList_1<LocalVariableInfo>;
|
|
1270
1272
|
readonly maxStackSize: int;
|
|
1271
|
-
getILAsByteArray(): byte[];
|
|
1273
|
+
getILAsByteArray(): byte[] | undefined;
|
|
1272
1274
|
}
|
|
1273
1275
|
|
|
1274
1276
|
|
|
@@ -1316,8 +1318,8 @@ export interface MethodInvoker$instance {
|
|
|
1316
1318
|
invoke(obj: unknown, arg1: unknown): unknown;
|
|
1317
1319
|
invoke(obj: unknown, arg1: unknown, arg2: unknown): unknown;
|
|
1318
1320
|
invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
|
1319
|
-
invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown;
|
|
1320
|
-
invoke(obj: unknown, arguments: Span_1<unknown>): unknown;
|
|
1321
|
+
invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown | undefined;
|
|
1322
|
+
invoke(obj: unknown, arguments: Span_1<unknown>): unknown | undefined;
|
|
1321
1323
|
}
|
|
1322
1324
|
|
|
1323
1325
|
|
|
@@ -1363,30 +1365,30 @@ export interface Module$instance {
|
|
|
1363
1365
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1364
1366
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1365
1367
|
getCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
1366
|
-
getField(name: string): FieldInfo;
|
|
1367
|
-
getField(name: string, bindingAttr: BindingFlags): FieldInfo;
|
|
1368
|
+
getField(name: string): FieldInfo | undefined;
|
|
1369
|
+
getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
1368
1370
|
getFields(): FieldInfo[];
|
|
1369
1371
|
getFields(bindingFlags: BindingFlags): FieldInfo[];
|
|
1370
1372
|
getHashCode(): int;
|
|
1371
|
-
getMethod(name: string): MethodInfo;
|
|
1372
|
-
getMethod(name: string, types: Type[]): MethodInfo;
|
|
1373
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1373
|
+
getMethod(name: string): MethodInfo | undefined;
|
|
1374
|
+
getMethod(name: string, types: Type[]): MethodInfo | undefined;
|
|
1375
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1374
1376
|
getMethods(): MethodInfo[];
|
|
1375
1377
|
getMethods(bindingFlags: BindingFlags): MethodInfo[];
|
|
1376
1378
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1377
1379
|
getPEKind(peKind: PortableExecutableKinds, machine: ImageFileMachine): void;
|
|
1378
|
-
getType(className: string): Type;
|
|
1379
|
-
getType(className: string, ignoreCase: boolean): Type;
|
|
1380
|
-
getType(className: string, throwOnError: boolean, ignoreCase: boolean): Type;
|
|
1380
|
+
getType(className: string): Type | undefined;
|
|
1381
|
+
getType(className: string, ignoreCase: boolean): Type | undefined;
|
|
1382
|
+
getType(className: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
|
|
1381
1383
|
getTypes(): Type[];
|
|
1382
1384
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1383
1385
|
isResource(): boolean;
|
|
1384
|
-
resolveField(metadataToken: int): FieldInfo;
|
|
1385
|
-
resolveField(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): FieldInfo;
|
|
1386
|
-
resolveMember(metadataToken: int): MemberInfo;
|
|
1387
|
-
resolveMember(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MemberInfo;
|
|
1388
|
-
resolveMethod(metadataToken: int): MethodBase;
|
|
1389
|
-
resolveMethod(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MethodBase;
|
|
1386
|
+
resolveField(metadataToken: int): FieldInfo | undefined;
|
|
1387
|
+
resolveField(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): FieldInfo | undefined;
|
|
1388
|
+
resolveMember(metadataToken: int): MemberInfo | undefined;
|
|
1389
|
+
resolveMember(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MemberInfo | undefined;
|
|
1390
|
+
resolveMethod(metadataToken: int): MethodBase | undefined;
|
|
1391
|
+
resolveMethod(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MethodBase | undefined;
|
|
1390
1392
|
resolveSignature(metadataToken: int): byte[];
|
|
1391
1393
|
resolveString(metadataToken: int): string;
|
|
1392
1394
|
resolveType(metadataToken: int): Type;
|
|
@@ -1458,7 +1460,8 @@ export type ObfuscateAssemblyAttribute = ObfuscateAssemblyAttribute$instance;
|
|
|
1458
1460
|
export interface ObfuscationAttribute$instance extends Attribute {
|
|
1459
1461
|
applyToMembers: boolean;
|
|
1460
1462
|
exclude: boolean;
|
|
1461
|
-
feature: string;
|
|
1463
|
+
get feature(): string | undefined;
|
|
1464
|
+
set feature(value: string);
|
|
1462
1465
|
stripAfterObfuscation: boolean;
|
|
1463
1466
|
}
|
|
1464
1467
|
|
|
@@ -1485,7 +1488,7 @@ export interface ParameterInfo$instance {
|
|
|
1485
1488
|
readonly name: string;
|
|
1486
1489
|
readonly parameterType: Type;
|
|
1487
1490
|
readonly position: int;
|
|
1488
|
-
readonly rawDefaultValue: unknown;
|
|
1491
|
+
readonly rawDefaultValue: unknown | undefined;
|
|
1489
1492
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1490
1493
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1491
1494
|
getCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
@@ -1539,30 +1542,30 @@ export interface PropertyInfo$instance extends MemberInfo$instance {
|
|
|
1539
1542
|
readonly attributes: PropertyAttributes;
|
|
1540
1543
|
readonly canRead: boolean;
|
|
1541
1544
|
readonly canWrite: boolean;
|
|
1542
|
-
readonly getMethod: MethodInfo;
|
|
1545
|
+
readonly getMethod: MethodInfo | undefined;
|
|
1543
1546
|
readonly isSpecialName: boolean;
|
|
1544
1547
|
readonly memberType: MemberTypes;
|
|
1545
1548
|
readonly propertyType: Type;
|
|
1546
|
-
readonly setMethod: MethodInfo;
|
|
1549
|
+
readonly setMethod: MethodInfo | undefined;
|
|
1547
1550
|
equals(obj: unknown): boolean;
|
|
1548
1551
|
getAccessors(): MethodInfo[];
|
|
1549
1552
|
getAccessors(nonPublic: boolean): MethodInfo[];
|
|
1550
|
-
getConstantValue(): unknown;
|
|
1553
|
+
getConstantValue(): unknown | undefined;
|
|
1551
1554
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1552
1555
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1553
|
-
getGetMethod(): MethodInfo;
|
|
1554
|
-
getGetMethod(nonPublic: boolean): MethodInfo;
|
|
1556
|
+
getGetMethod(): MethodInfo | undefined;
|
|
1557
|
+
getGetMethod(nonPublic: boolean): MethodInfo | undefined;
|
|
1555
1558
|
getHashCode(): int;
|
|
1556
1559
|
getIndexParameters(): ParameterInfo[];
|
|
1557
1560
|
getModifiedPropertyType(): Type;
|
|
1558
1561
|
getOptionalCustomModifiers(): Type[];
|
|
1559
|
-
getRawConstantValue(): unknown;
|
|
1562
|
+
getRawConstantValue(): unknown | undefined;
|
|
1560
1563
|
getRequiredCustomModifiers(): Type[];
|
|
1561
|
-
getSetMethod(): MethodInfo;
|
|
1562
|
-
getSetMethod(nonPublic: boolean): MethodInfo;
|
|
1563
|
-
getValue(obj: unknown): unknown;
|
|
1564
|
-
getValue(obj: unknown, index: unknown[]): unknown;
|
|
1565
|
-
getValue(obj: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): unknown;
|
|
1564
|
+
getSetMethod(): MethodInfo | undefined;
|
|
1565
|
+
getSetMethod(nonPublic: boolean): MethodInfo | undefined;
|
|
1566
|
+
getValue(obj: unknown): unknown | undefined;
|
|
1567
|
+
getValue(obj: unknown, index: unknown[]): unknown | undefined;
|
|
1568
|
+
getValue(obj: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): unknown | undefined;
|
|
1566
1569
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1567
1570
|
setValue(obj: unknown, value: unknown): void;
|
|
1568
1571
|
setValue(obj: unknown, value: unknown, index: unknown[]): void;
|
|
@@ -1595,9 +1598,9 @@ export const ReflectionContext: {
|
|
|
1595
1598
|
export type ReflectionContext = ReflectionContext$instance;
|
|
1596
1599
|
|
|
1597
1600
|
export interface ReflectionTypeLoadException$instance extends SystemException {
|
|
1598
|
-
readonly loaderExceptions: Exception[];
|
|
1601
|
+
readonly loaderExceptions: (Exception | undefined)[];
|
|
1599
1602
|
readonly message: string;
|
|
1600
|
-
readonly types: Type[];
|
|
1603
|
+
readonly types: (Type | undefined)[];
|
|
1601
1604
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1602
1605
|
toString(): string;
|
|
1603
1606
|
}
|
|
@@ -1697,7 +1700,7 @@ export type TargetParameterCountException = TargetParameterCountException$instan
|
|
|
1697
1700
|
export interface TypeDelegator$instance extends TypeInfo$instance {
|
|
1698
1701
|
readonly assembly: Assembly;
|
|
1699
1702
|
readonly assemblyQualifiedName: string;
|
|
1700
|
-
readonly baseType: Type;
|
|
1703
|
+
readonly baseType: Type | undefined;
|
|
1701
1704
|
readonly fullName: string;
|
|
1702
1705
|
readonly GUID: Guid;
|
|
1703
1706
|
readonly isByRefLike: boolean;
|
|
@@ -1722,19 +1725,19 @@ export interface TypeDelegator$instance extends TypeInfo$instance {
|
|
|
1722
1725
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1723
1726
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1724
1727
|
getElementType(): Type;
|
|
1725
|
-
getEvent(name: string, bindingAttr: BindingFlags): EventInfo;
|
|
1726
|
-
getEvent(name: string): EventInfo;
|
|
1728
|
+
getEvent(name: string, bindingAttr: BindingFlags): EventInfo | undefined;
|
|
1729
|
+
getEvent(name: string): EventInfo | undefined;
|
|
1727
1730
|
getEvents(): EventInfo[];
|
|
1728
1731
|
getEvents(bindingAttr: BindingFlags): EventInfo[];
|
|
1729
|
-
getField(name: string, bindingAttr: BindingFlags): FieldInfo;
|
|
1730
|
-
getField(name: string): FieldInfo;
|
|
1732
|
+
getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
1733
|
+
getField(name: string): FieldInfo | undefined;
|
|
1731
1734
|
getFields(bindingAttr: BindingFlags): FieldInfo[];
|
|
1732
1735
|
getFields(): FieldInfo[];
|
|
1733
1736
|
getFunctionPointerCallingConventions(): Type[];
|
|
1734
1737
|
getFunctionPointerParameterTypes(): Type[];
|
|
1735
1738
|
getFunctionPointerReturnType(): Type;
|
|
1736
|
-
getInterface(name: string, ignoreCase: boolean): Type;
|
|
1737
|
-
getInterface(name: string): Type;
|
|
1739
|
+
getInterface(name: string, ignoreCase: boolean): Type | undefined;
|
|
1740
|
+
getInterface(name: string): Type | undefined;
|
|
1738
1741
|
getInterfaceMap(interfaceType: Type): InterfaceMapping;
|
|
1739
1742
|
getInterfaces(): Type[];
|
|
1740
1743
|
getMember(name: string, type_: MemberTypes, bindingAttr: BindingFlags): MemberInfo[];
|
|
@@ -1743,37 +1746,37 @@ export interface TypeDelegator$instance extends TypeInfo$instance {
|
|
|
1743
1746
|
getMembers(bindingAttr: BindingFlags): MemberInfo[];
|
|
1744
1747
|
getMembers(): MemberInfo[];
|
|
1745
1748
|
getMemberWithSameMetadataDefinitionAs(member: MemberInfo): MemberInfo;
|
|
1746
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1747
|
-
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo;
|
|
1748
|
-
getMethod(name: string): MethodInfo;
|
|
1749
|
-
getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo;
|
|
1750
|
-
getMethod(name: string, types: Type[]): MethodInfo;
|
|
1751
|
-
getMethod(name: string, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1752
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1753
|
-
getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo;
|
|
1754
|
-
getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1755
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo;
|
|
1756
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1757
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1749
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1750
|
+
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
|
|
1751
|
+
getMethod(name: string): MethodInfo | undefined;
|
|
1752
|
+
getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
|
|
1753
|
+
getMethod(name: string, types: Type[]): MethodInfo | undefined;
|
|
1754
|
+
getMethod(name: string, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1755
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1756
|
+
getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo | undefined;
|
|
1757
|
+
getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1758
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
|
|
1759
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1760
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1758
1761
|
getMethods(bindingAttr: BindingFlags): MethodInfo[];
|
|
1759
1762
|
getMethods(): MethodInfo[];
|
|
1760
|
-
getNestedType(name: string, bindingAttr: BindingFlags): Type;
|
|
1761
|
-
getNestedType(name: string): Type;
|
|
1763
|
+
getNestedType(name: string, bindingAttr: BindingFlags): Type | undefined;
|
|
1764
|
+
getNestedType(name: string): Type | undefined;
|
|
1762
1765
|
getNestedTypes(bindingAttr: BindingFlags): Type[];
|
|
1763
1766
|
getNestedTypes(): Type[];
|
|
1764
1767
|
getProperties(bindingAttr: BindingFlags): PropertyInfo[];
|
|
1765
1768
|
getProperties(): PropertyInfo[];
|
|
1766
|
-
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo;
|
|
1767
|
-
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
1768
|
-
getProperty(name: string): PropertyInfo;
|
|
1769
|
-
getProperty(name: string, returnType: Type): PropertyInfo;
|
|
1770
|
-
getProperty(name: string, types: Type[]): PropertyInfo;
|
|
1771
|
-
getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
|
|
1772
|
-
getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
1769
|
+
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
|
|
1770
|
+
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
1771
|
+
getProperty(name: string): PropertyInfo | undefined;
|
|
1772
|
+
getProperty(name: string, returnType: Type): PropertyInfo | undefined;
|
|
1773
|
+
getProperty(name: string, types: Type[]): PropertyInfo | undefined;
|
|
1774
|
+
getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo | undefined;
|
|
1775
|
+
getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
1773
1776
|
getTypeInfo(): TypeInfo;
|
|
1774
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
|
|
1775
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
|
|
1776
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
|
|
1777
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown | undefined;
|
|
1778
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown | undefined;
|
|
1779
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown | undefined;
|
|
1777
1780
|
isAssignableFrom(typeInfo: TypeInfo): boolean;
|
|
1778
1781
|
isAssignableFrom(c: Type): boolean;
|
|
1779
1782
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
@@ -1809,14 +1812,14 @@ export interface TypeInfo$instance extends Type {
|
|
|
1809
1812
|
asType(): Type;
|
|
1810
1813
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
1811
1814
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1812
|
-
getDeclaredEvent(name: string): EventInfo;
|
|
1813
|
-
getDeclaredField(name: string): FieldInfo;
|
|
1814
|
-
getDeclaredMethod(name: string): MethodInfo;
|
|
1815
|
+
getDeclaredEvent(name: string): EventInfo | undefined;
|
|
1816
|
+
getDeclaredField(name: string): FieldInfo | undefined;
|
|
1817
|
+
getDeclaredMethod(name: string): MethodInfo | undefined;
|
|
1815
1818
|
getDeclaredMethods(name: string): IEnumerable_1<MethodInfo>;
|
|
1816
|
-
getDeclaredNestedType(name: string): TypeInfo;
|
|
1817
|
-
getDeclaredProperty(name: string): PropertyInfo;
|
|
1818
|
-
getField(name: string): FieldInfo;
|
|
1819
|
-
getField(name: string, bindingAttr: BindingFlags): FieldInfo;
|
|
1819
|
+
getDeclaredNestedType(name: string): TypeInfo | undefined;
|
|
1820
|
+
getDeclaredProperty(name: string): PropertyInfo | undefined;
|
|
1821
|
+
getField(name: string): FieldInfo | undefined;
|
|
1822
|
+
getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
1820
1823
|
getFields(): FieldInfo[];
|
|
1821
1824
|
getFields(bindingAttr: BindingFlags): FieldInfo[];
|
|
1822
1825
|
getMember(name: string): MemberInfo[];
|
|
@@ -1824,32 +1827,32 @@ export interface TypeInfo$instance extends Type {
|
|
|
1824
1827
|
getMember(name: string, type_: MemberTypes, bindingAttr: BindingFlags): MemberInfo[];
|
|
1825
1828
|
getMembers(): MemberInfo[];
|
|
1826
1829
|
getMembers(bindingAttr: BindingFlags): MemberInfo[];
|
|
1827
|
-
getMethod(name: string): MethodInfo;
|
|
1828
|
-
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo;
|
|
1829
|
-
getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo;
|
|
1830
|
-
getMethod(name: string, types: Type[]): MethodInfo;
|
|
1831
|
-
getMethod(name: string, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1832
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1833
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1834
|
-
getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo;
|
|
1835
|
-
getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1836
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo;
|
|
1837
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1838
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
1830
|
+
getMethod(name: string): MethodInfo | undefined;
|
|
1831
|
+
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
|
|
1832
|
+
getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
|
|
1833
|
+
getMethod(name: string, types: Type[]): MethodInfo | undefined;
|
|
1834
|
+
getMethod(name: string, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1835
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1836
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1837
|
+
getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo | undefined;
|
|
1838
|
+
getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1839
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
|
|
1840
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1841
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
1839
1842
|
getMethods(): MethodInfo[];
|
|
1840
1843
|
getMethods(bindingAttr: BindingFlags): MethodInfo[];
|
|
1841
1844
|
getProperties(): PropertyInfo[];
|
|
1842
1845
|
getProperties(bindingAttr: BindingFlags): PropertyInfo[];
|
|
1843
|
-
getProperty(name: string): PropertyInfo;
|
|
1844
|
-
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo;
|
|
1845
|
-
getProperty(name: string, returnType: Type): PropertyInfo;
|
|
1846
|
-
getProperty(name: string, types: Type[]): PropertyInfo;
|
|
1847
|
-
getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
|
|
1848
|
-
getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
1849
|
-
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
1850
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
|
|
1851
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
|
|
1852
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
|
|
1846
|
+
getProperty(name: string): PropertyInfo | undefined;
|
|
1847
|
+
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
|
|
1848
|
+
getProperty(name: string, returnType: Type): PropertyInfo | undefined;
|
|
1849
|
+
getProperty(name: string, types: Type[]): PropertyInfo | undefined;
|
|
1850
|
+
getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo | undefined;
|
|
1851
|
+
getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
1852
|
+
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
1853
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown | undefined;
|
|
1854
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown | undefined;
|
|
1855
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown | undefined;
|
|
1853
1856
|
isAssignableFrom(c: Type): boolean;
|
|
1854
1857
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1855
1858
|
}
|
|
@@ -1880,18 +1883,18 @@ export abstract class AssemblyExtensions$instance {
|
|
|
1880
1883
|
export type AssemblyExtensions = AssemblyExtensions$instance;
|
|
1881
1884
|
|
|
1882
1885
|
export abstract class CustomAttributeExtensions$instance {
|
|
1883
|
-
static getCustomAttribute(element: Assembly, attributeType: Type): Attribute;
|
|
1884
|
-
static getCustomAttribute<T extends Attribute>(element: Assembly): T;
|
|
1885
|
-
static getCustomAttribute<T extends Attribute>(element: MemberInfo, inherit: boolean): T;
|
|
1886
|
-
static getCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute;
|
|
1887
|
-
static getCustomAttribute(element: MemberInfo, attributeType: Type): Attribute;
|
|
1888
|
-
static getCustomAttribute<T extends Attribute>(element: MemberInfo): T;
|
|
1889
|
-
static getCustomAttribute(element: Module, attributeType: Type): Attribute;
|
|
1890
|
-
static getCustomAttribute<T extends Attribute>(element: Module): T;
|
|
1891
|
-
static getCustomAttribute<T extends Attribute>(element: ParameterInfo, inherit: boolean): T;
|
|
1892
|
-
static getCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute;
|
|
1893
|
-
static getCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute;
|
|
1894
|
-
static getCustomAttribute<T extends Attribute>(element: ParameterInfo): T;
|
|
1886
|
+
static getCustomAttribute(element: Assembly, attributeType: Type): Attribute | undefined;
|
|
1887
|
+
static getCustomAttribute<T extends Attribute>(element: Assembly): T | undefined;
|
|
1888
|
+
static getCustomAttribute<T extends Attribute>(element: MemberInfo, inherit: boolean): T | undefined;
|
|
1889
|
+
static getCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
|
|
1890
|
+
static getCustomAttribute(element: MemberInfo, attributeType: Type): Attribute | undefined;
|
|
1891
|
+
static getCustomAttribute<T extends Attribute>(element: MemberInfo): T | undefined;
|
|
1892
|
+
static getCustomAttribute(element: Module, attributeType: Type): Attribute | undefined;
|
|
1893
|
+
static getCustomAttribute<T extends Attribute>(element: Module): T | undefined;
|
|
1894
|
+
static getCustomAttribute<T extends Attribute>(element: ParameterInfo, inherit: boolean): T | undefined;
|
|
1895
|
+
static getCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
|
|
1896
|
+
static getCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute | undefined;
|
|
1897
|
+
static getCustomAttribute<T extends Attribute>(element: ParameterInfo): T | undefined;
|
|
1895
1898
|
static getCustomAttributes(element: Assembly, attributeType: Type): IEnumerable_1<Attribute>;
|
|
1896
1899
|
static getCustomAttributes<T extends Attribute>(element: Assembly): IEnumerable_1<T>;
|
|
1897
1900
|
static getCustomAttributes(element: Assembly): IEnumerable_1<Attribute>;
|
|
@@ -1922,12 +1925,12 @@ export abstract class CustomAttributeExtensions$instance {
|
|
|
1922
1925
|
export type CustomAttributeExtensions = CustomAttributeExtensions$instance;
|
|
1923
1926
|
|
|
1924
1927
|
export abstract class EventInfoExtensions$instance {
|
|
1925
|
-
static getAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo;
|
|
1926
|
-
static getAddMethod(eventInfo: EventInfo): MethodInfo;
|
|
1927
|
-
static getRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo;
|
|
1928
|
-
static getRaiseMethod(eventInfo: EventInfo): MethodInfo;
|
|
1929
|
-
static getRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo;
|
|
1930
|
-
static getRemoveMethod(eventInfo: EventInfo): MethodInfo;
|
|
1928
|
+
static getAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
|
|
1929
|
+
static getAddMethod(eventInfo: EventInfo): MethodInfo | undefined;
|
|
1930
|
+
static getRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
|
|
1931
|
+
static getRaiseMethod(eventInfo: EventInfo): MethodInfo | undefined;
|
|
1932
|
+
static getRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
|
|
1933
|
+
static getRemoveMethod(eventInfo: EventInfo): MethodInfo | undefined;
|
|
1931
1934
|
}
|
|
1932
1935
|
|
|
1933
1936
|
|
|
@@ -1966,10 +1969,10 @@ export type ModuleExtensions = ModuleExtensions$instance;
|
|
|
1966
1969
|
export abstract class PropertyInfoExtensions$instance {
|
|
1967
1970
|
static getAccessors(property: PropertyInfo, nonPublic: boolean): MethodInfo[];
|
|
1968
1971
|
static getAccessors(property: PropertyInfo): MethodInfo[];
|
|
1969
|
-
static getGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo;
|
|
1970
|
-
static getGetMethod(property: PropertyInfo): MethodInfo;
|
|
1971
|
-
static getSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo;
|
|
1972
|
-
static getSetMethod(property: PropertyInfo): MethodInfo;
|
|
1972
|
+
static getGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | undefined;
|
|
1973
|
+
static getGetMethod(property: PropertyInfo): MethodInfo | undefined;
|
|
1974
|
+
static getSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | undefined;
|
|
1975
|
+
static getSetMethod(property: PropertyInfo): MethodInfo | undefined;
|
|
1973
1976
|
}
|
|
1974
1977
|
|
|
1975
1978
|
|
|
@@ -1977,32 +1980,32 @@ export type PropertyInfoExtensions = PropertyInfoExtensions$instance;
|
|
|
1977
1980
|
|
|
1978
1981
|
export abstract class RuntimeReflectionExtensions$instance {
|
|
1979
1982
|
static getMethodInfo(del: Function): MethodInfo;
|
|
1980
|
-
static getRuntimeBaseDefinition(method: MethodInfo): MethodInfo;
|
|
1981
|
-
static getRuntimeEvent(type_: Type, name: string): EventInfo;
|
|
1983
|
+
static getRuntimeBaseDefinition(method: MethodInfo): MethodInfo | undefined;
|
|
1984
|
+
static getRuntimeEvent(type_: Type, name: string): EventInfo | undefined;
|
|
1982
1985
|
static getRuntimeEvents(type_: Type): IEnumerable_1<EventInfo>;
|
|
1983
|
-
static getRuntimeField(type_: Type, name: string): FieldInfo;
|
|
1986
|
+
static getRuntimeField(type_: Type, name: string): FieldInfo | undefined;
|
|
1984
1987
|
static getRuntimeFields(type_: Type): IEnumerable_1<FieldInfo>;
|
|
1985
1988
|
static getRuntimeInterfaceMap(typeInfo: TypeInfo, interfaceType: Type): InterfaceMapping;
|
|
1986
|
-
static getRuntimeMethod(type_: Type, name: string, parameters: Type[]): MethodInfo;
|
|
1989
|
+
static getRuntimeMethod(type_: Type, name: string, parameters: Type[]): MethodInfo | undefined;
|
|
1987
1990
|
static getRuntimeMethods(type_: Type): IEnumerable_1<MethodInfo>;
|
|
1988
1991
|
static getRuntimeProperties(type_: Type): IEnumerable_1<PropertyInfo>;
|
|
1989
|
-
static getRuntimeProperty(type_: Type, name: string): PropertyInfo;
|
|
1992
|
+
static getRuntimeProperty(type_: Type, name: string): PropertyInfo | undefined;
|
|
1990
1993
|
}
|
|
1991
1994
|
|
|
1992
1995
|
|
|
1993
1996
|
export type RuntimeReflectionExtensions = RuntimeReflectionExtensions$instance;
|
|
1994
1997
|
|
|
1995
1998
|
export abstract class TypeExtensions$instance {
|
|
1996
|
-
static getConstructor(type_: Type, types: Type[]): ConstructorInfo;
|
|
1999
|
+
static getConstructor(type_: Type, types: Type[]): ConstructorInfo | undefined;
|
|
1997
2000
|
static getConstructors(type_: Type, bindingAttr: BindingFlags): ConstructorInfo[];
|
|
1998
2001
|
static getConstructors(type_: Type): ConstructorInfo[];
|
|
1999
2002
|
static getDefaultMembers(type_: Type): MemberInfo[];
|
|
2000
|
-
static getEvent(type_: Type, name: string, bindingAttr: BindingFlags): EventInfo;
|
|
2001
|
-
static getEvent(type_: Type, name: string): EventInfo;
|
|
2003
|
+
static getEvent(type_: Type, name: string, bindingAttr: BindingFlags): EventInfo | undefined;
|
|
2004
|
+
static getEvent(type_: Type, name: string): EventInfo | undefined;
|
|
2002
2005
|
static getEvents(type_: Type, bindingAttr: BindingFlags): EventInfo[];
|
|
2003
2006
|
static getEvents(type_: Type): EventInfo[];
|
|
2004
|
-
static getField(type_: Type, name: string, bindingAttr: BindingFlags): FieldInfo;
|
|
2005
|
-
static getField(type_: Type, name: string): FieldInfo;
|
|
2007
|
+
static getField(type_: Type, name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
2008
|
+
static getField(type_: Type, name: string): FieldInfo | undefined;
|
|
2006
2009
|
static getFields(type_: Type, bindingAttr: BindingFlags): FieldInfo[];
|
|
2007
2010
|
static getFields(type_: Type): FieldInfo[];
|
|
2008
2011
|
static getGenericArguments(type_: Type): Type[];
|
|
@@ -2011,19 +2014,19 @@ export abstract class TypeExtensions$instance {
|
|
|
2011
2014
|
static getMember(type_: Type, name: string): MemberInfo[];
|
|
2012
2015
|
static getMembers(type_: Type, bindingAttr: BindingFlags): MemberInfo[];
|
|
2013
2016
|
static getMembers(type_: Type): MemberInfo[];
|
|
2014
|
-
static getMethod(type_: Type, name: string, bindingAttr: BindingFlags): MethodInfo;
|
|
2015
|
-
static getMethod(type_: Type, name: string, types: Type[]): MethodInfo;
|
|
2016
|
-
static getMethod(type_: Type, name: string): MethodInfo;
|
|
2017
|
+
static getMethod(type_: Type, name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
|
|
2018
|
+
static getMethod(type_: Type, name: string, types: Type[]): MethodInfo | undefined;
|
|
2019
|
+
static getMethod(type_: Type, name: string): MethodInfo | undefined;
|
|
2017
2020
|
static getMethods(type_: Type, bindingAttr: BindingFlags): MethodInfo[];
|
|
2018
2021
|
static getMethods(type_: Type): MethodInfo[];
|
|
2019
|
-
static getNestedType(type_: Type, name: string, bindingAttr: BindingFlags): Type;
|
|
2022
|
+
static getNestedType(type_: Type, name: string, bindingAttr: BindingFlags): Type | undefined;
|
|
2020
2023
|
static getNestedTypes(type_: Type, bindingAttr: BindingFlags): Type[];
|
|
2021
2024
|
static getProperties(type_: Type, bindingAttr: BindingFlags): PropertyInfo[];
|
|
2022
2025
|
static getProperties(type_: Type): PropertyInfo[];
|
|
2023
|
-
static getProperty(type_: Type, name: string, bindingAttr: BindingFlags): PropertyInfo;
|
|
2024
|
-
static getProperty(type_: Type, name: string, returnType: Type, types: Type[]): PropertyInfo;
|
|
2025
|
-
static getProperty(type_: Type, name: string, returnType: Type): PropertyInfo;
|
|
2026
|
-
static getProperty(type_: Type, name: string): PropertyInfo;
|
|
2026
|
+
static getProperty(type_: Type, name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
|
|
2027
|
+
static getProperty(type_: Type, name: string, returnType: Type, types: Type[]): PropertyInfo | undefined;
|
|
2028
|
+
static getProperty(type_: Type, name: string, returnType: Type): PropertyInfo | undefined;
|
|
2029
|
+
static getProperty(type_: Type, name: string): PropertyInfo | undefined;
|
|
2027
2030
|
static isAssignableFrom(type_: Type, c: Type): boolean;
|
|
2028
2031
|
static isInstanceOfType(type_: Type, o: unknown): boolean;
|
|
2029
2032
|
}
|