@tsonic/dotnet 10.0.40 → 10.0.41

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 (187) hide show
  1. package/Internal/internal/index.d.ts +4 -3
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  3. package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
  4. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
  5. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
  6. package/Microsoft.Win32/internal/index.d.ts +19 -18
  7. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  8. package/README.md +76 -104
  9. package/System/bindings.json +1520 -2039
  10. package/System/internal/index.d.ts +1549 -1602
  11. package/System.Buffers/bindings.json +12 -3
  12. package/System.Buffers/internal/index.d.ts +12 -14
  13. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  14. package/System.Buffers.Text/internal/index.d.ts +2 -4
  15. package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
  16. package/System.Collections/internal/index.d.ts +129 -131
  17. package/System.Collections.Concurrent/bindings.json +218 -218
  18. package/System.Collections.Concurrent/internal/index.d.ts +34 -36
  19. package/System.Collections.Frozen/bindings.json +413 -611
  20. package/System.Collections.Frozen/internal/index.d.ts +81 -97
  21. package/System.Collections.Frozen.d.ts +14 -2
  22. package/System.Collections.Generic/bindings.json +9420 -14155
  23. package/System.Collections.Generic/internal/index.d.ts +547 -758
  24. package/System.Collections.Generic.d.ts +1 -1
  25. package/System.Collections.Immutable/bindings.json +6000 -9080
  26. package/System.Collections.Immutable/internal/index.d.ts +265 -354
  27. package/System.Collections.Immutable.d.ts +49 -12
  28. package/System.Collections.ObjectModel/bindings.json +132 -654
  29. package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
  30. package/System.Collections.Specialized/bindings.json +0 -123
  31. package/System.Collections.Specialized/internal/index.d.ts +88 -101
  32. package/System.ComponentModel/bindings.json +163 -102
  33. package/System.ComponentModel/internal/index.d.ts +618 -608
  34. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
  35. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  36. package/System.ComponentModel.Design/bindings.json +22 -292
  37. package/System.ComponentModel.Design/internal/index.d.ts +101 -109
  38. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
  39. package/System.ComponentModel.d.ts +1 -0
  40. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  41. package/System.Data/bindings.json +4 -1
  42. package/System.Data/internal/index.d.ts +351 -350
  43. package/System.Data.Common/internal/index.d.ts +151 -152
  44. package/System.Data.SqlTypes/internal/index.d.ts +68 -67
  45. package/System.Diagnostics/bindings.json +7044 -7249
  46. package/System.Diagnostics/internal/index.d.ts +446 -461
  47. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  48. package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
  49. package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
  50. package/System.Diagnostics.Metrics.d.ts +1 -1
  51. package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
  52. package/System.Diagnostics.Tracing/bindings.json +81 -21
  53. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  54. package/System.Diagnostics.Tracing.d.ts +2 -1
  55. package/System.Drawing/internal/index.d.ts +76 -75
  56. package/System.Dynamic/internal/index.d.ts +55 -57
  57. package/System.Formats.Asn1/bindings.json +48 -69
  58. package/System.Formats.Asn1/internal/index.d.ts +21 -28
  59. package/System.Formats.Tar/internal/index.d.ts +8 -7
  60. package/System.Globalization/internal/index.d.ts +40 -42
  61. package/System.IO/internal/index.d.ts +187 -189
  62. package/System.IO.Compression/internal/index.d.ts +29 -31
  63. package/System.IO.Enumeration/bindings.json +250 -250
  64. package/System.IO.Enumeration/internal/index.d.ts +15 -17
  65. package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
  66. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  67. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  68. package/System.IO.Pipes/internal/index.d.ts +8 -7
  69. package/System.Linq/internal/index.d.ts +223 -225
  70. package/System.Linq.Expressions/internal/index.d.ts +205 -207
  71. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  72. package/System.Net/bindings.json +104 -104
  73. package/System.Net/internal/index.d.ts +279 -281
  74. package/System.Net.Cache/internal/index.d.ts +3 -2
  75. package/System.Net.Http/internal/index.d.ts +128 -130
  76. package/System.Net.Http.Headers/bindings.json +0 -204
  77. package/System.Net.Http.Headers/internal/index.d.ts +111 -127
  78. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  79. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  80. package/System.Net.Mail/internal/index.d.ts +76 -78
  81. package/System.Net.Mime/internal/index.d.ts +11 -10
  82. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  83. package/System.Net.Quic/internal/index.d.ts +10 -9
  84. package/System.Net.Security/internal/index.d.ts +87 -89
  85. package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
  86. package/System.Net.Sockets/internal/index.d.ts +91 -93
  87. package/System.Net.WebSockets/internal/index.d.ts +47 -46
  88. package/System.Numerics/bindings.json +544 -116
  89. package/System.Numerics/internal/index.d.ts +110 -112
  90. package/System.Reflection/internal/index.d.ts +270 -272
  91. package/System.Reflection.Emit/internal/index.d.ts +114 -116
  92. package/System.Reflection.Metadata/bindings.json +166 -3169
  93. package/System.Reflection.Metadata/internal/index.d.ts +154 -361
  94. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
  95. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  96. package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
  97. package/System.Reflection.PortableExecutable.d.ts +1 -0
  98. package/System.Resources/internal/index.d.ts +33 -35
  99. package/System.Runtime/internal/index.d.ts +12 -11
  100. package/System.Runtime.CompilerServices/bindings.json +519 -717
  101. package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
  102. package/System.Runtime.CompilerServices.d.ts +14 -4
  103. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  104. package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
  105. package/System.Runtime.InteropServices/bindings.json +101 -101
  106. package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
  107. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
  108. package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
  109. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  110. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
  111. package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
  112. package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
  113. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
  114. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
  115. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
  116. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
  117. package/System.Runtime.InteropServices.Swift.d.ts +1 -1
  118. package/System.Runtime.Intrinsics/bindings.json +64 -16
  119. package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
  120. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  121. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  122. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  123. package/System.Runtime.Loader/bindings.json +48 -69
  124. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  125. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  126. package/System.Runtime.Serialization/internal/index.d.ts +175 -177
  127. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
  128. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  129. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
  130. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  131. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  132. package/System.Security/internal/index.d.ts +64 -66
  133. package/System.Security.AccessControl/bindings.json +104 -0
  134. package/System.Security.AccessControl/internal/index.d.ts +59 -58
  135. package/System.Security.AccessControl.d.ts +6 -5
  136. package/System.Security.Authentication/internal/index.d.ts +7 -6
  137. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  138. package/System.Security.Claims/internal/index.d.ts +45 -44
  139. package/System.Security.Cryptography/bindings.json +469 -469
  140. package/System.Security.Cryptography/internal/index.d.ts +269 -271
  141. package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
  142. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
  143. package/System.Security.Permissions/internal/index.d.ts +5 -4
  144. package/System.Security.Policy/internal/index.d.ts +11 -10
  145. package/System.Security.Principal/internal/index.d.ts +28 -27
  146. package/System.Text/bindings.json +1562 -1562
  147. package/System.Text/internal/index.d.ts +119 -121
  148. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  149. package/System.Text.Json/bindings.json +0 -290
  150. package/System.Text.Json/internal/index.d.ts +135 -153
  151. package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
  152. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  153. package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
  154. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
  155. package/System.Text.Json.Serialization.d.ts +1 -1
  156. package/System.Text.RegularExpressions/bindings.json +198 -402
  157. package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
  158. package/System.Text.Unicode/bindings.json +508 -508
  159. package/System.Text.Unicode/internal/index.d.ts +29 -31
  160. package/System.Threading/bindings.json +42 -42
  161. package/System.Threading/internal/index.d.ts +157 -159
  162. package/System.Threading.Channels/internal/index.d.ts +10 -12
  163. package/System.Threading.Tasks/bindings.json +4 -1
  164. package/System.Threading.Tasks/internal/index.d.ts +115 -114
  165. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
  166. package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
  167. package/System.Timers/internal/index.d.ts +8 -7
  168. package/System.Transactions/internal/index.d.ts +31 -30
  169. package/System.Web/internal/index.d.ts +32 -31
  170. package/System.Windows.Input/internal/index.d.ts +5 -4
  171. package/System.Windows.Markup/internal/index.d.ts +3 -2
  172. package/System.Xml/internal/index.d.ts +383 -385
  173. package/System.Xml.Linq/internal/index.d.ts +103 -102
  174. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  175. package/System.Xml.Schema/bindings.json +76 -76
  176. package/System.Xml.Schema/internal/index.d.ts +233 -232
  177. package/System.Xml.Serialization/bindings.json +193 -0
  178. package/System.Xml.Serialization/internal/index.d.ts +277 -245
  179. package/System.Xml.Serialization.d.ts +2 -0
  180. package/System.Xml.XPath/internal/index.d.ts +46 -45
  181. package/System.Xml.Xsl/internal/index.d.ts +53 -52
  182. package/System.Xml.Xsl.Runtime/bindings.json +4 -1
  183. package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
  184. package/System.d.ts +2 -2
  185. package/__internal/extensions/index.d.ts +517 -515
  186. package/families.json +63 -7
  187. package/package.json +2 -2
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Reflection
3
3
  // Assembly: System.ObjectModel, System.Private.CoreLib, System.Reflection.DispatchProxy, System.Reflection.Metadata, System.Reflection.TypeExtensions
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { IEnumerable_1, IList_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -370,20 +368,20 @@ export enum TypeAttributes {
370
368
  }
371
369
 
372
370
 
373
- export type MemberFilter = (m: MemberInfo, filterCriteria: unknown) => boolean;
371
+ export type MemberFilter = (m: MemberInfo, filterCriteria: JsValue | null) => boolean;
374
372
 
375
373
 
376
- export type ModuleResolveEventHandler = (sender: unknown, e: ResolveEventArgs) => Module;
374
+ export type ModuleResolveEventHandler = (sender: JsValue, e: ResolveEventArgs) => Module;
377
375
 
378
376
 
379
- export type TypeFilter = (m: Type, filterCriteria: unknown) => boolean;
377
+ export type TypeFilter = (m: Type, filterCriteria: JsValue | null) => boolean;
380
378
 
381
379
 
382
380
  export interface ICustomAttributeProvider$instance {
383
381
  readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
384
382
 
385
- GetCustomAttributes(inherit: boolean): unknown[];
386
- GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
383
+ GetCustomAttributes(inherit: boolean): JsValue[];
384
+ GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
387
385
  IsDefined(attributeType: Type, inherit: boolean): boolean;
388
386
  }
389
387
 
@@ -403,17 +401,17 @@ export interface IReflect$instance {
403
401
  readonly __tsonic_iface_System_Reflection_IReflect: never;
404
402
 
405
403
  readonly UnderlyingSystemType: Type;
406
- GetField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
404
+ GetField(name: string, bindingAttr: BindingFlags): FieldInfo | null;
407
405
  GetFields(bindingAttr: BindingFlags): FieldInfo[];
408
406
  GetMember(name: string, bindingAttr: BindingFlags): MemberInfo[];
409
407
  GetMembers(bindingAttr: BindingFlags): MemberInfo[];
410
- GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
411
- GetMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
408
+ GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder | null, types: Type[], modifiers: ParameterModifier[] | null): MethodInfo | null;
409
+ GetMethod(name: string, bindingAttr: BindingFlags): MethodInfo | null;
412
410
  GetMethods(bindingAttr: BindingFlags): MethodInfo[];
413
411
  GetProperties(bindingAttr: BindingFlags): PropertyInfo[];
414
- GetProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
415
- GetProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
416
- InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown | undefined;
412
+ GetProperty(name: string, bindingAttr: BindingFlags, binder: Binder | null, returnType: Type | null, types: Type[], modifiers: ParameterModifier[] | null): PropertyInfo | null;
413
+ GetProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | null;
414
+ InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: JsValue | null, args: (JsValue | null)[] | null, modifiers: ParameterModifier[] | null, culture: CultureInfo | null, namedParameters: string[] | null): JsValue | null;
417
415
  }
