@tsonic/dotnet 0.8.1 → 0.8.3

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 (105) hide show
  1. package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
  2. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
  3. package/Microsoft.Win32/internal/index.d.ts +9 -9
  4. package/System/bindings.json +114 -114
  5. package/System/internal/index.d.ts +156 -154
  6. package/System/internal/metadata.json +73 -73
  7. package/System.Buffers/internal/index.d.ts +1 -1
  8. package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
  9. package/System.Collections/internal/index.d.ts +12 -8
  10. package/System.Collections.Generic/internal/index.d.ts +22 -14
  11. package/System.Collections.Immutable/internal/index.d.ts +11 -11
  12. package/System.Collections.Specialized/internal/index.d.ts +20 -18
  13. package/System.ComponentModel/internal/index.d.ts +219 -209
  14. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
  15. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
  16. package/System.ComponentModel.Design/internal/index.d.ts +40 -40
  17. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
  18. package/System.Data/internal/index.d.ts +54 -46
  19. package/System.Data.Common/internal/index.d.ts +52 -44
  20. package/System.Data.SqlTypes/internal/index.d.ts +2 -2
  21. package/System.Diagnostics/internal/index.d.ts +85 -63
  22. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
  23. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
  24. package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
  25. package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
  26. package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
  27. package/System.Drawing/internal/index.d.ts +33 -33
  28. package/System.Dynamic/internal/index.d.ts +1 -1
  29. package/System.Formats.Tar/internal/index.d.ts +3 -2
  30. package/System.Globalization/internal/index.d.ts +8 -6
  31. package/System.IO/internal/index.d.ts +30 -27
  32. package/System.IO.Compression/internal/index.d.ts +1 -1
  33. package/System.IO.Enumeration/internal/index.d.ts +4 -2
  34. package/System.Linq/internal/index.d.ts +63 -63
  35. package/System.Linq.Expressions/internal/index.d.ts +13 -13
  36. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  37. package/System.Net/internal/index.d.ts +87 -63
  38. package/System.Net.Http/internal/index.d.ts +37 -21
  39. package/System.Net.Http.Headers/internal/index.d.ts +37 -20
  40. package/System.Net.Http.Json/internal/index.d.ts +39 -39
  41. package/System.Net.Mail/internal/index.d.ts +22 -12
  42. package/System.Net.Mime/internal/index.d.ts +4 -2
  43. package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
  44. package/System.Net.Quic/internal/index.d.ts +3 -2
  45. package/System.Net.Security/internal/index.d.ts +38 -22
  46. package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
  47. package/System.Net.Sockets/internal/index.d.ts +23 -16
  48. package/System.Net.WebSockets/internal/index.d.ts +17 -11
  49. package/System.Numerics/bindings.json +408 -0
  50. package/System.Numerics/internal/metadata.json +272 -0
  51. package/System.Reflection/internal/index.d.ts +185 -182
  52. package/System.Reflection.Emit/internal/index.d.ts +82 -82
  53. package/System.Reflection.Metadata/bindings.json +48 -0
  54. package/System.Reflection.Metadata/internal/index.d.ts +5 -5
  55. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  56. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
  57. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  58. package/System.Resources/internal/index.d.ts +13 -12
  59. package/System.Runtime/internal/index.d.ts +2 -1
  60. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
  61. package/System.Runtime.InteropServices/bindings.json +22 -22
  62. package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
  63. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  64. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
  65. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
  66. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
  67. package/System.Runtime.Loader/internal/index.d.ts +4 -4
  68. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  69. package/System.Runtime.Serialization/internal/index.d.ts +53 -43
  70. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
  71. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
  72. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
  73. package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
  74. package/System.Runtime.Versioning/internal/index.d.ts +6 -3
  75. package/System.Security/internal/index.d.ts +35 -25
  76. package/System.Security.AccessControl/internal/index.d.ts +14 -10
  77. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
  78. package/System.Security.Claims/internal/index.d.ts +16 -12
  79. package/System.Security.Cryptography/internal/index.d.ts +80 -66
  80. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
  81. package/System.Security.Permissions/internal/index.d.ts +2 -2
  82. package/System.Security.Policy/internal/index.d.ts +2 -2
  83. package/System.Security.Principal/internal/index.d.ts +8 -10
  84. package/System.Text/internal/index.d.ts +13 -11
  85. package/System.Text.Json/internal/index.d.ts +67 -61
  86. package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
  87. package/System.Text.Json.Schema/internal/index.d.ts +4 -3
  88. package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
  89. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
  90. package/System.Threading/internal/index.d.ts +16 -15
  91. package/System.Threading.Tasks/internal/index.d.ts +4 -14
  92. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
  93. package/System.Timers/internal/index.d.ts +4 -2
  94. package/System.Transactions/internal/index.d.ts +8 -6
  95. package/System.Web/internal/index.d.ts +24 -24
  96. package/System.Xml/internal/index.d.ts +100 -99
  97. package/System.Xml.Linq/internal/index.d.ts +16 -15
  98. package/System.Xml.Resolvers/internal/index.d.ts +1 -1
  99. package/System.Xml.Schema/internal/index.d.ts +129 -84
  100. package/System.Xml.Serialization/internal/index.d.ts +68 -47
  101. package/System.Xml.XPath/internal/index.d.ts +10 -10
  102. package/System.Xml.Xsl/internal/index.d.ts +7 -7
  103. package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
  104. package/__internal/extensions/index.d.ts +177 -176
  105. package/package.json +1 -1
