@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,8 +2,9 @@
2
2
  // Namespace: System.Xml.Schema
3
3
  // Assembly: System.Private.Xml, System.Private.Xml.Linq
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_Collections_Internal from "../../System.Collections/internal/index.js";
@@ -62,12 +63,6 @@ export enum XmlSchemaForm {
62
63
  }
63
64
 
64
65
 
65
- export enum XmlSchemaInference_InferenceOption {
66
- Restricted = 0,
67
- Relaxed = 1
68
- }
69
-
70
-
71
66
  export enum XmlSchemaUse {
72
67
  None = 0,
73
68
  Optional = 1,
@@ -158,10 +153,10 @@ export enum XmlTypeCode {
158
153
  }
159
154
 
160
155
 
161
- export type ValidationEventHandler = (sender: unknown, e: ValidationEventArgs) => void;
156
+ export type ValidationEventHandler = (sender: JsValue | null, e: ValidationEventArgs) => void;
162
157
 
163
158
 
164
- export type XmlValueGetter = () => unknown | undefined;
159
+ export type XmlValueGetter = () => JsValue | null;
165
160
 
166
161
 
167
162
  export interface IXmlSchemaInfo$instance {
@@ -170,10 +165,10 @@ export interface IXmlSchemaInfo$instance {
170
165
  readonly Validity: XmlSchemaValidity;
171
166
  readonly IsDefault: boolean;
172
167
  readonly IsNil: boolean;
173
- readonly MemberType: XmlSchemaSimpleType | undefined;
174
- readonly SchemaType: XmlSchemaType | undefined;
175
- readonly SchemaElement: XmlSchemaElement | undefined;
176
- readonly SchemaAttribute: XmlSchemaAttribute | undefined;
168
+ readonly MemberType: XmlSchemaSimpleType | null;
169
+ readonly SchemaType: XmlSchemaType | null;
170
+ readonly SchemaElement: XmlSchemaElement | null;
171
+ readonly SchemaAttribute: XmlSchemaAttribute | null;
177
172
  }
178
173
 
179
174
 
@@ -200,7 +195,7 @@ export interface XmlAtomicValue$instance extends XPathItem {
200
195
  readonly __tsonic_iface_System_ICloneable: never;
201
196
 
202
197
  readonly IsNode: boolean;
203
- readonly TypedValue: unknown;
198
+ readonly TypedValue: JsValue;
204
199
  readonly Value: string;
205
200
  readonly ValueAsBoolean: boolean;
206
201
  readonly ValueAsDateTime: DateTime;
@@ -208,11 +203,11 @@ export interface XmlAtomicValue$instance extends XPathItem {
208
203
  readonly ValueAsInt: int;
209
204
  readonly ValueAsLong: long;
210
205
  readonly ValueType: Type;
211
- readonly XmlType: XmlSchemaType | XmlSchemaType | undefined;
206
+ readonly XmlType: XmlSchemaType | XmlSchemaType | null;
212
207
  Clone(): XmlAtomicValue;
213
208
  ToString(): string;
214
- ValueAs(type: Type, nsResolver: IXmlNamespaceResolver): unknown;
215
- ValueAs(returnType: Type): unknown;
209
+ ValueAs(type: Type, nsResolver: IXmlNamespaceResolver | null): JsValue;
210
+ ValueAs(returnType: Type): JsValue;
216
211
  }
217
212
 
218
213
 
@@ -238,27 +233,27 @@ export interface XmlSchema$instance extends XmlSchemaObject {
238
233
  readonly Elements: XmlSchemaObjectTable;
239
234
  FinalDefault: XmlSchemaDerivationMethod;
240
235
  readonly Groups: XmlSchemaObjectTable;
241
- get Id(): string | undefined;
242
- set Id(value: string | undefined);
236
+ get Id(): string | null;
237
+ set Id(value: string | null);
243
238
  readonly Includes: XmlSchemaObjectCollection;
244
239
  readonly IsCompiled: boolean;
245
240
  readonly Items: XmlSchemaObjectCollection;
246
241
  readonly Notations: XmlSchemaObjectTable;
247
242
  readonly SchemaTypes: XmlSchemaObjectTable;
248
- get TargetNamespace(): string | undefined;
249
- set TargetNamespace(value: string | undefined);
250
- get UnhandledAttributes(): XmlAttribute[] | undefined;
251
- set UnhandledAttributes(value: XmlAttribute[] | undefined);
252
- get Version(): string | undefined;
253
- set Version(value: string | undefined);
254
- Compile(validationEventHandler: ValidationEventHandler): void;
255
- Compile(validationEventHandler: ValidationEventHandler, resolver: XmlResolver): void;
243
+ get TargetNamespace(): string | null;
244
+ set TargetNamespace(value: string | null);
245
+ get UnhandledAttributes(): XmlAttribute[] | null;
246
+ set UnhandledAttributes(value: XmlAttribute[] | null);
247
+ get Version(): string | null;
248
+ set Version(value: string | null);
249
+ Compile(validationEventHandler: ValidationEventHandler | null): void;
250
+ Compile(validationEventHandler: ValidationEventHandler | null, resolver: XmlResolver | null): void;
256
251
  Write(stream: Stream): void;
257
- Write(stream: Stream, namespaceManager: XmlNamespaceManager): void;
252
+ Write(stream: Stream, namespaceManager: XmlNamespaceManager | null): void;
258
253
  Write(writer: TextWriter): void;
259
- Write(writer: TextWriter, namespaceManager: XmlNamespaceManager): void;
254
+ Write(writer: TextWriter, namespaceManager: XmlNamespaceManager | null): void;
260
255
  Write(writer: XmlWriter): void;
261
- Write(writer: XmlWriter, namespaceManager: XmlNamespaceManager): void;
256
+ Write(writer: XmlWriter, namespaceManager: XmlNamespaceManager | null): void;
262
257
  }
263
258
 
264
259
 
@@ -266,9 +261,9 @@ export const XmlSchema: {
266
261
  new(): XmlSchema;
267
262
  readonly Namespace: string;
268
263
  readonly InstanceNamespace: string;
269
- Read(stream: Stream, validationEventHandler: ValidationEventHandler): XmlSchema | undefined;
270
- Read(reader: TextReader, validationEventHandler: ValidationEventHandler): XmlSchema | undefined;
271
- Read(reader: XmlReader, validationEventHandler: ValidationEventHandler): XmlSchema | undefined;
264
+ Read(stream: Stream, validationEventHandler: ValidationEventHandler | null): XmlSchema | null;
265
+ Read(reader: TextReader, validationEventHandler: ValidationEventHandler | null): XmlSchema | null;
266
+ Read(reader: XmlReader, validationEventHandler: ValidationEventHandler | null): XmlSchema | null;
272
267
  };
273
268
 
274
269
 
@@ -291,12 +286,12 @@ export type XmlSchemaAll = XmlSchemaAll$instance;
291
286
  export interface XmlSchemaAnnotated$instance extends XmlSchemaObject {
292
287
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAnnotated: never;
293
288
 
294
- get Annotation(): XmlSchemaAnnotation | undefined;
295
- set Annotation(value: XmlSchemaAnnotation | undefined);
296
- get Id(): string | undefined;
297
- set Id(value: string | undefined);
298
- get UnhandledAttributes(): XmlAttribute[] | undefined;
299
- set UnhandledAttributes(value: XmlAttribute[] | undefined);
289
+ get Annotation(): XmlSchemaAnnotation | null;
290
+ set Annotation(value: XmlSchemaAnnotation | null);
291
+ get Id(): string | null;
292
+ set Id(value: string | null);
293
+ get UnhandledAttributes(): XmlAttribute[] | null;
294
+ set UnhandledAttributes(value: XmlAttribute[] | null);
300
295
  }
301
296
 
302
297
 
@@ -310,11 +305,11 @@ export type XmlSchemaAnnotated = XmlSchemaAnnotated$instance;
310
305
  export interface XmlSchemaAnnotation$instance extends XmlSchemaObject {
311
306
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAnnotation: never;
312
307
 
313
- get Id(): string | undefined;
314
- set Id(value: string | undefined);
308
+ get Id(): string | null;
309
+ set Id(value: string | null);
315
310
  readonly Items: XmlSchemaObjectCollection;
316
- get UnhandledAttributes(): XmlAttribute[] | undefined;
317
- set UnhandledAttributes(value: XmlAttribute[] | undefined);
311
+ get UnhandledAttributes(): XmlAttribute[] | null;
312
+ set UnhandledAttributes(value: XmlAttribute[] | null);
318
313
  }
319
314
 
320
315
 
@@ -328,8 +323,8 @@ export type XmlSchemaAnnotation = XmlSchemaAnnotation$instance;
328
323
  export interface XmlSchemaAny$instance extends XmlSchemaParticle {
329
324
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAny: never;
330
325
 
331
- get Namespace(): string | undefined;
332
- set Namespace(value: string | undefined);
326
+ get Namespace(): string | null;
327
+ set Namespace(value: string | null);
333
328
  ProcessContents: XmlSchemaContentProcessing;
334
329
  }
335
330
 
@@ -344,8 +339,8 @@ export type XmlSchemaAny = XmlSchemaAny$instance;
344
339
  export interface XmlSchemaAnyAttribute$instance extends XmlSchemaAnnotated {
345
340
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAnyAttribute: never;
346
341
 
347
- get Namespace(): string | undefined;
348
- set Namespace(value: string | undefined);
342
+ get Namespace(): string | null;
343
+ set Namespace(value: string | null);
349
344
  ProcessContents: XmlSchemaContentProcessing;
350
345
  }
351
346
 
@@ -360,10 +355,10 @@ export type XmlSchemaAnyAttribute = XmlSchemaAnyAttribute$instance;
360
355
  export interface XmlSchemaAppInfo$instance extends XmlSchemaObject {
361
356
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAppInfo: never;
362
357
 
363
- get Markup(): (XmlNode | undefined)[] | undefined;
364
- set Markup(value: (XmlNode | undefined)[] | undefined);
365
- get Source(): string | undefined;
366
- set Source(value: string | undefined);
358
+ get Markup(): (XmlNode | null)[] | null;
359
+ set Markup(value: (XmlNode | null)[] | null);
360
+ get Source(): string | null;
361
+ set Source(value: string | null);
367
362
  }
368
363
 
369
364
 
@@ -377,19 +372,19 @@ export type XmlSchemaAppInfo = XmlSchemaAppInfo$instance;
377
372
  export interface XmlSchemaAttribute$instance extends XmlSchemaAnnotated {
378
373
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAttribute: never;
379
374
 
380
- readonly AttributeSchemaType: XmlSchemaSimpleType | undefined;
381
- readonly AttributeType: unknown | undefined;
382
- get DefaultValue(): string | undefined;
383
- set DefaultValue(value: string | undefined);
384
- get FixedValue(): string | undefined;
385
- set FixedValue(value: string | undefined);
375
+ readonly AttributeSchemaType: XmlSchemaSimpleType | null;
376
+ readonly AttributeType: JsValue | null;
377
+ get DefaultValue(): string | null;
378
+ set DefaultValue(value: string | null);
379
+ get FixedValue(): string | null;
380
+ set FixedValue(value: string | null);
386
381
  Form: XmlSchemaForm;
387
- get Name(): string | undefined;
388
- set Name(value: string | undefined);
382
+ get Name(): string | null;
383
+ set Name(value: string | null);
389
384
  readonly QualifiedName: XmlQualifiedName;
390
385
  RefName: XmlQualifiedName;
391
- get SchemaType(): XmlSchemaSimpleType | undefined;
392
- set SchemaType(value: XmlSchemaSimpleType | undefined);
386
+ get SchemaType(): XmlSchemaSimpleType | null;
387
+ set SchemaType(value: XmlSchemaSimpleType | null);
393
388
  SchemaTypeName: XmlQualifiedName;
394
389
  Use: XmlSchemaUse;
395
390
  }
@@ -405,13 +400,13 @@ export type XmlSchemaAttribute = XmlSchemaAttribute$instance;
405
400
  export interface XmlSchemaAttributeGroup$instance extends XmlSchemaAnnotated {
406
401
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaAttributeGroup: never;
407
402
 
408
- get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
409
- set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
403
+ get AnyAttribute(): XmlSchemaAnyAttribute | null;
404
+ set AnyAttribute(value: XmlSchemaAnyAttribute | null);
410
405
  readonly Attributes: XmlSchemaObjectCollection;
411
- get Name(): string | undefined;
412
- set Name(value: string | undefined);
406
+ get Name(): string | null;
407
+ set Name(value: string | null);
413
408
  readonly QualifiedName: XmlQualifiedName;
414
- readonly RedefinedAttributeGroup: XmlSchemaAttributeGroup | undefined;
409
+ readonly RedefinedAttributeGroup: XmlSchemaAttributeGroup | null;
415
410
  }
416
411
 
417
412
 
@@ -458,14 +453,14 @@ export interface XmlSchemaCollection$instance {
458
453
 
459
454
  readonly Count: int;
460
455
  readonly NameTable: XmlNameTable;
461
- Add(ns: string, uri: string): XmlSchema | undefined;
462
- Add(ns: string, reader: XmlReader): XmlSchema | undefined;
463
- Add(ns: string, reader: XmlReader, resolver: XmlResolver): XmlSchema | undefined;
464
- Add(schema: XmlSchema): XmlSchema | undefined;
465
- Add(schema: XmlSchema, resolver: XmlResolver): XmlSchema | undefined;
456
+ Add(ns: string | null, uri: string): XmlSchema | null;
457
+ Add(ns: string | null, reader: XmlReader): XmlSchema | null;
458
+ Add(ns: string | null, reader: XmlReader, resolver: XmlResolver | null): XmlSchema | null;
459
+ Add(schema: XmlSchema): XmlSchema | null;
460
+ Add(schema: XmlSchema, resolver: XmlResolver | null): XmlSchema | null;
466
461
  Add(schema: XmlSchemaCollection): void;
467
462
  Contains(schema: XmlSchema): boolean;
468
- Contains(ns: string): boolean;
463
+ Contains(ns: string | null): boolean;
469
464
  CopyTo(array: XmlSchema[], index: int): void;
470
465
  GetEnumerator(): XmlSchemaCollectionEnumerator;
471
466
  }
@@ -482,7 +477,7 @@ export interface __XmlSchemaCollection$views {
482
477
  As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
483
478
  }
484
479
 
485
- export type XmlSchemaCollection = XmlSchemaCollection$instance & __XmlSchemaCollection$views & { readonly [ns: string]: XmlSchema | undefined; };
480
+ export type XmlSchemaCollection = XmlSchemaCollection$instance & __XmlSchemaCollection$views & { readonly [ns: string]: XmlSchema | null; };
486
481
 
487
482
 
488
483
  export interface XmlSchemaCollectionEnumerator$instance {
@@ -524,8 +519,8 @@ export type XmlSchemaCompilationSettings = XmlSchemaCompilationSettings$instance
524
519
  export interface XmlSchemaComplexContent$instance extends XmlSchemaContentModel {
525
520
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaComplexContent: never;
526
521
 
527
- get Content(): XmlSchemaContent | undefined;
528
- set Content(value: XmlSchemaContent | undefined);
522
+ get Content(): XmlSchemaContent | null;
523
+ set Content(value: XmlSchemaContent | null);
529
524
  IsMixed: boolean;
530
525
  }
531
526
 
@@ -540,12 +535,12 @@ export type XmlSchemaComplexContent = XmlSchemaComplexContent$instance;
540
535
  export interface XmlSchemaComplexContentExtension$instance extends XmlSchemaContent {
541
536
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaComplexContentExtension: never;
542
537
 
543
- get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
544
- set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
538
+ get AnyAttribute(): XmlSchemaAnyAttribute | null;
539
+ set AnyAttribute(value: XmlSchemaAnyAttribute | null);
545
540
  readonly Attributes: XmlSchemaObjectCollection;
546
541
  BaseTypeName: XmlQualifiedName;
547
- get Particle(): XmlSchemaParticle | undefined;
548
- set Particle(value: XmlSchemaParticle | undefined);
542
+ get Particle(): XmlSchemaParticle | null;
543
+ set Particle(value: XmlSchemaParticle | null);
549
544
  }
550
545
 
551
546
 
@@ -559,12 +554,12 @@ export type XmlSchemaComplexContentExtension = XmlSchemaComplexContentExtension$
559
554
  export interface XmlSchemaComplexContentRestriction$instance extends XmlSchemaContent {
560
555
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaComplexContentRestriction: never;
561
556
 
562
- get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
563
- set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
557
+ get AnyAttribute(): XmlSchemaAnyAttribute | null;
558
+ set AnyAttribute(value: XmlSchemaAnyAttribute | null);
564
559
  readonly Attributes: XmlSchemaObjectCollection;
565
560
  BaseTypeName: XmlQualifiedName;
566
- get Particle(): XmlSchemaParticle | undefined;
567
- set Particle(value: XmlSchemaParticle | undefined);
561
+ get Particle(): XmlSchemaParticle | null;
562
+ set Particle(value: XmlSchemaParticle | null);
568
563
  }
569
564
 
570
565
 
@@ -578,21 +573,21 @@ export type XmlSchemaComplexContentRestriction = XmlSchemaComplexContentRestrict
578
573
  export interface XmlSchemaComplexType$instance extends XmlSchemaType {
579
574
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaComplexType: never;
580
575
 
581
- get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
582
- set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
576
+ get AnyAttribute(): XmlSchemaAnyAttribute | null;
577
+ set AnyAttribute(value: XmlSchemaAnyAttribute | null);
583
578
  readonly Attributes: XmlSchemaObjectCollection;
584
579
  readonly AttributeUses: XmlSchemaObjectTable;
585
- readonly AttributeWildcard: XmlSchemaAnyAttribute | undefined;
580
+ readonly AttributeWildcard: XmlSchemaAnyAttribute | null;
586
581
  Block: XmlSchemaDerivationMethod;
587
582
  readonly BlockResolved: XmlSchemaDerivationMethod;
588
- get ContentModel(): XmlSchemaContentModel | undefined;
589
- set ContentModel(value: XmlSchemaContentModel | undefined);
583
+ get ContentModel(): XmlSchemaContentModel | null;
584
+ set ContentModel(value: XmlSchemaContentModel | null);
590
585
  readonly ContentType: XmlSchemaContentType;
591
586
  readonly ContentTypeParticle: XmlSchemaParticle;
592
587
  IsAbstract: boolean;
593
588
  IsMixed: boolean;
594
- get Particle(): XmlSchemaParticle | undefined;
595
- set Particle(value: XmlSchemaParticle | undefined);
589
+ get Particle(): XmlSchemaParticle | null;
590
+ set Particle(value: XmlSchemaParticle | null);
596
591
  }
597
592
 
598
593
 
@@ -618,8 +613,8 @@ export type XmlSchemaContent = XmlSchemaContent$instance;
618
613
  export interface XmlSchemaContentModel$instance extends XmlSchemaAnnotated {
619
614
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaContentModel: never;
620
615
 
621
- get Content(): XmlSchemaContent | undefined;
622
- set Content(value: XmlSchemaContent | undefined);
616
+ get Content(): XmlSchemaContent | null;
617
+ set Content(value: XmlSchemaContent | null);
623
618
  }
624
619
 
625
620
 
@@ -636,10 +631,10 @@ export interface XmlSchemaDatatype$instance {
636
631
  readonly TypeCode: XmlTypeCode;
637
632
  readonly ValueType: Type;
638
633
  readonly Variety: XmlSchemaDatatypeVariety;
639
- ChangeType(value: unknown, targetType: Type): unknown;
640
- ChangeType(value: unknown, targetType: Type, namespaceResolver: IXmlNamespaceResolver): unknown;
634
+ ChangeType(value: JsValue, targetType: Type): JsValue;
635
+ ChangeType(value: JsValue, targetType: Type, namespaceResolver: IXmlNamespaceResolver): JsValue;
641
636
  IsDerivedFrom(datatype: XmlSchemaDatatype): boolean;
642
- ParseValue(s: string, nameTable: XmlNameTable, nsmgr: IXmlNamespaceResolver): unknown;
637
+ ParseValue(s: string, nameTable: XmlNameTable | null, nsmgr: IXmlNamespaceResolver | null): JsValue;
643
638
  }
644
639
 
645
640
 
@@ -652,12 +647,12 @@ export type XmlSchemaDatatype = XmlSchemaDatatype$instance;
652
647
  export interface XmlSchemaDocumentation$instance extends XmlSchemaObject {
653
648
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaDocumentation: never;
654
649
 
655
- get Language(): string | undefined;
656
- set Language(value: string | undefined);
657
- get Markup(): (XmlNode | undefined)[] | undefined;
658
- set Markup(value: (XmlNode | undefined)[] | undefined);
659
- get Source(): string | undefined;
660
- set Source(value: string | undefined);
650
+ get Language(): string | null;
651
+ set Language(value: string | null);
652
+ get Markup(): (XmlNode | null)[] | null;
653
+ set Markup(value: (XmlNode | null)[] | null);
654
+ get Source(): string | null;
655
+ set Source(value: string | null);
661
656
  }
662
657
 
663
658
 
@@ -674,23 +669,23 @@ export interface XmlSchemaElement$instance extends XmlSchemaParticle {
674
669
  Block: XmlSchemaDerivationMethod;
675
670
  readonly BlockResolved: XmlSchemaDerivationMethod;
676
671
  readonly Constraints: XmlSchemaObjectCollection;
677
- get DefaultValue(): string | undefined;
678
- set DefaultValue(value: string | undefined);
679
- readonly ElementSchemaType: XmlSchemaType | undefined;
680
- readonly ElementType: unknown | undefined;
672
+ get DefaultValue(): string | null;
673
+ set DefaultValue(value: string | null);
674
+ readonly ElementSchemaType: XmlSchemaType | null;
675
+ readonly ElementType: JsValue | null;
681
676
  Final: XmlSchemaDerivationMethod;
682
677
  readonly FinalResolved: XmlSchemaDerivationMethod;
683
- get FixedValue(): string | undefined;
684
- set FixedValue(value: string | undefined);
678
+ get FixedValue(): string | null;
679
+ set FixedValue(value: string | null);
685
680
  Form: XmlSchemaForm;
686
681
  IsAbstract: boolean;
687
682
  IsNillable: boolean;
688
- get Name(): string | undefined;
689
- set Name(value: string | undefined);
683
+ get Name(): string | null;
684
+ set Name(value: string | null);
690
685
  readonly QualifiedName: XmlQualifiedName;
691
686
  RefName: XmlQualifiedName;
692
- get SchemaType(): XmlSchemaType | undefined;
693
- set SchemaType(value: XmlSchemaType | undefined);
687
+ get SchemaType(): XmlSchemaType | null;
688
+ set SchemaType(value: XmlSchemaType | null);
694
689
  SchemaTypeName: XmlQualifiedName;
695
690
  SubstitutionGroup: XmlQualifiedName;
696
691
  }
@@ -724,17 +719,17 @@ export interface XmlSchemaException$instance extends SystemException {
724
719
  readonly LineNumber: int;
725
720
  readonly LinePosition: int;
726
721
  readonly Message: string;
727
- readonly SourceSchemaObject: XmlSchemaObject | undefined;
728
- readonly SourceUri: string | undefined;
722
+ readonly SourceSchemaObject: XmlSchemaObject | null;
723
+ readonly SourceUri: string | null;
729
724
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
730
725
  }
731
726
 
732
727
 
733
728
  export const XmlSchemaException: {
734
729
  new(): XmlSchemaException;
735
- new(message: string): XmlSchemaException;
736
- new(message: string, innerException: Exception): XmlSchemaException;
737
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlSchemaException;
730
+ new(message: string | null): XmlSchemaException;
731
+ new(message: string | null, innerException: Exception | null): XmlSchemaException;
732
+ new(message: string | null, innerException: Exception | null, lineNumber: int, linePosition: int): XmlSchemaException;
738
733
  };
739
734
 
740
735
 
@@ -748,14 +743,14 @@ export type XmlSchemaException = XmlSchemaException$instance & __XmlSchemaExcept
748
743
  export interface XmlSchemaExternal$instance extends XmlSchemaObject {
749
744
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaExternal: never;
750
745
 
751
- get Id(): string | undefined;
752
- set Id(value: string | undefined);
753
- get Schema(): XmlSchema | undefined;
754
- set Schema(value: XmlSchema | undefined);
755
- get SchemaLocation(): string | undefined;
756
- set SchemaLocation(value: string | undefined);
757
- get UnhandledAttributes(): XmlAttribute[] | undefined;
758
- set UnhandledAttributes(value: XmlAttribute[] | undefined);
746
+ get Id(): string | null;
747
+ set Id(value: string | null);
748
+ get Schema(): XmlSchema | null;
749
+ set Schema(value: XmlSchema | null);
750
+ get SchemaLocation(): string | null;
751
+ set SchemaLocation(value: string | null);
752
+ get UnhandledAttributes(): XmlAttribute[] | null;
753
+ set UnhandledAttributes(value: XmlAttribute[] | null);
759
754
  }
760
755
 
761
756
 
@@ -769,8 +764,8 @@ export interface XmlSchemaFacet$instance extends XmlSchemaAnnotated {
769
764
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaFacet: never;
770
765
 
771
766
  IsFixed: boolean;
772
- get Value(): string | undefined;
773
- set Value(value: string | undefined);
767
+ get Value(): string | null;
768
+ set Value(value: string | null);
774
769
  }
775
770
 
776
771
 
@@ -796,10 +791,10 @@ export type XmlSchemaFractionDigitsFacet = XmlSchemaFractionDigitsFacet$instance
796
791
  export interface XmlSchemaGroup$instance extends XmlSchemaAnnotated {
797
792
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaGroup: never;
798
793
 
799
- get Name(): string | undefined;
800
- set Name(value: string | undefined);
801
- get Particle(): XmlSchemaGroupBase | undefined;
802
- set Particle(value: XmlSchemaGroupBase | undefined);
794
+ get Name(): string | null;
795
+ set Name(value: string | null);
796
+ get Particle(): XmlSchemaGroupBase | null;
797
+ set Particle(value: XmlSchemaGroupBase | null);
803
798
  readonly QualifiedName: XmlQualifiedName;
804
799
  }
805
800
 
@@ -827,7 +822,7 @@ export type XmlSchemaGroupBase = XmlSchemaGroupBase$instance;
827
822
  export interface XmlSchemaGroupRef$instance extends XmlSchemaParticle {
828
823
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaGroupRef: never;
829
824
 
830
- readonly Particle: XmlSchemaGroupBase | undefined;
825
+ readonly Particle: XmlSchemaGroupBase | null;
831
826
  RefName: XmlQualifiedName;
832
827
  }
833
828
 
@@ -843,11 +838,11 @@ export interface XmlSchemaIdentityConstraint$instance extends XmlSchemaAnnotated
843
838
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaIdentityConstraint: never;
844
839
 
845
840
  readonly Fields: XmlSchemaObjectCollection;
846
- get Name(): string | undefined;
847
- set Name(value: string | undefined);
841
+ get Name(): string | null;
842
+ set Name(value: string | null);
848
843
  readonly QualifiedName: XmlQualifiedName;
849
- get Selector(): XmlSchemaXPath | undefined;
850
- set Selector(value: XmlSchemaXPath | undefined);
844
+ get Selector(): XmlSchemaXPath | null;
845
+ set Selector(value: XmlSchemaXPath | null);
851
846
  }
852
847
 
853
848
 
@@ -861,10 +856,10 @@ export type XmlSchemaIdentityConstraint = XmlSchemaIdentityConstraint$instance;
861
856
  export interface XmlSchemaImport$instance extends XmlSchemaExternal {
862
857
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaImport: never;
863
858
 
864
- get Annotation(): XmlSchemaAnnotation | undefined;
865
- set Annotation(value: XmlSchemaAnnotation | undefined);
866
- get Namespace(): string | undefined;
867
- set Namespace(value: string | undefined);
859
+ get Annotation(): XmlSchemaAnnotation | null;
860
+ set Annotation(value: XmlSchemaAnnotation | null);
861
+ get Namespace(): string | null;
862
+ set Namespace(value: string | null);
868
863
  }
869
864
 
870
865
 
@@ -878,8 +873,8 @@ export type XmlSchemaImport = XmlSchemaImport$instance;
878
873
  export interface XmlSchemaInclude$instance extends XmlSchemaExternal {
879
874
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaInclude: never;
880
875
 
881
- get Annotation(): XmlSchemaAnnotation | undefined;
882
- set Annotation(value: XmlSchemaAnnotation | undefined);
876
+ get Annotation(): XmlSchemaAnnotation | null;
877
+ set Annotation(value: XmlSchemaAnnotation | null);
883
878
  }
884
879
 
885
880
 
@@ -907,6 +902,12 @@ export const XmlSchemaInference: {
907
902
 
908
903
  export type XmlSchemaInference = XmlSchemaInference$instance;
909
904
 
905
+ export enum XmlSchemaInference_InferenceOption {
906
+ Restricted = 0,
907
+ Relaxed = 1
908
+ }
909
+
910
+
910
911
  export interface XmlSchemaInferenceException$instance extends XmlSchemaException$instance {
911
912
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaInferenceException: never;
912
913
 
@@ -919,8 +920,8 @@ export interface XmlSchemaInferenceException$instance extends XmlSchemaException
919
920
  export const XmlSchemaInferenceException: {
920
921
  new(): XmlSchemaInferenceException;
921
922
  new(message: string): XmlSchemaInferenceException;
922
- new(message: string, innerException: Exception): XmlSchemaInferenceException;
923
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlSchemaInferenceException;
923
+ new(message: string, innerException: Exception | null): XmlSchemaInferenceException;
924
+ new(message: string, innerException: Exception | null, lineNumber: int, linePosition: int): XmlSchemaInferenceException;
924
925
  };
925
926
 
926
927
 
@@ -939,14 +940,14 @@ export interface XmlSchemaInfo$instance {
939
940
  ContentType: XmlSchemaContentType;
940
941
  IsDefault: boolean;
941
942
  IsNil: boolean;
942
- get MemberType(): XmlSchemaSimpleType | undefined;
943
- set MemberType(value: XmlSchemaSimpleType | undefined);
944
- get SchemaAttribute(): XmlSchemaAttribute | undefined;
945
- set SchemaAttribute(value: XmlSchemaAttribute | undefined);
946
- get SchemaElement(): XmlSchemaElement | undefined;
947
- set SchemaElement(value: XmlSchemaElement | undefined);
948
- get SchemaType(): XmlSchemaType | undefined;
949
- set SchemaType(value: XmlSchemaType | undefined);
943
+ get MemberType(): XmlSchemaSimpleType | null;
944
+ set MemberType(value: XmlSchemaSimpleType | null);
945
+ get SchemaAttribute(): XmlSchemaAttribute | null;
946
+ set SchemaAttribute(value: XmlSchemaAttribute | null);
947
+ get SchemaElement(): XmlSchemaElement | null;
948
+ set SchemaElement(value: XmlSchemaElement | null);
949
+ get SchemaType(): XmlSchemaType | null;
950
+ set SchemaType(value: XmlSchemaType | null);
950
951
  Validity: XmlSchemaValidity;
951
952
  }
952
953
 
@@ -1084,12 +1085,12 @@ export type XmlSchemaMinLengthFacet = XmlSchemaMinLengthFacet$instance;
1084
1085
  export interface XmlSchemaNotation$instance extends XmlSchemaAnnotated {
1085
1086
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaNotation: never;
1086
1087
 
1087
- get Name(): string | undefined;
1088
- set Name(value: string | undefined);
1089
- get Public(): string | undefined;
1090
- set Public(value: string | undefined);
1091
- get System(): string | undefined;
1092
- set System(value: string | undefined);
1088
+ get Name(): string | null;
1089
+ set Name(value: string | null);
1090
+ get Public(): string | null;
1091
+ set Public(value: string | null);
1092
+ get System(): string | null;
1093
+ set System(value: string | null);
1093
1094
  }
1094
1095
 
1095
1096
 
@@ -1118,10 +1119,10 @@ export interface XmlSchemaObject$instance {
1118
1119
  LineNumber: int;
1119
1120
  LinePosition: int;
1120
1121
  Namespaces: XmlSerializerNamespaces;
1121
- get Parent(): XmlSchemaObject | undefined;
1122
- set Parent(value: XmlSchemaObject | undefined);
1123
- get SourceUri(): string | undefined;
1124
- set SourceUri(value: string | undefined);
1122
+ get Parent(): XmlSchemaObject | null;
1123
+ set Parent(value: XmlSchemaObject | null);
1124
+ get SourceUri(): string | null;
1125
+ set SourceUri(value: string | null);
1125
1126
  }
1126
1127
 
1127
1128
 
@@ -1146,16 +1147,16 @@ export interface XmlSchemaObjectCollection$instance extends CollectionBase {
1146
1147
  IndexOf(item: XmlSchemaObject): int;
1147
1148
  Insert(index: int, item: XmlSchemaObject): void;
1148
1149
  OnClear(): void;
1149
- OnInsert(index: int, item: unknown): void;
1150
- OnRemove(index: int, item: unknown): void;
1151
- OnSet(index: int, oldValue: unknown, newValue: unknown): void;
1150
+ OnInsert(index: int, item: JsValue | null): void;
1151
+ OnRemove(index: int, item: JsValue | null): void;
1152
+ OnSet(index: int, oldValue: JsValue | null, newValue: JsValue | null): void;
1152
1153
  Remove(item: XmlSchemaObject): void;
1153
1154
  }
1154
1155
 
1155
1156
 
1156
1157
  export const XmlSchemaObjectCollection: {
1157
1158
  new(): XmlSchemaObjectCollection;
1158
- new(parent: XmlSchemaObject): XmlSchemaObjectCollection;
1159
+ new(parent: XmlSchemaObject | null): XmlSchemaObjectCollection;
1159
1160
  };
1160
1161
 
1161
1162
 
@@ -1194,7 +1195,7 @@ export interface XmlSchemaObjectTable$instance {
1194
1195
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaObjectTable: never;
1195
1196
 
1196
1197
  readonly Count: int;
1197
- readonly Item: XmlSchemaObject | undefined;
1198
+ readonly Item: XmlSchemaObject | null;
1198
1199
  readonly Names: ICollection;
1199
1200
  readonly Values: ICollection;
1200
1201
  Contains(name: XmlQualifiedName): boolean;
@@ -1212,11 +1213,11 @@ export interface XmlSchemaParticle$instance extends XmlSchemaAnnotated {
1212
1213
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaParticle: never;
1213
1214
 
1214
1215
  MaxOccurs: decimal;
1215
- get MaxOccursString(): string | undefined;
1216
- set MaxOccursString(value: string | undefined);
1216
+ get MaxOccursString(): string | null;
1217
+ set MaxOccursString(value: string | null);
1217
1218
  MinOccurs: decimal;
1218
- get MinOccursString(): string | undefined;
1219
- set MinOccursString(value: string | undefined);
1219
+ get MinOccursString(): string | null;
1220
+ set MinOccursString(value: string | null);
1220
1221
  }
1221
1222
 
1222
1223
 
@@ -1280,20 +1281,20 @@ export interface XmlSchemaSet$instance {
1280
1281
  readonly GlobalTypes: XmlSchemaObjectTable;
1281
1282
  readonly IsCompiled: boolean;
1282
1283
  readonly NameTable: XmlNameTable;
1283
- XmlResolver: XmlResolver | undefined;
1284
- Add(targetNamespace: string, schemaUri: string): XmlSchema | undefined;
1285
- Add(targetNamespace: string, schemaDocument: XmlReader): XmlSchema | undefined;
1284
+ XmlResolver: XmlResolver | null;
1285
+ Add(targetNamespace: string | null, schemaUri: string): XmlSchema | null;
1286
+ Add(targetNamespace: string | null, schemaDocument: XmlReader): XmlSchema | null;
1286
1287
  Add(schemas: XmlSchemaSet): void;
1287
- Add(schema: XmlSchema): XmlSchema | undefined;
1288
+ Add(schema: XmlSchema): XmlSchema | null;
1288
1289
  Compile(): void;
1289
- Contains(targetNamespace: string): boolean;
1290
+ Contains(targetNamespace: string | null): boolean;
1290
1291
  Contains(schema: XmlSchema): boolean;
1291
1292
  CopyTo(schemas: XmlSchema[], index: int): void;
1292
- Remove(schema: XmlSchema): XmlSchema | undefined;
1293
+ Remove(schema: XmlSchema): XmlSchema | null;
1293
1294
  RemoveRecursive(schemaToRemove: XmlSchema): boolean;
1294
1295
  Reprocess(schema: XmlSchema): XmlSchema;
1295
1296
  Schemas(): ICollection;
1296
- Schemas(targetNamespace: string): ICollection;
1297
+ Schemas(targetNamespace: string | null): ICollection;
1297
1298
  }
1298
1299
 
1299
1300
 
@@ -1308,8 +1309,8 @@ export type XmlSchemaSet = XmlSchemaSet$instance;
1308
1309
  export interface XmlSchemaSimpleContent$instance extends XmlSchemaContentModel {
1309
1310
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleContent: never;
1310
1311
 
1311
- get Content(): XmlSchemaContent | undefined;
1312
- set Content(value: XmlSchemaContent | undefined);
1312
+ get Content(): XmlSchemaContent | null;
1313
+ set Content(value: XmlSchemaContent | null);
1313
1314
  }
1314
1315
 
1315
1316
 
@@ -1323,8 +1324,8 @@ export type XmlSchemaSimpleContent = XmlSchemaSimpleContent$instance;
1323
1324
  export interface XmlSchemaSimpleContentExtension$instance extends XmlSchemaContent {
1324
1325
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleContentExtension: never;
1325
1326
 
1326
- get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
1327
- set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
1327
+ get AnyAttribute(): XmlSchemaAnyAttribute | null;
1328
+ set AnyAttribute(value: XmlSchemaAnyAttribute | null);
1328
1329
  readonly Attributes: XmlSchemaObjectCollection;
1329
1330
  BaseTypeName: XmlQualifiedName;
1330
1331
  }
@@ -1340,11 +1341,11 @@ export type XmlSchemaSimpleContentExtension = XmlSchemaSimpleContentExtension$in
1340
1341
  export interface XmlSchemaSimpleContentRestriction$instance extends XmlSchemaContent {
1341
1342
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleContentRestriction: never;
1342
1343
 
1343
- get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
1344
- set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
1344
+ get AnyAttribute(): XmlSchemaAnyAttribute | null;
1345
+ set AnyAttribute(value: XmlSchemaAnyAttribute | null);
1345
1346
  readonly Attributes: XmlSchemaObjectCollection;
1346
- get BaseType(): XmlSchemaSimpleType | undefined;
1347
- set BaseType(value: XmlSchemaSimpleType | undefined);
1347
+ get BaseType(): XmlSchemaSimpleType | null;
1348
+ set BaseType(value: XmlSchemaSimpleType | null);
1348
1349
  BaseTypeName: XmlQualifiedName;
1349
1350
  readonly Facets: XmlSchemaObjectCollection;
1350
1351
  }
@@ -1360,8 +1361,8 @@ export type XmlSchemaSimpleContentRestriction = XmlSchemaSimpleContentRestrictio
1360
1361
  export interface XmlSchemaSimpleType$instance extends XmlSchemaType {
1361
1362
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleType: never;
1362
1363
 
1363
- get Content(): XmlSchemaSimpleTypeContent | undefined;
1364
- set Content(value: XmlSchemaSimpleTypeContent | undefined);
1364
+ get Content(): XmlSchemaSimpleTypeContent | null;
1365
+ set Content(value: XmlSchemaSimpleTypeContent | null);
1365
1366
  }
1366
1367
 
1367
1368
 
@@ -1387,10 +1388,10 @@ export type XmlSchemaSimpleTypeContent = XmlSchemaSimpleTypeContent$instance;
1387
1388
  export interface XmlSchemaSimpleTypeList$instance extends XmlSchemaSimpleTypeContent {
1388
1389
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleTypeList: never;
1389
1390
 
1390
- get BaseItemType(): XmlSchemaSimpleType | undefined;
1391
- set BaseItemType(value: XmlSchemaSimpleType | undefined);
1392
- get ItemType(): XmlSchemaSimpleType | undefined;
1393
- set ItemType(value: XmlSchemaSimpleType | undefined);
1391
+ get BaseItemType(): XmlSchemaSimpleType | null;
1392
+ set BaseItemType(value: XmlSchemaSimpleType | null);
1393
+ get ItemType(): XmlSchemaSimpleType | null;
1394
+ set ItemType(value: XmlSchemaSimpleType | null);
1394
1395
  ItemTypeName: XmlQualifiedName;
1395
1396
  }
1396
1397
 
@@ -1405,8 +1406,8 @@ export type XmlSchemaSimpleTypeList = XmlSchemaSimpleTypeList$instance;
1405
1406
  export interface XmlSchemaSimpleTypeRestriction$instance extends XmlSchemaSimpleTypeContent {
1406
1407
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleTypeRestriction: never;
1407
1408
 
1408
- get BaseType(): XmlSchemaSimpleType | undefined;
1409
- set BaseType(value: XmlSchemaSimpleType | undefined);
1409
+ get BaseType(): XmlSchemaSimpleType | null;
1410
+ set BaseType(value: XmlSchemaSimpleType | null);
1410
1411
  BaseTypeName: XmlQualifiedName;
1411
1412
  readonly Facets: XmlSchemaObjectCollection;
1412
1413
  }
@@ -1422,10 +1423,10 @@ export type XmlSchemaSimpleTypeRestriction = XmlSchemaSimpleTypeRestriction$inst
1422
1423
  export interface XmlSchemaSimpleTypeUnion$instance extends XmlSchemaSimpleTypeContent {
1423
1424
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaSimpleTypeUnion: never;
1424
1425
 
1425
- readonly BaseMemberTypes: XmlSchemaSimpleType[] | undefined;
1426
+ readonly BaseMemberTypes: XmlSchemaSimpleType[] | null;
1426
1427
  readonly BaseTypes: XmlSchemaObjectCollection;
1427
- get MemberTypes(): XmlQualifiedName[] | undefined;
1428
- set MemberTypes(value: XmlQualifiedName[] | undefined);
1428
+ get MemberTypes(): XmlQualifiedName[] | null;
1429
+ set MemberTypes(value: XmlQualifiedName[] | null);
1429
1430
  }
1430
1431
 
1431
1432
 
@@ -1452,15 +1453,15 @@ export type XmlSchemaTotalDigitsFacet = XmlSchemaTotalDigitsFacet$instance;
1452
1453
  export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1453
1454
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaType: never;
1454
1455
 
1455
- readonly BaseSchemaType: unknown | undefined;
1456
- readonly BaseXmlSchemaType: XmlSchemaType | undefined;
1457
- readonly Datatype: XmlSchemaDatatype | undefined;
1456
+ readonly BaseSchemaType: JsValue | null;
1457
+ readonly BaseXmlSchemaType: XmlSchemaType | null;
1458
+ readonly Datatype: XmlSchemaDatatype | null;
1458
1459
  readonly DerivedBy: XmlSchemaDerivationMethod;
1459
1460
  Final: XmlSchemaDerivationMethod;
1460
1461
  readonly FinalResolved: XmlSchemaDerivationMethod;
1461
1462
  IsMixed: boolean;
1462
- get Name(): string | undefined;
1463
- set Name(value: string | undefined);
1463
+ get Name(): string | null;
1464
+ set Name(value: string | null);
1464
1465
  readonly QualifiedName: XmlQualifiedName;
1465
1466
  readonly TypeCode: XmlTypeCode;
1466
1467
  }
@@ -1468,11 +1469,11 @@ export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1468
1469
 
1469
1470
  export const XmlSchemaType: {
1470
1471
  new(): XmlSchemaType;
1471
- GetBuiltInComplexType(typeCode: XmlTypeCode): XmlSchemaComplexType | undefined;
1472
- GetBuiltInComplexType(qualifiedName: XmlQualifiedName): XmlSchemaComplexType | undefined;
1472
+ GetBuiltInComplexType(typeCode: XmlTypeCode): XmlSchemaComplexType | null;
1473
+ GetBuiltInComplexType(qualifiedName: XmlQualifiedName): XmlSchemaComplexType | null;
1473
1474
  GetBuiltInSimpleType(typeCode: XmlTypeCode): XmlSchemaSimpleType;
1474
- GetBuiltInSimpleType(qualifiedName: XmlQualifiedName): XmlSchemaSimpleType | undefined;
1475
- IsDerivedFrom(derivedType: XmlSchemaType, baseType: XmlSchemaType, except: XmlSchemaDerivationMethod): boolean;
1475
+ GetBuiltInSimpleType(qualifiedName: XmlQualifiedName): XmlSchemaSimpleType | null;
1476
+ IsDerivedFrom(derivedType: XmlSchemaType | null, baseType: XmlSchemaType | null, except: XmlSchemaDerivationMethod): boolean;
1476
1477
  };
1477
1478
 
1478
1479
 
@@ -1496,16 +1497,16 @@ export interface XmlSchemaValidationException$instance extends XmlSchemaExceptio
1496
1497
 
1497
1498
  readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
1498
1499
 
1499
- readonly SourceObject: unknown | undefined;
1500
+ readonly SourceObject: JsValue | null;
1500
1501
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
1501
1502
  }
1502
1503
 
1503
1504
 
1504
1505
  export const XmlSchemaValidationException: {
1505
1506
  new(): XmlSchemaValidationException;
1506
- new(message: string): XmlSchemaValidationException;
1507
- new(message: string, innerException: Exception): XmlSchemaValidationException;
1508
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlSchemaValidationException;
1507
+ new(message: string | null): XmlSchemaValidationException;
1508
+ new(message: string | null, innerException: Exception | null): XmlSchemaValidationException;
1509
+ new(message: string | null, innerException: Exception | null, lineNumber: int, linePosition: int): XmlSchemaValidationException;
1509
1510
  };
1510
1511
 
1511
1512
 
@@ -1520,10 +1521,10 @@ export interface XmlSchemaValidator$instance {
1520
1521
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaValidator: never;
1521
1522
 
1522
1523
  LineInfoProvider: IXmlLineInfo;
1523
- get SourceUri(): Uri | undefined;
1524
- set SourceUri(value: Uri | undefined);
1525
- ValidationEventSender: unknown;
1526
- XmlResolver: XmlResolver | undefined;
1524
+ get SourceUri(): Uri | null;
1525
+ set SourceUri(value: Uri | null);
1526
+ ValidationEventSender: JsValue;
1527
+ XmlResolver: XmlResolver | null;
1527
1528
  AddSchema(schema: XmlSchema): void;
1528
1529
  EndValidation(): void;
1529
1530
  GetExpectedAttributes(): XmlSchemaAttribute[];
@@ -1531,14 +1532,14 @@ export interface XmlSchemaValidator$instance {
1531
1532
  GetUnspecifiedDefaultAttributes(defaultAttributes: ArrayList): void;
1532
1533
  Initialize(): void;
1533
1534
  Initialize(partialValidationType: XmlSchemaObject): void;
1534
- SkipToEndElement(schemaInfo: XmlSchemaInfo): void;
1535
- ValidateAttribute(localName: string, namespaceUri: string, attributeValue: string, schemaInfo: XmlSchemaInfo): unknown | undefined;
1536
- ValidateAttribute(localName: string, namespaceUri: string, attributeValue: XmlValueGetter, schemaInfo: XmlSchemaInfo): unknown | undefined;
1537
- ValidateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo): void;
1538
- ValidateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo, xsiType: string, xsiNil: string, xsiSchemaLocation: string, xsiNoNamespaceSchemaLocation: string): void;
1539
- ValidateEndElement(schemaInfo: XmlSchemaInfo): unknown | undefined;
1540
- ValidateEndElement(schemaInfo: XmlSchemaInfo, typedValue: unknown): unknown | undefined;
1541
- ValidateEndOfAttributes(schemaInfo: XmlSchemaInfo): void;
1535
+ SkipToEndElement(schemaInfo: XmlSchemaInfo | null): void;
1536
+ ValidateAttribute(localName: string, namespaceUri: string, attributeValue: string, schemaInfo: XmlSchemaInfo | null): JsValue | null;
1537
+ ValidateAttribute(localName: string, namespaceUri: string, attributeValue: XmlValueGetter, schemaInfo: XmlSchemaInfo | null): JsValue | null;
1538
+ ValidateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo | null): void;
1539
+ ValidateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo | null, xsiType: string | null, xsiNil: string | null, xsiSchemaLocation: string | null, xsiNoNamespaceSchemaLocation: string | null): void;
1540
+ ValidateEndElement(schemaInfo: XmlSchemaInfo | null): JsValue | null;
1541
+ ValidateEndElement(schemaInfo: XmlSchemaInfo | null, typedValue: JsValue): JsValue | null;
1542
+ ValidateEndOfAttributes(schemaInfo: XmlSchemaInfo | null): void;
1542
1543
  ValidateText(elementValue: string): void;
1543
1544
  ValidateText(elementValue: XmlValueGetter): void;
1544
1545
  ValidateWhitespace(elementValue: string): void;
@@ -1569,8 +1570,8 @@ export type XmlSchemaWhiteSpaceFacet = XmlSchemaWhiteSpaceFacet$instance;
1569
1570
  export interface XmlSchemaXPath$instance extends XmlSchemaAnnotated {
1570
1571
  readonly __tsonic_type_System_Xml_Schema_XmlSchemaXPath: never;
1571
1572
 
1572
- get XPath(): string | undefined;
1573
- set XPath(value: string | undefined);
1573
+ get XPath(): string | null;
1574
+ set XPath(value: string | null);
1574
1575
  }
1575
1576
 
1576
1577
 
@@ -1582,14 +1583,14 @@ export const XmlSchemaXPath: {
1582
1583
  export type XmlSchemaXPath = XmlSchemaXPath$instance;
1583
1584
 
1584
1585
  export abstract class Extensions$instance {
1585
- static GetSchemaInfo(source: XAttribute): IXmlSchemaInfo | undefined;
1586
- static GetSchemaInfo(source: XElement): IXmlSchemaInfo | undefined;
1587
- static Validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1588
- static Validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1589
- static Validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1590
- static Validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1591
- static Validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1592
- static Validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1586
+ static GetSchemaInfo(source: XAttribute): IXmlSchemaInfo | null;
1587
+ static GetSchemaInfo(source: XElement): IXmlSchemaInfo | null;
1588
+ static Validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | null, addSchemaInfo: boolean): void;
1589
+ static Validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | null): void;
1590
+ static Validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | null, addSchemaInfo: boolean): void;
1591
+ static Validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | null): void;
1592
+ static Validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | null, addSchemaInfo: boolean): void;
1593
+ static Validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | null): void;
1593
1594
  }
1594
1595
 
1595
1596