418
416
 
419
417
 
@@ -437,7 +435,7 @@ export interface CustomAttributeNamedArgument$instance {
437
435
  readonly MemberInfo: MemberInfo;
438
436
  readonly MemberName: string;
439
437
  readonly TypedValue: CustomAttributeTypedArgument;
440
- Equals(obj: unknown): boolean;
438
+ Equals(obj: JsValue | null): boolean;
441
439
  Equals(other: CustomAttributeNamedArgument): boolean;
442
440
  GetHashCode(): int;
443
441
  ToString(): string;
@@ -445,7 +443,7 @@ export interface CustomAttributeNamedArgument$instance {
445
443
 
446
444
 
447
445
  export const CustomAttributeNamedArgument: {
448
- new(memberInfo: MemberInfo, value: unknown): CustomAttributeNamedArgument;
446
+ new(memberInfo: MemberInfo, value: JsValue | null): CustomAttributeNamedArgument;
449
447
  new(memberInfo: MemberInfo, typedArgument: CustomAttributeTypedArgument): CustomAttributeNamedArgument;
450
448
  };
451
449
 
@@ -466,8 +464,8 @@ export interface CustomAttributeTypedArgument$instance {
466
464
  readonly __tsonic_iface_System_IEquatable_1: never;
467
465
 
468
466
  readonly ArgumentType: Type;
469
- readonly Value: unknown | undefined;
470
- Equals(obj: unknown): boolean;
467
+ readonly Value: JsValue | null;
468
+ Equals(obj: JsValue | null): boolean;
471
469
  Equals(other: CustomAttributeTypedArgument): boolean;
472
470
  GetHashCode(): int;
473
471
  ToString(): string;
@@ -475,8 +473,8 @@ export interface CustomAttributeTypedArgument$instance {
475
473
 
476
474
 
477
475
  export const CustomAttributeTypedArgument: {
478
- new(argumentType: Type, value: unknown): CustomAttributeTypedArgument;
479
- new(value: unknown): CustomAttributeTypedArgument;
476
+ new(argumentType: Type, value: JsValue | null): CustomAttributeTypedArgument;
477
+ new(value: JsValue): CustomAttributeTypedArgument;
480
478
  };
481
479
 
482
480
 
@@ -530,8 +528,8 @@ export interface AmbiguousMatchException$instance extends SystemException, Syste
530
528
 
531
529
  export const AmbiguousMatchException: {
532
530
  new(): AmbiguousMatchException;
533
- new(message: string): AmbiguousMatchException;
534
- new(message: string, inner: Exception): AmbiguousMatchException;
531
+ new(message: string | null): AmbiguousMatchException;
532
+ new(message: string | null, inner: Exception | null): AmbiguousMatchException;
535
533
  };
536
534
 
537
535
 
@@ -548,13 +546,13 @@ export interface Assembly$instance extends ICustomAttributeProvider$instance, Sy
548
546
  readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
549
547
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
550
548
 
551
- readonly CodeBase: string | undefined;
549
+ readonly CodeBase: string | null;
552
550
  readonly CustomAttributes: IEnumerable_1<CustomAttributeData>;
553
551
  readonly DefinedTypes: IEnumerable_1<TypeInfo>;
554
- readonly EntryPoint: MethodInfo | undefined;
552
+ readonly EntryPoint: MethodInfo | null;
555
553
  readonly EscapedCodeBase: string;
556
554
  readonly ExportedTypes: IEnumerable_1<Type>;
557
- readonly FullName: string | undefined;
555
+ readonly FullName: string | null;
558
556
  readonly GlobalAssemblyCache: boolean;
559
557
  readonly HostContext: long;
560
558
  readonly ImageRuntimeVersion: string;
@@ -566,26 +564,26 @@ export interface Assembly$instance extends ICustomAttributeProvider$instance, Sy
566
564
  readonly Modules: IEnumerable_1<Module>;
567
565
  readonly ReflectionOnly: boolean;
568
566
  readonly SecurityRuleSet: SecurityRuleSet;
569
- CreateInstance(typeName: string): unknown | undefined;
570
- CreateInstance(typeName: string, ignoreCase: boolean): unknown | undefined;
571
- CreateInstance(typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown | undefined;
572
- Equals(o: unknown): boolean;
573
- GetCustomAttributes(inherit: boolean): unknown[];
574
- GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
567
+ CreateInstance(typeName: string): JsValue | null;
568
+ CreateInstance(typeName: string, ignoreCase: boolean): JsValue | null;
569
+ CreateInstance(typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder | null, args: JsValue[] | null, culture: CultureInfo | null, activationAttributes: JsValue[] | null): JsValue | null;
570
+ Equals(o: JsValue | null): boolean;
571
+ GetCustomAttributes(inherit: boolean): JsValue[];
572
+ GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
575
573
  GetCustomAttributesData(): IList_1<CustomAttributeData>;
576
574
  GetExportedTypes(): Type[];
577
- GetFile(name: string): FileStream | undefined;
575
+ GetFile(name: string): FileStream | null;
578
576
  GetFiles(): FileStream[];
579
577
  GetFiles(getResourceModules: boolean): FileStream[];
580
578
  GetForwardedTypes(): Type[];
581
579
  GetHashCode(): int;
582
580
  GetLoadedModules(): Module[];
583
581
  GetLoadedModules(getResourceModules: boolean): Module[];
584
- GetManifestResourceInfo(resourceName: string): ManifestResourceInfo | undefined;
582
+ GetManifestResourceInfo(resourceName: string): ManifestResourceInfo | null;
585
583
  GetManifestResourceNames(): string[];
586
- GetManifestResourceStream(name: string): Stream | undefined;
587
- GetManifestResourceStream(type: Type, name: string): Stream | undefined;
588
- GetModule(name: string): Module | undefined;
584
+ GetManifestResourceStream(name: string): Stream | null;
585
+ GetManifestResourceStream(type: Type, name: string): Stream | null;
586
+ GetModule(name: string): Module | null;
589
587
  GetModules(): Module[];
590
588
  GetModules(getResourceModules: boolean): Module[];
591
589
  GetName(): AssemblyName;
@@ -593,37 +591,37 @@ export interface Assembly$instance extends ICustomAttributeProvider$instance, Sy
593
591
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
594
592
  GetReferencedAssemblies(): AssemblyName[];
595
593
  GetSatelliteAssembly(culture: CultureInfo): Assembly;
596
- GetSatelliteAssembly(culture: CultureInfo, version: Version): Assembly;
597
- GetType(name: string): Type | undefined;
598
- GetType(name: string, throwOnError: boolean): Type | undefined;
599
- GetType(name: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
594
+ GetSatelliteAssembly(culture: CultureInfo, version: Version | null): Assembly;
595
+ GetType(name: string): Type | null;
596
+ GetType(name: string, throwOnError: boolean): Type | null;
597
+ GetType(name: string, throwOnError: boolean, ignoreCase: boolean): Type | null;
600
598
  GetType(): Type;
601
599
  GetTypes(): Type[];
602
600
  IsDefined(attributeType: Type, inherit: boolean): boolean;
603
- LoadModule(moduleName: string, rawModule: byte[]): Module;
604
- LoadModule(moduleName: string, rawModule: byte[], rawSymbolStore: byte[]): Module;
601
+ LoadModule(moduleName: string, rawModule: byte[] | null): Module;
602
+ LoadModule(moduleName: string, rawModule: byte[] | null, rawSymbolStore: byte[] | null): Module;
605
603
  ToString(): string;
606
604
  }
607
605
 
608
606
 
609
607
  export const Assembly: (abstract new() => Assembly) & {
610
- CreateQualifiedName(assemblyName: string, typeName: string): string;
611
- GetAssembly(type: Type): Assembly | undefined;
608
+ CreateQualifiedName(assemblyName: string | null, typeName: string | null): string;
609
+ GetAssembly(type: Type): Assembly | null;
612
610
  GetCallingAssembly(): Assembly;
613
- GetEntryAssembly(): Assembly | undefined;
611
+ GetEntryAssembly(): Assembly | null;
614
612
  GetExecutingAssembly(): Assembly;
615
- Load(rawAssembly: byte[], rawSymbolStore: byte[]): Assembly;
613
+ Load(rawAssembly: byte[], rawSymbolStore: byte[] | null): Assembly;
616
614
  Load(rawAssembly: byte[]): Assembly;
617
615
  Load(assemblyRef: AssemblyName): Assembly;
618
616
  Load(assemblyString: string): Assembly;
619
617
  LoadFile(path: string): Assembly;
620
- LoadFrom(assemblyFile: string, hashValue: byte[], hashAlgorithm: AssemblyHashAlgorithm_Assemblies): Assembly;
618
+ LoadFrom(assemblyFile: string, hashValue: byte[] | null, hashAlgorithm: AssemblyHashAlgorithm_Assemblies): Assembly;
621
619
  LoadFrom(assemblyFile: string): Assembly;
622
- LoadWithPartialName(partialName: string): Assembly | undefined;
620
+ LoadWithPartialName(partialName: string): Assembly | null;
623
621
  ReflectionOnlyLoad(rawAssembly: byte[]): Assembly;
624
622
  ReflectionOnlyLoad(assemblyString: string): Assembly;
625
623
  ReflectionOnlyLoadFrom(assemblyFile: string): Assembly;
626
- SetEntryAssembly(assembly: Assembly): void;
624
+ SetEntryAssembly(assembly: Assembly | null): void;
627
625
  UnsafeLoadFrom(assemblyFile: string): Assembly;
628
626
  };
629
627
 
@@ -826,12 +824,12 @@ export interface AssemblyMetadataAttribute$instance extends Attribute {
826
824
  readonly __tsonic_type_System_Reflection_AssemblyMetadataAttribute: never;
827
825
 
828
826
  readonly Key: string;
829
- readonly Value: string | undefined;
827
+ readonly Value: string | null;
830
828
  }
831
829
 
832
830
 
833
831
  export const AssemblyMetadataAttribute: {
834
- new(key: string, value: string): AssemblyMetadataAttribute;
832
+ new(key: string, value: string | null): AssemblyMetadataAttribute;
835
833
  };
836
834
 
837
835
 
@@ -844,32 +842,32 @@ export interface AssemblyName$instance extends System_Internal.ICloneable$instan
844
842
  readonly __tsonic_iface_System_Runtime_Serialization_IDeserializationCallback: never;
845
843
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
846
844
 
847
- get CodeBase(): string | undefined;
848
- set CodeBase(value: string | undefined);
845
+ get CodeBase(): string | null;
846
+ set CodeBase(value: string | null);
849
847
  ContentType: AssemblyContentType;
850
- get CultureInfo(): CultureInfo | undefined;
851
- set CultureInfo(value: CultureInfo | undefined);
852
- get CultureName(): string | undefined;
853
- set CultureName(value: string | undefined);
854
- readonly EscapedCodeBase: string | undefined;
848
+ get CultureInfo(): CultureInfo | null;
849
+ set CultureInfo(value: CultureInfo | null);
850
+ get CultureName(): string | null;
851
+ set CultureName(value: string | null);
852
+ readonly EscapedCodeBase: string | null;
855
853
  Flags: AssemblyNameFlags;
856
854
  readonly FullName: string;
857
855
  HashAlgorithm: AssemblyHashAlgorithm_Assemblies;
858
- get KeyPair(): StrongNameKeyPair | undefined;
859
- set KeyPair(value: StrongNameKeyPair | undefined);
860
- get Name(): string | undefined;
861
- set Name(value: string | undefined);
856
+ get KeyPair(): StrongNameKeyPair | null;
857
+ set KeyPair(value: StrongNameKeyPair | null);
858
+ get Name(): string | null;
859
+ set Name(value: string | null);
862
860
  ProcessorArchitecture: ProcessorArchitecture;
863
- get Version(): Version | undefined;
864
- set Version(value: Version | undefined);
861
+ get Version(): Version | null;
862
+ set Version(value: Version | null);
865
863
  VersionCompatibility: AssemblyVersionCompatibility;
866
- Clone(): unknown;
864
+ Clone(): JsValue;
867
865
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
868
- GetPublicKey(): byte[] | undefined;
869
- GetPublicKeyToken(): byte[] | undefined;
870
- OnDeserialization(sender: unknown): void;
871
- SetPublicKey(publicKey: byte[]): void;
872
- SetPublicKeyToken(publicKeyToken: byte[]): void;
866
+ GetPublicKey(): byte[] | null;
867
+ GetPublicKeyToken(): byte[] | null;
868
+ OnDeserialization(sender: JsValue | null): void;
869
+ SetPublicKey(publicKey: byte[] | null): void;
870
+ SetPublicKeyToken(publicKeyToken: byte[] | null): void;
873
871
  ToString(): string;
874
872
  }
875
873
 
@@ -878,7 +876,7 @@ export const AssemblyName: {
878
876
  new(assemblyName: string): AssemblyName;
879
877
  new(): AssemblyName;
880
878
  GetAssemblyName(assemblyFile: string): AssemblyName;
881
- ReferenceMatchesDefinition(reference: AssemblyName, definition: AssemblyName): boolean;
879
+ ReferenceMatchesDefinition(reference: AssemblyName | null, definition: AssemblyName | null): boolean;
882
880
  };
883
881
 
884
882
 
@@ -979,12 +977,12 @@ export type AssemblyVersionAttribute = AssemblyVersionAttribute$instance;
979
977
  export interface Binder$instance {
980
978
  readonly __tsonic_type_System_Reflection_Binder: never;
981
979
 
982
- BindToField(bindingAttr: BindingFlags, match: FieldInfo[], value: unknown, culture: CultureInfo): FieldInfo;
983
- BindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, names: string[], state: unknown): MethodBase;
984
- ChangeType(value: unknown, type: Type, culture: CultureInfo): unknown;
985
- ReorderArgumentArray(args: unknown[], state: unknown): void;
986
- SelectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[]): MethodBase | undefined;
987
- SelectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type, indexes: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
980
+ BindToField(bindingAttr: BindingFlags, match: FieldInfo[], value: JsValue, culture: CultureInfo | null): FieldInfo;
981
+ BindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: (JsValue | null)[], modifiers: ParameterModifier[] | null, culture: CultureInfo | null, names: string[] | null, state: JsValue | null): MethodBase;
982
+ ChangeType(value: JsValue, type: Type, culture: CultureInfo | null): JsValue;
983
+ ReorderArgumentArray(args: (JsValue | null)[], state: JsValue): void;
984
+ SelectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[] | null): MethodBase | null;
985
+ SelectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type | null, indexes: Type[] | null, modifiers: ParameterModifier[] | null): PropertyInfo | null;
988
986
  }
