@tsonic/dotnet 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
  2. package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
  5. package/Microsoft.Win32/internal/index.d.ts +12 -12
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
  7. package/System/bindings.json +114 -114
  8. package/System/internal/index.d.ts +1277 -1289
  9. package/System/internal/metadata.json +73 -73
  10. package/System.Buffers/internal/index.d.ts +13 -13
  11. package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
  12. package/System.Collections/internal/index.d.ts +66 -68
  13. package/System.Collections.Concurrent/internal/index.d.ts +24 -24
  14. package/System.Collections.Frozen/bindings.json +20 -20
  15. package/System.Collections.Frozen/internal/index.d.ts +10 -10
  16. package/System.Collections.Frozen/internal/metadata.json +10 -10
  17. package/System.Collections.Generic/bindings.json +44 -20
  18. package/System.Collections.Generic/internal/index.d.ts +141 -133
  19. package/System.Collections.Generic/internal/metadata.json +26 -10
  20. package/System.Collections.Immutable/internal/index.d.ts +121 -121
  21. package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
  22. package/System.Collections.Specialized/internal/index.d.ts +85 -87
  23. package/System.ComponentModel/internal/index.d.ts +595 -597
  24. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
  25. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
  26. package/System.ComponentModel.Design/internal/index.d.ts +90 -90
  27. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
  28. package/System.Data/internal/index.d.ts +225 -225
  29. package/System.Data.Common/internal/index.d.ts +62 -62
  30. package/System.Data.SqlTypes/internal/index.d.ts +73 -73
  31. package/System.Diagnostics/internal/index.d.ts +343 -343
  32. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
  33. package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
  34. package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
  35. package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
  36. package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
  37. package/System.Drawing/internal/index.d.ts +99 -99
  38. package/System.Dynamic/internal/index.d.ts +33 -33
  39. package/System.Formats.Asn1/internal/index.d.ts +12 -12
  40. package/System.Formats.Tar/internal/index.d.ts +17 -17
  41. package/System.Globalization/internal/index.d.ts +51 -51
  42. package/System.IO/internal/index.d.ts +172 -172
  43. package/System.IO.Compression/internal/index.d.ts +56 -56
  44. package/System.IO.Enumeration/internal/index.d.ts +6 -6
  45. package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
  46. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
  47. package/System.IO.Pipelines/internal/index.d.ts +13 -13
  48. package/System.IO.Pipes/internal/index.d.ts +32 -32
  49. package/System.Linq/internal/index.d.ts +187 -187
  50. package/System.Linq.Expressions/internal/index.d.ts +203 -203
  51. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
  52. package/System.Net/internal/index.d.ts +218 -220
  53. package/System.Net.Cache/internal/index.d.ts +10 -10
  54. package/System.Net.Http/internal/index.d.ts +89 -89
  55. package/System.Net.Http.Headers/internal/index.d.ts +86 -86
  56. package/System.Net.Http.Json/internal/index.d.ts +59 -59
  57. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  58. package/System.Net.Mail/internal/index.d.ts +92 -92
  59. package/System.Net.Mime/internal/index.d.ts +6 -6
  60. package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
  61. package/System.Net.Quic/internal/index.d.ts +13 -13
  62. package/System.Net.Security/internal/index.d.ts +70 -70
  63. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
  64. package/System.Net.Sockets/internal/index.d.ts +94 -94
  65. package/System.Net.WebSockets/internal/index.d.ts +46 -46
  66. package/System.Numerics/bindings.json +384 -0
  67. package/System.Numerics/internal/index.d.ts +128 -130
  68. package/System.Numerics/internal/metadata.json +256 -0
  69. package/System.Reflection/internal/index.d.ts +271 -271
  70. package/System.Reflection.Emit/internal/index.d.ts +123 -123
  71. package/System.Reflection.Metadata/bindings.json +48 -0
  72. package/System.Reflection.Metadata/internal/index.d.ts +179 -179
  73. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  74. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
  75. package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
  76. package/System.Resources/internal/index.d.ts +38 -38
  77. package/System.Runtime/internal/index.d.ts +9 -9
  78. package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
  79. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
  80. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
  81. package/System.Runtime.InteropServices/bindings.json +22 -22
  82. package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
  83. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  84. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
  85. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
  86. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
  87. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
  88. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
  89. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
  90. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  91. package/System.Runtime.Loader/internal/index.d.ts +9 -9
  92. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  93. package/System.Runtime.Serialization/internal/index.d.ts +113 -115
  94. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
  95. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  96. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
  97. package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
  98. package/System.Runtime.Versioning/internal/index.d.ts +22 -22
  99. package/System.Security/internal/index.d.ts +63 -63
  100. package/System.Security.AccessControl/internal/index.d.ts +84 -84
  101. package/System.Security.Authentication/internal/index.d.ts +6 -6
  102. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
  103. package/System.Security.Claims/internal/index.d.ts +38 -40
  104. package/System.Security.Cryptography/internal/index.d.ts +378 -378
  105. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
  106. package/System.Security.Permissions/internal/index.d.ts +1 -1
  107. package/System.Security.Policy/internal/index.d.ts +6 -6
  108. package/System.Security.Principal/internal/index.d.ts +29 -31
  109. package/System.Text/internal/index.d.ts +94 -94
  110. package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
  111. package/System.Text.Json/internal/index.d.ts +103 -103
  112. package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
  113. package/System.Text.Json.Schema/internal/index.d.ts +7 -7
  114. package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
  115. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
  116. package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
  117. package/System.Text.Unicode/internal/index.d.ts +6 -6
  118. package/System.Threading/internal/index.d.ts +160 -160
  119. package/System.Threading.Channels/internal/index.d.ts +12 -12
  120. package/System.Threading.Tasks/internal/index.d.ts +125 -135
  121. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
  122. package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
  123. package/System.Timers/internal/index.d.ts +8 -8
  124. package/System.Transactions/internal/index.d.ts +51 -51
  125. package/System.Web/internal/index.d.ts +32 -32
  126. package/System.Windows.Input/internal/index.d.ts +2 -2
  127. package/System.Windows.Markup/internal/index.d.ts +2 -2
  128. package/System.Xml/internal/index.d.ts +281 -281
  129. package/System.Xml.Linq/internal/index.d.ts +76 -76
  130. package/System.Xml.Resolvers/internal/index.d.ts +8 -8
  131. package/System.Xml.Schema/internal/index.d.ts +173 -173
  132. package/System.Xml.Serialization/internal/index.d.ts +200 -200
  133. package/System.Xml.XPath/internal/index.d.ts +28 -28
  134. package/System.Xml.Xsl/internal/index.d.ts +53 -53
  135. package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
  136. package/__internal/extensions/index.d.ts +415 -414
  137. package/package.json +1 -1
@@ -158,7 +158,7 @@ export enum XmlTypeCode {
158
158
  }
159
159
 
160
160
 
161
- export type ValidationEventHandler = (sender: unknown, e: ValidationEventArgs) => void;
161
+ export type ValidationEventHandler = (sender: unknown | undefined, e: ValidationEventArgs) => void;
162
162
 
163
163
 
164
164
  export type XmlValueGetter = () => unknown;
