@tsonic/dotnet 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  5. package/Microsoft.Win32/internal/index.d.ts +11 -11
  6. package/System/bindings.json +114 -114
  7. package/System/internal/index.d.ts +994 -1006
  8. package/System/internal/metadata.json +73 -73
  9. package/System.Buffers/internal/index.d.ts +3 -3
  10. package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
  11. package/System.Collections/internal/index.d.ts +26 -28
  12. package/System.Collections.Concurrent/internal/index.d.ts +10 -10
  13. package/System.Collections.Frozen/bindings.json +20 -20
  14. package/System.Collections.Frozen/internal/index.d.ts +6 -6
  15. package/System.Collections.Frozen/internal/metadata.json +10 -10
  16. package/System.Collections.Generic/bindings.json +44 -20
  17. package/System.Collections.Generic/internal/index.d.ts +68 -60
  18. package/System.Collections.Generic/internal/metadata.json +26 -10
  19. package/System.Collections.Immutable/internal/index.d.ts +99 -99
  20. package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
  21. package/System.Collections.Specialized/internal/index.d.ts +63 -65
  22. package/System.ComponentModel/internal/index.d.ts +428 -430
  23. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
  24. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
  25. package/System.ComponentModel.Design/internal/index.d.ts +72 -72
  26. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
  27. package/System.Data/internal/index.d.ts +168 -168
  28. package/System.Data.Common/internal/index.d.ts +48 -48
  29. package/System.Data.SqlTypes/internal/index.d.ts +21 -21
  30. package/System.Diagnostics/internal/index.d.ts +262 -262
  31. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
  32. package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
  33. package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
  34. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  35. package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
  36. package/System.Drawing/internal/index.d.ts +77 -77
  37. package/System.Dynamic/internal/index.d.ts +27 -27
  38. package/System.Formats.Asn1/internal/index.d.ts +4 -4
  39. package/System.Formats.Tar/internal/index.d.ts +3 -3
  40. package/System.Globalization/internal/index.d.ts +18 -18
  41. package/System.IO/internal/index.d.ts +107 -107
  42. package/System.IO.Compression/internal/index.d.ts +25 -25
  43. package/System.IO.Enumeration/internal/index.d.ts +5 -5
  44. package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
  45. package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
  46. package/System.IO.Pipelines/internal/index.d.ts +5 -5
  47. package/System.IO.Pipes/internal/index.d.ts +4 -4
  48. package/System.Linq/internal/index.d.ts +180 -180
  49. package/System.Linq.Expressions/internal/index.d.ts +169 -169
  50. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  51. package/System.Net/internal/index.d.ts +151 -153
  52. package/System.Net.Cache/internal/index.d.ts +2 -2
  53. package/System.Net.Http/internal/index.d.ts +58 -58
  54. package/System.Net.Http.Headers/internal/index.d.ts +48 -48
  55. package/System.Net.Http.Json/internal/index.d.ts +58 -58
  56. package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
  57. package/System.Net.Mail/internal/index.d.ts +72 -72
  58. package/System.Net.Mime/internal/index.d.ts +2 -2
  59. package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
  60. package/System.Net.Quic/internal/index.d.ts +4 -4
  61. package/System.Net.Security/internal/index.d.ts +52 -52
  62. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  63. package/System.Net.Sockets/internal/index.d.ts +41 -41
  64. package/System.Net.WebSockets/internal/index.d.ts +34 -34
  65. package/System.Numerics/bindings.json +384 -0
  66. package/System.Numerics/internal/index.d.ts +91 -93
  67. package/System.Numerics/internal/metadata.json +256 -0
  68. package/System.Reflection/internal/index.d.ts +219 -219
  69. package/System.Reflection.Emit/internal/index.d.ts +118 -118
  70. package/System.Reflection.Metadata/bindings.json +48 -0
  71. package/System.Reflection.Metadata/internal/index.d.ts +14 -14
  72. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  73. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
  74. package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
  75. package/System.Resources/internal/index.d.ts +24 -24
  76. package/System.Runtime/internal/index.d.ts +5 -5
  77. package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
  78. package/System.Runtime.InteropServices/bindings.json +22 -22
  79. package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
  80. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  81. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
  82. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
  83. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
  84. package/System.Runtime.Loader/internal/index.d.ts +6 -6
  85. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  86. package/System.Runtime.Serialization/internal/index.d.ts +77 -79
  87. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
  88. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  89. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
  90. package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
  91. package/System.Runtime.Versioning/internal/index.d.ts +9 -9
  92. package/System.Security/internal/index.d.ts +49 -49
  93. package/System.Security.AccessControl/internal/index.d.ts +31 -31
  94. package/System.Security.Authentication/internal/index.d.ts +4 -4
  95. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
  96. package/System.Security.Claims/internal/index.d.ts +23 -25
  97. package/System.Security.Cryptography/internal/index.d.ts +189 -189
  98. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
  99. package/System.Security.Policy/internal/index.d.ts +2 -2
  100. package/System.Security.Principal/internal/index.d.ts +9 -11
  101. package/System.Text/internal/index.d.ts +51 -51
  102. package/System.Text.Json/internal/index.d.ts +83 -83
  103. package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
  104. package/System.Text.Json.Schema/internal/index.d.ts +5 -5
  105. package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
  106. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
  107. package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
  108. package/System.Text.Unicode/internal/index.d.ts +4 -4
  109. package/System.Threading/internal/index.d.ts +87 -87
  110. package/System.Threading.Channels/internal/index.d.ts +8 -8
  111. package/System.Threading.Tasks/internal/index.d.ts +84 -94
  112. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
  113. package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
  114. package/System.Timers/internal/index.d.ts +3 -3
  115. package/System.Transactions/internal/index.d.ts +20 -20
  116. package/System.Web/internal/index.d.ts +31 -31
  117. package/System.Windows.Input/internal/index.d.ts +2 -2
  118. package/System.Xml/internal/index.d.ts +215 -215
  119. package/System.Xml.Linq/internal/index.d.ts +51 -51
  120. package/System.Xml.Resolvers/internal/index.d.ts +4 -4
  121. package/System.Xml.Schema/internal/index.d.ts +105 -105
  122. package/System.Xml.Serialization/internal/index.d.ts +136 -136
  123. package/System.Xml.XPath/internal/index.d.ts +19 -19
  124. package/System.Xml.Xsl/internal/index.d.ts +41 -41
  125. package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
  126. package/__internal/extensions/index.d.ts +415 -414
  127. package/package.json +1 -1