989
987
 
990
988
 
@@ -1000,12 +998,12 @@ export interface ConstructorInfo$instance extends MethodBase$instance, ICustomAt
1000
998
  readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
1001
999
 
1002
1000
  readonly MemberType: MemberTypes;
1003
- Equals(obj: unknown): boolean;
1001
+ Equals(obj: JsValue | null): boolean;
1004
1002
  GetHashCode(): int;
1005
- Invoke(parameters: unknown[]): unknown;
1006
- Invoke(invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
1007
- Invoke(obj: unknown, parameters: unknown[]): unknown | undefined;
1008
- Invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown | undefined;
1003
+ Invoke(parameters: (JsValue | null)[] | null): JsValue;
1004
+ Invoke(invokeAttr: BindingFlags, binder: Binder | null, parameters: (JsValue | null)[] | null, culture: CultureInfo | null): JsValue;
1005
+ Invoke(obj: JsValue | null, parameters: (JsValue | null)[] | null): JsValue | null;
1006
+ Invoke(obj: JsValue | null, invokeAttr: BindingFlags, binder: Binder | null, parameters: (JsValue | null)[] | null, culture: CultureInfo | null): JsValue | null;
1009
1007
  }
1010
1008
 
1011
1009
 
@@ -1025,12 +1023,12 @@ export type ConstructorInfo = ConstructorInfo$instance & __ConstructorInfo$views
1025
1023
  export interface ConstructorInvoker$instance {
1026
1024
  readonly __tsonic_type_System_Reflection_ConstructorInvoker: never;
1027
1025
 
1028
- Invoke(): unknown;
1029
- Invoke(arg1: unknown): unknown;
1030
- Invoke(arg1: unknown, arg2: unknown): unknown;
1031
- Invoke(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
1032
- Invoke(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown;
1033
- Invoke(arguments: Span_1<unknown>): unknown;
1026
+ Invoke(): JsValue;
1027
+ Invoke(arg1: JsValue | null): JsValue;
1028
+ Invoke(arg1: JsValue | null, arg2: JsValue | null): JsValue;
1029
+ Invoke(arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null): JsValue;
1030
+ Invoke(arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null): JsValue;
1031
+ Invoke(arguments: Span_1<JsValue>): JsValue;
1034
1032
  }
1035
1033
 
1036
1034
 
@@ -1072,8 +1070,8 @@ export interface CustomAttributeFormatException$instance extends FormatException
1072
1070
 
1073
1071
  export const CustomAttributeFormatException: {
1074
1072
  new(): CustomAttributeFormatException;
1075
- new(message: string): CustomAttributeFormatException;
1076
- new(message: string, inner: Exception): CustomAttributeFormatException;
1073
+ new(message: string | null): CustomAttributeFormatException;
1074
+ new(message: string | null, inner: Exception | null): CustomAttributeFormatException;
1077
1075
  };
1078
1076
 
1079
1077
 
@@ -1101,13 +1099,13 @@ export type DefaultMemberAttribute = DefaultMemberAttribute$instance;
1101
1099
  export interface DispatchProxy$instance {
1102
1100
  readonly __tsonic_type_System_Reflection_DispatchProxy: never;
1103
1101
 
1104
- Invoke(targetMethod: MethodInfo, args: unknown[]): unknown | undefined;
1102
+ Invoke(targetMethod: MethodInfo | null, args: (JsValue | null)[] | null): JsValue | null;
1105
1103
  }
1106
1104
 
1107
1105
 
1108
1106
  export const DispatchProxy: (abstract new() => DispatchProxy) & {
1109
1107
  Create<T, TProxy extends DispatchProxy>(): T;
1110
- Create(interfaceType: Type, proxyType: Type): unknown;
1108
+ Create(interfaceType: Type, proxyType: Type): JsValue;
1111
1109
  };
1112
1110
 
1113
1111
 
@@ -1118,26 +1116,26 @@ export interface EventInfo$instance extends MemberInfo$instance, ICustomAttribut
1118
1116
 
1119
1117
  readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
1120
1118
 
1121
- readonly AddMethod: MethodInfo | undefined;
1119
+ readonly AddMethod: MethodInfo | null;
1122
1120
  readonly Attributes: EventAttributes;
1123
- readonly EventHandlerType: Type | undefined;
1121
+ readonly EventHandlerType: Type | null;
1124
1122
  readonly IsMulticast: boolean;
1125
1123
  readonly IsSpecialName: boolean;
1126
1124
  readonly MemberType: MemberTypes;
1127
- readonly RaiseMethod: MethodInfo | undefined;
1128
- readonly RemoveMethod: MethodInfo | undefined;
1129
- AddEventHandler(target: unknown, handler: Function): void;
1130
- Equals(obj: unknown): boolean;
1131
- GetAddMethod(): MethodInfo | undefined;
1132
- GetAddMethod(nonPublic: boolean): MethodInfo | undefined;
1125
+ readonly RaiseMethod: MethodInfo | null;
1126
+ readonly RemoveMethod: MethodInfo | null;
1127
+ AddEventHandler(target: JsValue | null, handler: Function | null): void;
1128
+ Equals(obj: JsValue | null): boolean;
1129
+ GetAddMethod(): MethodInfo | null;
1130
+ GetAddMethod(nonPublic: boolean): MethodInfo | null;
1133
1131
  GetHashCode(): int;
1134
1132
  GetOtherMethods(): MethodInfo[];
1135
1133
  GetOtherMethods(nonPublic: boolean): MethodInfo[];
1136
- GetRaiseMethod(): MethodInfo | undefined;
1137
- GetRaiseMethod(nonPublic: boolean): MethodInfo | undefined;
1138
- GetRemoveMethod(): MethodInfo | undefined;
1139
- GetRemoveMethod(nonPublic: boolean): MethodInfo | undefined;
1140
- RemoveEventHandler(target: unknown, handler: Function): void;
1134
+ GetRaiseMethod(): MethodInfo | null;
1135
+ GetRaiseMethod(nonPublic: boolean): MethodInfo | null;
1136
+ GetRemoveMethod(): MethodInfo | null;
1137
+ GetRemoveMethod(nonPublic: boolean): MethodInfo | null;
1138
+ RemoveEventHandler(target: JsValue | null, handler: Function | null): void;
1141
1139
  }
1142
1140
 
1143
1141
 
@@ -1155,7 +1153,7 @@ export type EventInfo = EventInfo$instance & __EventInfo$views;
1155
1153
  export interface ExceptionHandlingClause$instance {
1156
1154
  readonly __tsonic_type_System_Reflection_ExceptionHandlingClause: never;
1157
1155
 
1158
- readonly CatchType: Type | undefined;
1156
+ readonly CatchType: Type | null;
1159
1157
  readonly FilterOffset: int;
1160
1158
  readonly Flags: ExceptionHandlingClauseOptions;
1161
1159
  readonly HandlerLength: int;
@@ -1196,17 +1194,17 @@ export interface FieldInfo$instance extends MemberInfo$instance, ICustomAttribut
1196
1194
  readonly IsSpecialName: boolean;
1197
1195
  readonly IsStatic: boolean;
1198
1196
  readonly MemberType: MemberTypes;
1199
- Equals(obj: unknown): boolean;
1197
+ Equals(obj: JsValue | null): boolean;
1200
1198
  GetHashCode(): int;
1201
1199
  GetModifiedFieldType(): Type;
1202
1200
  GetOptionalCustomModifiers(): Type[];
1203
- GetRawConstantValue(): unknown | undefined;
1201
+ GetRawConstantValue(): JsValue | null;
1204
1202
  GetRequiredCustomModifiers(): Type[];
1205
- GetValue(obj: unknown): unknown | undefined;
1206
- GetValueDirect(obj: TypedReference): unknown | undefined;
1207
- SetValue(obj: unknown, value: unknown): void;
1208
- SetValue(obj: unknown, value: unknown, invokeAttr: BindingFlags, binder: Binder, culture: CultureInfo): void;
1209
- SetValueDirect(obj: TypedReference, value: unknown): void;
1203
+ GetValue(obj: JsValue | null): JsValue | null;
1204
+ GetValueDirect(obj: TypedReference): JsValue | null;
1205
+ SetValue(obj: JsValue | null, value: JsValue | null): void;
1206
+ SetValue(obj: JsValue | null, value: JsValue | null, invokeAttr: BindingFlags, binder: Binder | null, culture: CultureInfo | null): void;
1207
+ SetValueDirect(obj: TypedReference, value: JsValue): void;
1210
1208
  }
1211
1209
 
1212
1210
 
@@ -1233,8 +1231,8 @@ export interface InvalidFilterCriteriaException$instance extends ApplicationExce
1233
1231
 
1234
1232
  export const InvalidFilterCriteriaException: {
1235
1233
  new(): InvalidFilterCriteriaException;
1236
- new(message: string): InvalidFilterCriteriaException;
1237
- new(message: string, inner: Exception): InvalidFilterCriteriaException;
1234
+ new(message: string | null): InvalidFilterCriteriaException;
1235
+ new(message: string | null, inner: Exception | null): InvalidFilterCriteriaException;
1238
1236
  };
1239
1237
 
1240
1238
 
@@ -1264,14 +1262,14 @@ export type LocalVariableInfo = LocalVariableInfo$instance;
1264
1262
  export interface ManifestResourceInfo$instance {
1265
1263
  readonly __tsonic_type_System_Reflection_ManifestResourceInfo: never;
1266
1264
 
1267
- readonly FileName: string | undefined;
1268
- readonly ReferencedAssembly: Assembly | undefined;
1265
+ readonly FileName: string | null;
1266
+ readonly ReferencedAssembly: Assembly | null;
1269
1267
  readonly ResourceLocation: ResourceLocation;
1270
1268
  }
1271
1269
 
1272
1270
 
1273
1271
  export const ManifestResourceInfo: {
1274
- new(containingAssembly: Assembly, containingFileName: string, resourceLocation: ResourceLocation): ManifestResourceInfo;
1272
+ new(containingAssembly: Assembly | null, containingFileName: string | null, resourceLocation: ResourceLocation): ManifestResourceInfo;
1275
1273
  };
1276
1274
 
1277
1275
 
@@ -1283,16 +1281,16 @@ export interface MemberInfo$instance extends ICustomAttributeProvider$instance {
1283
1281
  readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
1284
1282
 
1285
1283
  readonly CustomAttributes: IEnumerable_1<CustomAttributeData>;
1286
- readonly DeclaringType: Type | undefined;
1284
+ readonly DeclaringType: Type | null;
1287
1285
  readonly IsCollectible: boolean;
1288
1286
  readonly MemberType: MemberTypes;
1289
1287
  readonly MetadataToken: int;
1290
1288
  readonly Module: Module;
1291
1289
  readonly Name: string;
1292
- readonly ReflectedType: Type | undefined;
1293
- Equals(obj: unknown): boolean;
1294
- GetCustomAttributes(inherit: boolean): unknown[];
1295
- GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1290
+ readonly ReflectedType: Type | null;
1291
+ Equals(obj: JsValue | null): boolean;
1292
+ GetCustomAttributes(inherit: boolean): JsValue[];
1293
+ GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
1296
1294
  GetCustomAttributesData(): IList_1<CustomAttributeData>;
1297
1295
  GetHashCode(): int;
1298
1296
  HasSameMetadataDefinitionAs(other: MemberInfo): boolean;
@@ -1340,21 +1338,21 @@ export interface MethodBase$instance extends MemberInfo$instance, ICustomAttribu
1340
1338
  readonly IsVirtual: boolean;
1341
1339
  readonly MethodHandle: RuntimeMethodHandle;
1342
1340
  readonly MethodImplementationFlags: MethodImplAttributes;
1343
- Equals(obj: unknown): boolean;
1341
+ Equals(obj: JsValue | null): boolean;
1344
1342
  GetGenericArguments(): Type[];
1345
1343
  GetHashCode(): int;
1346
- GetMethodBody(): MethodBody | undefined;
1344
+ GetMethodBody(): MethodBody | null;
1347
1345
  GetMethodImplementationFlags(): MethodImplAttributes;
1348
1346
  GetParameters(): ParameterInfo[];
1349
- Invoke(obj: unknown, parameters: unknown[]): unknown | undefined;
1350
- Invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown | undefined;
1347
+ Invoke(obj: JsValue | null, parameters: (JsValue | null)[] | null): JsValue | null;
1348
+ Invoke(obj: JsValue | null, invokeAttr: BindingFlags, binder: Binder | null, parameters: (JsValue | null)[] | null, culture: CultureInfo | null): JsValue | null;
1351
1349
  }
1352
1350
 
1353
1351
 
1354
1352
  export const MethodBase: (abstract new() => MethodBase) & {
1355
- GetCurrentMethod(): MethodBase | undefined;
1356
- GetMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase | undefined;
1357
- GetMethodFromHandle(handle: RuntimeMethodHandle): MethodBase | undefined;
1353
+ GetCurrentMethod(): MethodBase | null;
1354
+ GetMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase | null;
1355
+ GetMethodFromHandle(handle: RuntimeMethodHandle): MethodBase | null;
1358
1356
  };
1359
1357
 
1360
1358
 
@@ -1373,7 +1371,7 @@ export interface MethodBody$instance {
1373
1371
  readonly LocalSignatureMetadataToken: int;
1374
1372
  readonly LocalVariables: IList_1<LocalVariableInfo>;
1375
1373
  readonly MaxStackSize: int;
1376
- GetILAsByteArray(): byte[] | undefined;
1374
+ GetILAsByteArray(): byte[] | null;
1377
1375
  }
1378
1376
 
1379
1377
 
@@ -1393,10 +1391,10 @@ export interface MethodInfo$instance extends MethodBase$instance, ICustomAttribu
1393
1391
  readonly ReturnType: Type;
1394
1392
  readonly ReturnTypeCustomAttributes: ICustomAttributeProvider;
1395
1393
  CreateDelegate(delegateType: Type): Function;
1396
- CreateDelegate(delegateType: Type, target: unknown): Function;
1394
+ CreateDelegate(delegateType: Type, target: JsValue | null): Function;
1397
1395
  CreateDelegate<T extends Function>(): T;
1398
- CreateDelegate<T extends Function>(target: unknown): T;
1399
- Equals(obj: unknown): boolean;
1396
+ CreateDelegate<T extends Function>(target: JsValue | null): T;
1397
+ Equals(obj: JsValue | null): boolean;
1400
1398
  GetBaseDefinition(): MethodInfo;
1401
1399
  GetGenericArguments(): Type[];
1402
1400
  GetGenericMethodDefinition(): MethodInfo;
@@ -1419,12 +1417,12 @@ export type MethodInfo = MethodInfo$instance & __MethodInfo$views;
1419
1417
  export interface MethodInvoker$instance {
1420
1418
  readonly __tsonic_type_System_Reflection_MethodInvoker: never;
1421
1419
 
1422
- Invoke(obj: unknown): unknown | undefined;
1423
- Invoke(obj: unknown, arg1: unknown): unknown | undefined;
1424
- Invoke(obj: unknown, arg1: unknown, arg2: unknown): unknown | undefined;
1425
- Invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown): unknown | undefined;
1426
- Invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown | undefined;
1427
- Invoke(obj: unknown, arguments: Span_1<unknown>): unknown | undefined;
1420
+ Invoke(obj: JsValue | null): JsValue | null;
1421
+ Invoke(obj: JsValue | null, arg1: JsValue | null): JsValue | null;
1422
+ Invoke(obj: JsValue | null, arg1: JsValue | null, arg2: JsValue | null): JsValue | null;
1423
+ Invoke(obj: JsValue | null, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null): JsValue | null;
1424
+ Invoke(obj: JsValue | null, arg1: JsValue | null, arg2: JsValue | null, arg3: JsValue | null, arg4: JsValue | null): JsValue | null;
1425
+ Invoke(obj: JsValue | null, arguments: Span_1<JsValue>): JsValue | null;
1428
1426
  }