@@ -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,7 +201,7 @@ 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
207
  valueAs(type_: Type, nsResolver: IXmlNamespaceResolver): unknown;
@@ -236,8 +236,10 @@ 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
+ get targetNamespace(): string | undefined;
240
+ set targetNamespace(value: string);
241
+ get unhandledAttributes(): XmlAttribute[] | undefined;
242
+ set unhandledAttributes(value: XmlAttribute[]);
241
243
  version: string;
242
244
  compile(validationEventHandler: ValidationEventHandler): void;
243
245
  compile(validationEventHandler: ValidationEventHandler, resolver: XmlResolver): void;
@@ -254,9 +256,9 @@ export const XmlSchema: {
254
256
  new(): XmlSchema;
255
257
  readonly namespace_: string;
256
258
  readonly instanceNamespace: string;
257
- read(stream: Stream, validationEventHandler: ValidationEventHandler): XmlSchema;
258
- read(reader: TextReader, validationEventHandler: ValidationEventHandler): XmlSchema;
259
- read(reader: XmlReader, validationEventHandler: ValidationEventHandler): XmlSchema;
259
+ read(stream: Stream, validationEventHandler: ValidationEventHandler): XmlSchema | undefined;
260
+ read(reader: TextReader, validationEventHandler: ValidationEventHandler): XmlSchema | undefined;
261
+ read(reader: XmlReader, validationEventHandler: ValidationEventHandler): XmlSchema | undefined;
260
262
  };
261
263
 
262
264
 