@@ -370,13 +370,13 @@ export enum TypeAttributes {
370
370
  }
371
371
 
372
372
 
373
- export type MemberFilter = (m: MemberInfo, filterCriteria: unknown) => boolean;
373
+ export type MemberFilter = (m: MemberInfo, filterCriteria: unknown | undefined) => boolean;
374
374
 
375
375
 
376
376
  export type ModuleResolveEventHandler = (sender: unknown, e: ResolveEventArgs) => Module;
377
377
 
378
378
 
379
- export type TypeFilter = (m: Type, filterCriteria: unknown) => boolean;
379
+ export type TypeFilter = (m: Type, filterCriteria: unknown | undefined) => boolean;
380
380
 
381
381
 
382
382
  export interface ICustomAttributeProvider$instance {
@@ -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
404
  getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
405
- getMethod(name: string, bindingAttr: BindingFlags): MethodInfo;
405
+ getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
406
406
  getMethods(bindingAttr: BindingFlags): MethodInfo[];
407
407
  getProperties(bindingAttr: BindingFlags): PropertyInfo[];
408
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;
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[] | undefined): unknown;
411
411
  }
412
412
 
413
413
 
@@ -433,7 +433,7 @@ export interface CustomAttributeNamedArgument$instance {
433
433
 
434
434
 
435
435
  export const CustomAttributeNamedArgument: {
436
- new(memberInfo: MemberInfo, value: unknown): CustomAttributeNamedArgument;
436
+ new(memberInfo: MemberInfo, value: unknown | undefined): CustomAttributeNamedArgument;
437
437
  new(memberInfo: MemberInfo, typedArgument: CustomAttributeTypedArgument): CustomAttributeNamedArgument;
438
438
  };
439
439
 
@@ -459,7 +459,7 @@ export interface CustomAttributeTypedArgument$instance {
459
459
 
460
460
 
461
461
  export const CustomAttributeTypedArgument: {
462
- new(argumentType: Type, value: unknown): CustomAttributeTypedArgument;
462
+ new(argumentType: Type, value: unknown | undefined): CustomAttributeTypedArgument;
463
463
  new(value: unknown): CustomAttributeTypedArgument;
464
464
  };
465
465
 
@@ -508,8 +508,8 @@ export interface AmbiguousMatchException$instance extends SystemException {
508
508
 
509
509
  export const AmbiguousMatchException: {
510
510
  new(): AmbiguousMatchException;
511
- new(message: string): AmbiguousMatchException;
512
- new(message: string, inner: Exception): AmbiguousMatchException;
511
+ new(message: string | undefined): AmbiguousMatchException;
512
+ new(message: string | undefined, inner: Exception | undefined): AmbiguousMatchException;
513
513
  };
514
514
 
515
515
 
@@ -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[] | undefined, culture: CultureInfo, activationAttributes: unknown[] | undefined): unknown;
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;
@@ -566,32 +566,32 @@ export interface Assembly$instance {
566
566
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
567
567
  getReferencedAssemblies(): AssemblyName[];
568
568
  getSatelliteAssembly(culture: CultureInfo): Assembly;
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;
569
+ getSatelliteAssembly(culture: CultureInfo, version: Version | undefined): Assembly;
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
- loadModule(moduleName: string, rawModule: byte[]): Module;
576
- loadModule(moduleName: string, rawModule: byte[], rawSymbolStore: byte[]): Module;
575
+ loadModule(moduleName: string, rawModule: byte[] | undefined): Module;
576
+ loadModule(moduleName: string, rawModule: byte[] | undefined, rawSymbolStore: byte[] | undefined): Module;
577
577
  toString(): string;
578
578
  }
579
579
 
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
585
  getEntryAssembly(): Assembly;
586
586
  getExecutingAssembly(): Assembly;
587
- load(rawAssembly: byte[], rawSymbolStore: byte[]): Assembly;
587
+ load(rawAssembly: byte[], rawSymbolStore: byte[] | undefined): Assembly;
588
588
  load(rawAssembly: byte[]): Assembly;
589
589
  load(assemblyRef: AssemblyName): Assembly;
590
590
  load(assemblyString: string): Assembly;
591
591
  loadFile(path: string): Assembly;
592
- loadFrom(assemblyFile: string, hashValue: byte[], hashAlgorithm: AssemblyHashAlgorithm_Assemblies): Assembly;
592
+ loadFrom(assemblyFile: string, hashValue: byte[] | undefined, 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;
@@ -777,14 +777,14 @@ export interface AssemblyMetadataAttribute$instance extends Attribute {
777
777
 
778
778
 
779
779
  export const AssemblyMetadataAttribute: {
780
- new(key: string, value: string): AssemblyMetadataAttribute;
780
+ new(key: string, value: string | undefined): AssemblyMetadataAttribute;
781
781
  };
782
782
 
783
783
 
784
784
  export type AssemblyMetadataAttribute = AssemblyMetadataAttribute$instance;
785
785
 
786
786
  export interface AssemblyName$instance {
787
- codeBase: string;
787
+ codeBase: string | undefined;
788
788
  contentType: AssemblyContentType;
789
789
  cultureInfo: CultureInfo;
790
790
  cultureName: string;
@@ -792,27 +792,27 @@ export interface AssemblyName$instance {
792
792
  flags: AssemblyNameFlags;
793
793
  readonly fullName: string;
794
794
  hashAlgorithm: AssemblyHashAlgorithm_Assemblies;
795
- keyPair: StrongNameKeyPair;
795
+ keyPair: StrongNameKeyPair | undefined;
796
796
  name: string;
797
797
  processorArchitecture: ProcessorArchitecture;
798
798
  version: Version;
799
799
  versionCompatibility: AssemblyVersionCompatibility;
800
800
  clone(): unknown;
801
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
801
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
802
802
  getPublicKey(): byte[];
803
- getPublicKeyToken(): byte[];
804
- onDeserialization(sender: unknown): void;
805
- setPublicKey(publicKey: byte[]): void;
806
- setPublicKeyToken(publicKeyToken: byte[]): void;
807
- toString(): string;
803
+ getPublicKeyToken(): byte[] | undefined;
804
+ onDeserialization(sender: unknown | undefined): void;
805
+ setPublicKey(publicKey: byte[] | undefined): void;
806
+ setPublicKeyToken(publicKeyToken: byte[] | undefined): void;
807
+ toString(): string | undefined;
808
808
  }
809
809
 
810
810
 
811
811
  export const AssemblyName: {
812
- new(assemblyName: string): AssemblyName;
812
+ new(assemblyName: string | undefined): AssemblyName;
813
813
  new(): AssemblyName;
814
- getAssemblyName(assemblyFile: string): AssemblyName;
815
- referenceMatchesDefinition(reference: AssemblyName, definition: AssemblyName): boolean;
814
+ getAssemblyName(assemblyFile: string | undefined): AssemblyName | undefined;
815
+ referenceMatchesDefinition(reference: AssemblyName | undefined, definition: AssemblyName | undefined): boolean;
816
816
  };
817
817
 
818
818
 
@@ -822,7 +822,7 @@ export interface __AssemblyName$views {
822
822
  As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
823
823
  }
824
824
 
825
- export interface AssemblyName$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.IDeserializationCallback$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
825
+ export interface AssemblyName$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.IDeserializationCallback$instance {}
826
826
 
827
827
  export type AssemblyName = AssemblyName$instance & __AssemblyName$views;
828
828
 
@@ -901,12 +901,12 @@ export const AssemblyVersionAttribute: {
901
901
  export type AssemblyVersionAttribute = AssemblyVersionAttribute$instance;
902
902
 
903
903
  export interface Binder$instance {
904
- bindToField(bindingAttr: BindingFlags, match: FieldInfo[], value: unknown, culture: CultureInfo): FieldInfo;
905
- bindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, names: string[], state: unknown): MethodBase;
906
- changeType(value: unknown, type_: Type, culture: CultureInfo): unknown;
907
- 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;
904
+ bindToField(bindingAttr: BindingFlags, match: FieldInfo[], value: unknown, culture: CultureInfo | undefined): FieldInfo;
905
+ bindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: (unknown | undefined)[], modifiers: ParameterModifier[], culture: CultureInfo, names: string[] | undefined, state: unknown): MethodBase;
906
+ changeType(value: unknown, type_: Type, culture: CultureInfo | undefined): unknown;
907
+ reorderArgumentArray(args: (unknown | undefined)[], state: unknown): void;
908
+ selectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[] | undefined): MethodBase | undefined;
909
+ selectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type, indexes: Type[] | undefined, modifiers: ParameterModifier[]): PropertyInfo;
910
910
  }
911
911
 
912
912
 
@@ -918,12 +918,12 @@ export type Binder = Binder$instance;
918
918
 
919
919
  export interface ConstructorInfo$instance extends MethodBase$instance {
920
920
  readonly memberType: MemberTypes;
921
- equals(obj: unknown): boolean;
921
+ equals(obj: unknown | undefined): boolean;
922
922
  getCustomAttributes(inherit: boolean): unknown[];
923
923
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
924
924
  getHashCode(): int;
925
- invoke(obj: unknown, parameters: unknown[]): unknown;
926
- invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
925
+ invoke(obj: unknown | undefined, parameters: (unknown | undefined)[] | undefined): unknown | undefined;
926
+ invoke(obj: unknown | undefined, invokeAttr: BindingFlags, binder: Binder | undefined, parameters: (unknown | undefined)[] | undefined, culture: CultureInfo | undefined): unknown | undefined;
927
927
  isDefined(attributeType: Type, inherit: boolean): boolean;
928
928
  }
929
929
 
@@ -943,7 +943,7 @@ export type ConstructorInfo = ConstructorInfo$instance & __ConstructorInfo$views
943
943
 
944
944
  export interface ConstructorInvoker$instance {
945
945
  invoke(): unknown;
946
- invoke(arg1: unknown): unknown;
946
+ invoke(arg1: unknown | undefined): unknown;
947
947
  invoke(arg1: unknown, arg2: unknown): unknown;
948
948
  invoke(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
949
949
  invoke(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown;
@@ -986,8 +986,8 @@ export interface CustomAttributeFormatException$instance extends FormatException
986
986
 
987
987
  export const CustomAttributeFormatException: {
988
988
  new(): CustomAttributeFormatException;
989
- new(message: string): CustomAttributeFormatException;
990
- new(message: string, inner: Exception): CustomAttributeFormatException;
989
+ new(message: string | undefined): CustomAttributeFormatException;
990
+ new(message: string | undefined, inner: Exception | undefined): CustomAttributeFormatException;
991
991
  };
992
992
 
993
993
 
@@ -1025,27 +1025,27 @@ export type DispatchProxy = DispatchProxy$instance;
1025
1025
  export interface EventInfo$instance extends MemberInfo$instance {
1026
1026
  readonly addMethod: MethodInfo;
1027
1027
  readonly attributes: EventAttributes;
1028
- readonly eventHandlerType: Type;
1028
+ readonly eventHandlerType: Type | undefined;
1029
1029
  readonly isMulticast: boolean;
1030
1030
  readonly isSpecialName: boolean;
1031
1031
  readonly memberType: MemberTypes;
1032
- readonly raiseMethod: MethodInfo;
1033
- readonly removeMethod: MethodInfo;
1034
- addEventHandler(target: unknown, handler: Function): void;
1035
- equals(obj: unknown): boolean;
1036
- getAddMethod(): MethodInfo;
1037
- getAddMethod(nonPublic: boolean): MethodInfo;
1032
+ readonly raiseMethod: MethodInfo | undefined;
1033
+ readonly removeMethod: MethodInfo | undefined;
1034
+ addEventHandler(target: unknown | undefined, handler: Function | undefined): void;
1035
+ equals(obj: unknown | undefined): boolean;
1036
+ getAddMethod(): MethodInfo | undefined;
1037
+ getAddMethod(nonPublic: boolean): MethodInfo | undefined;
1038
1038
  getCustomAttributes(inherit: boolean): unknown[];
1039
1039
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1040
1040
  getHashCode(): int;
1041
- getOtherMethods(): MethodInfo[];
1042
- getOtherMethods(nonPublic: boolean): MethodInfo[];
1043
- getRaiseMethod(): MethodInfo;
1044
- getRaiseMethod(nonPublic: boolean): MethodInfo;
1045
- getRemoveMethod(): MethodInfo;
1046
- getRemoveMethod(nonPublic: boolean): MethodInfo;
1041
+ getOtherMethods(): (MethodInfo | undefined)[] | undefined;
1042
+ getOtherMethods(nonPublic: boolean): (MethodInfo | undefined)[] | undefined;
1043
+ getRaiseMethod(): MethodInfo | undefined;
1044
+ getRaiseMethod(nonPublic: boolean): MethodInfo | undefined;
1045
+ getRemoveMethod(): MethodInfo | undefined;
1046
+ getRemoveMethod(nonPublic: boolean): MethodInfo | undefined;
1047
1047
  isDefined(attributeType: Type, inherit: boolean): boolean;
1048
- removeEventHandler(target: unknown, handler: Function): void;
1048
+ removeEventHandler(target: unknown | undefined, handler: Function | undefined): void;
1049
1049
  }
1050
1050
 
1051
1051
 
@@ -1061,14 +1061,14 @@ export type EventInfo = EventInfo$instance & __EventInfo$views;
1061
1061
 
1062
1062
 
1063
1063
  export interface ExceptionHandlingClause$instance {
1064
- readonly catchType: Type;
1064
+ readonly catchType: Type | undefined;
1065
1065
  readonly filterOffset: int;
1066
1066
  readonly flags: ExceptionHandlingClauseOptions;
1067
1067
  readonly handlerLength: int;
1068
1068
  readonly handlerOffset: int;
1069
1069
  readonly tryLength: int;
1070
1070
  readonly tryOffset: int;
1071
- toString(): string;
1071
+ toString(): string | undefined;
1072
1072
  }
1073
1073
 
1074
1074
 
@@ -1136,8 +1136,8 @@ export interface InvalidFilterCriteriaException$instance extends ApplicationExce
1136
1136
 
1137
1137
  export const InvalidFilterCriteriaException: {
1138
1138
  new(): InvalidFilterCriteriaException;
1139
- new(message: string): InvalidFilterCriteriaException;
1140
- new(message: string, inner: Exception): InvalidFilterCriteriaException;
1139
+ new(message: string | undefined): InvalidFilterCriteriaException;
1140
+ new(message: string | undefined, inner: Exception | undefined): InvalidFilterCriteriaException;
1141
1141
  };
1142
1142
 
1143
1143
 
@@ -1165,13 +1165,13 @@ export type LocalVariableInfo = LocalVariableInfo$instance;
1165
1165
 
1166
1166
  export interface ManifestResourceInfo$instance {
1167
1167
  readonly fileName: string;
1168
- readonly referencedAssembly: Assembly;
1168
+ readonly referencedAssembly: Assembly | undefined;
1169
1169
  readonly resourceLocation: ResourceLocation;
1170
1170
  }
1171
1171
 
1172
1172
 
1173
1173
  export const ManifestResourceInfo: {
1174
- new(containingAssembly: Assembly, containingFileName: string, resourceLocation: ResourceLocation): ManifestResourceInfo;
1174
+ new(containingAssembly: Assembly | undefined, containingFileName: string | undefined, resourceLocation: ResourceLocation): ManifestResourceInfo;
1175
1175
  };
1176
1176
 
1177
1177
 
@@ -1185,7 +1185,7 @@ export interface MemberInfo$instance {
1185
1185
  readonly metadataToken: int;
1186
1186
  readonly module_: Module;
1187
1187
  readonly name: string;
1188
- readonly reflectedType: Type;
1188
+ readonly reflectedType: Type | undefined;
1189
1189
  equals(obj: unknown): boolean;
1190
1190
  getCustomAttributes(inherit: boolean): unknown[];
1191
1191
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
@@ -1234,24 +1234,24 @@ export interface MethodBase$instance extends MemberInfo$instance {
1234
1234
  readonly isVirtual: boolean;
1235
1235
  readonly methodHandle: RuntimeMethodHandle;
1236
1236
  readonly methodImplementationFlags: MethodImplAttributes;
1237
- equals(obj: unknown): boolean;
1237
+ equals(obj: unknown | undefined): boolean;
1238
1238
  getCustomAttributes(inherit: boolean): unknown[];
1239
1239
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1240
- getGenericArguments(): Type[];
1240
+ getGenericArguments(): (Type | undefined)[];
1241
1241
  getHashCode(): int;
1242
- getMethodBody(): MethodBody;
1242
+ getMethodBody(): MethodBody | undefined;
1243
1243
  getMethodImplementationFlags(): MethodImplAttributes;
1244
- getParameters(): ParameterInfo[];
1245
- invoke(obj: unknown, parameters: unknown[]): unknown;
1246
- invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
1244
+ getParameters(): (ParameterInfo | undefined)[] | undefined;
1245
+ invoke(obj: unknown | undefined, parameters: (unknown | undefined)[] | undefined): unknown | undefined;
1246
+ invoke(obj: unknown | undefined, invokeAttr: BindingFlags, binder: Binder | undefined, parameters: (unknown | undefined)[] | undefined, culture: CultureInfo | undefined): unknown | undefined;
1247
1247
  isDefined(attributeType: Type, inherit: boolean): boolean;
1248
1248
  }
1249
1249
 
1250
1250
 
1251
1251
  export const MethodBase: {
1252
- getCurrentMethod(): MethodBase;
1253
- getMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase;
1254
- getMethodFromHandle(handle: RuntimeMethodHandle): MethodBase;
1252
+ getCurrentMethod(): MethodBase | undefined;
1253
+ getMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase | undefined;
1254
+ getMethodFromHandle(handle: RuntimeMethodHandle): MethodBase | undefined;
1255
1255
  };
1256
1256
 
1257
1257
 
@@ -1285,9 +1285,9 @@ export interface MethodInfo$instance extends MethodBase$instance {
1285
1285
  readonly returnType: Type;
1286
1286
  readonly returnTypeCustomAttributes: ICustomAttributeProvider;
1287
1287
  createDelegate(delegateType: Type): Function;
1288
- createDelegate(delegateType: Type, target: unknown): Function;
1288
+ createDelegate(delegateType: Type, target: unknown | undefined): Function;
1289
1289
  createDelegate<T extends Function>(): T;
1290
- createDelegate<T extends Function>(target: unknown): T;
1290
+ createDelegate<T extends Function>(target: unknown | undefined): T;
1291
1291
  equals(obj: unknown): boolean;
1292
1292
  getBaseDefinition(): MethodInfo;
1293
1293
  getCustomAttributes(inherit: boolean): unknown[];
@@ -1312,18 +1312,18 @@ export type MethodInfo = MethodInfo$instance & __MethodInfo$views;
1312
1312
 
1313
1313
 
1314
1314
  export interface MethodInvoker$instance {
1315
- invoke(obj: unknown): unknown;
1316
- invoke(obj: unknown, arg1: unknown): unknown;
1317
- invoke(obj: unknown, arg1: unknown, arg2: unknown): unknown;
1318
- 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;
1315
+ invoke(obj: unknown | undefined): unknown;
1316
+ invoke(obj: unknown | undefined, arg1: unknown | undefined): unknown;
1317
+ invoke(obj: unknown | undefined, arg1: unknown | undefined, arg2: unknown | undefined): unknown;
1318
+ invoke(obj: unknown | undefined, arg1: unknown | undefined, arg2: unknown | undefined, arg3: unknown | undefined): unknown;
1319
+ invoke(obj: unknown | undefined, arg1: unknown | undefined, arg2: unknown | undefined, arg3: unknown | undefined, arg4: unknown | undefined): unknown | undefined;
1320
+ invoke(obj: unknown | undefined, arguments: Span_1<unknown>): unknown | undefined;
1321
1321
  }
1322
1322
 
1323
1323
 
1324
1324
  export const MethodInvoker: {
1325
1325
  new(): MethodInvoker;
1326
- create(method: MethodBase): MethodInvoker;
1326
+ create(method: MethodBase | undefined): MethodInvoker | undefined;
1327
1327
  };
1328
1328
 
1329
1329
 
@@ -1363,34 +1363,34 @@ export interface Module$instance {
1363
1363
  getCustomAttributes(inherit: boolean): unknown[];
1364
1364
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1365
1365
  getCustomAttributesData(): IList_1<CustomAttributeData>;
1366
- getField(name: string): FieldInfo;
1367
- getField(name: string, bindingAttr: BindingFlags): FieldInfo;
1366
+ getField(name: string): FieldInfo | undefined;
1367
+ getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
1368
1368
  getFields(): FieldInfo[];
1369
1369
  getFields(bindingFlags: BindingFlags): FieldInfo[];
1370
1370
  getHashCode(): int;
1371
- getMethod(name: string): MethodInfo;
1372
- getMethod(name: string, types: Type[]): MethodInfo;
1371
+ getMethod(name: string): MethodInfo | undefined;
1372
+ getMethod(name: string, types: Type[]): MethodInfo | undefined;
1373
1373
  getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
1374
1374
  getMethods(): MethodInfo[];
1375
1375
  getMethods(bindingFlags: BindingFlags): MethodInfo[];
1376
1376
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1377
1377
  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;
1378
+ getType(className: string): Type | undefined;
1379
+ getType(className: string, ignoreCase: boolean): Type | undefined;
1380
+ getType(className: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
1381
1381
  getTypes(): Type[];
1382
1382
  isDefined(attributeType: Type, inherit: boolean): boolean;
1383
1383
  isResource(): boolean;
1384
1384
  resolveField(metadataToken: int): FieldInfo;
1385
- resolveField(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): FieldInfo;
1385
+ resolveField(metadataToken: int, genericTypeArguments: Type[] | undefined, genericMethodArguments: Type[] | undefined): FieldInfo;
1386
1386
  resolveMember(metadataToken: int): MemberInfo;
1387
- resolveMember(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MemberInfo;
1387
+ resolveMember(metadataToken: int, genericTypeArguments: Type[] | undefined, genericMethodArguments: Type[] | undefined): MemberInfo;
1388
1388
  resolveMethod(metadataToken: int): MethodBase;
1389
- resolveMethod(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MethodBase;
1389
+ resolveMethod(metadataToken: int, genericTypeArguments: Type[] | undefined, genericMethodArguments: Type[] | undefined): MethodBase;
1390
1390
  resolveSignature(metadataToken: int): byte[];
1391
1391
  resolveString(metadataToken: int): string;
1392
1392
  resolveType(metadataToken: int): Type;
1393
- resolveType(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): Type;
1393
+ resolveType(metadataToken: int, genericTypeArguments: Type[] | undefined, genericMethodArguments: Type[] | undefined): Type;
1394
1394
  toString(): string;
1395
1395
  }
1396
1396
 
@@ -1458,7 +1458,7 @@ export type ObfuscateAssemblyAttribute = ObfuscateAssemblyAttribute$instance;
1458
1458
  export interface ObfuscationAttribute$instance extends Attribute {
1459
1459
  applyToMembers: boolean;
1460
1460
  exclude: boolean;
1461
- feature: string;
1461
+ feature: string | undefined;
1462
1462
  stripAfterObfuscation: boolean;
1463
1463
  }
1464
1464
 
@@ -1485,7 +1485,7 @@ export interface ParameterInfo$instance {
1485
1485
  readonly name: string;
1486
1486
  readonly parameterType: Type;
1487
1487
  readonly position: int;
1488
- readonly rawDefaultValue: unknown;
1488
+ readonly rawDefaultValue: unknown | undefined;
1489
1489
  getCustomAttributes(inherit: boolean): unknown[];
1490
1490
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1491
1491
  getCustomAttributesData(): IList_1<CustomAttributeData>;
@@ -1539,34 +1539,34 @@ export interface PropertyInfo$instance extends MemberInfo$instance {
1539
1539
  readonly attributes: PropertyAttributes;
1540
1540
  readonly canRead: boolean;
1541
1541
  readonly canWrite: boolean;
1542
- readonly getMethod: MethodInfo;
1542
+ readonly getMethod: MethodInfo | undefined;
1543
1543
  readonly isSpecialName: boolean;
1544
1544
  readonly memberType: MemberTypes;
1545
1545
  readonly propertyType: Type;
1546
- readonly setMethod: MethodInfo;
1547
- equals(obj: unknown): boolean;
1548
- getAccessors(): MethodInfo[];
1549
- getAccessors(nonPublic: boolean): MethodInfo[];
1550
- getConstantValue(): unknown;
1546
+ readonly setMethod: MethodInfo | undefined;
1547
+ equals(obj: unknown | undefined): boolean;
1548
+ getAccessors(): (MethodInfo | undefined)[] | undefined;
1549
+ getAccessors(nonPublic: boolean): (MethodInfo | undefined)[] | undefined;
1550
+ getConstantValue(): unknown | undefined;
1551
1551
  getCustomAttributes(inherit: boolean): unknown[];
1552
1552
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1553
- getGetMethod(): MethodInfo;
1554
- getGetMethod(nonPublic: boolean): MethodInfo;
1553
+ getGetMethod(): MethodInfo | undefined;
1554
+ getGetMethod(nonPublic: boolean): MethodInfo | undefined;
1555
1555
  getHashCode(): int;
1556
- getIndexParameters(): ParameterInfo[];
1557
- getModifiedPropertyType(): Type;
1558
- getOptionalCustomModifiers(): Type[];
1556
+ getIndexParameters(): (ParameterInfo | undefined)[] | undefined;
1557
+ getModifiedPropertyType(): Type | undefined;
1558
+ getOptionalCustomModifiers(): (Type | undefined)[];
1559
1559
  getRawConstantValue(): unknown;
1560
- 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;
1560
+ getRequiredCustomModifiers(): (Type | undefined)[];
1561
+ getSetMethod(): MethodInfo | undefined;
1562
+ getSetMethod(nonPublic: boolean): MethodInfo | undefined;
1563
+ getValue(obj: unknown | undefined): unknown;
1564
+ getValue(obj: unknown | undefined, index: (unknown | undefined)[] | undefined): unknown | undefined;
1565
+ getValue(obj: unknown | undefined, invokeAttr: BindingFlags, binder: Binder | undefined, index: (unknown | undefined)[] | undefined, culture: CultureInfo | undefined): unknown | undefined;
1566
1566
  isDefined(attributeType: Type, inherit: boolean): boolean;
1567
- setValue(obj: unknown, value: unknown): void;
1568
- setValue(obj: unknown, value: unknown, index: unknown[]): void;
1569
- setValue(obj: unknown, value: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): void;
1567
+ setValue(obj: unknown | undefined, value: unknown | undefined): void;
1568
+ setValue(obj: unknown | undefined, value: unknown | undefined, index: (unknown | undefined)[] | undefined): void;
1569
+ setValue(obj: unknown | undefined, value: unknown | undefined, invokeAttr: BindingFlags, binder: Binder | undefined, index: (unknown | undefined)[] | undefined, culture: CultureInfo | undefined): void;
1570
1570
  }
1571
1571
 
1572
1572
 
@@ -1595,9 +1595,9 @@ export const ReflectionContext: {
1595
1595
  export type ReflectionContext = ReflectionContext$instance;
1596
1596
 
1597
1597
  export interface ReflectionTypeLoadException$instance extends SystemException {
1598
- readonly loaderExceptions: Exception[];
1598
+ readonly loaderExceptions: (Exception | undefined)[];
1599
1599
  readonly message: string;
1600
- readonly types: Type[];
1600
+ readonly types: (Type | undefined)[];
1601
1601
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1602
1602
  toString(): string;
1603
1603
  }
@@ -1645,8 +1645,8 @@ export interface TargetException$instance extends ApplicationException {
1645
1645
 
1646
1646
  export const TargetException: {
1647
1647
  new(): TargetException;
1648
- new(message: string): TargetException;
1649
- new(message: string, inner: Exception): TargetException;
1648
+ new(message: string | undefined): TargetException;
1649
+ new(message: string | undefined, inner: Exception | undefined): TargetException;
1650
1650
  };
1651
1651
 
1652
1652
 
@@ -1663,8 +1663,8 @@ export interface TargetInvocationException$instance extends ApplicationException
1663
1663
 
1664
1664
 
1665
1665
  export const TargetInvocationException: {
1666
- new(inner: Exception): TargetInvocationException;
1667
- new(message: string, inner: Exception): TargetInvocationException;
1666
+ new(inner: Exception | undefined): TargetInvocationException;
1667
+ new(message: string | undefined, inner: Exception | undefined): TargetInvocationException;
1668
1668
  };
1669
1669
 
1670
1670
 
@@ -1682,8 +1682,8 @@ export interface TargetParameterCountException$instance extends ApplicationExcep
1682
1682
 
1683
1683
  export const TargetParameterCountException: {
1684
1684
  new(): TargetParameterCountException;
1685
- new(message: string): TargetParameterCountException;
1686
- new(message: string, inner: Exception): TargetParameterCountException;
1685
+ new(message: string | undefined): TargetParameterCountException;
1686
+ new(message: string | undefined, inner: Exception | undefined): TargetParameterCountException;
1687
1687
  };
1688
1688
 
1689
1689
 
@@ -1697,7 +1697,7 @@ export type TargetParameterCountException = TargetParameterCountException$instan
1697
1697
  export interface TypeDelegator$instance extends TypeInfo$instance {
1698
1698
  readonly assembly: Assembly;
1699
1699
  readonly assemblyQualifiedName: string;
1700
- readonly baseType: Type;
1700
+ readonly baseType: Type | undefined;
1701
1701
  readonly fullName: string;
1702
1702
  readonly GUID: Guid;
1703
1703
  readonly isByRefLike: boolean;
@@ -1722,19 +1722,19 @@ export interface TypeDelegator$instance extends TypeInfo$instance {
1722
1722
  getCustomAttributes(inherit: boolean): unknown[];
1723
1723
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1724
1724
  getElementType(): Type;
1725
- getEvent(name: string, bindingAttr: BindingFlags): EventInfo;
1726
- getEvent(name: string): EventInfo;
1725
+ getEvent(name: string, bindingAttr: BindingFlags): EventInfo | undefined;
1726
+ getEvent(name: string): EventInfo | undefined;
1727
1727
  getEvents(): EventInfo[];
1728
1728
  getEvents(bindingAttr: BindingFlags): EventInfo[];
1729
- getField(name: string, bindingAttr: BindingFlags): FieldInfo;
1730
- getField(name: string): FieldInfo;
1729
+ getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
1730
+ getField(name: string): FieldInfo | undefined;
1731
1731
  getFields(bindingAttr: BindingFlags): FieldInfo[];
1732
1732
  getFields(): FieldInfo[];
1733
1733
  getFunctionPointerCallingConventions(): Type[];
1734
1734
  getFunctionPointerParameterTypes(): Type[];
1735
1735
  getFunctionPointerReturnType(): Type;
1736
- getInterface(name: string, ignoreCase: boolean): Type;
1737
- getInterface(name: string): Type;
1736
+ getInterface(name: string, ignoreCase: boolean): Type | undefined;
1737
+ getInterface(name: string): Type | undefined;
1738
1738
  getInterfaceMap(interfaceType: Type): InterfaceMapping;
1739
1739
  getInterfaces(): Type[];
1740
1740
  getMember(name: string, type_: MemberTypes, bindingAttr: BindingFlags): MemberInfo[];
@@ -1744,34 +1744,34 @@ export interface TypeDelegator$instance extends TypeInfo$instance {
1744
1744
  getMembers(): MemberInfo[];
1745
1745
  getMemberWithSameMetadataDefinitionAs(member: MemberInfo): MemberInfo;
1746
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;
1747
+ getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
1748
+ getMethod(name: string): MethodInfo | undefined;
1749
+ getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
1750
+ getMethod(name: string, types: Type[]): MethodInfo | undefined;
1751
+ getMethod(name: string, types: Type[], modifiers: ParameterModifier[] | undefined): MethodInfo | undefined;
1752
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;
1753
+ getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo | undefined;
1754
+ getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[] | undefined): MethodInfo | undefined;
1755
+ getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
1756
1756
  getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
1757
1757
  getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
1758
1758
  getMethods(bindingAttr: BindingFlags): MethodInfo[];
1759
1759
  getMethods(): MethodInfo[];
1760
- getNestedType(name: string, bindingAttr: BindingFlags): Type;
1761
- getNestedType(name: string): Type;
1760
+ getNestedType(name: string, bindingAttr: BindingFlags): Type | undefined;
1761
+ getNestedType(name: string): Type | undefined;
1762
1762
  getNestedTypes(bindingAttr: BindingFlags): Type[];
1763
1763
  getNestedTypes(): Type[];
1764
1764
  getProperties(bindingAttr: BindingFlags): PropertyInfo[];
1765
1765
  getProperties(): PropertyInfo[];
1766
- getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo;
1766
+ getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
1767
1767
  getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
1768
- getProperty(name: string): PropertyInfo;
1768
+ getProperty(name: string): PropertyInfo | undefined;
1769
1769
  getProperty(name: string, returnType: Type): PropertyInfo;
1770
- getProperty(name: string, types: Type[]): PropertyInfo;
1771
- getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
1770
+ getProperty(name: string, types: Type[]): PropertyInfo | undefined;
1771
+ getProperty(name: string, returnType: Type | undefined, types: Type[]): PropertyInfo | undefined;
1772
1772
  getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
1773
1773
  getTypeInfo(): TypeInfo;
1774
- invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
1774
+ invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[] | undefined): unknown;
1775
1775
  invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
1776
1776
  invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
1777
1777
  isAssignableFrom(typeInfo: TypeInfo): boolean;
@@ -1809,14 +1809,14 @@ export interface TypeInfo$instance extends Type {
1809
1809
  asType(): Type;
1810
1810
  getCustomAttributes(inherit: boolean): unknown[];
1811
1811
  getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1812
- getDeclaredEvent(name: string): EventInfo;
1813
- getDeclaredField(name: string): FieldInfo;
1814
- getDeclaredMethod(name: string): MethodInfo;
1812
+ getDeclaredEvent(name: string): EventInfo | undefined;
1813
+ getDeclaredField(name: string): FieldInfo | undefined;
1814
+ getDeclaredMethod(name: string): MethodInfo | undefined;
1815
1815
  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;
1816
+ getDeclaredNestedType(name: string): TypeInfo | undefined;
1817
+ getDeclaredProperty(name: string): PropertyInfo | undefined;
1818
+ getField(name: string): FieldInfo | undefined;
1819
+ getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
1820
1820
  getFields(): FieldInfo[];
1821
1821
  getFields(bindingAttr: BindingFlags): FieldInfo[];
1822
1822
  getMember(name: string): MemberInfo[];
@@ -1824,32 +1824,32 @@ export interface TypeInfo$instance extends Type {
1824
1824
  getMember(name: string, type_: MemberTypes, bindingAttr: BindingFlags): MemberInfo[];
1825
1825
  getMembers(): MemberInfo[];
1826
1826
  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;
1827
+ getMethod(name: string): MethodInfo | undefined;
1828
+ getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
1829
+ getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
1830
+ getMethod(name: string, types: Type[]): MethodInfo | undefined;
1831
+ getMethod(name: string, types: Type[], modifiers: ParameterModifier[] | undefined): MethodInfo | undefined;
1832
1832
  getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
1833
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;
1834
+ getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo | undefined;
1835
+ getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[] | undefined): MethodInfo | undefined;
1836
+ getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
1837
1837
  getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
1838
1838
  getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
1839
1839
  getMethods(): MethodInfo[];
1840
1840
  getMethods(bindingAttr: BindingFlags): MethodInfo[];
1841
1841
  getProperties(): PropertyInfo[];
1842
1842
  getProperties(bindingAttr: BindingFlags): PropertyInfo[];
1843
- getProperty(name: string): PropertyInfo;
1844
- getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo;
1843
+ getProperty(name: string): PropertyInfo | undefined;
1844
+ getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
1845
1845
  getProperty(name: string, returnType: Type): PropertyInfo;
1846
- getProperty(name: string, types: Type[]): PropertyInfo;
1847
- getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
1846
+ getProperty(name: string, types: Type[]): PropertyInfo | undefined;
1847
+ getProperty(name: string, returnType: Type | undefined, types: Type[]): PropertyInfo | undefined;
1848
1848
  getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
1849
1849
  getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
1850
1850
  invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
1851
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;
1852
+ invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[] | undefined): unknown;
1853
1853
  isAssignableFrom(c: Type): boolean;
1854
1854
  isDefined(attributeType: Type, inherit: boolean): boolean;
1855
1855
  }
@@ -1880,18 +1880,18 @@ export abstract class AssemblyExtensions$instance {
1880
1880
  export type AssemblyExtensions = AssemblyExtensions$instance;
1881
1881
 
1882
1882
  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;
1883
+ static getCustomAttribute(element: Assembly, attributeType: Type): Attribute | undefined;
1884
+ static getCustomAttribute<T extends Attribute>(element: Assembly): T | undefined;
1885
+ static getCustomAttribute<T extends Attribute>(element: MemberInfo, inherit: boolean): T | undefined;
1886
+ static getCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
1887
+ static getCustomAttribute(element: MemberInfo, attributeType: Type): Attribute | undefined;
1888
+ static getCustomAttribute<T extends Attribute>(element: MemberInfo): T | undefined;
1889
+ static getCustomAttribute(element: Module, attributeType: Type): Attribute | undefined;
1890
+ static getCustomAttribute<T extends Attribute>(element: Module): T | undefined;
1891
+ static getCustomAttribute<T extends Attribute>(element: ParameterInfo, inherit: boolean): T | undefined;
1892
+ static getCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
1893
+ static getCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute | undefined;
1894
+ static getCustomAttribute<T extends Attribute>(element: ParameterInfo): T | undefined;
1895
1895
  static getCustomAttributes(element: Assembly, attributeType: Type): IEnumerable_1<Attribute>;
1896
1896
  static getCustomAttributes<T extends Attribute>(element: Assembly): IEnumerable_1<T>;
1897
1897
  static getCustomAttributes(element: Assembly): IEnumerable_1<Attribute>;
@@ -1922,12 +1922,12 @@ export abstract class CustomAttributeExtensions$instance {
1922
1922
  export type CustomAttributeExtensions = CustomAttributeExtensions$instance;
1923
1923
 
1924
1924
  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;
1925
+ static getAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
1926
+ static getAddMethod(eventInfo: EventInfo): MethodInfo | undefined;
1927
+ static getRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
1928
+ static getRaiseMethod(eventInfo: EventInfo): MethodInfo | undefined;
1929
+ static getRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
1930
+ static getRemoveMethod(eventInfo: EventInfo): MethodInfo | undefined;
1931
1931
  }
1932
1932
 
1933
1933
 
@@ -1966,10 +1966,10 @@ export type ModuleExtensions = ModuleExtensions$instance;
1966
1966
  export abstract class PropertyInfoExtensions$instance {
1967
1967
  static getAccessors(property: PropertyInfo, nonPublic: boolean): MethodInfo[];
1968
1968
  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;
1969
+ static getGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | undefined;
1970
+ static getGetMethod(property: PropertyInfo): MethodInfo | undefined;
1971
+ static getSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | undefined;
1972
+ static getSetMethod(property: PropertyInfo): MethodInfo | undefined;
1973
1973
  }
1974
1974
 
1975
1975
 
@@ -1977,32 +1977,32 @@ export type PropertyInfoExtensions = PropertyInfoExtensions$instance;
1977
1977
 
1978
1978
  export abstract class RuntimeReflectionExtensions$instance {
1979
1979
  static getMethodInfo(del: Function): MethodInfo;
1980
- static getRuntimeBaseDefinition(method: MethodInfo): MethodInfo;
1981
- static getRuntimeEvent(type_: Type, name: string): EventInfo;
1980
+ static getRuntimeBaseDefinition(method: MethodInfo): MethodInfo | undefined;
1981
+ static getRuntimeEvent(type_: Type, name: string): EventInfo | undefined;
1982
1982
  static getRuntimeEvents(type_: Type): IEnumerable_1<EventInfo>;
1983
- static getRuntimeField(type_: Type, name: string): FieldInfo;
1983
+ static getRuntimeField(type_: Type, name: string): FieldInfo | undefined;
1984
1984
  static getRuntimeFields(type_: Type): IEnumerable_1<FieldInfo>;
1985
1985
  static getRuntimeInterfaceMap(typeInfo: TypeInfo, interfaceType: Type): InterfaceMapping;
1986
- static getRuntimeMethod(type_: Type, name: string, parameters: Type[]): MethodInfo;
1986
+ static getRuntimeMethod(type_: Type, name: string, parameters: Type[]): MethodInfo | undefined;
1987
1987
  static getRuntimeMethods(type_: Type): IEnumerable_1<MethodInfo>;
1988
1988
  static getRuntimeProperties(type_: Type): IEnumerable_1<PropertyInfo>;
1989
- static getRuntimeProperty(type_: Type, name: string): PropertyInfo;
1989
+ static getRuntimeProperty(type_: Type, name: string): PropertyInfo | undefined;
1990
1990
  }
1991
1991
 
1992
1992
 
1993
1993
  export type RuntimeReflectionExtensions = RuntimeReflectionExtensions$instance;
1994
1994
 
1995
1995
  export abstract class TypeExtensions$instance {
1996
- static getConstructor(type_: Type, types: Type[]): ConstructorInfo;
1996
+ static getConstructor(type_: Type, types: Type[]): ConstructorInfo | undefined;
1997
1997
  static getConstructors(type_: Type, bindingAttr: BindingFlags): ConstructorInfo[];
1998
1998
  static getConstructors(type_: Type): ConstructorInfo[];
1999
1999
  static getDefaultMembers(type_: Type): MemberInfo[];
2000
- static getEvent(type_: Type, name: string, bindingAttr: BindingFlags): EventInfo;
2001
- static getEvent(type_: Type, name: string): EventInfo;
2000
+ static getEvent(type_: Type, name: string, bindingAttr: BindingFlags): EventInfo | undefined;
2001
+ static getEvent(type_: Type, name: string): EventInfo | undefined;
2002
2002
  static getEvents(type_: Type, bindingAttr: BindingFlags): EventInfo[];
2003
2003
  static getEvents(type_: Type): EventInfo[];
2004
- static getField(type_: Type, name: string, bindingAttr: BindingFlags): FieldInfo;
2005
- static getField(type_: Type, name: string): FieldInfo;
2004
+ static getField(type_: Type, name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
2005
+ static getField(type_: Type, name: string): FieldInfo | undefined;
2006
2006
  static getFields(type_: Type, bindingAttr: BindingFlags): FieldInfo[];
2007
2007
  static getFields(type_: Type): FieldInfo[];
2008
2008
  static getGenericArguments(type_: Type): Type[];
@@ -2011,21 +2011,21 @@ export abstract class TypeExtensions$instance {
2011
2011
  static getMember(type_: Type, name: string): MemberInfo[];
2012
2012
  static getMembers(type_: Type, bindingAttr: BindingFlags): MemberInfo[];
2013
2013
  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;
2014
+ static getMethod(type_: Type, name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
2015
+ static getMethod(type_: Type, name: string, types: Type[]): MethodInfo | undefined;
2016
+ static getMethod(type_: Type, name: string): MethodInfo | undefined;
2017
2017
  static getMethods(type_: Type, bindingAttr: BindingFlags): MethodInfo[];
2018
2018
  static getMethods(type_: Type): MethodInfo[];
2019
- static getNestedType(type_: Type, name: string, bindingAttr: BindingFlags): Type;
2019
+ static getNestedType(type_: Type, name: string, bindingAttr: BindingFlags): Type | undefined;
2020
2020
  static getNestedTypes(type_: Type, bindingAttr: BindingFlags): Type[];
2021
2021
  static getProperties(type_: Type, bindingAttr: BindingFlags): PropertyInfo[];
2022
2022
  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;
2027
- static isAssignableFrom(type_: Type, c: Type): boolean;
2028
- static isInstanceOfType(type_: Type, o: unknown): boolean;
2023
+ static getProperty(type_: Type, name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
2024
+ static getProperty(type_: Type, name: string, returnType: Type | undefined, types: Type[]): PropertyInfo | undefined;
2025
+ static getProperty(type_: Type, name: string, returnType: Type | undefined): PropertyInfo | undefined;
2026
+ static getProperty(type_: Type, name: string): PropertyInfo | undefined;
2027
+ static isAssignableFrom(type_: Type, c: Type | undefined): boolean;
2028
+ static isInstanceOfType(type_: Type, o: unknown | undefined): boolean;
2029
2029
  }
2030
2030
 
2031
2031