1429
1427
 
1430
1428
 
@@ -1470,41 +1468,41 @@ export interface Module$instance extends ICustomAttributeProvider$instance, Syst
1470
1468
  readonly ModuleVersionId: Guid;
1471
1469
  readonly Name: string;
1472
1470
  readonly ScopeName: string;
1473
- Equals(o: unknown): boolean;
1474
- FindTypes(filter: TypeFilter, filterCriteria: unknown): Type[];
1475
- GetCustomAttributes(inherit: boolean): unknown[];
1476
- GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1471
+ Equals(o: JsValue | null): boolean;
1472
+ FindTypes(filter: TypeFilter | null, filterCriteria: JsValue | null): Type[];
1473
+ GetCustomAttributes(inherit: boolean): JsValue[];
1474
+ GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
1477
1475
  GetCustomAttributesData(): IList_1<CustomAttributeData>;
1478
- GetField(name: string): FieldInfo | undefined;
1479
- GetField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
1476
+ GetField(name: string): FieldInfo | null;
1477
+ GetField(name: string, bindingAttr: BindingFlags): FieldInfo | null;
1480
1478
  GetFields(): FieldInfo[];
1481
1479
  GetFields(bindingFlags: BindingFlags): FieldInfo[];
1482
1480
  GetHashCode(): int;