@@ -168,10 +168,10 @@ export interface IXmlSchemaInfo$instance {
168
168
  readonly validity: XmlSchemaValidity;
169
169
  readonly isDefault: boolean;
170
170
  readonly isNil: boolean;
171
- readonly memberType: XmlSchemaSimpleType;
172
- readonly schemaType: XmlSchemaType;
173
- readonly schemaElement: XmlSchemaElement;
174
- readonly schemaAttribute: XmlSchemaAttribute;
171
+ readonly memberType: XmlSchemaSimpleType | undefined;
172
+ readonly schemaType: XmlSchemaType | undefined;
173
+ readonly schemaElement: XmlSchemaElement | undefined;
174
+ readonly schemaAttribute: XmlSchemaAttribute | undefined;
175
175
  }
176
176
 
177
177
 
@@ -185,7 +185,7 @@ export interface ValidationEventArgs$instance extends EventArgs {
185
185
 
186
186
 
187
187
  export const ValidationEventArgs: {
188
- new(): ValidationEventArgs$instance;
188
+ new(): ValidationEventArgs;
189
189
  };
190
190
 
191
191
 
@@ -201,16 +201,16 @@ export interface XmlAtomicValue$instance extends XPathItem {
201
201
  readonly valueAsInt: int;
202
202
  readonly valueAsLong: long;
203
203
  readonly valueType: Type;
204
- readonly xmlType: XmlSchemaType;
204
+ readonly xmlType: XmlSchemaType | XmlSchemaType | undefined;
205
205
  clone(): XmlAtomicValue;
206
206
  toString(): string;
207
- valueAs(type_: Type, nsResolver: IXmlNamespaceResolver): unknown;
207
+ valueAs(type_: Type, nsResolver: IXmlNamespaceResolver | undefined): unknown;
208
208
  valueAs(returnType: Type): unknown;
209
209
  }
210
210
 
211
211
 
212
212
  export const XmlAtomicValue: {
213
- new(): XmlAtomicValue$instance;
213
+ new(): XmlAtomicValue;
214
214
  };
215
215
 
216
216
 
@@ -236,22 +236,22 @@ export interface XmlSchema$instance extends XmlSchemaObject {
236
236
  readonly items: XmlSchemaObjectCollection;
237
237
  readonly notations: XmlSchemaObjectTable;
238
238
  readonly schemaTypes: XmlSchemaObjectTable;
239
- targetNamespace: string;
240
- unhandledAttributes: XmlAttribute[];
239
+ targetNamespace: string | undefined;
240
+ unhandledAttributes: XmlAttribute[] | undefined;
241
241
  version: string;
242
242
  compile(validationEventHandler: ValidationEventHandler): void;
243
243
  compile(validationEventHandler: ValidationEventHandler, resolver: XmlResolver): void;
244
244
  write(stream: Stream): void;
245
- write(stream: Stream, namespaceManager: XmlNamespaceManager): void;
245
+ write(stream: Stream, namespaceManager: XmlNamespaceManager | undefined): void;
246
246
  write(writer: TextWriter): void;
247
- write(writer: TextWriter, namespaceManager: XmlNamespaceManager): void;
247
+ write(writer: TextWriter, namespaceManager: XmlNamespaceManager | undefined): void;
248
248
  write(writer: XmlWriter): void;
249
- write(writer: XmlWriter, namespaceManager: XmlNamespaceManager): void;
249
+ write(writer: XmlWriter, namespaceManager: XmlNamespaceManager | undefined): void;
250
250
  }
251
251
 
252
252
 
253
253
  export const XmlSchema: {
254
- new(): XmlSchema$instance;
254
+ new(): XmlSchema;
255
255
  readonly namespace_: string;
256
256
  readonly instanceNamespace: string;
257
257
  read(stream: Stream, validationEventHandler: ValidationEventHandler): XmlSchema;
@@ -268,21 +268,21 @@ export interface XmlSchemaAll$instance extends XmlSchemaGroupBase {
268
268
 
269
269
 
270
270
  export const XmlSchemaAll: {
271
- new(): XmlSchemaAll$instance;
271
+ new(): XmlSchemaAll;
272
272
  };
273
273
 
274
274
 
275
275
  export type XmlSchemaAll = XmlSchemaAll$instance;
276
276
 
277
277
  export interface XmlSchemaAnnotated$instance extends XmlSchemaObject {
278
- annotation: XmlSchemaAnnotation;
278
+ annotation: XmlSchemaAnnotation | undefined;
279
279
  id: string;
280
- unhandledAttributes: XmlAttribute[];
280
+ unhandledAttributes: XmlAttribute[] | undefined;
281
281
  }
282
282
 
283
283
 
284
284
  export const XmlSchemaAnnotated: {
285
- new(): XmlSchemaAnnotated$instance;
285
+ new(): XmlSchemaAnnotated;
286
286
  };
287
287
 
288
288
 
@@ -291,12 +291,12 @@ export type XmlSchemaAnnotated = XmlSchemaAnnotated$instance;
291
291
  export interface XmlSchemaAnnotation$instance extends XmlSchemaObject {
292
292
  id: string;
293
293
  readonly items: XmlSchemaObjectCollection;
294
- unhandledAttributes: XmlAttribute[];
294
+ unhandledAttributes: XmlAttribute[] | undefined;
295
295
  }
296
296
 
297
297
 
298
298
  export const XmlSchemaAnnotation: {
299
- new(): XmlSchemaAnnotation$instance;
299
+ new(): XmlSchemaAnnotation;
300
300
  };
301
301
 
302
302
 
@@ -309,7 +309,7 @@ export interface XmlSchemaAny$instance extends XmlSchemaParticle {
309
309
 
310
310
 
311
311
  export const XmlSchemaAny: {
312
- new(): XmlSchemaAny$instance;
312
+ new(): XmlSchemaAny;
313
313
  };
314
314
 
315
315
 
@@ -322,58 +322,58 @@ export interface XmlSchemaAnyAttribute$instance extends XmlSchemaAnnotated {
322
322
 
323
323
 
324
324
  export const XmlSchemaAnyAttribute: {
325
- new(): XmlSchemaAnyAttribute$instance;
325
+ new(): XmlSchemaAnyAttribute;
326
326
  };
327
327
 
328
328
 
329
329
  export type XmlSchemaAnyAttribute = XmlSchemaAnyAttribute$instance;
330
330
 
331
331
  export interface XmlSchemaAppInfo$instance extends XmlSchemaObject {
332
- markup: XmlNode[];
332
+ markup: (XmlNode | undefined)[] | undefined;
333
333
  source: string;
334
334
  }
335
335
 
336
336
 
337
337
  export const XmlSchemaAppInfo: {
338
- new(): XmlSchemaAppInfo$instance;
338
+ new(): XmlSchemaAppInfo;
339
339
  };
340
340
 
341
341
 
342
342
  export type XmlSchemaAppInfo = XmlSchemaAppInfo$instance;
343
343
 
344
344
  export interface XmlSchemaAttribute$instance extends XmlSchemaAnnotated {
345
- readonly attributeSchemaType: XmlSchemaSimpleType;
345
+ readonly attributeSchemaType: XmlSchemaSimpleType | undefined;
346
346
  readonly attributeType: unknown;
347
347
  defaultValue: string;
348
- fixedValue: string;
348
+ fixedValue: string | undefined;
349
349
  form: XmlSchemaForm;
350
350
  name: string;
351
351
  readonly qualifiedName: XmlQualifiedName;
352
352
  refName: XmlQualifiedName;
353
- schemaType: XmlSchemaSimpleType;
353
+ schemaType: XmlSchemaSimpleType | undefined;
354
354
  schemaTypeName: XmlQualifiedName;
355
355
  use: XmlSchemaUse;
356
356
  }
357
357
 
358
358
 
359
359
  export const XmlSchemaAttribute: {
360
- new(): XmlSchemaAttribute$instance;
360
+ new(): XmlSchemaAttribute;
361
361
  };
362
362
 
363
363
 
364
364
  export type XmlSchemaAttribute = XmlSchemaAttribute$instance;
365
365
 
366
366
  export interface XmlSchemaAttributeGroup$instance extends XmlSchemaAnnotated {
367
- anyAttribute: XmlSchemaAnyAttribute;
367
+ anyAttribute: XmlSchemaAnyAttribute | undefined;
368
368
  readonly attributes: XmlSchemaObjectCollection;
369
369
  name: string;
370
370
  readonly qualifiedName: XmlQualifiedName;
371
- readonly redefinedAttributeGroup: XmlSchemaAttributeGroup;
371
+ readonly redefinedAttributeGroup: XmlSchemaAttributeGroup | undefined;
372
372
  }
373
373
 
374
374
 
375
375
  export const XmlSchemaAttributeGroup: {
376
- new(): XmlSchemaAttributeGroup$instance;
376
+ new(): XmlSchemaAttributeGroup;
377
377
  };
378
378
 
379
379
 
@@ -385,7 +385,7 @@ export interface XmlSchemaAttributeGroupRef$instance extends XmlSchemaAnnotated
385
385
 
386
386
 
387
387
  export const XmlSchemaAttributeGroupRef: {
388
- new(): XmlSchemaAttributeGroupRef$instance;
388
+ new(): XmlSchemaAttributeGroupRef;
389
389
  };
390
390
 
391
391
 
@@ -397,7 +397,7 @@ export interface XmlSchemaChoice$instance extends XmlSchemaGroupBase {
397
397
 
398
398
 
399
399
  export const XmlSchemaChoice: {
400
- new(): XmlSchemaChoice$instance;
400
+ new(): XmlSchemaChoice;
401
401
  };
402
402
 
403
403
 
@@ -410,7 +410,7 @@ export interface XmlSchemaCollection$instance {
410
410
  add(ns: string, uri: string): XmlSchema;
411
411
  add(ns: string, reader: XmlReader): XmlSchema;
412
412
  add(ns: string, reader: XmlReader, resolver: XmlResolver): XmlSchema;
413
- add(schema: XmlSchema): XmlSchema;
413
+ add(schema: XmlSchema): XmlSchema | undefined;
414
414
  add(schema: XmlSchema, resolver: XmlResolver): XmlSchema;
415
415
  add(schema: XmlSchemaCollection): void;
416
416
  contains(schema: XmlSchema): boolean;
@@ -421,8 +421,8 @@ export interface XmlSchemaCollection$instance {
421
421
 
422
422
 
423
423
  export const XmlSchemaCollection: {
424
- new(): XmlSchemaCollection$instance;
425
- new(nametable: XmlNameTable): XmlSchemaCollection$instance;
424
+ new(): XmlSchemaCollection;
425
+ new(nametable: XmlNameTable): XmlSchemaCollection;
426
426
  };
427
427
 
428
428
 
@@ -435,14 +435,14 @@ export type XmlSchemaCollection = XmlSchemaCollection$instance & __XmlSchemaColl
435
435
 
436
436
 
437
437
  export interface XmlSchemaCollectionEnumerator$instance {
438
- readonly current: unknown | XmlSchema;
438
+ readonly current: XmlSchema;
439
439
  moveNext(): boolean;
440
440
  reset(): void;
441
441
  }
442
442
 
443
443
 
444
444
  export const XmlSchemaCollectionEnumerator: {
445
- new(): XmlSchemaCollectionEnumerator$instance;
445
+ new(): XmlSchemaCollectionEnumerator;
446
446
  };
447
447
 
448
448
 
@@ -459,7 +459,7 @@ export interface XmlSchemaCompilationSettings$instance {
459
459
 
460
460
 
461
461
  export const XmlSchemaCompilationSettings: {
462
- new(): XmlSchemaCompilationSettings$instance;
462
+ new(): XmlSchemaCompilationSettings;
463
463
  };
464
464
 
465
465
 
@@ -472,60 +472,60 @@ export interface XmlSchemaComplexContent$instance extends XmlSchemaContentModel
472
472
 
473
473
 
474
474
  export const XmlSchemaComplexContent: {
475
- new(): XmlSchemaComplexContent$instance;
475
+ new(): XmlSchemaComplexContent;
476
476
  };
477
477
 
478
478
 
479
479
  export type XmlSchemaComplexContent = XmlSchemaComplexContent$instance;
480
480
 
481
481
  export interface XmlSchemaComplexContentExtension$instance extends XmlSchemaContent {
482
- anyAttribute: XmlSchemaAnyAttribute;
482
+ anyAttribute: XmlSchemaAnyAttribute | undefined;
483
483
  readonly attributes: XmlSchemaObjectCollection;
484
484
  baseTypeName: XmlQualifiedName;
485
- particle: XmlSchemaParticle;
485
+ particle: XmlSchemaParticle | undefined;
486
486
  }
487
487
 
488
488
 
489
489
  export const XmlSchemaComplexContentExtension: {
490
- new(): XmlSchemaComplexContentExtension$instance;
490
+ new(): XmlSchemaComplexContentExtension;
491
491
  };
492
492
 
493
493
 
494
494
  export type XmlSchemaComplexContentExtension = XmlSchemaComplexContentExtension$instance;
495
495
 
496
496
  export interface XmlSchemaComplexContentRestriction$instance extends XmlSchemaContent {
497
- anyAttribute: XmlSchemaAnyAttribute;
497
+ anyAttribute: XmlSchemaAnyAttribute | undefined;
498
498
  readonly attributes: XmlSchemaObjectCollection;
499
499
  baseTypeName: XmlQualifiedName;
500
- particle: XmlSchemaParticle;
500
+ particle: XmlSchemaParticle | undefined;
501
501
  }
502
502
 
503
503
 
504
504
  export const XmlSchemaComplexContentRestriction: {
505
- new(): XmlSchemaComplexContentRestriction$instance;
505
+ new(): XmlSchemaComplexContentRestriction;
506
506
  };
507
507
 
508
508
 
509
509
  export type XmlSchemaComplexContentRestriction = XmlSchemaComplexContentRestriction$instance;
510
510
 
511
511
  export interface XmlSchemaComplexType$instance extends XmlSchemaType {
512
- anyAttribute: XmlSchemaAnyAttribute;
512
+ anyAttribute: XmlSchemaAnyAttribute | undefined;
513
513
  readonly attributes: XmlSchemaObjectCollection;
514
514
  readonly attributeUses: XmlSchemaObjectTable;
515
- readonly attributeWildcard: XmlSchemaAnyAttribute;
515
+ readonly attributeWildcard: XmlSchemaAnyAttribute | undefined;
516
516
  block: XmlSchemaDerivationMethod;
517
517
  readonly blockResolved: XmlSchemaDerivationMethod;
518
- contentModel: XmlSchemaContentModel;
518
+ contentModel: XmlSchemaContentModel | undefined;
519
519
  readonly contentType: XmlSchemaContentType;
520
520
  readonly contentTypeParticle: XmlSchemaParticle;
521
521
  isAbstract: boolean;
522
522
  isMixed: boolean;
523
- particle: XmlSchemaParticle;
523
+ particle: XmlSchemaParticle | undefined;
524
524
  }
525
525
 
526
526
 
527
527
  export const XmlSchemaComplexType: {
528
- new(): XmlSchemaComplexType$instance;
528
+ new(): XmlSchemaComplexType;
529
529
  };
530
530
 
531
531
 
@@ -560,7 +560,7 @@ export interface XmlSchemaDatatype$instance {
560
560
  changeType(value: unknown, targetType: Type): unknown;
561
561
  changeType(value: unknown, targetType: Type, namespaceResolver: IXmlNamespaceResolver): unknown;
562
562
  isDerivedFrom(datatype: XmlSchemaDatatype): boolean;
563
- parseValue(s: string, nameTable: XmlNameTable, nsmgr: IXmlNamespaceResolver): unknown;
563
+ parseValue(s: string, nameTable: XmlNameTable | undefined, nsmgr: IXmlNamespaceResolver | undefined): unknown;
564
564
  }
565
565
 
566
566
 
@@ -571,14 +571,14 @@ export const XmlSchemaDatatype: {
571
571
  export type XmlSchemaDatatype = XmlSchemaDatatype$instance;
572
572
 
573
573
  export interface XmlSchemaDocumentation$instance extends XmlSchemaObject {
574
- language: string;
575
- markup: XmlNode[];
574
+ language: string | undefined;
575
+ markup: (XmlNode | undefined)[] | undefined;
576
576
  source: string;
577
577
  }
578
578
 
579
579
 
580
580
  export const XmlSchemaDocumentation: {
581
- new(): XmlSchemaDocumentation$instance;
581
+ new(): XmlSchemaDocumentation;
582
582
  };
583
583
 
584
584
 
@@ -589,25 +589,25 @@ export interface XmlSchemaElement$instance extends XmlSchemaParticle {
589
589
  readonly blockResolved: XmlSchemaDerivationMethod;
590
590
  readonly constraints: XmlSchemaObjectCollection;
591
591
  defaultValue: string;
592
- readonly elementSchemaType: XmlSchemaType;
592
+ readonly elementSchemaType: XmlSchemaType | undefined;
593
593
  readonly elementType: unknown;
594
594
  final: XmlSchemaDerivationMethod;
595
595
  readonly finalResolved: XmlSchemaDerivationMethod;
596
- fixedValue: string;
596
+ fixedValue: string | undefined;
597
597
  form: XmlSchemaForm;
598
598
  isAbstract: boolean;
599
599
  isNillable: boolean;
600
600
  name: string;
601
601
  readonly qualifiedName: XmlQualifiedName;
602
602
  refName: XmlQualifiedName;
603
- schemaType: XmlSchemaType;
603
+ schemaType: XmlSchemaType | undefined;
604
604
  schemaTypeName: XmlQualifiedName;
605
605
  substitutionGroup: XmlQualifiedName;
606
606
  }
607
607
 
608
608
 
609
609
  export const XmlSchemaElement: {
610
- new(): XmlSchemaElement$instance;
610
+ new(): XmlSchemaElement;
611
611
  };
612
612
 
613
613
 
@@ -618,7 +618,7 @@ export interface XmlSchemaEnumerationFacet$instance extends XmlSchemaFacet {
618
618
 
619
619
 
620
620
  export const XmlSchemaEnumerationFacet: {
621
- new(): XmlSchemaEnumerationFacet$instance;
621
+ new(): XmlSchemaEnumerationFacet;
622
622
  };
623
623
 
624
624
 
@@ -628,17 +628,17 @@ export interface XmlSchemaException$instance extends SystemException {
628
628
  readonly lineNumber: int;
629
629
  readonly linePosition: int;
630
630
  readonly message: string;
631
- readonly sourceSchemaObject: XmlSchemaObject;
632
- readonly sourceUri: string;
633
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
631
+ readonly sourceSchemaObject: XmlSchemaObject | undefined;
632
+ readonly sourceUri: string | undefined;
633
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
634
634
  }
635
635
 
636
636
 
637
637
  export const XmlSchemaException: {
638
- new(): XmlSchemaException$instance;
639
- new(message: string): XmlSchemaException$instance;
640
- new(message: string, innerException: Exception): XmlSchemaException$instance;
641
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlSchemaException$instance;
638
+ new(): XmlSchemaException;
639
+ new(message: string | undefined): XmlSchemaException;
640
+ new(message: string | undefined, innerException: Exception | undefined): XmlSchemaException;
641
+ new(message: string | undefined, innerException: Exception | undefined, lineNumber: int, linePosition: int): XmlSchemaException;
642
642
  };
643
643
 
644
644
 
@@ -651,9 +651,9 @@ export type XmlSchemaException = XmlSchemaException$instance & __XmlSchemaExcept
651
651
 
652
652
  export interface XmlSchemaExternal$instance extends XmlSchemaObject {
653
653
  id: string;
654
- schema: XmlSchema;
655
- schemaLocation: string;
656
- unhandledAttributes: XmlAttribute[];
654
+ schema: XmlSchema | undefined;
655
+ schemaLocation: string | undefined;
656
+ unhandledAttributes: XmlAttribute[] | undefined;
657
657
  }
658
658
 
659
659
 
@@ -680,7 +680,7 @@ export interface XmlSchemaFractionDigitsFacet$instance extends XmlSchemaNumericF
680
680
 
681
681
 
682
682
  export const XmlSchemaFractionDigitsFacet: {
683
- new(): XmlSchemaFractionDigitsFacet$instance;
683
+ new(): XmlSchemaFractionDigitsFacet;
684
684
  };
685
685
 
686
686
 
@@ -688,13 +688,13 @@ export type XmlSchemaFractionDigitsFacet = XmlSchemaFractionDigitsFacet$instance
688
688
 
689
689
  export interface XmlSchemaGroup$instance extends XmlSchemaAnnotated {
690
690
  name: string;
691
- particle: XmlSchemaGroupBase;
691
+ particle: XmlSchemaGroupBase | undefined;
692
692
  readonly qualifiedName: XmlQualifiedName;
693
693
  }
694
694
 
695
695
 
696
696
  export const XmlSchemaGroup: {
697
- new(): XmlSchemaGroup$instance;
697
+ new(): XmlSchemaGroup;
698
698
  };
699
699
 
700
700
 
@@ -712,13 +712,13 @@ export const XmlSchemaGroupBase: {
712
712
  export type XmlSchemaGroupBase = XmlSchemaGroupBase$instance;
713
713
 
714
714
  export interface XmlSchemaGroupRef$instance extends XmlSchemaParticle {
715
- readonly particle: XmlSchemaGroupBase;
715
+ readonly particle: XmlSchemaGroupBase | undefined;
716
716
  refName: XmlQualifiedName;
717
717
  }
718
718
 
719
719
 
720
720
  export const XmlSchemaGroupRef: {
721
- new(): XmlSchemaGroupRef$instance;
721
+ new(): XmlSchemaGroupRef;
722
722
  };
723
723
 
724
724
 
@@ -728,37 +728,37 @@ export interface XmlSchemaIdentityConstraint$instance extends XmlSchemaAnnotated
728
728
  readonly fields: XmlSchemaObjectCollection;
729
729
  name: string;
730
730
  readonly qualifiedName: XmlQualifiedName;
731
- selector: XmlSchemaXPath;
731
+ selector: XmlSchemaXPath | undefined;
732
732
  }
733
733
 
734
734
 
735
735
  export const XmlSchemaIdentityConstraint: {
736
- new(): XmlSchemaIdentityConstraint$instance;
736
+ new(): XmlSchemaIdentityConstraint;
737
737
  };
738
738
 
739
739
 
740
740
  export type XmlSchemaIdentityConstraint = XmlSchemaIdentityConstraint$instance;
741
741
 
742
742
  export interface XmlSchemaImport$instance extends XmlSchemaExternal {
743
- annotation: XmlSchemaAnnotation;
743
+ annotation: XmlSchemaAnnotation | undefined;
744
744
  namespace_: string;
745
745
  }
746
746
 
747
747
 
748
748
  export const XmlSchemaImport: {
749
- new(): XmlSchemaImport$instance;
749
+ new(): XmlSchemaImport;
750
750
  };
751
751
 
752
752
 
753
753
  export type XmlSchemaImport = XmlSchemaImport$instance;
754
754
 
755
755
  export interface XmlSchemaInclude$instance extends XmlSchemaExternal {
756
- annotation: XmlSchemaAnnotation;
756
+ annotation: XmlSchemaAnnotation | undefined;
757
757
  }
758
758
 
759
759
 
760
760
  export const XmlSchemaInclude: {
761
- new(): XmlSchemaInclude$instance;
761
+ new(): XmlSchemaInclude;
762
762
  };
763
763
 
764
764
 
@@ -773,7 +773,7 @@ export interface XmlSchemaInference$instance {
773
773
 
774
774
 
775
775
  export const XmlSchemaInference: {
776
- new(): XmlSchemaInference$instance;
776
+ new(): XmlSchemaInference;
777
777
  };
778
778
 
779
779
 
@@ -785,10 +785,10 @@ export interface XmlSchemaInferenceException$instance extends XmlSchemaException
785
785
 
786
786
 
787
787
  export const XmlSchemaInferenceException: {
788
- new(): XmlSchemaInferenceException$instance;
789
- new(message: string): XmlSchemaInferenceException$instance;
790
- new(message: string, innerException: Exception): XmlSchemaInferenceException$instance;
791
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlSchemaInferenceException$instance;
788
+ new(): XmlSchemaInferenceException;
789
+ new(message: string): XmlSchemaInferenceException;
790
+ new(message: string, innerException: Exception | undefined): XmlSchemaInferenceException;
791
+ new(message: string, innerException: Exception | undefined, lineNumber: int, linePosition: int): XmlSchemaInferenceException;
792
792
  };
793
793
 
794
794
 
@@ -803,16 +803,16 @@ export interface XmlSchemaInfo$instance {
803
803
  contentType: XmlSchemaContentType;
804
804
  isDefault: boolean;
805
805
  isNil: boolean;
806
- memberType: XmlSchemaSimpleType;
807
- schemaAttribute: XmlSchemaAttribute;
808
- schemaElement: XmlSchemaElement;
809
- schemaType: XmlSchemaType;
806
+ memberType: XmlSchemaSimpleType | undefined;
807
+ schemaAttribute: XmlSchemaAttribute | undefined;
808
+ schemaElement: XmlSchemaElement | undefined;
809
+ schemaType: XmlSchemaType | undefined;
810
810
  validity: XmlSchemaValidity;
811
811
  }
812
812
 
813
813
 
814
814
  export const XmlSchemaInfo: {
815
- new(): XmlSchemaInfo$instance;
815
+ new(): XmlSchemaInfo;
816
816
  };
817
817
 
818
818
 
@@ -828,7 +828,7 @@ export interface XmlSchemaKey$instance extends XmlSchemaIdentityConstraint {
828
828
 
829
829
 
830
830
  export const XmlSchemaKey: {
831
- new(): XmlSchemaKey$instance;
831
+ new(): XmlSchemaKey;
832
832
  };
833
833
 
834
834
 
@@ -840,7 +840,7 @@ export interface XmlSchemaKeyref$instance extends XmlSchemaIdentityConstraint {
840
840
 
841
841
 
842
842
  export const XmlSchemaKeyref: {
843
- new(): XmlSchemaKeyref$instance;
843
+ new(): XmlSchemaKeyref;
844
844
  };
845
845
 
846
846
 
@@ -851,7 +851,7 @@ export interface XmlSchemaLengthFacet$instance extends XmlSchemaNumericFacet {
851
851
 
852
852
 
853
853
  export const XmlSchemaLengthFacet: {
854
- new(): XmlSchemaLengthFacet$instance;
854
+ new(): XmlSchemaLengthFacet;
855
855
  };
856
856
 
857
857
 
@@ -862,7 +862,7 @@ export interface XmlSchemaMaxExclusiveFacet$instance extends XmlSchemaFacet {
862
862
 
863
863
 
864
864
  export const XmlSchemaMaxExclusiveFacet: {
865
- new(): XmlSchemaMaxExclusiveFacet$instance;
865
+ new(): XmlSchemaMaxExclusiveFacet;
866
866
  };
867
867
 
868
868
 
@@ -873,7 +873,7 @@ export interface XmlSchemaMaxInclusiveFacet$instance extends XmlSchemaFacet {
873
873
 
874
874
 
875
875
  export const XmlSchemaMaxInclusiveFacet: {
876
- new(): XmlSchemaMaxInclusiveFacet$instance;
876
+ new(): XmlSchemaMaxInclusiveFacet;
877
877
  };
878
878
 
879
879
 
@@ -884,7 +884,7 @@ export interface XmlSchemaMaxLengthFacet$instance extends XmlSchemaNumericFacet
884
884
 
885
885
 
886
886
  export const XmlSchemaMaxLengthFacet: {
887
- new(): XmlSchemaMaxLengthFacet$instance;
887
+ new(): XmlSchemaMaxLengthFacet;
888
888
  };
889
889
 
890
890
 
@@ -895,7 +895,7 @@ export interface XmlSchemaMinExclusiveFacet$instance extends XmlSchemaFacet {
895
895
 
896
896
 
897
897
  export const XmlSchemaMinExclusiveFacet: {
898
- new(): XmlSchemaMinExclusiveFacet$instance;
898
+ new(): XmlSchemaMinExclusiveFacet;
899
899
  };
900
900
 
901
901
 
@@ -906,7 +906,7 @@ export interface XmlSchemaMinInclusiveFacet$instance extends XmlSchemaFacet {
906
906
 
907
907
 
908
908
  export const XmlSchemaMinInclusiveFacet: {
909
- new(): XmlSchemaMinInclusiveFacet$instance;
909
+ new(): XmlSchemaMinInclusiveFacet;
910
910
  };
911
911
 
912
912
 
@@ -917,7 +917,7 @@ export interface XmlSchemaMinLengthFacet$instance extends XmlSchemaNumericFacet
917
917
 
918
918
 
919
919
  export const XmlSchemaMinLengthFacet: {
920
- new(): XmlSchemaMinLengthFacet$instance;
920
+ new(): XmlSchemaMinLengthFacet;
921
921
  };
922
922
 
923
923
 
@@ -925,13 +925,13 @@ export type XmlSchemaMinLengthFacet = XmlSchemaMinLengthFacet$instance;
925
925
 
926
926
  export interface XmlSchemaNotation$instance extends XmlSchemaAnnotated {
927
927
  name: string;
928
- public_: string;
929
- system: string;
928
+ public_: string | undefined;
929
+ system: string | undefined;
930
930
  }
931
931
 
932
932
 
933
933
  export const XmlSchemaNotation: {
934
- new(): XmlSchemaNotation$instance;
934
+ new(): XmlSchemaNotation;
935
935
  };
936
936
 
937
937
 
@@ -952,7 +952,7 @@ export interface XmlSchemaObject$instance {
952
952
  linePosition: int;
953
953
  namespaces: XmlSerializerNamespaces;
954
954
  parent: XmlSchemaObject;
955
- sourceUri: string;
955
+ sourceUri: string | undefined;
956
956
  }
957
957
 
958
958
 
@@ -964,21 +964,21 @@ export type XmlSchemaObject = XmlSchemaObject$instance;
964
964
 
965
965
  export interface XmlSchemaObjectCollection$instance extends CollectionBase {
966
966
  item: XmlSchemaObject;
967
- add(value: unknown): int;
967
+ add(value: unknown | undefined): int;
968
968
  clear(): void;
969
- contains(value: unknown): boolean;
969
+ contains(value: unknown | undefined): boolean;
970
970
  copyTo(array: ClrArray, index: int): void;
971
971
  getEnumerator(): IEnumerator;
972
972
  indexOf(item: XmlSchemaObject): int;
973
- insert(index: int, value: unknown): void;
974
- remove(value: unknown): void;
973
+ insert(index: int, value: unknown | undefined): void;
974
+ remove(value: unknown | undefined): void;
975
975
  removeAt(index: int): void;
976
976
  }
977
977
 
978
978
 
979
979
  export const XmlSchemaObjectCollection: {
980
- new(): XmlSchemaObjectCollection$instance;
981
- new(parent: XmlSchemaObject): XmlSchemaObjectCollection$instance;
980
+ new(): XmlSchemaObjectCollection;
981
+ new(parent: XmlSchemaObject): XmlSchemaObjectCollection;
982
982
  };
983
983
 
984
984
 
@@ -992,14 +992,14 @@ export type XmlSchemaObjectCollection = XmlSchemaObjectCollection$instance & __X
992
992
 
993
993
 
994
994
  export interface XmlSchemaObjectEnumerator$instance {
995
- readonly current: unknown | XmlSchemaObject;
995
+ readonly current: XmlSchemaObject;
996
996
  moveNext(): boolean;
997
997
  reset(): void;
998
998
  }
999
999
 
1000
1000
 
1001
1001
  export const XmlSchemaObjectEnumerator: {
1002
- new(): XmlSchemaObjectEnumerator$instance;
1002
+ new(): XmlSchemaObjectEnumerator;
1003
1003
  };
1004
1004
 
1005
1005
 
@@ -1012,7 +1012,7 @@ export type XmlSchemaObjectEnumerator = XmlSchemaObjectEnumerator$instance & __X
1012
1012
 
1013
1013
  export interface XmlSchemaObjectTable$instance {
1014
1014
  readonly count: int;
1015
- readonly item: XmlSchemaObject;
1015
+ readonly item: XmlSchemaObject | undefined;
1016
1016
  readonly names: ICollection;
1017
1017
  readonly values: ICollection;
1018
1018
  contains(name: XmlQualifiedName): boolean;
@@ -1021,7 +1021,7 @@ export interface XmlSchemaObjectTable$instance {
1021
1021
 
1022
1022
 
1023
1023
  export const XmlSchemaObjectTable: {
1024
- new(): XmlSchemaObjectTable$instance;
1024
+ new(): XmlSchemaObjectTable;
1025
1025
  };
1026
1026
 
1027
1027
 
@@ -1029,9 +1029,9 @@ export type XmlSchemaObjectTable = XmlSchemaObjectTable$instance;
1029
1029
 
1030
1030
  export interface XmlSchemaParticle$instance extends XmlSchemaAnnotated {
1031
1031
  maxOccurs: decimal;
1032
- maxOccursString: string;
1032
+ maxOccursString: string | undefined;
1033
1033
  minOccurs: decimal;
1034
- minOccursString: string;
1034
+ minOccursString: string | undefined;
1035
1035
  }
1036
1036
 
1037
1037
 
@@ -1046,7 +1046,7 @@ export interface XmlSchemaPatternFacet$instance extends XmlSchemaFacet {
1046
1046
 
1047
1047
 
1048
1048
  export const XmlSchemaPatternFacet: {
1049
- new(): XmlSchemaPatternFacet$instance;
1049
+ new(): XmlSchemaPatternFacet;
1050
1050
  };
1051
1051
 
1052
1052
 
@@ -1061,7 +1061,7 @@ export interface XmlSchemaRedefine$instance extends XmlSchemaExternal {
1061
1061
 
1062
1062
 
1063
1063
  export const XmlSchemaRedefine: {
1064
- new(): XmlSchemaRedefine$instance;
1064
+ new(): XmlSchemaRedefine;
1065
1065
  };
1066
1066
 
1067
1067
 
@@ -1073,7 +1073,7 @@ export interface XmlSchemaSequence$instance extends XmlSchemaGroupBase {
1073
1073
 
1074
1074
 
1075
1075
  export const XmlSchemaSequence: {
1076
- new(): XmlSchemaSequence$instance;
1076
+ new(): XmlSchemaSequence;
1077
1077
  };
1078
1078
 
1079
1079
 
@@ -1091,22 +1091,22 @@ export interface XmlSchemaSet$instance {
1091
1091
  add(targetNamespace: string, schemaUri: string): XmlSchema;
1092
1092
  add(targetNamespace: string, schemaDocument: XmlReader): XmlSchema;
1093
1093
  add(schemas: XmlSchemaSet): void;
1094
- add(schema: XmlSchema): XmlSchema;
1094
+ add(schema: XmlSchema): XmlSchema | undefined;
1095
1095
  compile(): void;
1096
1096
  contains(targetNamespace: string): boolean;
1097
1097
  contains(schema: XmlSchema): boolean;
1098
1098
  copyTo(schemas: XmlSchema[], index: int): void;
1099
- remove(schema: XmlSchema): XmlSchema;
1099
+ remove(schema: XmlSchema): XmlSchema | undefined;
1100
1100
  removeRecursive(schemaToRemove: XmlSchema): boolean;
1101
1101
  reprocess(schema: XmlSchema): XmlSchema;
1102
1102
  schemas(): ICollection;
1103
- schemas(targetNamespace: string): ICollection;
1103
+ schemas(targetNamespace: string | undefined): ICollection;
1104
1104
  }
1105
1105
 
1106
1106
 
1107
1107
  export const XmlSchemaSet: {
1108
- new(): XmlSchemaSet$instance;
1109
- new(nameTable: XmlNameTable): XmlSchemaSet$instance;
1108
+ new(): XmlSchemaSet;
1109
+ new(nameTable: XmlNameTable): XmlSchemaSet;
1110
1110
  };
1111
1111
 
1112
1112
 
@@ -1118,37 +1118,37 @@ export interface XmlSchemaSimpleContent$instance extends XmlSchemaContentModel {
1118
1118
 
1119
1119
 
1120
1120
  export const XmlSchemaSimpleContent: {
1121
- new(): XmlSchemaSimpleContent$instance;
1121
+ new(): XmlSchemaSimpleContent;
1122
1122
  };
1123
1123
 
1124
1124
 
1125
1125
  export type XmlSchemaSimpleContent = XmlSchemaSimpleContent$instance;
1126
1126
 
1127
1127
  export interface XmlSchemaSimpleContentExtension$instance extends XmlSchemaContent {
1128
- anyAttribute: XmlSchemaAnyAttribute;
1128
+ anyAttribute: XmlSchemaAnyAttribute | undefined;
1129
1129
  readonly attributes: XmlSchemaObjectCollection;
1130
1130
  baseTypeName: XmlQualifiedName;
1131
1131
  }
1132
1132
 
1133
1133
 
1134
1134
  export const XmlSchemaSimpleContentExtension: {
1135
- new(): XmlSchemaSimpleContentExtension$instance;
1135
+ new(): XmlSchemaSimpleContentExtension;
1136
1136
  };
1137
1137
 
1138
1138
 
1139
1139
  export type XmlSchemaSimpleContentExtension = XmlSchemaSimpleContentExtension$instance;
1140
1140
 
1141
1141
  export interface XmlSchemaSimpleContentRestriction$instance extends XmlSchemaContent {
1142
- anyAttribute: XmlSchemaAnyAttribute;
1142
+ anyAttribute: XmlSchemaAnyAttribute | undefined;
1143
1143
  readonly attributes: XmlSchemaObjectCollection;
1144
- baseType: XmlSchemaSimpleType;
1144
+ baseType: XmlSchemaSimpleType | undefined;
1145
1145
  baseTypeName: XmlQualifiedName;
1146
1146
  readonly facets: XmlSchemaObjectCollection;
1147
1147
  }
1148
1148
 
1149
1149
 
1150
1150
  export const XmlSchemaSimpleContentRestriction: {
1151
- new(): XmlSchemaSimpleContentRestriction$instance;
1151
+ new(): XmlSchemaSimpleContentRestriction;
1152
1152
  };
1153
1153
 
1154
1154
 
@@ -1160,7 +1160,7 @@ export interface XmlSchemaSimpleType$instance extends XmlSchemaType {
1160
1160
 
1161
1161
 
1162
1162
  export const XmlSchemaSimpleType: {
1163
- new(): XmlSchemaSimpleType$instance;
1163
+ new(): XmlSchemaSimpleType;
1164
1164
  };
1165
1165
 
1166
1166
 
@@ -1177,42 +1177,42 @@ export const XmlSchemaSimpleTypeContent: {
1177
1177
  export type XmlSchemaSimpleTypeContent = XmlSchemaSimpleTypeContent$instance;
1178
1178
 
1179
1179
  export interface XmlSchemaSimpleTypeList$instance extends XmlSchemaSimpleTypeContent {
1180
- baseItemType: XmlSchemaSimpleType;
1181
- itemType: XmlSchemaSimpleType;
1180
+ baseItemType: XmlSchemaSimpleType | undefined;
1181
+ itemType: XmlSchemaSimpleType | undefined;
1182
1182
  itemTypeName: XmlQualifiedName;
1183
1183
  }
1184
1184
 
1185
1185
 
1186
1186
  export const XmlSchemaSimpleTypeList: {
1187
- new(): XmlSchemaSimpleTypeList$instance;
1187
+ new(): XmlSchemaSimpleTypeList;
1188
1188
  };
1189
1189
 
1190
1190
 
1191
1191
  export type XmlSchemaSimpleTypeList = XmlSchemaSimpleTypeList$instance;
1192
1192
 
1193
1193
  export interface XmlSchemaSimpleTypeRestriction$instance extends XmlSchemaSimpleTypeContent {
1194
- baseType: XmlSchemaSimpleType;
1194
+ baseType: XmlSchemaSimpleType | undefined;
1195
1195
  baseTypeName: XmlQualifiedName;
1196
1196
  readonly facets: XmlSchemaObjectCollection;
1197
1197
  }
1198
1198
 
1199
1199
 
1200
1200
  export const XmlSchemaSimpleTypeRestriction: {
1201
- new(): XmlSchemaSimpleTypeRestriction$instance;
1201
+ new(): XmlSchemaSimpleTypeRestriction;
1202
1202
  };
1203
1203
 
1204
1204
 
1205
1205
  export type XmlSchemaSimpleTypeRestriction = XmlSchemaSimpleTypeRestriction$instance;
1206
1206
 
1207
1207
  export interface XmlSchemaSimpleTypeUnion$instance extends XmlSchemaSimpleTypeContent {
1208
- readonly baseMemberTypes: XmlSchemaSimpleType[];
1208
+ readonly baseMemberTypes: XmlSchemaSimpleType[] | undefined;
1209
1209
  readonly baseTypes: XmlSchemaObjectCollection;
1210
- memberTypes: XmlQualifiedName[];
1210
+ memberTypes: XmlQualifiedName[] | undefined;
1211
1211
  }
1212
1212
 
1213
1213
 
1214
1214
  export const XmlSchemaSimpleTypeUnion: {
1215
- new(): XmlSchemaSimpleTypeUnion$instance;
1215
+ new(): XmlSchemaSimpleTypeUnion;
1216
1216
  };
1217
1217
 
1218
1218
 
@@ -1223,16 +1223,16 @@ export interface XmlSchemaTotalDigitsFacet$instance extends XmlSchemaNumericFace
1223
1223
 
1224
1224
 
1225
1225
  export const XmlSchemaTotalDigitsFacet: {
1226
- new(): XmlSchemaTotalDigitsFacet$instance;
1226
+ new(): XmlSchemaTotalDigitsFacet;
1227
1227
  };
1228
1228
 
1229
1229
 
1230
1230
  export type XmlSchemaTotalDigitsFacet = XmlSchemaTotalDigitsFacet$instance;
1231
1231
 
1232
1232
  export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1233
- readonly baseSchemaType: unknown;
1234
- readonly baseXmlSchemaType: XmlSchemaType;
1235
- readonly datatype: XmlSchemaDatatype;
1233
+ readonly baseSchemaType: unknown | undefined;
1234
+ readonly baseXmlSchemaType: XmlSchemaType | undefined;
1235
+ readonly datatype: XmlSchemaDatatype | undefined;
1236
1236
  readonly derivedBy: XmlSchemaDerivationMethod;
1237
1237
  final: XmlSchemaDerivationMethod;
1238
1238
  readonly finalResolved: XmlSchemaDerivationMethod;
@@ -1244,12 +1244,12 @@ export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1244
1244
 
1245
1245
 
1246
1246
  export const XmlSchemaType: {
1247
- new(): XmlSchemaType$instance;
1248
- getBuiltInComplexType(typeCode: XmlTypeCode): XmlSchemaComplexType;
1249
- getBuiltInComplexType(qualifiedName: XmlQualifiedName): XmlSchemaComplexType;
1250
- getBuiltInSimpleType(typeCode: XmlTypeCode): XmlSchemaSimpleType;
1251
- getBuiltInSimpleType(qualifiedName: XmlQualifiedName): XmlSchemaSimpleType;
1252
- isDerivedFrom(derivedType: XmlSchemaType, baseType: XmlSchemaType, except: XmlSchemaDerivationMethod): boolean;
1247
+ new(): XmlSchemaType;
1248
+ getBuiltInComplexType(typeCode: XmlTypeCode): XmlSchemaComplexType | undefined;
1249
+ getBuiltInComplexType(qualifiedName: XmlQualifiedName | undefined): XmlSchemaComplexType | undefined;
1250
+ getBuiltInSimpleType(typeCode: XmlTypeCode): XmlSchemaSimpleType | undefined;
1251
+ getBuiltInSimpleType(qualifiedName: XmlQualifiedName | undefined): XmlSchemaSimpleType | undefined;
1252
+ isDerivedFrom(derivedType: XmlSchemaType | undefined, baseType: XmlSchemaType | undefined, except: XmlSchemaDerivationMethod): boolean;
1253
1253
  };
1254
1254
 
1255
1255
 
@@ -1260,23 +1260,23 @@ export interface XmlSchemaUnique$instance extends XmlSchemaIdentityConstraint {
1260
1260
 
1261
1261
 
1262
1262
  export const XmlSchemaUnique: {
1263
- new(): XmlSchemaUnique$instance;
1263
+ new(): XmlSchemaUnique;
1264
1264
  };
1265
1265
 
1266
1266
 
1267
1267
  export type XmlSchemaUnique = XmlSchemaUnique$instance;
1268
1268
 
1269
1269
  export interface XmlSchemaValidationException$instance extends XmlSchemaException$instance {
1270
- readonly sourceObject: unknown;
1271
- getObjectData(info: SerializationInfo, context: StreamingContext): void;
1270
+ readonly sourceObject: unknown | undefined;
1271
+ getObjectData(info: SerializationInfo | undefined, context: StreamingContext): void;
1272
1272
  }
1273
1273
 
1274
1274
 
1275
1275
  export const XmlSchemaValidationException: {
1276
- new(): XmlSchemaValidationException$instance;
1277
- new(message: string): XmlSchemaValidationException$instance;
1278
- new(message: string, innerException: Exception): XmlSchemaValidationException$instance;
1279
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): XmlSchemaValidationException$instance;
1276
+ new(): XmlSchemaValidationException;
1277
+ new(message: string | undefined): XmlSchemaValidationException;
1278
+ new(message: string | undefined, innerException: Exception | undefined): XmlSchemaValidationException;
1279
+ new(message: string | undefined, innerException: Exception | undefined, lineNumber: int, linePosition: int): XmlSchemaValidationException;
1280
1280
  };
1281
1281
 
1282
1282
 
@@ -1289,7 +1289,7 @@ export type XmlSchemaValidationException = XmlSchemaValidationException$instance
1289
1289
 
1290
1290
  export interface XmlSchemaValidator$instance {
1291
1291
  lineInfoProvider: IXmlLineInfo;
1292
- sourceUri: Uri;
1292
+ sourceUri: Uri | undefined;
1293
1293
  validationEventSender: unknown;
1294
1294
  xmlResolver: XmlResolver;
1295
1295
  addSchema(schema: XmlSchema): void;
@@ -1300,9 +1300,9 @@ export interface XmlSchemaValidator$instance {
1300
1300
  initialize(): void;
1301
1301
  initialize(partialValidationType: XmlSchemaObject): void;
1302
1302
  skipToEndElement(schemaInfo: XmlSchemaInfo): void;
1303
- validateAttribute(localName: string, namespaceUri: string, attributeValue: string, schemaInfo: XmlSchemaInfo): unknown;
1304
- validateAttribute(localName: string, namespaceUri: string, attributeValue: XmlValueGetter, schemaInfo: XmlSchemaInfo): unknown;
1305
- validateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo): void;
1303
+ validateAttribute(localName: string, namespaceUri: string, attributeValue: string, schemaInfo: XmlSchemaInfo | undefined): unknown | undefined;
1304
+ validateAttribute(localName: string, namespaceUri: string, attributeValue: XmlValueGetter, schemaInfo: XmlSchemaInfo | undefined): unknown | undefined;
1305
+ validateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo | undefined): void;
1306
1306
  validateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo, xsiType: string, xsiNil: string, xsiSchemaLocation: string, xsiNoNamespaceSchemaLocation: string): void;
1307
1307
  validateEndElement(schemaInfo: XmlSchemaInfo): unknown;
1308
1308
  validateEndElement(schemaInfo: XmlSchemaInfo, typedValue: unknown): unknown;
@@ -1315,7 +1315,7 @@ export interface XmlSchemaValidator$instance {
1315
1315
 
1316
1316
 
1317
1317
  export const XmlSchemaValidator: {
1318
- new(nameTable: XmlNameTable, schemas: XmlSchemaSet, namespaceResolver: IXmlNamespaceResolver, validationFlags: XmlSchemaValidationFlags): XmlSchemaValidator$instance;
1318
+ new(nameTable: XmlNameTable, schemas: XmlSchemaSet, namespaceResolver: IXmlNamespaceResolver, validationFlags: XmlSchemaValidationFlags): XmlSchemaValidator;
1319
1319
  };
1320
1320
 
1321
1321
 
@@ -1326,33 +1326,33 @@ export interface XmlSchemaWhiteSpaceFacet$instance extends XmlSchemaFacet {
1326
1326
 
1327
1327
 
1328
1328
  export const XmlSchemaWhiteSpaceFacet: {
1329
- new(): XmlSchemaWhiteSpaceFacet$instance;
1329
+ new(): XmlSchemaWhiteSpaceFacet;
1330
1330
  };
1331
1331
 
1332
1332
 
1333
1333
  export type XmlSchemaWhiteSpaceFacet = XmlSchemaWhiteSpaceFacet$instance;
1334
1334
 
1335
1335
  export interface XmlSchemaXPath$instance extends XmlSchemaAnnotated {
1336
- xPath: string;
1336
+ xPath: string | undefined;
1337
1337
  }
1338
1338
 
1339
1339
 
1340
1340
  export const XmlSchemaXPath: {
1341
- new(): XmlSchemaXPath$instance;
1341
+ new(): XmlSchemaXPath;
1342
1342
  };
1343
1343
 
1344
1344
 
1345
1345
  export type XmlSchemaXPath = XmlSchemaXPath$instance;
1346
1346
 
1347
1347
  export abstract class Extensions$instance {
1348
- static getSchemaInfo(source: XAttribute): IXmlSchemaInfo;
1349
- static getSchemaInfo(source: XElement): IXmlSchemaInfo;
1350
- static validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1351
- static validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1352
- static validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1353
- static validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1354
- static validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1355
- static validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1348
+ static getSchemaInfo(source: XAttribute): IXmlSchemaInfo | undefined;
1349
+ static getSchemaInfo(source: XElement): IXmlSchemaInfo | undefined;
1350
+ static validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | undefined, addSchemaInfo: boolean): void;
1351
+ static validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | undefined): void;
1352
+ static validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | undefined, addSchemaInfo: boolean): void;
1353
+ static validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | undefined): void;
1354
+ static validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | undefined, addSchemaInfo: boolean): void;
1355
+ static validate(source: XElement, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler | undefined): void;
1356
1356
  }
1357
1357
 
1358
1358