@tsonic/dotnet 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  5. package/Microsoft.Win32/internal/index.d.ts +11 -11
  6. package/System/bindings.json +114 -114
  7. package/System/internal/index.d.ts +994 -1006
  8. package/System/internal/metadata.json +73 -73
  9. package/System.Buffers/internal/index.d.ts +3 -3
  10. package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
  11. package/System.Collections/internal/index.d.ts +26 -28
  12. package/System.Collections.Concurrent/internal/index.d.ts +10 -10
  13. package/System.Collections.Frozen/bindings.json +20 -20
  14. package/System.Collections.Frozen/internal/index.d.ts +6 -6
  15. package/System.Collections.Frozen/internal/metadata.json +10 -10
  16. package/System.Collections.Generic/bindings.json +44 -20
  17. package/System.Collections.Generic/internal/index.d.ts +68 -60
  18. package/System.Collections.Generic/internal/metadata.json +26 -10
  19. package/System.Collections.Immutable/internal/index.d.ts +99 -99
  20. package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
  21. package/System.Collections.Specialized/internal/index.d.ts +63 -65
  22. package/System.ComponentModel/internal/index.d.ts +428 -430
  23. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
  24. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
  25. package/System.ComponentModel.Design/internal/index.d.ts +72 -72
  26. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
  27. package/System.Data/internal/index.d.ts +168 -168
  28. package/System.Data.Common/internal/index.d.ts +48 -48
  29. package/System.Data.SqlTypes/internal/index.d.ts +21 -21
  30. package/System.Diagnostics/internal/index.d.ts +262 -262
  31. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
  32. package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
  33. package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
  34. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  35. package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
  36. package/System.Drawing/internal/index.d.ts +77 -77
  37. package/System.Dynamic/internal/index.d.ts +27 -27
  38. package/System.Formats.Asn1/internal/index.d.ts +4 -4
  39. package/System.Formats.Tar/internal/index.d.ts +3 -3
  40. package/System.Globalization/internal/index.d.ts +18 -18
  41. package/System.IO/internal/index.d.ts +107 -107
  42. package/System.IO.Compression/internal/index.d.ts +25 -25
  43. package/System.IO.Enumeration/internal/index.d.ts +5 -5
  44. package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
  45. package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
  46. package/System.IO.Pipelines/internal/index.d.ts +5 -5
  47. package/System.IO.Pipes/internal/index.d.ts +4 -4
  48. package/System.Linq/internal/index.d.ts +180 -180
  49. package/System.Linq.Expressions/internal/index.d.ts +169 -169
  50. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  51. package/System.Net/internal/index.d.ts +151 -153
  52. package/System.Net.Cache/internal/index.d.ts +2 -2
  53. package/System.Net.Http/internal/index.d.ts +58 -58
  54. package/System.Net.Http.Headers/internal/index.d.ts +48 -48
  55. package/System.Net.Http.Json/internal/index.d.ts +58 -58
  56. package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
  57. package/System.Net.Mail/internal/index.d.ts +72 -72
  58. package/System.Net.Mime/internal/index.d.ts +2 -2
  59. package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
  60. package/System.Net.Quic/internal/index.d.ts +4 -4
  61. package/System.Net.Security/internal/index.d.ts +52 -52
  62. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
  63. package/System.Net.Sockets/internal/index.d.ts +41 -41
  64. package/System.Net.WebSockets/internal/index.d.ts +34 -34
  65. package/System.Numerics/bindings.json +384 -0
  66. package/System.Numerics/internal/index.d.ts +91 -93
  67. package/System.Numerics/internal/metadata.json +256 -0
  68. package/System.Reflection/internal/index.d.ts +219 -219
  69. package/System.Reflection.Emit/internal/index.d.ts +118 -118
  70. package/System.Reflection.Metadata/bindings.json +48 -0
  71. package/System.Reflection.Metadata/internal/index.d.ts +14 -14
  72. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  73. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
  74. package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
  75. package/System.Resources/internal/index.d.ts +24 -24
  76. package/System.Runtime/internal/index.d.ts +5 -5
  77. package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
  78. package/System.Runtime.InteropServices/bindings.json +22 -22
  79. package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
  80. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  81. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
  82. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
  83. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
  84. package/System.Runtime.Loader/internal/index.d.ts +6 -6
  85. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  86. package/System.Runtime.Serialization/internal/index.d.ts +77 -79
  87. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
  88. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  89. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
  90. package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
  91. package/System.Runtime.Versioning/internal/index.d.ts +9 -9
  92. package/System.Security/internal/index.d.ts +49 -49
  93. package/System.Security.AccessControl/internal/index.d.ts +31 -31
  94. package/System.Security.Authentication/internal/index.d.ts +4 -4
  95. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
  96. package/System.Security.Claims/internal/index.d.ts +23 -25
  97. package/System.Security.Cryptography/internal/index.d.ts +189 -189
  98. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
  99. package/System.Security.Policy/internal/index.d.ts +2 -2
  100. package/System.Security.Principal/internal/index.d.ts +9 -11
  101. package/System.Text/internal/index.d.ts +51 -51
  102. package/System.Text.Json/internal/index.d.ts +83 -83
  103. package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
  104. package/System.Text.Json.Schema/internal/index.d.ts +5 -5
  105. package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
  106. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
  107. package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
  108. package/System.Text.Unicode/internal/index.d.ts +4 -4
  109. package/System.Threading/internal/index.d.ts +87 -87
  110. package/System.Threading.Channels/internal/index.d.ts +8 -8
  111. package/System.Threading.Tasks/internal/index.d.ts +84 -94
  112. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
  113. package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
  114. package/System.Timers/internal/index.d.ts +3 -3
  115. package/System.Transactions/internal/index.d.ts +20 -20
  116. package/System.Web/internal/index.d.ts +31 -31
  117. package/System.Windows.Input/internal/index.d.ts +2 -2
  118. package/System.Xml/internal/index.d.ts +215 -215
  119. package/System.Xml.Linq/internal/index.d.ts +51 -51
  120. package/System.Xml.Resolvers/internal/index.d.ts +4 -4
  121. package/System.Xml.Schema/internal/index.d.ts +105 -105
  122. package/System.Xml.Serialization/internal/index.d.ts +136 -136
  123. package/System.Xml.XPath/internal/index.d.ts +19 -19
  124. package/System.Xml.Xsl/internal/index.d.ts +41 -41
  125. package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
  126. package/__internal/extensions/index.d.ts +415 -414
  127. package/package.json +1 -1