1483
- GetMethod(name: string): MethodInfo | undefined;
1484
- GetMethod(name: string, types: Type[]): MethodInfo | undefined;
1485
- GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
1486
- GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
1481
+ GetMethod(name: string): MethodInfo | null;
1482
+ GetMethod(name: string, types: Type[]): MethodInfo | null;
1483
+ GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[] | null): MethodInfo | null;
1484
+ GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[] | null, modifiers: ParameterModifier[] | null): MethodInfo | null;
1487
1485
  GetMethods(): MethodInfo[];
1488
1486
  GetMethods(bindingFlags: BindingFlags): MethodInfo[];
1489
1487
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1490
1488
  GetPEKind(peKind: PortableExecutableKinds, machine: ImageFileMachine): void;
1491
- GetType(className: string): Type | undefined;
1492
- GetType(className: string, ignoreCase: boolean): Type | undefined;
1493
- GetType(className: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
1489
+ GetType(className: string): Type | null;
1490
+ GetType(className: string, ignoreCase: boolean): Type | null;
1491
+ GetType(className: string, throwOnError: boolean, ignoreCase: boolean): Type | null;
1494
1492
  GetType(): Type;
1495
1493
  GetTypes(): Type[];
1496
1494
  IsDefined(attributeType: Type, inherit: boolean): boolean;
1497
1495
  IsResource(): boolean;
1498
- ResolveField(metadataToken: int): FieldInfo | undefined;
1499
- ResolveField(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): FieldInfo | undefined;
1500
- ResolveMember(metadataToken: int): MemberInfo | undefined;
1501
- ResolveMember(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MemberInfo | undefined;
1502
- ResolveMethod(metadataToken: int): MethodBase | undefined;
1503
- ResolveMethod(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MethodBase | undefined;
1496
+ ResolveField(metadataToken: int): FieldInfo | null;
1497
+ ResolveField(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): FieldInfo | null;
1498
+ ResolveMember(metadataToken: int): MemberInfo | null;
1499
+ ResolveMember(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): MemberInfo | null;
1500
+ ResolveMethod(metadataToken: int): MethodBase | null;
1501
+ ResolveMethod(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): MethodBase | null;
1504
1502
  ResolveSignature(metadataToken: int): byte[];
1505
1503
  ResolveString(metadataToken: int): string;
1506
1504
  ResolveType(metadataToken: int): Type;
1507
- ResolveType(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): Type;
1505
+ ResolveType(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): Type;
1508
1506
  ToString(): string;
1509
1507
  }
1510
1508
 
@@ -1526,7 +1524,7 @@ export type Module = Module$instance & __Module$views;
1526
1524
  export interface NullabilityInfo$instance {
1527
1525
  readonly __tsonic_type_System_Reflection_NullabilityInfo: never;
1528
1526
 
1529
- readonly ElementType: NullabilityInfo | undefined;
1527
+ readonly ElementType: NullabilityInfo | null;
1530
1528
  readonly GenericTypeArguments: NullabilityInfo[];
1531
1529
  ReadState: NullabilityState;
1532
1530
  readonly Type: Type;
@@ -1577,8 +1575,8 @@ export interface ObfuscationAttribute$instance extends Attribute {
1577
1575
 
1578
1576
  ApplyToMembers: boolean;
1579
1577
  Exclude: boolean;
1580
- get Feature(): string | undefined;
1581
- set Feature(value: string | undefined);
1578
+ get Feature(): string | null;
1579
+ set Feature(value: string | null);
1582
1580
  StripAfterObfuscation: boolean;
1583
1581
  }
1584
1582
 
@@ -1598,7 +1596,7 @@ export interface ParameterInfo$instance extends ICustomAttributeProvider$instanc
1598
1596
 
1599
1597
  readonly Attributes: ParameterAttributes;
1600
1598
  readonly CustomAttributes: IEnumerable_1<CustomAttributeData>;
1601
- readonly DefaultValue: unknown | undefined;
1599
+ readonly DefaultValue: JsValue | null;
1602
1600
  readonly HasDefaultValue: boolean;
1603
1601
  readonly IsIn: boolean;
1604
1602
  readonly IsLcid: boolean;
@@ -1607,16 +1605,16 @@ export interface ParameterInfo$instance extends ICustomAttributeProvider$instanc
1607
1605
  readonly IsRetval: boolean;
1608
1606
  readonly Member: MemberInfo;
1609
1607
  readonly MetadataToken: int;
1610
- readonly Name: string | undefined;
1608
+ readonly Name: string | null;
1611
1609
  readonly ParameterType: Type;
1612
1610
  readonly Position: int;
1613
- readonly RawDefaultValue: unknown | undefined;
1614
- GetCustomAttributes(inherit: boolean): unknown[];
1615
- GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1611
+ readonly RawDefaultValue: JsValue | null;
1612
+ GetCustomAttributes(inherit: boolean): JsValue[];
1613
+ GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
1616
1614
  GetCustomAttributesData(): IList_1<CustomAttributeData>;
1617
1615
  GetModifiedParameterType(): Type;
1618
1616
  GetOptionalCustomModifiers(): Type[];
1619
- GetRealObject(context: StreamingContext): unknown;
1617
+ GetRealObject(context: StreamingContext): JsValue;
1620
1618
  GetRequiredCustomModifiers(): Type[];
1621
1619
  IsDefined(attributeType: Type, inherit: boolean): boolean;
1622
1620
  ToString(): string;
@@ -1640,14 +1638,14 @@ export interface Pointer$instance extends System_Runtime_Serialization_Internal.
1640
1638
 
1641
1639
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1642
1640
 
1643
- Equals(obj: unknown): boolean;
1641
+ Equals(obj: JsValue | null): boolean;
1644
1642
  GetHashCode(): int;
1645
1643
  }
1646
1644
 
1647
1645
 
1648
1646
  export const Pointer: {
1649
- Box(ptr: ptr<void>, type: Type): unknown;
1650
- Unbox(ptr: unknown): ptr<void>;
1647
+ Box(ptr: ptr<void>, type: Type): JsValue;
1648
+ Unbox(ptr: JsValue): ptr<void>;
1651
1649
  };
1652
1650
 
1653
1651
 
@@ -1666,31 +1664,31 @@ export interface PropertyInfo$instance extends MemberInfo$instance, ICustomAttri
1666
1664
  readonly Attributes: PropertyAttributes;
1667
1665
  readonly CanRead: boolean;
1668
1666
  readonly CanWrite: boolean;
1669
- readonly GetMethod: MethodInfo | undefined;
1667
+ readonly GetMethod: MethodInfo | null;
1670
1668
  readonly IsSpecialName: boolean;
1671
1669
  readonly MemberType: MemberTypes;
1672
1670
  readonly PropertyType: Type;
1673
- readonly SetMethod: MethodInfo | undefined;
1674
- Equals(obj: unknown): boolean;
1671
+ readonly SetMethod: MethodInfo | null;
1672
+ Equals(obj: JsValue | null): boolean;
1675
1673
  GetAccessors(): MethodInfo[];
1676
1674
  GetAccessors(nonPublic: boolean): MethodInfo[];
1677
- GetConstantValue(): unknown | undefined;
1678
- GetGetMethod(): MethodInfo | undefined;
1679
- GetGetMethod(nonPublic: boolean): MethodInfo | undefined;
1675
+ GetConstantValue(): JsValue | null;
1676
+ GetGetMethod(): MethodInfo | null;
1677
+ GetGetMethod(nonPublic: boolean): MethodInfo | null;
1680
1678
  GetHashCode(): int;
1681
1679
  GetIndexParameters(): ParameterInfo[];
1682
1680
  GetModifiedPropertyType(): Type;
1683
1681
  GetOptionalCustomModifiers(): Type[];
1684
- GetRawConstantValue(): unknown | undefined;
1682
+ GetRawConstantValue(): JsValue | null;
1685
1683
  GetRequiredCustomModifiers(): Type[];
1686
- GetSetMethod(): MethodInfo | undefined;
1687
- GetSetMethod(nonPublic: boolean): MethodInfo | undefined;
1688
- GetValue(obj: unknown): unknown | undefined;
1689
- GetValue(obj: unknown, index: unknown[]): unknown | undefined;
1690
- GetValue(obj: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): unknown | undefined;
1691
- SetValue(obj: unknown, value: unknown): void;
1692
- SetValue(obj: unknown, value: unknown, index: unknown[]): void;
1693
- SetValue(obj: unknown, value: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): void;
1684
+ GetSetMethod(): MethodInfo | null;
1685
+ GetSetMethod(nonPublic: boolean): MethodInfo | null;
1686
+ GetValue(obj: JsValue | null): JsValue | null;
1687
+ GetValue(obj: JsValue | null, index: (JsValue | null)[] | null): JsValue | null;
1688
+ GetValue(obj: JsValue | null, invokeAttr: BindingFlags, binder: Binder | null, index: (JsValue | null)[] | null, culture: CultureInfo | null): JsValue | null;
1689
+ SetValue(obj: JsValue | null, value: JsValue | null): void;
1690
+ SetValue(obj: JsValue | null, value: JsValue | null, index: (JsValue | null)[] | null): void;
1691
+ SetValue(obj: JsValue | null, value: JsValue | null, invokeAttr: BindingFlags, binder: Binder | null, index: (JsValue | null)[] | null, culture: CultureInfo | null): void;
1694
1692
  }
1695
1693
 
1696
1694
 
@@ -1708,7 +1706,7 @@ export type PropertyInfo = PropertyInfo$instance & __PropertyInfo$views;
1708
1706
  export interface ReflectionContext$instance {
1709
1707
  readonly __tsonic_type_System_Reflection_ReflectionContext: never;
1710
1708
 
1711
- GetTypeForObject(value: unknown): TypeInfo;
1709
+ GetTypeForObject(value: JsValue): TypeInfo;
1712
1710
  MapAssembly(assembly: Assembly): Assembly;
1713
1711
  MapType(type: TypeInfo): TypeInfo;
1714
1712
  }
@@ -1725,17 +1723,17 @@ export interface ReflectionTypeLoadException$instance extends SystemException {
1725
1723
 
1726
1724
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1727
1725
 
1728
- readonly LoaderExceptions: (Exception | undefined)[];
1726
+ readonly LoaderExceptions: (Exception | null)[];
1729
1727
  readonly Message: string;
1730
- readonly Types: (Type | undefined)[];
1728
+ readonly Types: (Type | null)[];
1731
1729
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1732
1730
  ToString(): string;
1733
1731
  }
1734
1732
 
1735
1733
 
1736
1734
  export const ReflectionTypeLoadException: {
1737
- new(classes: Type[], exceptions: Exception[]): ReflectionTypeLoadException;
1738
- new(classes: Type[], exceptions: Exception[], message: string): ReflectionTypeLoadException;
1735
+ new(classes: (Type | null)[] | null, exceptions: (Exception | null)[] | null): ReflectionTypeLoadException;
1736
+ new(classes: (Type | null)[] | null, exceptions: (Exception | null)[] | null, message: string | null): ReflectionTypeLoadException;
1739
1737
  };
1740
1738
 
1741
1739
 
@@ -1781,8 +1779,8 @@ export interface TargetException$instance extends ApplicationException, System_R
1781
1779
 
1782
1780
  export const TargetException: {
1783
1781
  new(): TargetException;
1784
- new(message: string): TargetException;
1785
- new(message: string, inner: Exception): TargetException;
1782
+ new(message: string | null): TargetException;
1783
+ new(message: string | null, inner: Exception | null): TargetException;
1786
1784
  };
1787
1785
 
1788
1786
 
@@ -1802,8 +1800,8 @@ export interface TargetInvocationException$instance extends ApplicationException
1802
1800
 
1803
1801
 
1804
1802
  export const TargetInvocationException: {
1805
- new(inner: Exception): TargetInvocationException;
1806
- new(message: string, inner: Exception): TargetInvocationException;
1803
+ new(inner: Exception | null): TargetInvocationException;
1804
+ new(message: string | null, inner: Exception | null): TargetInvocationException;
1807
1805
  };
1808
1806
 
1809
1807
 
@@ -1824,8 +1822,8 @@ export interface TargetParameterCountException$instance extends ApplicationExcep
1824
1822
 
1825
1823
  export const TargetParameterCountException: {
1826
1824
  new(): TargetParameterCountException;
1827
- new(message: string): TargetParameterCountException;
1828
- new(message: string, inner: Exception): TargetParameterCountException;
1825
+ new(message: string | null): TargetParameterCountException;
1826
+ new(message: string | null, inner: Exception | null): TargetParameterCountException;
1829
1827
  };
1830
1828
 
1831
1829
 
@@ -1844,9 +1842,9 @@ export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableT
1844
1842
  readonly __tsonic_iface_System_Reflection_IReflectableType: never;
1845
1843
 
1846
1844
  readonly Assembly: Assembly;
1847
- readonly AssemblyQualifiedName: string | undefined;
1848
- readonly BaseType: Type | undefined;
1849
- readonly FullName: string | undefined;
1845
+ readonly AssemblyQualifiedName: string | null;
1846
+ readonly BaseType: Type | null;
1847
+ readonly FullName: string | null;
1850
1848
  readonly GUID: Guid;
1851
1849
  readonly IsByRefLike: boolean;
1852
1850
  readonly IsCollectible: boolean;
@@ -1861,30 +1859,30 @@ export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableT
1861
1859
  readonly MetadataToken: int;
1862
1860
  readonly Module: Module;
1863
1861
  readonly Name: string;
1864
- readonly Namespace: string | undefined;
1862
+ readonly Namespace: string | null;
1865
1863
  readonly TypeHandle: RuntimeTypeHandle;
1866
1864
  readonly UnderlyingSystemType: Type;
1867
1865
  GetArrayRank(): int;
1868
1866
  GetAttributeFlagsImpl(): TypeAttributes;
1869
- GetConstructorImpl(bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): ConstructorInfo | undefined;
1867
+ GetConstructorImpl(bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[] | null): ConstructorInfo | null;
1870
1868
  GetConstructors(bindingAttr: BindingFlags): ConstructorInfo[];
1871
1869
  GetConstructors(): ConstructorInfo[];
1872
- GetCustomAttributes(inherit: boolean): unknown[];
1873
- GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
1874
- GetElementType(): Type | undefined;
1875
- GetEvent(name: string, bindingAttr: BindingFlags): EventInfo | undefined;
1876
- GetEvent(name: string): EventInfo | undefined;
1870
+ GetCustomAttributes(inherit: boolean): JsValue[];
1871
+ GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
1872
+ GetElementType(): Type | null;
1873
+ GetEvent(name: string, bindingAttr: BindingFlags): EventInfo | null;
1874
+ GetEvent(name: string): EventInfo | null;
1877
1875
  GetEvents(): EventInfo[];
1878
1876
  GetEvents(bindingAttr: BindingFlags): EventInfo[];
1879
- GetField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
1880
- GetField(name: string): FieldInfo | undefined;
1877
+ GetField(name: string, bindingAttr: BindingFlags): FieldInfo | null;
1878
+ GetField(name: string): FieldInfo | null;
1881
1879
  GetFields(bindingAttr: BindingFlags): FieldInfo[];
1882
1880
  GetFields(): FieldInfo[];
1883
1881
  GetFunctionPointerCallingConventions(): Type[];
1884
1882
  GetFunctionPointerParameterTypes(): Type[];
1885
1883
  GetFunctionPointerReturnType(): Type;
1886
- GetInterface(name: string, ignoreCase: boolean): Type | undefined;
1887
- GetInterface(name: string): Type | undefined;
1884
+ GetInterface(name: string, ignoreCase: boolean): Type | null;
1885
+ GetInterface(name: string): Type | null;
1888
1886
  GetInterfaceMap(interfaceType: Type): InterfaceMapping;
1889
1887
  GetInterfaces(): Type[];
1890
1888
  GetMember(name: string, type: MemberTypes, bindingAttr: BindingFlags): MemberInfo[];
@@ -1893,24 +1891,24 @@ export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableT
1893
1891
  GetMembers(bindingAttr: BindingFlags): MemberInfo[];
1894
1892
  GetMembers(): MemberInfo[];
1895
1893
  GetMemberWithSameMetadataDefinitionAs(member: MemberInfo): MemberInfo;
1896
- GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
1897
- GetMethodImpl(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
1894
+ GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[] | null, modifiers: ParameterModifier[] | null): MethodInfo | null;
1895
+ GetMethodImpl(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[] | null, modifiers: ParameterModifier[] | null): MethodInfo | null;
1898
1896
  GetMethods(bindingAttr: BindingFlags): MethodInfo[];
1899
1897
  GetMethods(): MethodInfo[];
1900
- GetNestedType(name: string, bindingAttr: BindingFlags): Type | undefined;
1901
- GetNestedType(name: string): Type | undefined;
1898
+ GetNestedType(name: string, bindingAttr: BindingFlags): Type | null;
1899
+ GetNestedType(name: string): Type | null;
1902
1900
  GetNestedTypes(bindingAttr: BindingFlags): Type[];
1903
1901
  GetNestedTypes(): Type[];
1904
1902
  GetProperties(bindingAttr: BindingFlags): PropertyInfo[];
1905
1903
  GetProperties(): PropertyInfo[];
1906
- GetPropertyImpl(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
1904
+ GetPropertyImpl(name: string, bindingAttr: BindingFlags, binder: Binder | null, returnType: Type | null, types: Type[] | null, modifiers: ParameterModifier[] | null): PropertyInfo | null;
1907
1905
  HasElementTypeImpl(): boolean;
1908
- InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown | undefined;
1909
- InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown | undefined;
1910
- InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown | undefined;
1906
+ InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: JsValue | null, args: (JsValue | null)[] | null, modifiers: ParameterModifier[] | null, culture: CultureInfo | null, namedParameters: string[] | null): JsValue | null;
1907
+ InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: JsValue | null, args: (JsValue | null)[] | null): JsValue | null;
1908
+ InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: JsValue | null, args: (JsValue | null)[] | null, culture: CultureInfo | null): JsValue | null;
1911
1909
  IsArrayImpl(): boolean;