@@ -275,9 +277,11 @@ export const XmlSchemaAll: {
275
277
  export type XmlSchemaAll = XmlSchemaAll$instance;
276
278
 
277
279
  export interface XmlSchemaAnnotated$instance extends XmlSchemaObject {
278
- annotation: XmlSchemaAnnotation;
280
+ get annotation(): XmlSchemaAnnotation | undefined;
281
+ set annotation(value: XmlSchemaAnnotation);
279
282
  id: string;
280
- unhandledAttributes: XmlAttribute[];
283
+ get unhandledAttributes(): XmlAttribute[] | undefined;
284
+ set unhandledAttributes(value: XmlAttribute[]);
281
285
  }
282
286
 
283
287
 
@@ -291,7 +295,8 @@ export type XmlSchemaAnnotated = XmlSchemaAnnotated$instance;
291
295
  export interface XmlSchemaAnnotation$instance extends XmlSchemaObject {
292
296
  id: string;
293
297
  readonly items: XmlSchemaObjectCollection;
294
- unhandledAttributes: XmlAttribute[];
298
+ get unhandledAttributes(): XmlAttribute[] | undefined;
299
+ set unhandledAttributes(value: XmlAttribute[]);
295
300
  }
296
301
 
297
302
 
@@ -329,7 +334,8 @@ export const XmlSchemaAnyAttribute: {
329
334
  export type XmlSchemaAnyAttribute = XmlSchemaAnyAttribute$instance;
330
335
 
331
336
  export interface XmlSchemaAppInfo$instance extends XmlSchemaObject {
332
- markup: XmlNode[];
337
+ get markup(): (XmlNode | undefined)[] | undefined;
338
+ set markup(value: (XmlNode | undefined)[]);
333
339
  source: string;
334
340
  }
335
341
 
@@ -342,15 +348,17 @@ export const XmlSchemaAppInfo: {
342
348
  export type XmlSchemaAppInfo = XmlSchemaAppInfo$instance;
343
349
 
344
350
  export interface XmlSchemaAttribute$instance extends XmlSchemaAnnotated {
345
- readonly attributeSchemaType: XmlSchemaSimpleType;
351
+ readonly attributeSchemaType: XmlSchemaSimpleType | undefined;
346
352
  readonly attributeType: unknown;
347
353
  defaultValue: string;
348
- fixedValue: string;
354
+ get fixedValue(): string | undefined;
355
+ set fixedValue(value: string);
349
356
  form: XmlSchemaForm;
350
357
  name: string;
351
358
  readonly qualifiedName: XmlQualifiedName;
352
359
  refName: XmlQualifiedName;
353
- schemaType: XmlSchemaSimpleType;
360
+ get schemaType(): XmlSchemaSimpleType | undefined;
361
+ set schemaType(value: XmlSchemaSimpleType);
354
362
  schemaTypeName: XmlQualifiedName;
355
363
  use: XmlSchemaUse;
356
364
  }
@@ -364,11 +372,12 @@ export const XmlSchemaAttribute: {
364
372
  export type XmlSchemaAttribute = XmlSchemaAttribute$instance;
365
373
 
366
374
  export interface XmlSchemaAttributeGroup$instance extends XmlSchemaAnnotated {
367
- anyAttribute: XmlSchemaAnyAttribute;
375
+ get anyAttribute(): XmlSchemaAnyAttribute | undefined;
376
+ set anyAttribute(value: XmlSchemaAnyAttribute);
368
377
  readonly attributes: XmlSchemaObjectCollection;
369
378
  name: string;
370
379
  readonly qualifiedName: XmlQualifiedName;
371
- readonly redefinedAttributeGroup: XmlSchemaAttributeGroup;
380
+ readonly redefinedAttributeGroup: XmlSchemaAttributeGroup | undefined;
372
381
  }
373
382
 
374
383
 
@@ -408,10 +417,10 @@ export interface XmlSchemaCollection$instance {
408
417
  readonly item: XmlSchema;
409
418
  readonly nameTable: XmlNameTable;
410
419
  add(ns: string, uri: string): XmlSchema;
411
- add(ns: string, reader: XmlReader): XmlSchema;
412
- add(ns: string, reader: XmlReader, resolver: XmlResolver): XmlSchema;
413
- add(schema: XmlSchema): XmlSchema;
414
- add(schema: XmlSchema, resolver: XmlResolver): XmlSchema;
420
+ add(ns: string, reader: XmlReader): XmlSchema | undefined;
421
+ add(ns: string, reader: XmlReader, resolver: XmlResolver): XmlSchema | undefined;
422
+ add(schema: XmlSchema): XmlSchema | undefined;
423
+ add(schema: XmlSchema, resolver: XmlResolver): XmlSchema | undefined;
415
424
  add(schema: XmlSchemaCollection): void;
416
425
  contains(schema: XmlSchema): boolean;
417
426
  contains(ns: string): boolean;
@@ -435,7 +444,7 @@ export type XmlSchemaCollection = XmlSchemaCollection$instance & __XmlSchemaColl
435
444
 
436
445
 
437
446
  export interface XmlSchemaCollectionEnumerator$instance {
438
- readonly current: unknown | XmlSchema;
447
+ readonly current: XmlSchema;
439
448
  moveNext(): boolean;
440
449
  reset(): void;
441
450
  }
@@ -479,10 +488,12 @@ export const XmlSchemaComplexContent: {
479
488
  export type XmlSchemaComplexContent = XmlSchemaComplexContent$instance;
480
489
 
481
490
  export interface XmlSchemaComplexContentExtension$instance extends XmlSchemaContent {
482
- anyAttribute: XmlSchemaAnyAttribute;
491
+ get anyAttribute(): XmlSchemaAnyAttribute | undefined;
492
+ set anyAttribute(value: XmlSchemaAnyAttribute);
483
493
  readonly attributes: XmlSchemaObjectCollection;
484
494
  baseTypeName: XmlQualifiedName;
485
- particle: XmlSchemaParticle;
495
+ get particle(): XmlSchemaParticle | undefined;
496
+ set particle(value: XmlSchemaParticle);
486
497
  }
487
498
 
488
499
 
@@ -494,10 +505,12 @@ export const XmlSchemaComplexContentExtension: {
494
505
  export type XmlSchemaComplexContentExtension = XmlSchemaComplexContentExtension$instance;
495
506
 
496
507
  export interface XmlSchemaComplexContentRestriction$instance extends XmlSchemaContent {
497
- anyAttribute: XmlSchemaAnyAttribute;
508
+ get anyAttribute(): XmlSchemaAnyAttribute | undefined;
509
+ set anyAttribute(value: XmlSchemaAnyAttribute);
498
510
  readonly attributes: XmlSchemaObjectCollection;
499
511
  baseTypeName: XmlQualifiedName;
500
- particle: XmlSchemaParticle;
512
+ get particle(): XmlSchemaParticle | undefined;
513
+ set particle(value: XmlSchemaParticle);
501
514
  }
502
515
 
503
516
 
@@ -509,18 +522,21 @@ export const XmlSchemaComplexContentRestriction: {
509
522
  export type XmlSchemaComplexContentRestriction = XmlSchemaComplexContentRestriction$instance;
510
523
 
511
524
  export interface XmlSchemaComplexType$instance extends XmlSchemaType {
512
- anyAttribute: XmlSchemaAnyAttribute;
525
+ get anyAttribute(): XmlSchemaAnyAttribute | undefined;
526
+ set anyAttribute(value: XmlSchemaAnyAttribute);
513
527
  readonly attributes: XmlSchemaObjectCollection;
514
528
  readonly attributeUses: XmlSchemaObjectTable;
515
- readonly attributeWildcard: XmlSchemaAnyAttribute;
529
+ readonly attributeWildcard: XmlSchemaAnyAttribute | undefined;
516
530
  block: XmlSchemaDerivationMethod;
517
531
  readonly blockResolved: XmlSchemaDerivationMethod;
518
- contentModel: XmlSchemaContentModel;
532
+ get contentModel(): XmlSchemaContentModel | undefined;
533
+ set contentModel(value: XmlSchemaContentModel);
519
534
  readonly contentType: XmlSchemaContentType;
520
535
  readonly contentTypeParticle: XmlSchemaParticle;
521
536
  isAbstract: boolean;
522
537
  isMixed: boolean;
523
- particle: XmlSchemaParticle;
538
+ get particle(): XmlSchemaParticle | undefined;
539
+ set particle(value: XmlSchemaParticle);
524
540
  }
525
541
 
526
542
 
@@ -571,8 +587,10 @@ export const XmlSchemaDatatype: {
571
587
  export type XmlSchemaDatatype = XmlSchemaDatatype$instance;
572
588
 
573
589
  export interface XmlSchemaDocumentation$instance extends XmlSchemaObject {
574
- language: string;
575
- markup: XmlNode[];
590
+ get language(): string | undefined;
591
+ set language(value: string);
592
+ get markup(): (XmlNode | undefined)[] | undefined;
593
+ set markup(value: (XmlNode | undefined)[]);
576
594
  source: string;
577
595
  }
578
596
 
@@ -589,18 +607,20 @@ export interface XmlSchemaElement$instance extends XmlSchemaParticle {
589
607
  readonly blockResolved: XmlSchemaDerivationMethod;
590
608
  readonly constraints: XmlSchemaObjectCollection;
591
609
  defaultValue: string;
592
- readonly elementSchemaType: XmlSchemaType;
610
+ readonly elementSchemaType: XmlSchemaType | undefined;
593
611
  readonly elementType: unknown;
594
612
  final: XmlSchemaDerivationMethod;
595
613
  readonly finalResolved: XmlSchemaDerivationMethod;
596
- fixedValue: string;
614
+ get fixedValue(): string | undefined;
615
+ set fixedValue(value: string);
597
616
  form: XmlSchemaForm;
598
617
  isAbstract: boolean;
599
618
  isNillable: boolean;
600
619
  name: string;
601
620
  readonly qualifiedName: XmlQualifiedName;
602
621
  refName: XmlQualifiedName;
603
- schemaType: XmlSchemaType;
622
+ get schemaType(): XmlSchemaType | undefined;
623
+ set schemaType(value: XmlSchemaType);
604
624
  schemaTypeName: XmlQualifiedName;
605
625
  substitutionGroup: XmlQualifiedName;
606
626
  }
@@ -628,8 +648,8 @@ export interface XmlSchemaException$instance extends SystemException {
628
648
  readonly lineNumber: int;
629
649
  readonly linePosition: int;
630
650
  readonly message: string;
631
- readonly sourceSchemaObject: XmlSchemaObject;
632
- readonly sourceUri: string;
651
+ readonly sourceSchemaObject: XmlSchemaObject | undefined;
652
+ readonly sourceUri: string | undefined;
633
653
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
634
654
  }
635
655
 
@@ -651,9 +671,12 @@ export type XmlSchemaException = XmlSchemaException$instance & __XmlSchemaExcept
651
671
 
652
672
  export interface XmlSchemaExternal$instance extends XmlSchemaObject {
653
673
  id: string;
654
- schema: XmlSchema;
655
- schemaLocation: string;
656
- unhandledAttributes: XmlAttribute[];
674
+ get schema(): XmlSchema | undefined;
675
+ set schema(value: XmlSchema);
676
+ get schemaLocation(): string | undefined;
677
+ set schemaLocation(value: string);
678
+ get unhandledAttributes(): XmlAttribute[] | undefined;
679
+ set unhandledAttributes(value: XmlAttribute[]);
657
680
  }
658
681
 
659
682
 
@@ -688,7 +711,8 @@ export type XmlSchemaFractionDigitsFacet = XmlSchemaFractionDigitsFacet$instance
688
711
 
689
712
  export interface XmlSchemaGroup$instance extends XmlSchemaAnnotated {
690
713
  name: string;
691
- particle: XmlSchemaGroupBase;
714
+ get particle(): XmlSchemaGroupBase | undefined;
715
+ set particle(value: XmlSchemaGroupBase);
692
716
  readonly qualifiedName: XmlQualifiedName;
693
717
  }
694
718
 
@@ -712,7 +736,7 @@ export const XmlSchemaGroupBase: {
712
736
  export type XmlSchemaGroupBase = XmlSchemaGroupBase$instance;
713
737
 
714
738
  export interface XmlSchemaGroupRef$instance extends XmlSchemaParticle {
715
- readonly particle: XmlSchemaGroupBase;
739
+ readonly particle: XmlSchemaGroupBase | undefined;
716
740
  refName: XmlQualifiedName;
717
741
  }
718
742
 
@@ -728,7 +752,8 @@ export interface XmlSchemaIdentityConstraint$instance extends XmlSchemaAnnotated
728
752
  readonly fields: XmlSchemaObjectCollection;
729
753
  name: string;
730
754
  readonly qualifiedName: XmlQualifiedName;
731
- selector: XmlSchemaXPath;
755
+ get selector(): XmlSchemaXPath | undefined;
756
+ set selector(value: XmlSchemaXPath);
732
757
  }
733
758
 
734
759
 
@@ -740,7 +765,8 @@ export const XmlSchemaIdentityConstraint: {
740
765
  export type XmlSchemaIdentityConstraint = XmlSchemaIdentityConstraint$instance;
741
766
 
742
767
  export interface XmlSchemaImport$instance extends XmlSchemaExternal {
743
- annotation: XmlSchemaAnnotation;
768
+ get annotation(): XmlSchemaAnnotation | undefined;
769
+ set annotation(value: XmlSchemaAnnotation);
744
770
  namespace_: string;
745
771
  }
746
772
 
@@ -753,7 +779,8 @@ export const XmlSchemaImport: {
753
779
  export type XmlSchemaImport = XmlSchemaImport$instance;
754
780
 
755
781
  export interface XmlSchemaInclude$instance extends XmlSchemaExternal {
756
- annotation: XmlSchemaAnnotation;
782
+ get annotation(): XmlSchemaAnnotation | undefined;
783
+ set annotation(value: XmlSchemaAnnotation);
757
784
  }
758
785
 
759
786
 
@@ -803,10 +830,14 @@ export interface XmlSchemaInfo$instance {
803
830
  contentType: XmlSchemaContentType;
804
831
  isDefault: boolean;
805
832
  isNil: boolean;
806
- memberType: XmlSchemaSimpleType;
807
- schemaAttribute: XmlSchemaAttribute;
808
- schemaElement: XmlSchemaElement;
809
- schemaType: XmlSchemaType;
833
+ get memberType(): XmlSchemaSimpleType | undefined;
834
+ set memberType(value: XmlSchemaSimpleType);
835
+ get schemaAttribute(): XmlSchemaAttribute | undefined;
836
+ set schemaAttribute(value: XmlSchemaAttribute);
837
+ get schemaElement(): XmlSchemaElement | undefined;
838
+ set schemaElement(value: XmlSchemaElement);
839
+ get schemaType(): XmlSchemaType | undefined;
840
+ set schemaType(value: XmlSchemaType);
810
841
  validity: XmlSchemaValidity;
811
842
  }
812
843
 
@@ -925,8 +956,10 @@ export type XmlSchemaMinLengthFacet = XmlSchemaMinLengthFacet$instance;
925
956
 
926
957
  export interface XmlSchemaNotation$instance extends XmlSchemaAnnotated {
927
958
  name: string;
928
- public_: string;
929
- system: string;
959
+ get public_(): string | undefined;
960
+ set public_(value: string);
961
+ get system(): string | undefined;
962
+ set system(value: string);
930
963
  }
931
964
 
932
965
 
@@ -952,7 +985,8 @@ export interface XmlSchemaObject$instance {
952
985
  linePosition: int;
953
986
  namespaces: XmlSerializerNamespaces;
954
987
  parent: XmlSchemaObject;
955
- sourceUri: string;
988
+ get sourceUri(): string | undefined;
989
+ set sourceUri(value: string);
956
990
  }
957
991
 
958
992
 
@@ -992,7 +1026,7 @@ export type XmlSchemaObjectCollection = XmlSchemaObjectCollection$instance & __X
992
1026
 
993
1027
 
994
1028
  export interface XmlSchemaObjectEnumerator$instance {
995
- readonly current: unknown | XmlSchemaObject;
1029
+ readonly current: XmlSchemaObject;
996
1030
  moveNext(): boolean;
997
1031
  reset(): void;
998
1032
  }
@@ -1012,7 +1046,7 @@ export type XmlSchemaObjectEnumerator = XmlSchemaObjectEnumerator$instance & __X
1012
1046
 
1013
1047
  export interface XmlSchemaObjectTable$instance {
1014
1048
  readonly count: int;
1015
- readonly item: XmlSchemaObject;
1049
+ readonly item: XmlSchemaObject | undefined;
1016
1050
  readonly names: ICollection;
1017
1051
  readonly values: ICollection;
1018
1052
  contains(name: XmlQualifiedName): boolean;
@@ -1029,9 +1063,11 @@ export type XmlSchemaObjectTable = XmlSchemaObjectTable$instance;
1029
1063
 
1030
1064
  export interface XmlSchemaParticle$instance extends XmlSchemaAnnotated {
1031
1065
  maxOccurs: decimal;
1032
- maxOccursString: string;
1066
+ get maxOccursString(): string | undefined;
1067
+ set maxOccursString(value: string);
1033
1068
  minOccurs: decimal;
1034
- minOccursString: string;
1069
+ get minOccursString(): string | undefined;
1070
+ set minOccursString(value: string);
1035
1071
  }
1036
1072
 
1037
1073
 
@@ -1089,14 +1125,14 @@ export interface XmlSchemaSet$instance {
1089
1125
  readonly nameTable: XmlNameTable;
1090
1126
  xmlResolver: XmlResolver;
1091
1127
  add(targetNamespace: string, schemaUri: string): XmlSchema;
1092
- add(targetNamespace: string, schemaDocument: XmlReader): XmlSchema;
1128
+ add(targetNamespace: string, schemaDocument: XmlReader): XmlSchema | undefined;
1093
1129
  add(schemas: XmlSchemaSet): void;
1094
- add(schema: XmlSchema): XmlSchema;
1130
+ add(schema: XmlSchema): XmlSchema | undefined;
1095
1131
  compile(): void;
1096
1132
  contains(targetNamespace: string): boolean;
1097
1133
  contains(schema: XmlSchema): boolean;
1098
1134
  copyTo(schemas: XmlSchema[], index: int): void;
1099
- remove(schema: XmlSchema): XmlSchema;
1135
+ remove(schema: XmlSchema): XmlSchema | undefined;
1100
1136
  removeRecursive(schemaToRemove: XmlSchema): boolean;
1101
1137
  reprocess(schema: XmlSchema): XmlSchema;
1102
1138
  schemas(): ICollection;
@@ -1125,7 +1161,8 @@ export const XmlSchemaSimpleContent: {
1125
1161
  export type XmlSchemaSimpleContent = XmlSchemaSimpleContent$instance;
1126
1162
 
1127
1163
  export interface XmlSchemaSimpleContentExtension$instance extends XmlSchemaContent {
1128
- anyAttribute: XmlSchemaAnyAttribute;
1164
+ get anyAttribute(): XmlSchemaAnyAttribute | undefined;
1165
+ set anyAttribute(value: XmlSchemaAnyAttribute);
1129
1166
  readonly attributes: XmlSchemaObjectCollection;
1130
1167
  baseTypeName: XmlQualifiedName;
1131
1168
  }
@@ -1139,9 +1176,11 @@ export const XmlSchemaSimpleContentExtension: {
1139
1176
  export type XmlSchemaSimpleContentExtension = XmlSchemaSimpleContentExtension$instance;
1140
1177
 
1141
1178
  export interface XmlSchemaSimpleContentRestriction$instance extends XmlSchemaContent {
1142
- anyAttribute: XmlSchemaAnyAttribute;
1179
+ get anyAttribute(): XmlSchemaAnyAttribute | undefined;
1180
+ set anyAttribute(value: XmlSchemaAnyAttribute);
1143
1181
  readonly attributes: XmlSchemaObjectCollection;
1144
- baseType: XmlSchemaSimpleType;
1182
+ get baseType(): XmlSchemaSimpleType | undefined;
1183
+ set baseType(value: XmlSchemaSimpleType);
1145
1184
  baseTypeName: XmlQualifiedName;
1146
1185
  readonly facets: XmlSchemaObjectCollection;
1147
1186
  }
@@ -1177,8 +1216,10 @@ export const XmlSchemaSimpleTypeContent: {
1177
1216
  export type XmlSchemaSimpleTypeContent = XmlSchemaSimpleTypeContent$instance;
1178
1217
 
1179
1218
  export interface XmlSchemaSimpleTypeList$instance extends XmlSchemaSimpleTypeContent {
1180
- baseItemType: XmlSchemaSimpleType;
1181
- itemType: XmlSchemaSimpleType;
1219
+ get baseItemType(): XmlSchemaSimpleType | undefined;
1220
+ set baseItemType(value: XmlSchemaSimpleType);
1221
+ get itemType(): XmlSchemaSimpleType | undefined;
1222
+ set itemType(value: XmlSchemaSimpleType);
1182
1223
  itemTypeName: XmlQualifiedName;
1183
1224
  }
1184
1225
 
@@ -1191,7 +1232,8 @@ export const XmlSchemaSimpleTypeList: {
1191
1232
  export type XmlSchemaSimpleTypeList = XmlSchemaSimpleTypeList$instance;
1192
1233
 
1193
1234
  export interface XmlSchemaSimpleTypeRestriction$instance extends XmlSchemaSimpleTypeContent {
1194
- baseType: XmlSchemaSimpleType;
1235
+ get baseType(): XmlSchemaSimpleType | undefined;
1236
+ set baseType(value: XmlSchemaSimpleType);
1195
1237
  baseTypeName: XmlQualifiedName;
1196
1238
  readonly facets: XmlSchemaObjectCollection;
1197
1239
  }
@@ -1205,9 +1247,10 @@ export const XmlSchemaSimpleTypeRestriction: {
1205
1247
  export type XmlSchemaSimpleTypeRestriction = XmlSchemaSimpleTypeRestriction$instance;
1206
1248
 
1207
1249
  export interface XmlSchemaSimpleTypeUnion$instance extends XmlSchemaSimpleTypeContent {
1208
- readonly baseMemberTypes: XmlSchemaSimpleType[];
1250
+ readonly baseMemberTypes: XmlSchemaSimpleType[] | undefined;
1209
1251
  readonly baseTypes: XmlSchemaObjectCollection;
1210
- memberTypes: XmlQualifiedName[];
1252
+ get memberTypes(): XmlQualifiedName[] | undefined;
1253
+ set memberTypes(value: XmlQualifiedName[]);
1211
1254
  }
1212
1255
 
1213
1256
 
@@ -1230,9 +1273,9 @@ export const XmlSchemaTotalDigitsFacet: {
1230
1273
  export type XmlSchemaTotalDigitsFacet = XmlSchemaTotalDigitsFacet$instance;
1231
1274
 
1232
1275
  export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1233
- readonly baseSchemaType: unknown;
1234
- readonly baseXmlSchemaType: XmlSchemaType;
1235
- readonly datatype: XmlSchemaDatatype;
1276
+ readonly baseSchemaType: unknown | undefined;
1277
+ readonly baseXmlSchemaType: XmlSchemaType | undefined;
1278
+ readonly datatype: XmlSchemaDatatype | undefined;
1236
1279
  readonly derivedBy: XmlSchemaDerivationMethod;
1237
1280
  final: XmlSchemaDerivationMethod;
1238
1281
  readonly finalResolved: XmlSchemaDerivationMethod;
@@ -1245,10 +1288,10 @@ export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1245
1288
 
1246
1289
  export const XmlSchemaType: {
1247
1290
  new(): XmlSchemaType;
1248
- getBuiltInComplexType(typeCode: XmlTypeCode): XmlSchemaComplexType;
1249
- getBuiltInComplexType(qualifiedName: XmlQualifiedName): XmlSchemaComplexType;
1291
+ getBuiltInComplexType(typeCode: XmlTypeCode): XmlSchemaComplexType | undefined;
1292
+ getBuiltInComplexType(qualifiedName: XmlQualifiedName): XmlSchemaComplexType | undefined;
1250
1293
  getBuiltInSimpleType(typeCode: XmlTypeCode): XmlSchemaSimpleType;
1251
- getBuiltInSimpleType(qualifiedName: XmlQualifiedName): XmlSchemaSimpleType;
1294
+ getBuiltInSimpleType(qualifiedName: XmlQualifiedName): XmlSchemaSimpleType | undefined;
1252
1295
  isDerivedFrom(derivedType: XmlSchemaType, baseType: XmlSchemaType, except: XmlSchemaDerivationMethod): boolean;
1253
1296
  };
1254
1297
 
@@ -1267,7 +1310,7 @@ export const XmlSchemaUnique: {
1267
1310
  export type XmlSchemaUnique = XmlSchemaUnique$instance;
1268
1311
 
1269
1312
  export interface XmlSchemaValidationException$instance extends XmlSchemaException$instance {
1270
- readonly sourceObject: unknown;
1313
+ readonly sourceObject: unknown | undefined;
1271
1314
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
1272
1315
  }
1273
1316
 
@@ -1289,7 +1332,8 @@ export type XmlSchemaValidationException = XmlSchemaValidationException$instance
1289
1332
 
1290
1333
  export interface XmlSchemaValidator$instance {
1291
1334
  lineInfoProvider: IXmlLineInfo;
1292
- sourceUri: Uri;
1335
+ get sourceUri(): Uri | undefined;
1336
+ set sourceUri(value: Uri);
1293
1337
  validationEventSender: unknown;
1294
1338
  xmlResolver: XmlResolver;
1295
1339
  addSchema(schema: XmlSchema): void;
@@ -1300,12 +1344,12 @@ export interface XmlSchemaValidator$instance {
1300
1344
  initialize(): void;
1301
1345
  initialize(partialValidationType: XmlSchemaObject): void;
1302
1346
  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;
1347
+ validateAttribute(localName: string, namespaceUri: string, attributeValue: string, schemaInfo: XmlSchemaInfo): unknown | undefined;
1348
+ validateAttribute(localName: string, namespaceUri: string, attributeValue: XmlValueGetter, schemaInfo: XmlSchemaInfo): unknown | undefined;
1305
1349
  validateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo): void;
1306
1350
  validateElement(localName: string, namespaceUri: string, schemaInfo: XmlSchemaInfo, xsiType: string, xsiNil: string, xsiSchemaLocation: string, xsiNoNamespaceSchemaLocation: string): void;
1307
- validateEndElement(schemaInfo: XmlSchemaInfo): unknown;
1308
- validateEndElement(schemaInfo: XmlSchemaInfo, typedValue: unknown): unknown;
1351
+ validateEndElement(schemaInfo: XmlSchemaInfo): unknown | undefined;
1352
+ validateEndElement(schemaInfo: XmlSchemaInfo, typedValue: unknown): unknown | undefined;
1309
1353
  validateEndOfAttributes(schemaInfo: XmlSchemaInfo): void;
1310
1354
  validateText(elementValue: string): void;
1311
1355
  validateText(elementValue: XmlValueGetter): void;
@@ -1333,7 +1377,8 @@ export const XmlSchemaWhiteSpaceFacet: {
1333
1377
  export type XmlSchemaWhiteSpaceFacet = XmlSchemaWhiteSpaceFacet$instance;
1334
1378
 
1335
1379
  export interface XmlSchemaXPath$instance extends XmlSchemaAnnotated {
1336
- xPath: string;
1380
+ get xPath(): string | undefined;
1381
+ set xPath(value: string);
1337
1382
  }
1338
1383
 
1339
1384
 
@@ -1345,8 +1390,8 @@ export const XmlSchemaXPath: {
1345
1390
  export type XmlSchemaXPath = XmlSchemaXPath$instance;
1346
1391
 
1347
1392
  export abstract class Extensions$instance {
1348
- static getSchemaInfo(source: XAttribute): IXmlSchemaInfo;
1349
- static getSchemaInfo(source: XElement): IXmlSchemaInfo;
1393
+ static getSchemaInfo(source: XAttribute): IXmlSchemaInfo | undefined;
1394
+ static getSchemaInfo(source: XElement): IXmlSchemaInfo | undefined;
1350
1395
  static validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;
1351
1396
  static validate(source: XAttribute, partialValidationType: XmlSchemaObject, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): void;
1352
1397
  static validate(source: XDocument, schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler, addSchemaInfo: boolean): void;