@@ -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
 
@@ -201,10 +201,10 @@ 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
 
@@ -236,17 +236,17 @@ 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
 
@@ -275,9 +275,9 @@ export const XmlSchemaAll: {
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
 
@@ -291,7 +291,7 @@ 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
 
@@ -329,7 +329,7 @@ export const XmlSchemaAnyAttribute: {
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
 
@@ -342,15 +342,15 @@ export const XmlSchemaAppInfo: {
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
  }
@@ -364,11 +364,11 @@ export const XmlSchemaAttribute: {
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
 
@@ -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;
@@ -435,7 +435,7 @@ 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
  }
@@ -479,10 +479,10 @@ export const XmlSchemaComplexContent: {
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
 
@@ -494,10 +494,10 @@ export const XmlSchemaComplexContentExtension: {
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
 
@@ -509,18 +509,18 @@ export const XmlSchemaComplexContentRestriction: {
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
 
@@ -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,8 +571,8 @@ 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
 
@@ -589,18 +589,18 @@ 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
  }
@@ -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
638
  new(): XmlSchemaException;
639
- new(message: string): XmlSchemaException;
640
- new(message: string, innerException: Exception): XmlSchemaException;
641
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): 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
 
@@ -688,7 +688,7 @@ 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
 
@@ -712,7 +712,7 @@ 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
 
@@ -728,7 +728,7 @@ 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
 
@@ -740,7 +740,7 @@ export const XmlSchemaIdentityConstraint: {
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
 
@@ -753,7 +753,7 @@ export const XmlSchemaImport: {
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
 
@@ -787,8 +787,8 @@ export interface XmlSchemaInferenceException$instance extends XmlSchemaException
787
787
  export const XmlSchemaInferenceException: {
788
788
  new(): XmlSchemaInferenceException;
789
789
  new(message: string): XmlSchemaInferenceException;
790
- new(message: string, innerException: Exception): XmlSchemaInferenceException;
791
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): 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,10 +803,10 @@ 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
 
@@ -925,8 +925,8 @@ 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
 
@@ -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,14 +964,14 @@ 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
 
@@ -992,7 +992,7 @@ 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
  }
@@ -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;
@@ -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
 
@@ -1091,16 +1091,16 @@ 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
 
@@ -1125,7 +1125,7 @@ export const XmlSchemaSimpleContent: {
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
  }
@@ -1139,9 +1139,9 @@ export const XmlSchemaSimpleContentExtension: {
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
  }
@@ -1177,8 +1177,8 @@ 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
 
@@ -1191,7 +1191,7 @@ export const XmlSchemaSimpleTypeList: {
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
  }
@@ -1205,9 +1205,9 @@ export const XmlSchemaSimpleTypeRestriction: {
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
 
@@ -1230,9 +1230,9 @@ export const XmlSchemaTotalDigitsFacet: {
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;
@@ -1245,11 +1245,11 @@ export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1245
1245
 
1246
1246
  export const XmlSchemaType: {
1247
1247
  new(): XmlSchemaType;
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;
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
 
@@ -1267,16 +1267,16 @@ export const XmlSchemaUnique: {
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
1276
  new(): XmlSchemaValidationException;
1277
- new(message: string): XmlSchemaValidationException;
1278
- new(message: string, innerException: Exception): XmlSchemaValidationException;
1279
- new(message: string, innerException: Exception, lineNumber: int, linePosition: int): 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;
@@ -1333,7 +1333,7 @@ export const XmlSchemaWhiteSpaceFacet: {
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
 
@@ -1345,14 +1345,14 @@ export const XmlSchemaXPath: {
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