@tsonic/dotnet 10.0.2 → 10.0.4

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 (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -161,7 +161,7 @@ export enum XmlTypeCode {
161
161
  export type ValidationEventHandler = (sender: unknown, e: ValidationEventArgs) => void;
162
162
 
163
163
 
164
- export type XmlValueGetter = () => unknown;
164
+ export type XmlValueGetter = () => unknown | undefined;
165
165
 
166
166
 
167
167
  export interface IXmlSchemaInfo$instance {
@@ -185,7 +185,6 @@ export interface ValidationEventArgs$instance extends EventArgs {
185
185
 
186
186
 
187
187
  export const ValidationEventArgs: {
188
- new(): ValidationEventArgs;
189
188
  };
190
189
 
191
190
 
@@ -210,7 +209,6 @@ export interface XmlAtomicValue$instance extends XPathItem {
210
209
 
211
210
 
212
211
  export const XmlAtomicValue: {
213
- new(): XmlAtomicValue;
214
212
  };
215
213
 
216
214
 
@@ -230,17 +228,19 @@ export interface XmlSchema$instance extends XmlSchemaObject {
230
228
  readonly Elements: XmlSchemaObjectTable;
231
229
  FinalDefault: XmlSchemaDerivationMethod;
232
230
  readonly Groups: XmlSchemaObjectTable;
233
- Id: string;
231
+ get Id(): string | undefined;
232
+ set Id(value: string | undefined);
234
233
  readonly Includes: XmlSchemaObjectCollection;
235
234
  readonly IsCompiled: boolean;
236
235
  readonly Items: XmlSchemaObjectCollection;
237
236
  readonly Notations: XmlSchemaObjectTable;
238
237
  readonly SchemaTypes: XmlSchemaObjectTable;
239
238
  get TargetNamespace(): string | undefined;
240
- set TargetNamespace(value: string);
239
+ set TargetNamespace(value: string | undefined);
241
240
  get UnhandledAttributes(): XmlAttribute[] | undefined;
242
- set UnhandledAttributes(value: XmlAttribute[]);
243
- Version: string;
241
+ set UnhandledAttributes(value: XmlAttribute[] | undefined);
242
+ get Version(): string | undefined;
243
+ set Version(value: string | undefined);
244
244
  Compile(validationEventHandler: ValidationEventHandler): void;
245
245
  Compile(validationEventHandler: ValidationEventHandler, resolver: XmlResolver): void;
246
246
  Write(stream: Stream): void;
@@ -278,10 +278,11 @@ export type XmlSchemaAll = XmlSchemaAll$instance;
278
278
 
279
279
  export interface XmlSchemaAnnotated$instance extends XmlSchemaObject {
280
280
  get Annotation(): XmlSchemaAnnotation | undefined;
281
- set Annotation(value: XmlSchemaAnnotation);
282
- Id: string;
281
+ set Annotation(value: XmlSchemaAnnotation | undefined);
282
+ get Id(): string | undefined;
283
+ set Id(value: string | undefined);
283
284
  get UnhandledAttributes(): XmlAttribute[] | undefined;
284
- set UnhandledAttributes(value: XmlAttribute[]);
285
+ set UnhandledAttributes(value: XmlAttribute[] | undefined);
285
286
  }
286
287
 
287
288
 
@@ -293,10 +294,11 @@ export const XmlSchemaAnnotated: {
293
294
  export type XmlSchemaAnnotated = XmlSchemaAnnotated$instance;
294
295
 
295
296
  export interface XmlSchemaAnnotation$instance extends XmlSchemaObject {
296
- Id: string;
297
+ get Id(): string | undefined;
298
+ set Id(value: string | undefined);
297
299
  readonly Items: XmlSchemaObjectCollection;
298
300
  get UnhandledAttributes(): XmlAttribute[] | undefined;
299
- set UnhandledAttributes(value: XmlAttribute[]);
301
+ set UnhandledAttributes(value: XmlAttribute[] | undefined);
300
302
  }
301
303
 
302
304
 
@@ -308,7 +310,8 @@ export const XmlSchemaAnnotation: {
308
310
  export type XmlSchemaAnnotation = XmlSchemaAnnotation$instance;
309
311
 
310
312
  export interface XmlSchemaAny$instance extends XmlSchemaParticle {
311
- Namespace: string;
313
+ get Namespace(): string | undefined;
314
+ set Namespace(value: string | undefined);
312
315
  ProcessContents: XmlSchemaContentProcessing;
313
316
  }
314
317
 
@@ -321,7 +324,8 @@ export const XmlSchemaAny: {
321
324
  export type XmlSchemaAny = XmlSchemaAny$instance;
322
325
 
323
326
  export interface XmlSchemaAnyAttribute$instance extends XmlSchemaAnnotated {
324
- Namespace: string;
327
+ get Namespace(): string | undefined;
328
+ set Namespace(value: string | undefined);
325
329
  ProcessContents: XmlSchemaContentProcessing;
326
330
  }
327
331
 
@@ -335,8 +339,9 @@ export type XmlSchemaAnyAttribute = XmlSchemaAnyAttribute$instance;
335
339
 
336
340
  export interface XmlSchemaAppInfo$instance extends XmlSchemaObject {
337
341
  get Markup(): (XmlNode | undefined)[] | undefined;
338
- set Markup(value: (XmlNode | undefined)[]);
339
- Source: string;
342
+ set Markup(value: (XmlNode | undefined)[] | undefined);
343
+ get Source(): string | undefined;
344
+ set Source(value: string | undefined);
340
345
  }
341
346
 
342
347
 
@@ -349,16 +354,18 @@ export type XmlSchemaAppInfo = XmlSchemaAppInfo$instance;
349
354
 
350
355
  export interface XmlSchemaAttribute$instance extends XmlSchemaAnnotated {
351
356
  readonly AttributeSchemaType: XmlSchemaSimpleType | undefined;
352
- readonly AttributeType: unknown;
353
- DefaultValue: string;
357
+ readonly AttributeType: unknown | undefined;
358
+ get DefaultValue(): string | undefined;
359
+ set DefaultValue(value: string | undefined);
354
360
  get FixedValue(): string | undefined;
355
- set FixedValue(value: string);
361
+ set FixedValue(value: string | undefined);
356
362
  Form: XmlSchemaForm;
357
- Name: string;
363
+ get Name(): string | undefined;
364
+ set Name(value: string | undefined);
358
365
  readonly QualifiedName: XmlQualifiedName;
359
366
  RefName: XmlQualifiedName;
360
367
  get SchemaType(): XmlSchemaSimpleType | undefined;
361
- set SchemaType(value: XmlSchemaSimpleType);
368
+ set SchemaType(value: XmlSchemaSimpleType | undefined);
362
369
  SchemaTypeName: XmlQualifiedName;
363
370
  Use: XmlSchemaUse;
364
371
  }
@@ -373,9 +380,10 @@ export type XmlSchemaAttribute = XmlSchemaAttribute$instance;
373
380
 
374
381
  export interface XmlSchemaAttributeGroup$instance extends XmlSchemaAnnotated {
375
382
  get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
376
- set AnyAttribute(value: XmlSchemaAnyAttribute);
383
+ set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
377
384
  readonly Attributes: XmlSchemaObjectCollection;
378
- Name: string;
385
+ get Name(): string | undefined;
386
+ set Name(value: string | undefined);
379
387
  readonly QualifiedName: XmlQualifiedName;
380
388
  readonly RedefinedAttributeGroup: XmlSchemaAttributeGroup | undefined;
381
389
  }
@@ -414,9 +422,9 @@ export type XmlSchemaChoice = XmlSchemaChoice$instance;
414
422
 
415
423
  export interface XmlSchemaCollection$instance {
416
424
  readonly Count: int;
417
- readonly Item: XmlSchema;
425
+ readonly [ns: string]: XmlSchema | undefined;
418
426
  readonly NameTable: XmlNameTable;
419
- Add(ns: string, uri: string): XmlSchema;
427
+ Add(ns: string, uri: string): XmlSchema | undefined;
420
428
  Add(ns: string, reader: XmlReader): XmlSchema | undefined;
421
429
  Add(ns: string, reader: XmlReader, resolver: XmlResolver): XmlSchema | undefined;
422
430
  Add(schema: XmlSchema): XmlSchema | undefined;
@@ -451,7 +459,6 @@ export interface XmlSchemaCollectionEnumerator$instance {
451
459
 
452
460
 
453
461
  export const XmlSchemaCollectionEnumerator: {
454
- new(): XmlSchemaCollectionEnumerator;
455
462
  };
456
463
 
457
464
 
@@ -475,7 +482,8 @@ export const XmlSchemaCompilationSettings: {
475
482
  export type XmlSchemaCompilationSettings = XmlSchemaCompilationSettings$instance;
476
483
 
477
484
  export interface XmlSchemaComplexContent$instance extends XmlSchemaContentModel {
478
- Content: XmlSchemaContent;
485
+ get Content(): XmlSchemaContent | undefined;
486
+ set Content(value: XmlSchemaContent | undefined);
479
487
  IsMixed: boolean;
480
488
  }
481
489
 
@@ -489,11 +497,11 @@ export type XmlSchemaComplexContent = XmlSchemaComplexContent$instance;
489
497
 
490
498
  export interface XmlSchemaComplexContentExtension$instance extends XmlSchemaContent {
491
499
  get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
492
- set AnyAttribute(value: XmlSchemaAnyAttribute);
500
+ set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
493
501
  readonly Attributes: XmlSchemaObjectCollection;
494
502
  BaseTypeName: XmlQualifiedName;
495
503
  get Particle(): XmlSchemaParticle | undefined;
496
- set Particle(value: XmlSchemaParticle);
504
+ set Particle(value: XmlSchemaParticle | undefined);
497
505
  }
498
506
 
499
507
 
@@ -506,11 +514,11 @@ export type XmlSchemaComplexContentExtension = XmlSchemaComplexContentExtension$
506
514
 
507
515
  export interface XmlSchemaComplexContentRestriction$instance extends XmlSchemaContent {
508
516
  get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
509
- set AnyAttribute(value: XmlSchemaAnyAttribute);
517
+ set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
510
518
  readonly Attributes: XmlSchemaObjectCollection;
511
519
  BaseTypeName: XmlQualifiedName;
512
520
  get Particle(): XmlSchemaParticle | undefined;
513
- set Particle(value: XmlSchemaParticle);
521
+ set Particle(value: XmlSchemaParticle | undefined);
514
522
  }
515
523
 
516
524
 
@@ -523,20 +531,20 @@ export type XmlSchemaComplexContentRestriction = XmlSchemaComplexContentRestrict
523
531
 
524
532
  export interface XmlSchemaComplexType$instance extends XmlSchemaType {
525
533
  get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
526
- set AnyAttribute(value: XmlSchemaAnyAttribute);
534
+ set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
527
535
  readonly Attributes: XmlSchemaObjectCollection;
528
536
  readonly AttributeUses: XmlSchemaObjectTable;
529
537
  readonly AttributeWildcard: XmlSchemaAnyAttribute | undefined;
530
538
  Block: XmlSchemaDerivationMethod;
531
539
  readonly BlockResolved: XmlSchemaDerivationMethod;
532
540
  get ContentModel(): XmlSchemaContentModel | undefined;
533
- set ContentModel(value: XmlSchemaContentModel);
541
+ set ContentModel(value: XmlSchemaContentModel | undefined);
534
542
  readonly ContentType: XmlSchemaContentType;
535
543
  readonly ContentTypeParticle: XmlSchemaParticle;
536
544
  IsAbstract: boolean;
537
545
  IsMixed: boolean;
538
546
  get Particle(): XmlSchemaParticle | undefined;
539
- set Particle(value: XmlSchemaParticle);
547
+ set Particle(value: XmlSchemaParticle | undefined);
540
548
  }
541
549
 
542
550
 
@@ -551,20 +559,19 @@ export interface XmlSchemaContent$instance extends XmlSchemaAnnotated {
551
559
  }
552
560
 
553
561
 
554
- export const XmlSchemaContent: {
555
- new(): XmlSchemaContent;
562
+ export const XmlSchemaContent: (abstract new() => XmlSchemaContent) & {
556
563
  };
557
564
 
558
565
 
559
566
  export type XmlSchemaContent = XmlSchemaContent$instance;
560
567
 
561
568
  export interface XmlSchemaContentModel$instance extends XmlSchemaAnnotated {
562
- Content: XmlSchemaContent;
569
+ get Content(): XmlSchemaContent | undefined;
570
+ set Content(value: XmlSchemaContent | undefined);
563
571
  }
564
572
 
565
573
 
566
- export const XmlSchemaContentModel: {
567
- new(): XmlSchemaContentModel;
574
+ export const XmlSchemaContentModel: (abstract new() => XmlSchemaContentModel) & {
568
575
  };
569
576
 
570
577
 
@@ -590,10 +597,11 @@ export type XmlSchemaDatatype = XmlSchemaDatatype$instance;
590
597
 
591
598
  export interface XmlSchemaDocumentation$instance extends XmlSchemaObject {
592
599
  get Language(): string | undefined;
593
- set Language(value: string);
600
+ set Language(value: string | undefined);
594
601
  get Markup(): (XmlNode | undefined)[] | undefined;
595
- set Markup(value: (XmlNode | undefined)[]);
596
- Source: string;
602
+ set Markup(value: (XmlNode | undefined)[] | undefined);
603
+ get Source(): string | undefined;
604
+ set Source(value: string | undefined);
597
605
  }
598
606
 
599
607
 
@@ -608,21 +616,23 @@ export interface XmlSchemaElement$instance extends XmlSchemaParticle {
608
616
  Block: XmlSchemaDerivationMethod;
609
617
  readonly BlockResolved: XmlSchemaDerivationMethod;
610
618
  readonly Constraints: XmlSchemaObjectCollection;
611
- DefaultValue: string;
619
+ get DefaultValue(): string | undefined;
620
+ set DefaultValue(value: string | undefined);
612
621
  readonly ElementSchemaType: XmlSchemaType | undefined;
613
- readonly ElementType: unknown;
622
+ readonly ElementType: unknown | undefined;
614
623
  Final: XmlSchemaDerivationMethod;
615
624
  readonly FinalResolved: XmlSchemaDerivationMethod;
616
625
  get FixedValue(): string | undefined;
617
- set FixedValue(value: string);
626
+ set FixedValue(value: string | undefined);
618
627
  Form: XmlSchemaForm;
619
628
  IsAbstract: boolean;
620
629
  IsNillable: boolean;
621
- Name: string;
630
+ get Name(): string | undefined;
631
+ set Name(value: string | undefined);
622
632
  readonly QualifiedName: XmlQualifiedName;
623
633
  RefName: XmlQualifiedName;
624
634
  get SchemaType(): XmlSchemaType | undefined;
625
- set SchemaType(value: XmlSchemaType);
635
+ set SchemaType(value: XmlSchemaType | undefined);
626
636
  SchemaTypeName: XmlQualifiedName;
627
637
  SubstitutionGroup: XmlQualifiedName;
628
638
  }
@@ -657,7 +667,6 @@ export interface XmlSchemaException$instance extends SystemException {
657
667
 
658
668
 
659
669
  export const XmlSchemaException: {
660
- new(info: SerializationInfo, context: StreamingContext): XmlSchemaException;
661
670
  new(): XmlSchemaException;
662
671
  new(message: string): XmlSchemaException;
663
672
  new(message: string, innerException: Exception): XmlSchemaException;
@@ -673,18 +682,18 @@ export type XmlSchemaException = XmlSchemaException$instance & __XmlSchemaExcept
673
682
 
674
683
 
675
684
  export interface XmlSchemaExternal$instance extends XmlSchemaObject {
676
- Id: string;
685
+ get Id(): string | undefined;
686
+ set Id(value: string | undefined);
677
687
  get Schema(): XmlSchema | undefined;
678
- set Schema(value: XmlSchema);
688
+ set Schema(value: XmlSchema | undefined);
679
689
  get SchemaLocation(): string | undefined;
680
- set SchemaLocation(value: string);
690
+ set SchemaLocation(value: string | undefined);
681
691
  get UnhandledAttributes(): XmlAttribute[] | undefined;
682
- set UnhandledAttributes(value: XmlAttribute[]);
692
+ set UnhandledAttributes(value: XmlAttribute[] | undefined);
683
693
  }
684
694
 
685
695
 
686
- export const XmlSchemaExternal: {
687
- new(): XmlSchemaExternal;
696
+ export const XmlSchemaExternal: (abstract new() => XmlSchemaExternal) & {
688
697
  };
689
698
 
690
699
 
@@ -692,12 +701,12 @@ export type XmlSchemaExternal = XmlSchemaExternal$instance;
692
701
 
693
702
  export interface XmlSchemaFacet$instance extends XmlSchemaAnnotated {
694
703
  IsFixed: boolean;
695
- Value: string;
704
+ get Value(): string | undefined;
705
+ set Value(value: string | undefined);
696
706
  }
697
707
 
698
708
 
699
- export const XmlSchemaFacet: {
700
- new(): XmlSchemaFacet;
709
+ export const XmlSchemaFacet: (abstract new() => XmlSchemaFacet) & {
701
710
  };
702
711
 
703
712
 
@@ -715,9 +724,10 @@ export const XmlSchemaFractionDigitsFacet: {
715
724
  export type XmlSchemaFractionDigitsFacet = XmlSchemaFractionDigitsFacet$instance;
716
725
 
717
726
  export interface XmlSchemaGroup$instance extends XmlSchemaAnnotated {
718
- Name: string;
727
+ get Name(): string | undefined;
728
+ set Name(value: string | undefined);
719
729
  get Particle(): XmlSchemaGroupBase | undefined;
720
- set Particle(value: XmlSchemaGroupBase);
730
+ set Particle(value: XmlSchemaGroupBase | undefined);
721
731
  readonly QualifiedName: XmlQualifiedName;
722
732
  }
723
733
 
@@ -755,10 +765,11 @@ export type XmlSchemaGroupRef = XmlSchemaGroupRef$instance;
755
765
 
756
766
  export interface XmlSchemaIdentityConstraint$instance extends XmlSchemaAnnotated {
757
767
  readonly Fields: XmlSchemaObjectCollection;
758
- Name: string;
768
+ get Name(): string | undefined;
769
+ set Name(value: string | undefined);
759
770
  readonly QualifiedName: XmlQualifiedName;
760
771
  get Selector(): XmlSchemaXPath | undefined;
761
- set Selector(value: XmlSchemaXPath);
772
+ set Selector(value: XmlSchemaXPath | undefined);
762
773
  }
763
774
 
764
775
 
@@ -771,8 +782,9 @@ export type XmlSchemaIdentityConstraint = XmlSchemaIdentityConstraint$instance;
771
782
 
772
783
  export interface XmlSchemaImport$instance extends XmlSchemaExternal {
773
784
  get Annotation(): XmlSchemaAnnotation | undefined;
774
- set Annotation(value: XmlSchemaAnnotation);
775
- Namespace: string;
785
+ set Annotation(value: XmlSchemaAnnotation | undefined);
786
+ get Namespace(): string | undefined;
787
+ set Namespace(value: string | undefined);
776
788
  }
777
789
 
778
790
 
@@ -785,7 +797,7 @@ export type XmlSchemaImport = XmlSchemaImport$instance;
785
797
 
786
798
  export interface XmlSchemaInclude$instance extends XmlSchemaExternal {
787
799
  get Annotation(): XmlSchemaAnnotation | undefined;
788
- set Annotation(value: XmlSchemaAnnotation);
800
+ set Annotation(value: XmlSchemaAnnotation | undefined);
789
801
  }
790
802
 
791
803
 
@@ -817,7 +829,6 @@ export interface XmlSchemaInferenceException$instance extends XmlSchemaException
817
829
 
818
830
 
819
831
  export const XmlSchemaInferenceException: {
820
- new(info: SerializationInfo, context: StreamingContext): XmlSchemaInferenceException;
821
832
  new(): XmlSchemaInferenceException;
822
833
  new(message: string): XmlSchemaInferenceException;
823
834
  new(message: string, innerException: Exception): XmlSchemaInferenceException;
@@ -837,13 +848,13 @@ export interface XmlSchemaInfo$instance {
837
848
  IsDefault: boolean;
838
849
  IsNil: boolean;
839
850
  get MemberType(): XmlSchemaSimpleType | undefined;
840
- set MemberType(value: XmlSchemaSimpleType);
851
+ set MemberType(value: XmlSchemaSimpleType | undefined);
841
852
  get SchemaAttribute(): XmlSchemaAttribute | undefined;
842
- set SchemaAttribute(value: XmlSchemaAttribute);
853
+ set SchemaAttribute(value: XmlSchemaAttribute | undefined);
843
854
  get SchemaElement(): XmlSchemaElement | undefined;
844
- set SchemaElement(value: XmlSchemaElement);
855
+ set SchemaElement(value: XmlSchemaElement | undefined);
845
856
  get SchemaType(): XmlSchemaType | undefined;
846
- set SchemaType(value: XmlSchemaType);
857
+ set SchemaType(value: XmlSchemaType | undefined);
847
858
  Validity: XmlSchemaValidity;
848
859
  }
849
860
 
@@ -961,11 +972,12 @@ export const XmlSchemaMinLengthFacet: {
961
972
  export type XmlSchemaMinLengthFacet = XmlSchemaMinLengthFacet$instance;
962
973
 
963
974
  export interface XmlSchemaNotation$instance extends XmlSchemaAnnotated {
964
- Name: string;
975
+ get Name(): string | undefined;
976
+ set Name(value: string | undefined);
965
977
  get Public(): string | undefined;
966
- set Public(value: string);
978
+ set Public(value: string | undefined);
967
979
  get System(): string | undefined;
968
- set System(value: string);
980
+ set System(value: string | undefined);
969
981
  }
970
982
 
971
983
 
@@ -980,8 +992,7 @@ export interface XmlSchemaNumericFacet$instance extends XmlSchemaFacet {
980
992
  }
981
993
 
982
994
 
983
- export const XmlSchemaNumericFacet: {
984
- new(): XmlSchemaNumericFacet;
995
+ export const XmlSchemaNumericFacet: (abstract new() => XmlSchemaNumericFacet) & {
985
996
  };
986
997
 
987
998
 
@@ -991,29 +1002,21 @@ export interface XmlSchemaObject$instance {
991
1002
  LineNumber: int;
992
1003
  LinePosition: int;
993
1004
  Namespaces: XmlSerializerNamespaces;
994
- Parent: XmlSchemaObject;
1005
+ get Parent(): XmlSchemaObject | undefined;
1006
+ set Parent(value: XmlSchemaObject | undefined);
995
1007
  get SourceUri(): string | undefined;
996
- set SourceUri(value: string);
1008
+ set SourceUri(value: string | undefined);
997
1009
  }
998
1010
 
999
1011
 
1000
- export const XmlSchemaObject: {
1001
- new(): XmlSchemaObject;
1012
+ export const XmlSchemaObject: (abstract new() => XmlSchemaObject) & {
1002
1013
  };
1003
1014
 
1004
1015
 
1005
1016
  export type XmlSchemaObject = XmlSchemaObject$instance;
1006
1017
 
1007
- export abstract class XmlSchemaObjectCollection$protected {
1008
- protected OnClear(): void;
1009
- protected OnInsert(index: int, item: unknown): void;
1010
- protected OnRemove(index: int, item: unknown): void;
1011
- protected OnSet(index: int, oldValue: unknown, newValue: unknown): void;
1012
- }
1013
-
1014
-
1015
- export interface XmlSchemaObjectCollection$instance extends XmlSchemaObjectCollection$protected, CollectionBase {
1016
- Item: XmlSchemaObject;
1018
+ export interface XmlSchemaObjectCollection$instance extends CollectionBase {
1019
+ [index: number]: XmlSchemaObject;
1017
1020
  Add(value: unknown): int;
1018
1021
  Clear(): void;
1019
1022
  Contains(value: unknown): boolean;
@@ -1021,6 +1024,10 @@ export interface XmlSchemaObjectCollection$instance extends XmlSchemaObjectColle
1021
1024
  GetEnumerator(): IEnumerator;
1022
1025
  IndexOf(item: XmlSchemaObject): int;
1023
1026
  Insert(index: int, value: unknown): void;
1027
+ OnClear(): void;
1028
+ OnInsert(index: int, item: unknown): void;
1029
+ OnRemove(index: int, item: unknown): void;
1030
+ OnSet(index: int, oldValue: unknown, newValue: unknown): void;
1024
1031
  Remove(value: unknown): void;
1025
1032
  RemoveAt(index: int): void;
1026
1033
  }
@@ -1049,7 +1056,6 @@ export interface XmlSchemaObjectEnumerator$instance {
1049
1056
 
1050
1057
 
1051
1058
  export const XmlSchemaObjectEnumerator: {
1052
- new(): XmlSchemaObjectEnumerator;
1053
1059
  };
1054
1060
 
1055
1061
 
@@ -1071,7 +1077,6 @@ export interface XmlSchemaObjectTable$instance {
1071
1077
 
1072
1078
 
1073
1079
  export const XmlSchemaObjectTable: {
1074
- new(): XmlSchemaObjectTable;
1075
1080
  };
1076
1081
 
1077
1082
 
@@ -1080,15 +1085,14 @@ export type XmlSchemaObjectTable = XmlSchemaObjectTable$instance;
1080
1085
  export interface XmlSchemaParticle$instance extends XmlSchemaAnnotated {
1081
1086
  MaxOccurs: decimal;
1082
1087
  get MaxOccursString(): string | undefined;
1083
- set MaxOccursString(value: string);
1088
+ set MaxOccursString(value: string | undefined);
1084
1089
  MinOccurs: decimal;
1085
1090
  get MinOccursString(): string | undefined;
1086
- set MinOccursString(value: string);
1091
+ set MinOccursString(value: string | undefined);
1087
1092
  }
1088
1093
 
1089
1094
 
1090
- export const XmlSchemaParticle: {
1091
- new(): XmlSchemaParticle;
1095
+ export const XmlSchemaParticle: (abstract new() => XmlSchemaParticle) & {
1092
1096
  };
1093
1097
 
1094
1098
 
@@ -1140,8 +1144,8 @@ export interface XmlSchemaSet$instance {
1140
1144
  readonly GlobalTypes: XmlSchemaObjectTable;
1141
1145
  readonly IsCompiled: boolean;
1142
1146
  readonly NameTable: XmlNameTable;
1143
- XmlResolver: XmlResolver;
1144
- Add(targetNamespace: string, schemaUri: string): XmlSchema;
1147
+ XmlResolver: XmlResolver | undefined;
1148
+ Add(targetNamespace: string, schemaUri: string): XmlSchema | undefined;
1145
1149
  Add(targetNamespace: string, schemaDocument: XmlReader): XmlSchema | undefined;
1146
1150
  Add(schemas: XmlSchemaSet): void;
1147
1151
  Add(schema: XmlSchema): XmlSchema | undefined;
@@ -1166,7 +1170,8 @@ export const XmlSchemaSet: {
1166
1170
  export type XmlSchemaSet = XmlSchemaSet$instance;
1167
1171
 
1168
1172
  export interface XmlSchemaSimpleContent$instance extends XmlSchemaContentModel {
1169
- Content: XmlSchemaContent;
1173
+ get Content(): XmlSchemaContent | undefined;
1174
+ set Content(value: XmlSchemaContent | undefined);
1170
1175
  }
1171
1176
 
1172
1177
 
@@ -1179,7 +1184,7 @@ export type XmlSchemaSimpleContent = XmlSchemaSimpleContent$instance;
1179
1184
 
1180
1185
  export interface XmlSchemaSimpleContentExtension$instance extends XmlSchemaContent {
1181
1186
  get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
1182
- set AnyAttribute(value: XmlSchemaAnyAttribute);
1187
+ set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
1183
1188
  readonly Attributes: XmlSchemaObjectCollection;
1184
1189
  BaseTypeName: XmlQualifiedName;
1185
1190
  }
@@ -1194,10 +1199,10 @@ export type XmlSchemaSimpleContentExtension = XmlSchemaSimpleContentExtension$in
1194
1199
 
1195
1200
  export interface XmlSchemaSimpleContentRestriction$instance extends XmlSchemaContent {
1196
1201
  get AnyAttribute(): XmlSchemaAnyAttribute | undefined;
1197
- set AnyAttribute(value: XmlSchemaAnyAttribute);
1202
+ set AnyAttribute(value: XmlSchemaAnyAttribute | undefined);
1198
1203
  readonly Attributes: XmlSchemaObjectCollection;
1199
1204
  get BaseType(): XmlSchemaSimpleType | undefined;
1200
- set BaseType(value: XmlSchemaSimpleType);
1205
+ set BaseType(value: XmlSchemaSimpleType | undefined);
1201
1206
  BaseTypeName: XmlQualifiedName;
1202
1207
  readonly Facets: XmlSchemaObjectCollection;
1203
1208
  }
@@ -1211,7 +1216,8 @@ export const XmlSchemaSimpleContentRestriction: {
1211
1216
  export type XmlSchemaSimpleContentRestriction = XmlSchemaSimpleContentRestriction$instance;
1212
1217
 
1213
1218
  export interface XmlSchemaSimpleType$instance extends XmlSchemaType {
1214
- Content: XmlSchemaSimpleTypeContent;
1219
+ get Content(): XmlSchemaSimpleTypeContent | undefined;
1220
+ set Content(value: XmlSchemaSimpleTypeContent | undefined);
1215
1221
  }
1216
1222
 
1217
1223
 
@@ -1226,8 +1232,7 @@ export interface XmlSchemaSimpleTypeContent$instance extends XmlSchemaAnnotated
1226
1232
  }
1227
1233
 
1228
1234
 
1229
- export const XmlSchemaSimpleTypeContent: {
1230
- new(): XmlSchemaSimpleTypeContent;
1235
+ export const XmlSchemaSimpleTypeContent: (abstract new() => XmlSchemaSimpleTypeContent) & {
1231
1236
  };
1232
1237
 
1233
1238
 
@@ -1235,9 +1240,9 @@ export type XmlSchemaSimpleTypeContent = XmlSchemaSimpleTypeContent$instance;
1235
1240
 
1236
1241
  export interface XmlSchemaSimpleTypeList$instance extends XmlSchemaSimpleTypeContent {
1237
1242
  get BaseItemType(): XmlSchemaSimpleType | undefined;
1238
- set BaseItemType(value: XmlSchemaSimpleType);
1243
+ set BaseItemType(value: XmlSchemaSimpleType | undefined);
1239
1244
  get ItemType(): XmlSchemaSimpleType | undefined;
1240
- set ItemType(value: XmlSchemaSimpleType);
1245
+ set ItemType(value: XmlSchemaSimpleType | undefined);
1241
1246
  ItemTypeName: XmlQualifiedName;
1242
1247
  }
1243
1248
 
@@ -1251,7 +1256,7 @@ export type XmlSchemaSimpleTypeList = XmlSchemaSimpleTypeList$instance;
1251
1256
 
1252
1257
  export interface XmlSchemaSimpleTypeRestriction$instance extends XmlSchemaSimpleTypeContent {
1253
1258
  get BaseType(): XmlSchemaSimpleType | undefined;
1254
- set BaseType(value: XmlSchemaSimpleType);
1259
+ set BaseType(value: XmlSchemaSimpleType | undefined);
1255
1260
  BaseTypeName: XmlQualifiedName;
1256
1261
  readonly Facets: XmlSchemaObjectCollection;
1257
1262
  }
@@ -1268,7 +1273,7 @@ export interface XmlSchemaSimpleTypeUnion$instance extends XmlSchemaSimpleTypeCo
1268
1273
  readonly BaseMemberTypes: XmlSchemaSimpleType[] | undefined;
1269
1274
  readonly BaseTypes: XmlSchemaObjectCollection;
1270
1275
  get MemberTypes(): XmlQualifiedName[] | undefined;
1271
- set MemberTypes(value: XmlQualifiedName[]);
1276
+ set MemberTypes(value: XmlQualifiedName[] | undefined);
1272
1277
  }
1273
1278
 
1274
1279
 
@@ -1298,7 +1303,8 @@ export interface XmlSchemaType$instance extends XmlSchemaAnnotated {
1298
1303
  Final: XmlSchemaDerivationMethod;
1299
1304
  readonly FinalResolved: XmlSchemaDerivationMethod;
1300
1305
  IsMixed: boolean;
1301
- Name: string;
1306
+ get Name(): string | undefined;
1307
+ set Name(value: string | undefined);
1302
1308
  readonly QualifiedName: XmlQualifiedName;
1303
1309
  readonly TypeCode: XmlTypeCode;
1304
1310
  }
@@ -1334,7 +1340,6 @@ export interface XmlSchemaValidationException$instance extends XmlSchemaExceptio
1334
1340
 
1335
1341
 
1336
1342
  export const XmlSchemaValidationException: {
1337
- new(info: SerializationInfo, context: StreamingContext): XmlSchemaValidationException;
1338
1343
  new(): XmlSchemaValidationException;
1339
1344
  new(message: string): XmlSchemaValidationException;
1340
1345
  new(message: string, innerException: Exception): XmlSchemaValidationException;
@@ -1352,9 +1357,9 @@ export type XmlSchemaValidationException = XmlSchemaValidationException$instance
1352
1357
  export interface XmlSchemaValidator$instance {
1353
1358
  LineInfoProvider: IXmlLineInfo;
1354
1359
  get SourceUri(): Uri | undefined;
1355
- set SourceUri(value: Uri);
1360
+ set SourceUri(value: Uri | undefined);
1356
1361
  ValidationEventSender: unknown;
1357
- XmlResolver: XmlResolver;
1362
+ XmlResolver: XmlResolver | undefined;
1358
1363
  AddSchema(schema: XmlSchema): void;
1359
1364
  EndValidation(): void;
1360
1365
  GetExpectedAttributes(): XmlSchemaAttribute[];
@@ -1397,7 +1402,7 @@ export type XmlSchemaWhiteSpaceFacet = XmlSchemaWhiteSpaceFacet$instance;
1397
1402
 
1398
1403
  export interface XmlSchemaXPath$instance extends XmlSchemaAnnotated {
1399
1404
  get XPath(): string | undefined;
1400
- set XPath(value: string);
1405
+ set XPath(value: string | undefined);
1401
1406
  }
1402
1407
 
1403
1408