1912
- IsAssignableFrom(typeInfo: TypeInfo): boolean;
1913
- IsAssignableFrom(c: Type): boolean;
1910
+ IsAssignableFrom(typeInfo: TypeInfo | null): boolean;
1911
+ IsAssignableFrom(c: Type | null): boolean;
1914
1912
  IsByRefImpl(): boolean;
1915
1913
  IsCOMObjectImpl(): boolean;
1916
1914
  IsDefined(attributeType: Type, inherit: boolean): boolean;
@@ -1951,14 +1949,14 @@ export interface TypeInfo$instance extends Type, ICustomAttributeProvider$instan
1951
1949
  readonly GenericTypeParameters: Type[];
1952
1950
  readonly ImplementedInterfaces: IEnumerable_1<Type>;
1953
1951
  AsType(): Type;
1954
- GetDeclaredEvent(name: string): EventInfo | undefined;
1955
- GetDeclaredField(name: string): FieldInfo | undefined;
1956
- GetDeclaredMethod(name: string): MethodInfo | undefined;
1952
+ GetDeclaredEvent(name: string): EventInfo | null;
1953
+ GetDeclaredField(name: string): FieldInfo | null;
1954
+ GetDeclaredMethod(name: string): MethodInfo | null;
1957
1955
  GetDeclaredMethods(name: string): IEnumerable_1<MethodInfo>;
