@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.Runtime.Serialization.DataContracts
3
3
  // Assembly: System.Private.DataContractSerialization
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 { Dictionary_2, IEnumerable_1, List_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -21,31 +19,31 @@ import type { Boolean as ClrBoolean, Int32, Int64, Nullable_1, Object as ClrObje
21
19
  export interface DataContract$instance {
22
20
  readonly __tsonic_type_System_Runtime_Serialization_DataContracts_DataContract: never;
23
21
 
24
- readonly BaseContract: DataContract | undefined;
25
- readonly ContractType: string | undefined;
22
+ readonly BaseContract: DataContract | null;
23
+ readonly ContractType: string | null;
26
24
  readonly DataMembers: ReadOnlyCollection_1<DataMember>;
27
25
  readonly IsBuiltInDataContract: boolean;
28
26
  IsISerializable: boolean;
29
27
  IsReference: boolean;
30
28
  IsValueType: boolean;
31
- get KnownDataContracts(): Dictionary_2<XmlQualifiedName, DataContract> | undefined;
32
- set KnownDataContracts(value: Dictionary_2<XmlQualifiedName, DataContract> | undefined);
29
+ get KnownDataContracts(): Dictionary_2<XmlQualifiedName, DataContract> | null;
30
+ set KnownDataContracts(value: Dictionary_2<XmlQualifiedName, DataContract> | null);
33
31
  readonly OriginalUnderlyingType: Type;
34
- get TopLevelElementName(): XmlDictionaryString | undefined;
35
- set TopLevelElementName(value: XmlDictionaryString | undefined);
36
- get TopLevelElementNamespace(): XmlDictionaryString | undefined;
37
- set TopLevelElementNamespace(value: XmlDictionaryString | undefined);
32
+ get TopLevelElementName(): XmlDictionaryString | null;
33
+ set TopLevelElementName(value: XmlDictionaryString | null);
34
+ get TopLevelElementNamespace(): XmlDictionaryString | null;
35
+ set TopLevelElementNamespace(value: XmlDictionaryString | null);
38
36
  readonly UnderlyingType: Type;
39
37
  XmlName: XmlQualifiedName;
40
- Equals(obj: unknown): boolean;
38
+ Equals(obj: JsValue | null): boolean;
41
39
  GetArrayTypeName(isNullable: boolean): XmlQualifiedName;
42
40
  GetHashCode(): int;
43
- IsDictionaryLike(keyName: string, valueName: string, itemName: string): boolean;
41
+ IsDictionaryLike(keyName: string | null, valueName: string | null, itemName: string | null): boolean;
44
42
  }
45
43
 
46
44
 
47
45
  export const DataContract: {
48
- GetBuiltInDataContract(name: string, ns: string): DataContract | undefined;
46
+ GetBuiltInDataContract(name: string, ns: string): DataContract | null;
49
47
  GetXmlName(type: Type): XmlQualifiedName;
50
48
  };
51
49
 
@@ -56,20 +54,20 @@ export interface DataContractSet$instance {
56
54
  readonly __tsonic_type_System_Runtime_Serialization_DataContracts_DataContractSet: never;
57
55
 
58
56
  readonly Contracts: Dictionary_2<XmlQualifiedName, DataContract>;
59
- get KnownTypesForObject(): Dictionary_2<XmlQualifiedName, DataContract> | undefined;
60
- set KnownTypesForObject(value: Dictionary_2<XmlQualifiedName, DataContract> | undefined);
61
- readonly ProcessedContracts: Dictionary_2<DataContract, unknown>;
57
+ get KnownTypesForObject(): Dictionary_2<XmlQualifiedName, DataContract> | null;
58
+ set KnownTypesForObject(value: Dictionary_2<XmlQualifiedName, DataContract> | null);
59
+ readonly ProcessedContracts: Dictionary_2<DataContract, JsValue>;
62
60
  readonly SurrogateData: Hashtable;
63
61
  GetDataContract(type: Type): DataContract;
64
- GetDataContract(key: XmlQualifiedName): DataContract | undefined;
65
- GetReferencedType(xmlName: XmlQualifiedName, dataContract: DataContract, referencedContract: DataContract, genericParameters: unknown[], supportGenericTypes?: Nullable_1<System_Internal.Boolean>): Type | undefined;
66
- ImportSchemaSet(schemaSet: XmlSchemaSet, typeNames: IEnumerable_1<XmlQualifiedName>, importXmlDataType: boolean): void;
62
+ GetDataContract(key: XmlQualifiedName): DataContract | null;
63
+ GetReferencedType(xmlName: XmlQualifiedName, dataContract: DataContract, referencedContract: DataContract | null, genericParameters: JsValue[] | null, supportGenericTypes?: Nullable_1<System_Internal.Boolean>): Type | null;
64
+ ImportSchemaSet(schemaSet: XmlSchemaSet, typeNames: IEnumerable_1<XmlQualifiedName> | null, importXmlDataType: boolean): void;
67
65
  ImportSchemaSet(schemaSet: XmlSchemaSet, elements: IEnumerable_1<XmlSchemaElement>, importXmlDataType: boolean): List_1<XmlQualifiedName>;
68
66
  }
69
67
 
70
68
 
71
69
  export const DataContractSet: {
72
- new(dataContractSurrogate: ISerializationSurrogateProvider, referencedTypes: IEnumerable_1<Type>, referencedCollectionTypes: IEnumerable_1<Type>): DataContractSet;
70
+ new(dataContractSurrogate: ISerializationSurrogateProvider | null, referencedTypes: IEnumerable_1<Type> | null, referencedCollectionTypes: IEnumerable_1<Type> | null): DataContractSet;
73
71
  new(dataContractSet: DataContractSet): DataContractSet;
74
72
  };
75
73
 
@@ -97,21 +95,21 @@ export type DataMember = DataMember$instance;
97
95
  export interface XmlDataContract$instance extends DataContract {
98
96
  readonly __tsonic_type_System_Runtime_Serialization_DataContracts_XmlDataContract: never;
99
97
 
100
- readonly ContractType: string | undefined;
98
+ readonly ContractType: string | null;
101
99
  HasRoot: boolean;
102
100
  readonly IsAnonymous: boolean;
103
101
  readonly IsBuiltInDataContract: boolean;
104
102
  IsTopLevelElementNullable: boolean;
105
103
  IsTypeDefinedOnImport: boolean;
106
104
  IsValueType: boolean;
107
- get KnownDataContracts(): Dictionary_2<XmlQualifiedName, DataContract> | undefined;
108
- set KnownDataContracts(value: Dictionary_2<XmlQualifiedName, DataContract> | undefined);
109
- get TopLevelElementName(): XmlDictionaryString | undefined;
110
- set TopLevelElementName(value: XmlDictionaryString | undefined);
111
- get TopLevelElementNamespace(): XmlDictionaryString | undefined;
112
- set TopLevelElementNamespace(value: XmlDictionaryString | undefined);
113
- get XsdType(): XmlSchemaType | undefined;
114
- set XsdType(value: XmlSchemaType | undefined);
105
+ get KnownDataContracts(): Dictionary_2<XmlQualifiedName, DataContract> | null;
106
+ set KnownDataContracts(value: Dictionary_2<XmlQualifiedName, DataContract> | null);
107
+ get TopLevelElementName(): XmlDictionaryString | null;
108
+ set TopLevelElementName(value: XmlDictionaryString | null);
109
+ get TopLevelElementNamespace(): XmlDictionaryString | null;
110
+ set TopLevelElementNamespace(value: XmlDictionaryString | null);
111
+ get XsdType(): XmlSchemaType | null;
112
+ set XsdType(value: XmlSchemaType | null);
115
113
  }
116
114
 
117
115
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime.Serialization.Formatters
3
3
  // Assembly: System.Runtime.Serialization.Formatters
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
 
8
9
  // Import types from other namespaces
9
10
  import * as System_Internal from "../../System/internal/index.js";
@@ -31,10 +32,10 @@ export enum TypeFilterLevel {
31
32
  export interface IFieldInfo$instance {
32
33
  readonly __tsonic_iface_System_Runtime_Serialization_Formatters_IFieldInfo: never;
33
34
 
34
- get FieldNames(): string[] | undefined;
35
- set FieldNames(value: string[] | undefined);
36
- get FieldTypes(): Type[] | undefined;
37
- set FieldTypes(value: Type[] | undefined);
35
+ get FieldNames(): string[] | null;
36
+ set FieldNames(value: string[] | null);
37
+ get FieldTypes(): Type[] | null;
38
+ set FieldTypes(value: Type[] | null);
38
39
  }
39
40
 
40
41
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime.Serialization.Formatters.Binary
3
3
  // Assembly: System.Runtime.Serialization.Formatters
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
 
8
9
  // Import types from other namespaces
9
10
  import type { Stream } from "../../System.IO/internal/index.js";
@@ -19,21 +20,21 @@ export interface BinaryFormatter$instance extends System_Runtime_Serialization_I
19
20
  readonly __tsonic_iface_System_Runtime_Serialization_IFormatter: never;
20
21
 
21
22
  AssemblyFormat: FormatterAssemblyStyle;
22
- get Binder(): SerializationBinder | undefined;
23
- set Binder(value: SerializationBinder | undefined);
23
+ get Binder(): SerializationBinder | null;
24
+ set Binder(value: SerializationBinder | null);
24
25
  Context: StreamingContext;
25
26
  FilterLevel: TypeFilterLevel;
26
- get SurrogateSelector(): ISurrogateSelector | undefined;
27
- set SurrogateSelector(value: ISurrogateSelector | undefined);
27
+ get SurrogateSelector(): ISurrogateSelector | null;
28
+ set SurrogateSelector(value: ISurrogateSelector | null);
28
29
  TypeFormat: FormatterTypeStyle;
29
- Deserialize(serializationStream: Stream): unknown;
30
- Serialize(serializationStream: Stream, graph: unknown): void;
30
+ Deserialize(serializationStream: Stream): JsValue;
31
+ Serialize(serializationStream: Stream, graph: JsValue): void;
31
32
  }
32
33
 
33
34
 
34
35
  export const BinaryFormatter: {
35
36
  new(): BinaryFormatter;
36
- new(selector: ISurrogateSelector, context: StreamingContext): BinaryFormatter;
37
+ new(selector: ISurrogateSelector | null, context: StreamingContext): BinaryFormatter;
37
38
  };
38
39
 
39
40
 
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime.Serialization.Json
3
3
  // Assembly: System.Private.DataContractSerialization
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
 
8
9
  // Import types from other namespaces
9
10
  import type { IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
@@ -19,8 +20,8 @@ import type { Boolean as ClrBoolean, Byte, Int32, Object as ClrObject, String as
19
20
  export interface IXmlJsonReaderInitializer$instance {
20
21
  readonly __tsonic_iface_System_Runtime_Serialization_Json_IXmlJsonReaderInitializer: never;
21
22
 
22
- SetInput(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): void;
23
- SetInput(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): void;
23
+ SetInput(buffer: byte[], offset: int, count: int, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): void;
24
+ SetInput(stream: Stream, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): void;
24
25
  }
25
26
 
26
27
 
@@ -38,42 +39,42 @@ export type IXmlJsonWriterInitializer = IXmlJsonWriterInitializer$instance;
38
39
  export interface DataContractJsonSerializer$instance extends XmlObjectSerializer {
39
40
  readonly __tsonic_type_System_Runtime_Serialization_Json_DataContractJsonSerializer: never;
40
41
 
41
- readonly DateTimeFormat: DateTimeFormat | undefined;
42
+ readonly DateTimeFormat: DateTimeFormat | null;
42
43
  readonly EmitTypeInformation: EmitTypeInformation;
43
44
  readonly IgnoreExtensionDataObject: boolean;
44
45
  readonly KnownTypes: ReadOnlyCollection_1<Type>;
45
46
  readonly MaxItemsInObjectGraph: int;
46
47
  readonly SerializeReadOnlyTypes: boolean;
47
48
  readonly UseSimpleDictionaryFormat: boolean;
48
- GetSerializationSurrogateProvider(): ISerializationSurrogateProvider | undefined;
49
+ GetSerializationSurrogateProvider(): ISerializationSurrogateProvider | null;
49
50
  IsStartObject(reader: XmlReader): boolean;
50
51
  IsStartObject(reader: XmlDictionaryReader): boolean;
51
- ReadObject(stream: Stream): unknown | undefined;
52
- ReadObject(reader: XmlReader): unknown | undefined;
53
- ReadObject(reader: XmlReader, verifyObjectName: boolean): unknown | undefined;
54
- ReadObject(reader: XmlDictionaryReader): unknown | undefined;
55
- ReadObject(reader: XmlDictionaryReader, verifyObjectName: boolean): unknown | undefined;
56
- SetSerializationSurrogateProvider(provider: ISerializationSurrogateProvider): void;
52
+ ReadObject(stream: Stream): JsValue | null;
53
+ ReadObject(reader: XmlReader): JsValue | null;
54
+ ReadObject(reader: XmlReader, verifyObjectName: boolean): JsValue | null;
55
+ ReadObject(reader: XmlDictionaryReader): JsValue | null;
56
+ ReadObject(reader: XmlDictionaryReader, verifyObjectName: boolean): JsValue | null;
57
+ SetSerializationSurrogateProvider(provider: ISerializationSurrogateProvider | null): void;
57
58
  WriteEndObject(writer: XmlWriter): void;
58
59
  WriteEndObject(writer: XmlDictionaryWriter): void;
59
- WriteObject(stream: Stream, graph: unknown): void;
60
- WriteObject(writer: XmlWriter, graph: unknown): void;
61
- WriteObject(writer: XmlDictionaryWriter, graph: unknown): void;
62
- WriteObjectContent(writer: XmlWriter, graph: unknown): void;
63
- WriteObjectContent(writer: XmlDictionaryWriter, graph: unknown): void;
64
- WriteStartObject(writer: XmlWriter, graph: unknown): void;
65
- WriteStartObject(writer: XmlDictionaryWriter, graph: unknown): void;
60
+ WriteObject(stream: Stream, graph: JsValue | null): void;
61
+ WriteObject(writer: XmlWriter, graph: JsValue | null): void;
62
+ WriteObject(writer: XmlDictionaryWriter, graph: JsValue | null): void;
63
+ WriteObjectContent(writer: XmlWriter, graph: JsValue | null): void;
64
+ WriteObjectContent(writer: XmlDictionaryWriter, graph: JsValue | null): void;
65
+ WriteStartObject(writer: XmlWriter, graph: JsValue | null): void;
66
+ WriteStartObject(writer: XmlDictionaryWriter, graph: JsValue | null): void;
66
67
  }
67
68
 
68
69
 
69
70
  export const DataContractJsonSerializer: {
70
71
  new(type: Type): DataContractJsonSerializer;
71
- new(type: Type, rootName: string): DataContractJsonSerializer;
72
- new(type: Type, rootName: XmlDictionaryString): DataContractJsonSerializer;
73
- new(type: Type, knownTypes: IEnumerable_1<Type>): DataContractJsonSerializer;
74
- new(type: Type, rootName: string, knownTypes: IEnumerable_1<Type>): DataContractJsonSerializer;
75
- new(type: Type, rootName: XmlDictionaryString, knownTypes: IEnumerable_1<Type>): DataContractJsonSerializer;
76
- new(type: Type, settings: DataContractJsonSerializerSettings): DataContractJsonSerializer;
72
+ new(type: Type, rootName: string | null): DataContractJsonSerializer;
73
+ new(type: Type, rootName: XmlDictionaryString | null): DataContractJsonSerializer;
74
+ new(type: Type, knownTypes: IEnumerable_1<Type> | null): DataContractJsonSerializer;
75
+ new(type: Type, rootName: string | null, knownTypes: IEnumerable_1<Type> | null): DataContractJsonSerializer;
76
+ new(type: Type, rootName: XmlDictionaryString | null, knownTypes: IEnumerable_1<Type> | null): DataContractJsonSerializer;
77
+ new(type: Type, settings: DataContractJsonSerializerSettings | null): DataContractJsonSerializer;
77
78
  };
78
79
 
79
80
 
@@ -82,15 +83,15 @@ export type DataContractJsonSerializer = DataContractJsonSerializer$instance;
82
83
  export interface DataContractJsonSerializerSettings$instance {
83
84
  readonly __tsonic_type_System_Runtime_Serialization_Json_DataContractJsonSerializerSettings: never;
84
85
 
85
- get DateTimeFormat(): DateTimeFormat | undefined;
86
- set DateTimeFormat(value: DateTimeFormat | undefined);
86
+ get DateTimeFormat(): DateTimeFormat | null;
87
+ set DateTimeFormat(value: DateTimeFormat | null);
87
88
  EmitTypeInformation: EmitTypeInformation;
88
89
  IgnoreExtensionDataObject: boolean;
89
- get KnownTypes(): IEnumerable_1<Type> | undefined;
90
- set KnownTypes(value: IEnumerable_1<Type> | undefined);
90
+ get KnownTypes(): IEnumerable_1<Type> | null;
91
+ set KnownTypes(value: IEnumerable_1<Type> | null);
91
92
  MaxItemsInObjectGraph: int;
92
- get RootName(): string | undefined;
93
- set RootName(value: string | undefined);
93
+ get RootName(): string | null;
94
+ set RootName(value: string | null);
94
95
  SerializeReadOnlyTypes: boolean;
95
96
  UseSimpleDictionaryFormat: boolean;
96
97
  }
@@ -104,20 +105,20 @@ export const DataContractJsonSerializerSettings: {
104
105
  export type DataContractJsonSerializerSettings = DataContractJsonSerializerSettings$instance;
105
106
 
106
107
  export abstract class DataContractJsonSerializerExtensions$instance {
107
- static GetSerializationSurrogateProvider(serializer: DataContractJsonSerializer): ISerializationSurrogateProvider | undefined;
108
- static SetSerializationSurrogateProvider(serializer: DataContractJsonSerializer, provider: ISerializationSurrogateProvider): void;
108
+ static GetSerializationSurrogateProvider(serializer: DataContractJsonSerializer): ISerializationSurrogateProvider | null;
109
+ static SetSerializationSurrogateProvider(serializer: DataContractJsonSerializer, provider: ISerializationSurrogateProvider | null): void;
109
110
  }
110
111
 
111
112
 
112
113
  export type DataContractJsonSerializerExtensions = DataContractJsonSerializerExtensions$instance;
113
114
 
114
115
  export abstract class JsonReaderWriterFactory$instance {
115
- static CreateJsonReader(buffer: byte[], offset: int, count: int, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
116
+ static CreateJsonReader(buffer: byte[], offset: int, count: int, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
116
117
  static CreateJsonReader(buffer: byte[], offset: int, count: int, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
117
118
  static CreateJsonReader(buffer: byte[], quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
118
- static CreateJsonReader(stream: Stream, encoding: Encoding, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose): XmlDictionaryReader;
119
+ static CreateJsonReader(stream: Stream, encoding: Encoding | null, quotas: XmlDictionaryReaderQuotas, onClose: OnXmlDictionaryReaderClose | null): XmlDictionaryReader;
119
120
  static CreateJsonReader(stream: Stream, quotas: XmlDictionaryReaderQuotas): XmlDictionaryReader;
120
- static CreateJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean, indent: boolean, indentChars: string): XmlDictionaryWriter;
121
+ static CreateJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean, indent: boolean, indentChars: string | null): XmlDictionaryWriter;
121
122
  static CreateJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean, indent: boolean): XmlDictionaryWriter;
122
123
  static CreateJsonWriter(stream: Stream, encoding: Encoding, ownsStream: boolean): XmlDictionaryWriter;
123
124
  static CreateJsonWriter(stream: Stream, encoding: Encoding): XmlDictionaryWriter;
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Runtime.Versioning
3
3
  // Assembly: System.Private.CoreLib
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
 
8
9
  // Import types from other namespaces
9
10
  import * as System_Internal from "../../System/internal/index.js";
@@ -51,8 +52,8 @@ export interface FrameworkName$instance {
51
52
  readonly Identifier: string;
52
53
  readonly Profile: string;
53
54
  readonly Version: Version;
54
- Equals(obj: unknown): boolean;
55
- Equals(other: FrameworkName): boolean;
55
+ Equals(obj: JsValue | null): boolean;
56
+ Equals(other: FrameworkName | null): boolean;
56
57
  GetHashCode(): int;
57
58
  ToString(): string;
58
59
  }
@@ -60,7 +61,7 @@ export interface FrameworkName$instance {
60
61
 
61
62
  export const FrameworkName: {
62
63
  new(identifier: string, version: Version): FrameworkName;
63
- new(identifier: string, version: Version, profile: string): FrameworkName;
64
+ new(identifier: string, version: Version, profile: string | null): FrameworkName;
64
65
  new(frameworkName: string): FrameworkName;
65
66
  };
66
67
 
@@ -78,15 +79,15 @@ export type FrameworkName = FrameworkName$instance & __FrameworkName$views;
78
79
  export interface ObsoletedOSPlatformAttribute$instance extends OSPlatformAttribute {
79
80
  readonly __tsonic_type_System_Runtime_Versioning_ObsoletedOSPlatformAttribute: never;
80
81
 
81
- readonly Message: string | undefined;
82
- get Url(): string | undefined;
83
- set Url(value: string | undefined);
82
+ readonly Message: string | null;
83
+ get Url(): string | null;
84
+ set Url(value: string | null);
84
85
  }
85
86
 
86
87
 
87
88
  export const ObsoletedOSPlatformAttribute: {
88
89
  new(platformName: string): ObsoletedOSPlatformAttribute;
89
- new(platformName: string, message: string): ObsoletedOSPlatformAttribute;
90
+ new(platformName: string, message: string | null): ObsoletedOSPlatformAttribute;
90
91
  };
91
92
 
92
93
 
@@ -108,15 +109,15 @@ export type OSPlatformAttribute = OSPlatformAttribute$instance;
108
109
  export interface RequiresPreviewFeaturesAttribute$instance extends Attribute {
109
110
  readonly __tsonic_type_System_Runtime_Versioning_RequiresPreviewFeaturesAttribute: never;
110
111
 
111
- readonly Message: string | undefined;
112
- get Url(): string | undefined;
113
- set Url(value: string | undefined);
112
+ readonly Message: string | null;
113
+ get Url(): string | null;
114
+ set Url(value: string | null);
114
115
  }
115
116
 
116
117
 
117
118
  export const RequiresPreviewFeaturesAttribute: {
118
119
  new(): RequiresPreviewFeaturesAttribute;
119
- new(message: string): RequiresPreviewFeaturesAttribute;
120
+ new(message: string | null): RequiresPreviewFeaturesAttribute;
120
121
  };
121
122
 
122
123
 
@@ -181,8 +182,8 @@ export type SupportedOSPlatformGuardAttribute = SupportedOSPlatformGuardAttribut
181
182
  export interface TargetFrameworkAttribute$instance extends Attribute {
182
183
  readonly __tsonic_type_System_Runtime_Versioning_TargetFrameworkAttribute: never;
183
184
 
184
- get FrameworkDisplayName(): string | undefined;
185
- set FrameworkDisplayName(value: string | undefined);
185
+ get FrameworkDisplayName(): string | null;
186
+ set FrameworkDisplayName(value: string | null);
186
187
  readonly FrameworkName: string;
187
188
  }
188
189
 
@@ -210,13 +211,13 @@ export type TargetPlatformAttribute = TargetPlatformAttribute$instance;
210
211
  export interface UnsupportedOSPlatformAttribute$instance extends OSPlatformAttribute {
211
212
  readonly __tsonic_type_System_Runtime_Versioning_UnsupportedOSPlatformAttribute: never;
212
213
 
213
- readonly Message: string | undefined;
214
+ readonly Message: string | null;
214
215
  }
215
216
 
216
217
 
217
218
  export const UnsupportedOSPlatformAttribute: {
218
219
  new(platformName: string): UnsupportedOSPlatformAttribute;
219
- new(platformName: string, message: string): UnsupportedOSPlatformAttribute;
220
+ new(platformName: string, message: string | null): UnsupportedOSPlatformAttribute;
220
221
  };
221
222
 
222
223
 
@@ -236,8 +237,8 @@ export const UnsupportedOSPlatformGuardAttribute: {
236
237
  export type UnsupportedOSPlatformGuardAttribute = UnsupportedOSPlatformGuardAttribute$instance;
237
238
 
238
239
  export abstract class VersioningHelper$instance {
239
- static MakeVersionSafeName(name: string, from: ResourceScope, to: ResourceScope, type: Type): string;
240
- static MakeVersionSafeName(name: string, from: ResourceScope, to: ResourceScope): string;
240
+ static MakeVersionSafeName(name: string | null, from: ResourceScope, to: ResourceScope, type: Type | null): string;
241
+ static MakeVersionSafeName(name: string | null, from: ResourceScope, to: ResourceScope): string;
241
242
  }
242
243
 
243
244
 
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Security
3
3
  // Assembly: System.Private.CoreLib, System.Runtime.InteropServices
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 * as System_Collections_Internal from "../../System.Collections/internal/index.js";
@@ -43,9 +41,9 @@ export interface IPermission$instance extends ISecurityEncodable {
43
41
  Copy(): IPermission;
44
42
  Demand(): void;
45
43
  FromXml(e: SecurityElement): void;
46
- Intersect(target: IPermission): IPermission | undefined;
47
- IsSubsetOf(target: IPermission): boolean;
48
- ToXml(): SecurityElement | undefined;
44
+ Intersect(target: IPermission | null): IPermission | null;
45
+ IsSubsetOf(target: IPermission | null): boolean;
46
+ ToXml(): SecurityElement | null;
49
47
  }
50
48
 
51
49
 
@@ -57,7 +55,7 @@ export interface ISecurityEncodable$instance {
57
55
  readonly __tsonic_iface_System_Security_ISecurityEncodable: never;
58
56
 
59
57
  FromXml(e: SecurityElement): void;
60
- ToXml(): SecurityElement | undefined;
58
+ ToXml(): SecurityElement | null;
61
59
  }
62
60
 
63
61
 
@@ -98,40 +96,40 @@ export interface PermissionSet$instance extends System_Runtime_Serialization_Int
98
96
  readonly Count: int;
99
97
  readonly IsReadOnly: boolean;
100
98
  readonly IsSynchronized: boolean;
101
- readonly SyncRoot: unknown;
102
- AddPermission(perm: IPermission): IPermission | undefined;
103
- AddPermissionImpl(perm: IPermission): IPermission | undefined;
99
+ readonly SyncRoot: JsValue;
100
+ AddPermission(perm: IPermission | null): IPermission | null;
101
+ AddPermissionImpl(perm: IPermission | null): IPermission | null;
104
102
  Assert(): void;
105
103
  ContainsNonCodeAccessPermissions(): boolean;
106
104
  Copy(): PermissionSet;
107
105
  CopyTo(array: ClrArray, index: int): void;
108
106
  Demand(): void;
109
107
  Deny(): void;
110
- Equals(o: unknown): boolean;
108
+ Equals(o: JsValue | null): boolean;
111
109
  FromXml(et: SecurityElement): void;
112
110
  GetEnumerator(): IEnumerator;
113
111
  GetEnumeratorImpl(): IEnumerator;
114
112
  GetHashCode(): int;
115
- GetPermission(permClass: Type): IPermission | undefined;
116
- GetPermissionImpl(permClass: Type): IPermission | undefined;
117
- Intersect(other: PermissionSet): PermissionSet | undefined;
113
+ GetPermission(permClass: Type | null): IPermission | null;
114
+ GetPermissionImpl(permClass: Type | null): IPermission | null;
115
+ Intersect(other: PermissionSet | null): PermissionSet | null;
118
116
  IsEmpty(): boolean;
119
- IsSubsetOf(target: PermissionSet): boolean;
117
+ IsSubsetOf(target: PermissionSet | null): boolean;
120
118
  IsUnrestricted(): boolean;
121
119
  PermitOnly(): void;
122
- RemovePermission(permClass: Type): IPermission | undefined;
123
- RemovePermissionImpl(permClass: Type): IPermission | undefined;
124
- SetPermission(perm: IPermission): IPermission | undefined;
125
- SetPermissionImpl(perm: IPermission): IPermission | undefined;
120
+ RemovePermission(permClass: Type | null): IPermission | null;
121
+ RemovePermissionImpl(permClass: Type | null): IPermission | null;
122
+ SetPermission(perm: IPermission | null): IPermission | null;
123
+ SetPermissionImpl(perm: IPermission | null): IPermission | null;
126
124
  ToString(): string;
127
- ToXml(): SecurityElement | undefined;
128
- Union(other: PermissionSet): PermissionSet | undefined;
125
+ ToXml(): SecurityElement | null;
126
+ Union(other: PermissionSet | null): PermissionSet | null;
129
127
  }
130
128
 
131
129
 
132
130
  export const PermissionSet: {
133
131
  new(state: PermissionState): PermissionSet;
134
- new(permSet: PermissionSet): PermissionSet;
132
+ new(permSet: PermissionSet | null): PermissionSet;
135
133
  ConvertPermissionSet(inFormat: string, inData: byte[], outFormat: string): byte[];
136
134
  RevertAssert(): void;
137
135
  };
@@ -197,33 +195,33 @@ export type SecurityCriticalAttribute = SecurityCriticalAttribute$instance;
197
195
  export interface SecurityElement$instance {
198
196
  readonly __tsonic_type_System_Security_SecurityElement: never;
199
197
 
200
- get Attributes(): Hashtable | undefined;
201
- set Attributes(value: Hashtable | undefined);
202
- get Children(): ArrayList | undefined;
203
- set Children(value: ArrayList | undefined);
198
+ get Attributes(): Hashtable | null;
199
+ set Attributes(value: Hashtable | null);
200
+ get Children(): ArrayList | null;
201
+ set Children(value: ArrayList | null);
204
202
  Tag: string;
205
- get Text(): string | undefined;
206
- set Text(value: string | undefined);
203
+ get Text(): string | null;
204
+ set Text(value: string | null);
207
205
  AddAttribute(name: string, value: string): void;
208
206
  AddChild(child: SecurityElement): void;
209
- Attribute(name: string): string | undefined;
207
+ Attribute(name: string): string | null;
210
208
  Copy(): SecurityElement;
211
- Equal(other: SecurityElement): boolean;
212
- SearchForChildByTag(tag: string): SecurityElement | undefined;
213
- SearchForTextOfTag(tag: string): string | undefined;
209
+ Equal(other: SecurityElement | null): boolean;
210
+ SearchForChildByTag(tag: string): SecurityElement | null;
211
+ SearchForTextOfTag(tag: string): string | null;
214
212
  ToString(): string;
215
213
  }
216
214
 
217
215
 
218
216
  export const SecurityElement: {
219
217
  new(tag: string): SecurityElement;
220
- new(tag: string, text: string): SecurityElement;
221
- Escape(str: string): string | undefined;
222
- FromString(xml: string): SecurityElement | undefined;
223
- IsValidAttributeName(name: string): boolean;
224
- IsValidAttributeValue(value: string): boolean;
225
- IsValidTag(tag: string): boolean;
226
- IsValidText(text: string): boolean;
218
+ new(tag: string, text: string | null): SecurityElement;
219
+ Escape(str: string | null): string | null;
220
+ FromString(xml: string): SecurityElement | null;
221
+ IsValidAttributeName(name: string | null): boolean;
222
+ IsValidAttributeValue(value: string | null): boolean;
223
+ IsValidTag(tag: string | null): boolean;
224
+ IsValidText(text: string | null): boolean;
227
225
  };
228
226
 
229
227
 
@@ -234,26 +232,26 @@ export interface SecurityException$instance extends SystemException {
234
232
 
235
233
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
236
234
 
237
- get Demanded(): unknown | undefined;
238
- set Demanded(value: unknown | undefined);
239
- get DenySetInstance(): unknown | undefined;
240
- set DenySetInstance(value: unknown | undefined);
241
- get FailedAssemblyInfo(): AssemblyName | undefined;
242
- set FailedAssemblyInfo(value: AssemblyName | undefined);
243
- get GrantedSet(): string | undefined;
244
- set GrantedSet(value: string | undefined);
245
- get Method(): MethodInfo | undefined;
246
- set Method(value: MethodInfo | undefined);
247
- get PermissionState(): string | undefined;
248
- set PermissionState(value: string | undefined);
249
- get PermissionType(): Type | undefined;
250
- set PermissionType(value: Type | undefined);
251
- get PermitOnlySetInstance(): unknown | undefined;
252
- set PermitOnlySetInstance(value: unknown | undefined);
253
- get RefusedSet(): string | undefined;
254
- set RefusedSet(value: string | undefined);
255
- get Url(): string | undefined;
256
- set Url(value: string | undefined);
235
+ get Demanded(): JsValue | null;
236
+ set Demanded(value: JsValue | null);
237
+ get DenySetInstance(): JsValue | null;
238
+ set DenySetInstance(value: JsValue | null);
239
+ get FailedAssemblyInfo(): AssemblyName | null;
240
+ set FailedAssemblyInfo(value: AssemblyName | null);
241
+ get GrantedSet(): string | null;
242
+ set GrantedSet(value: string | null);
243
+ get Method(): MethodInfo | null;
244
+ set Method(value: MethodInfo | null);
245
+ get PermissionState(): string | null;
246
+ set PermissionState(value: string | null);
247
+ get PermissionType(): Type | null;
248
+ set PermissionType(value: Type | null);
249
+ get PermitOnlySetInstance(): JsValue | null;
250
+ set PermitOnlySetInstance(value: JsValue | null);
251
+ get RefusedSet(): string | null;
252
+ set RefusedSet(value: string | null);
253
+ get Url(): string | null;
254
+ set Url(value: string | null);
257
255
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
258
256
  ToString(): string;
259
257
  }
@@ -261,10 +259,10 @@ export interface SecurityException$instance extends SystemException {
261
259
 
262
260
  export const SecurityException: {
263
261
  new(): SecurityException;
264
- new(message: string): SecurityException;
265
- new(message: string, inner: Exception): SecurityException;
266
- new(message: string, type: Type): SecurityException;
267
- new(message: string, type: Type, state: string): SecurityException;
262
+ new(message: string | null): SecurityException;
263
+ new(message: string | null, inner: Exception | null): SecurityException;
264
+ new(message: string | null, type: Type | null): SecurityException;
265
+ new(message: string | null, type: Type | null, state: string | null): SecurityException;
268
266
  };
269
267
 
270
268
 
@@ -365,8 +363,8 @@ export interface VerificationException$instance extends SystemException, System_
365
363
 
366
364
  export const VerificationException: {
367
365
  new(): VerificationException;
368
- new(message: string): VerificationException;
369
- new(message: string, innerException: Exception): VerificationException;
366
+ new(message: string | null): VerificationException;
367
+ new(message: string | null, innerException: Exception | null): VerificationException;
370
368
  };
371
369
 
372
370