1958
- GetDeclaredNestedType(name: string): TypeInfo | undefined;
1959
- GetDeclaredProperty(name: string): PropertyInfo | undefined;
1960
- IsAssignableFrom(typeInfo: TypeInfo): boolean;
1961
- IsAssignableFrom(c: Type): boolean;
1956
+ GetDeclaredNestedType(name: string): TypeInfo | null;
1957
+ GetDeclaredProperty(name: string): PropertyInfo | null;
1958
+ IsAssignableFrom(typeInfo: TypeInfo | null): boolean;
1959
+ IsAssignableFrom(c: Type | null): boolean;
1962
1960
  }
1963
1961
 
1964
1962
 
@@ -1985,18 +1983,18 @@ export abstract class AssemblyExtensions$instance {
1985
1983
  export type AssemblyExtensions = AssemblyExtensions$instance;
1986
1984
 
1987
1985
  export abstract class CustomAttributeExtensions$instance {
1988
- static GetCustomAttribute(element: Assembly, attributeType: Type): Attribute | undefined;
1989
- static GetCustomAttribute<T extends Attribute>(element: Assembly): T | undefined;
1990
- static GetCustomAttribute<T extends Attribute>(element: MemberInfo, inherit: boolean): T | undefined;
1991
- static GetCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
1992
- static GetCustomAttribute(element: MemberInfo, attributeType: Type): Attribute | undefined;
1993
- static GetCustomAttribute<T extends Attribute>(element: MemberInfo): T | undefined;
1994
- static GetCustomAttribute(element: Module, attributeType: Type): Attribute | undefined;
1995
- static GetCustomAttribute<T extends Attribute>(element: Module): T | undefined;
1996
- static GetCustomAttribute<T extends Attribute>(element: ParameterInfo, inherit: boolean): T | undefined;
1997
- static GetCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
1998
- static GetCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute | undefined;
1999
- static GetCustomAttribute<T extends Attribute>(element: ParameterInfo): T | undefined;
1986
+ static GetCustomAttribute(element: Assembly, attributeType: Type): Attribute | null;
1987
+ static GetCustomAttribute<T extends Attribute>(element: Assembly): T | null;
1988
+ static GetCustomAttribute<T extends Attribute>(element: MemberInfo, inherit: boolean): T | null;
1989
+ static GetCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute | null;
1990
+ static GetCustomAttribute(element: MemberInfo, attributeType: Type): Attribute | null;
1991
+ static GetCustomAttribute<T extends Attribute>(element: MemberInfo): T | null;
1992
+ static GetCustomAttribute(element: Module, attributeType: Type): Attribute | null;
1993
+ static GetCustomAttribute<T extends Attribute>(element: Module): T | null;
1994
+ static GetCustomAttribute<T extends Attribute>(element: ParameterInfo, inherit: boolean): T | null;
1995
+ static GetCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute | null;
1996
+ static GetCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute | null;
1997
+ static GetCustomAttribute<T extends Attribute>(element: ParameterInfo): T | null;
2000
1998
  static GetCustomAttributes(element: Assembly, attributeType: Type): IEnumerable_1<Attribute>;
2001
1999
  static GetCustomAttributes<T extends Attribute>(element: Assembly): IEnumerable_1<T>;
2002
2000
  static GetCustomAttributes(element: Assembly): IEnumerable_1<Attribute>;
@@ -2027,12 +2025,12 @@ export abstract class CustomAttributeExtensions$instance {
2027
2025
  export type CustomAttributeExtensions = CustomAttributeExtensions$instance;
2028
2026
 
2029
2027
  export abstract class EventInfoExtensions$instance {
2030
- static GetAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
2031
- static GetAddMethod(eventInfo: EventInfo): MethodInfo | undefined;
2032
- static GetRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
2033
- static GetRaiseMethod(eventInfo: EventInfo): MethodInfo | undefined;
2034
- static GetRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | undefined;
2035
- static GetRemoveMethod(eventInfo: EventInfo): MethodInfo | undefined;
2028
+ static GetAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | null;
2029
+ static GetAddMethod(eventInfo: EventInfo): MethodInfo | null;
2030
+ static GetRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | null;
2031
+ static GetRaiseMethod(eventInfo: EventInfo): MethodInfo | null;
2032
+ static GetRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | null;
2033
+ static GetRemoveMethod(eventInfo: EventInfo): MethodInfo | null;
2036
2034
  }
2037
2035
 
2038
2036
 
@@ -2071,10 +2069,10 @@ export type ModuleExtensions = ModuleExtensions$instance;
2071
2069
  export abstract class PropertyInfoExtensions$instance {
2072
2070
  static GetAccessors(property: PropertyInfo, nonPublic: boolean): MethodInfo[];
2073
2071
  static GetAccessors(property: PropertyInfo): MethodInfo[];
2074
- static GetGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | undefined;
2075
- static GetGetMethod(property: PropertyInfo): MethodInfo | undefined;
2076
- static GetSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | undefined;
2077
- static GetSetMethod(property: PropertyInfo): MethodInfo | undefined;
2072
+ static GetGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | null;
2073
+ static GetGetMethod(property: PropertyInfo): MethodInfo | null;
2074
+ static GetSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | null;
2075
+ static GetSetMethod(property: PropertyInfo): MethodInfo | null;
2078
2076
  }
2079
2077
 
2080
2078
 
@@ -2082,32 +2080,32 @@ export type PropertyInfoExtensions = PropertyInfoExtensions$instance;
2082
2080
 
2083
2081
  export abstract class RuntimeReflectionExtensions$instance {
2084
2082
  static GetMethodInfo(del: Function): MethodInfo;
2085
- static GetRuntimeBaseDefinition(method: MethodInfo): MethodInfo | undefined;
2086
- static GetRuntimeEvent(type: Type, name: string): EventInfo | undefined;
2083
+ static GetRuntimeBaseDefinition(method: MethodInfo): MethodInfo | null;
2084
+ static GetRuntimeEvent(type: Type, name: string): EventInfo | null;
2087
2085
  static GetRuntimeEvents(type: Type): IEnumerable_1<EventInfo>;
2088
- static GetRuntimeField(type: Type, name: string): FieldInfo | undefined;
2086
+ static GetRuntimeField(type: Type, name: string): FieldInfo | null;
2089
2087
  static GetRuntimeFields(type: Type): IEnumerable_1<FieldInfo>;
2090
2088
  static GetRuntimeInterfaceMap(typeInfo: TypeInfo, interfaceType: Type): InterfaceMapping;
2091
- static GetRuntimeMethod(type: Type, name: string, parameters: Type[]): MethodInfo | undefined;
2089
+ static GetRuntimeMethod(type: Type, name: string, parameters: Type[]): MethodInfo | null;
2092
2090
  static GetRuntimeMethods(type: Type): IEnumerable_1<MethodInfo>;
2093
2091
  static GetRuntimeProperties(type: Type): IEnumerable_1<PropertyInfo>;
2094
- static GetRuntimeProperty(type: Type, name: string): PropertyInfo | undefined;
2092
+ static GetRuntimeProperty(type: Type, name: string): PropertyInfo | null;
2095
2093
  }
2096
2094
 
2097
2095
 
2098
2096
  export type RuntimeReflectionExtensions = RuntimeReflectionExtensions$instance;
2099
2097
 
2100
2098
  export abstract class TypeExtensions$instance {
2101
- static GetConstructor(type: Type, types: Type[]): ConstructorInfo | undefined;
2099
+ static GetConstructor(type: Type, types: Type[]): ConstructorInfo | null;
2102
2100
  static GetConstructors(type: Type, bindingAttr: BindingFlags): ConstructorInfo[];
2103
2101
  static GetConstructors(type: Type): ConstructorInfo[];
2104
2102
  static GetDefaultMembers(type: Type): MemberInfo[];
2105
- static GetEvent(type: Type, name: string, bindingAttr: BindingFlags): EventInfo | undefined;
2106
- static GetEvent(type: Type, name: string): EventInfo | undefined;
2103
+ static GetEvent(type: Type, name: string, bindingAttr: BindingFlags): EventInfo | null;
2104
+ static GetEvent(type: Type, name: string): EventInfo | null;
2107
2105
  static GetEvents(type: Type, bindingAttr: BindingFlags): EventInfo[];
2108
2106
  static GetEvents(type: Type): EventInfo[];
2109
- static GetField(type: Type, name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
2110
- static GetField(type: Type, name: string): FieldInfo | undefined;
2107
+ static GetField(type: Type, name: string, bindingAttr: BindingFlags): FieldInfo | null;
2108
+ static GetField(type: Type, name: string): FieldInfo | null;
2111
2109
  static GetFields(type: Type, bindingAttr: BindingFlags): FieldInfo[];
2112
2110
  static GetFields(type: Type): FieldInfo[];
2113
2111
  static GetGenericArguments(type: Type): Type[];
@@ -2116,21 +2114,21 @@ export abstract class TypeExtensions$instance {
2116
2114
  static GetMember(type: Type, name: string): MemberInfo[];
2117
2115
  static GetMembers(type: Type, bindingAttr: BindingFlags): MemberInfo[];
2118
2116
  static GetMembers(type: Type): MemberInfo[];
2119
- static GetMethod(type: Type, name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
2120
- static GetMethod(type: Type, name: string, types: Type[]): MethodInfo | undefined;
2121
- static GetMethod(type: Type, name: string): MethodInfo | undefined;
2117
+ static GetMethod(type: Type, name: string, bindingAttr: BindingFlags): MethodInfo | null;
2118
+ static GetMethod(type: Type, name: string, types: Type[]): MethodInfo | null;
2119
+ static GetMethod(type: Type, name: string): MethodInfo | null;
2122
2120
  static GetMethods(type: Type, bindingAttr: BindingFlags): MethodInfo[];
2123
2121
  static GetMethods(type: Type): MethodInfo[];
2124
- static GetNestedType(type: Type, name: string, bindingAttr: BindingFlags): Type | undefined;
2122
+ static GetNestedType(type: Type, name: string, bindingAttr: BindingFlags): Type | null;
2125
2123
  static GetNestedTypes(type: Type, bindingAttr: BindingFlags): Type[];
2126
2124
  static GetProperties(type: Type, bindingAttr: BindingFlags): PropertyInfo[];
2127
2125
  static GetProperties(type: Type): PropertyInfo[];
2128
- static GetProperty(type: Type, name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
2129
- static GetProperty(type: Type, name: string, returnType: Type, types: Type[]): PropertyInfo | undefined;
2130
- static GetProperty(type: Type, name: string, returnType: Type): PropertyInfo | undefined;
2131
- static GetProperty(type: Type, name: string): PropertyInfo | undefined;
2132
- static IsAssignableFrom(type: Type, c: Type): boolean;
2133
- static IsInstanceOfType(type: Type, o: unknown): boolean;
2126
+ static GetProperty(type: Type, name: string, bindingAttr: BindingFlags): PropertyInfo | null;
2127
+ static GetProperty(type: Type, name: string, returnType: Type | null, types: Type[]): PropertyInfo | null;
2128
+ static GetProperty(type: Type, name: string, returnType: Type | null): PropertyInfo | null;
2129
+ static GetProperty(type: Type, name: string): PropertyInfo | null;
2130
+ static IsAssignableFrom(type: Type, c: Type | null): boolean;
2131
+ static IsInstanceOfType(type: Type, o: JsValue | null): boolean;
2134
2132
  }
2135
2133
 
2136
2134