@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
@@ -305,7 +305,7 @@ export type IServiceContainer = IServiceContainer$instance;
305
305
 
306
306
  export interface ITreeDesigner$instance extends IDesigner, IDisposable {
307
307
  readonly Children: ICollection;
308
- readonly Parent: IDesigner;
308
+ readonly Parent: IDesigner | undefined;
309
309
  readonly Component: IComponent;
310
310
  readonly Verbs: DesignerVerbCollection | undefined;
311
311
  DoDefaultAction(): void;
@@ -367,7 +367,6 @@ export const CheckoutException: {
367
367
  new(): CheckoutException;
368
368
  new(message: string): CheckoutException;
369
369
  new(message: string, errorCode: int): CheckoutException;
370
- new(info: SerializationInfo, context: StreamingContext): CheckoutException;
371
370
  new(message: string, innerException: Exception): CheckoutException;
372
371
  readonly Canceled: CheckoutException;
373
372
  };
@@ -398,7 +397,7 @@ export type CommandID = CommandID$instance;
398
397
 
399
398
  export interface ComponentChangedEventArgs$instance extends EventArgs {
400
399
  readonly Component: unknown | undefined;
401
- readonly Member: MemberDescriptor;
400
+ readonly Member: MemberDescriptor | undefined;
402
401
  readonly NewValue: unknown | undefined;
403
402
  readonly OldValue: unknown | undefined;
404
403
  }
@@ -413,7 +412,7 @@ export type ComponentChangedEventArgs = ComponentChangedEventArgs$instance;
413
412
 
414
413
  export interface ComponentChangingEventArgs$instance extends EventArgs {
415
414
  readonly Component: unknown | undefined;
416
- readonly Member: MemberDescriptor;
415
+ readonly Member: MemberDescriptor | undefined;
417
416
  }
418
417
 
419
418
 
@@ -452,7 +451,7 @@ export type ComponentRenameEventArgs = ComponentRenameEventArgs$instance;
452
451
 
453
452
  export interface DesignerCollection$instance {
454
453
  readonly Count: int;
455
- readonly Item: IDesignerHost;
454
+ readonly [index: number]: IDesignerHost | undefined;
456
455
  GetEnumerator(): IEnumerator;
457
456
  }
458
457
 
@@ -483,19 +482,14 @@ export const DesignerEventArgs: {
483
482
 
484
483
  export type DesignerEventArgs = DesignerEventArgs$instance;
485
484
 
486
- export abstract class DesignerOptionService$protected {
487
- protected PopulateOptionCollection(options: DesignerOptionService_DesignerOptionCollection): void;
488
- protected ShowDialog(options: DesignerOptionService_DesignerOptionCollection, optionObject: unknown): boolean;
489
- }
490
-
491
-
492
- export interface DesignerOptionService$instance extends DesignerOptionService$protected {
485
+ export interface DesignerOptionService$instance {
493
486
  readonly Options: DesignerOptionService_DesignerOptionCollection;
487
+ PopulateOptionCollection(options: DesignerOptionService_DesignerOptionCollection): void;
488
+ ShowDialog(options: DesignerOptionService_DesignerOptionCollection, optionObject: unknown): boolean;
494
489
  }
495
490
 
496
491
 
497
- export const DesignerOptionService: {
498
- new(): DesignerOptionService;
492
+ export const DesignerOptionService: (abstract new() => DesignerOptionService) & {
499
493
  };
500
494
 
501
495
 
@@ -511,11 +505,11 @@ export type DesignerOptionService = DesignerOptionService$instance & __DesignerO
511
505
  export interface DesignerOptionService_DesignerOptionCollection$instance {
512
506
  readonly Count: int;
513
507
  readonly Name: string;
514
- readonly Parent: DesignerOptionService_DesignerOptionCollection;
508
+ readonly Parent: DesignerOptionService_DesignerOptionCollection | undefined;
515
509
  readonly Properties: PropertyDescriptorCollection;
516
510
  CopyTo(array: ClrArray, index: int): void;
517
- get_Item(index: int): DesignerOptionService_DesignerOptionCollection;
518
- get_Item(name: string): DesignerOptionService_DesignerOptionCollection;
511
+ get_Item(index: int): DesignerOptionService_DesignerOptionCollection | undefined;
512
+ get_Item(name: string): DesignerOptionService_DesignerOptionCollection | undefined;
519
513
  GetEnumerator(): IEnumerator;
520
514
  IndexOf(value: DesignerOptionService_DesignerOptionCollection): int;
521
515
  ShowDialog(): boolean;
@@ -523,7 +517,6 @@ export interface DesignerOptionService_DesignerOptionCollection$instance {
523
517
 
524
518
 
525
519
  export const DesignerOptionService_DesignerOptionCollection: {
526
- new(): DesignerOptionService_DesignerOptionCollection;
527
520
  };
528
521
 
529
522
 
@@ -536,26 +529,20 @@ export interface __DesignerOptionService_DesignerOptionCollection$views {
536
529
  export type DesignerOptionService_DesignerOptionCollection = DesignerOptionService_DesignerOptionCollection$instance & __DesignerOptionService_DesignerOptionCollection$views;
537
530
 
538
531
 
539
- export abstract class DesignerTransaction$protected {
540
- protected Dispose(disposing: boolean): void;
541
- protected Finalize(): void;
542
- protected abstract OnCancel(): void;
543
- protected abstract OnCommit(): void;
544
- }
545
-
546
-
547
- export interface DesignerTransaction$instance extends DesignerTransaction$protected {
532
+ export interface DesignerTransaction$instance {
548
533
  Canceled: boolean;
549
534
  Committed: boolean;
550
535
  readonly Description: string;
551
536
  Cancel(): void;
552
537
  Commit(): void;
538
+ Dispose(disposing: boolean): void;
539
+ Finalize(): void;
540
+ OnCancel(): void;
541
+ OnCommit(): void;
553
542
  }
554
543
 
555
544
 
556
- export const DesignerTransaction: {
557
- new(): DesignerTransaction;
558
- new(description: string): DesignerTransaction;
545
+ export const DesignerTransaction: (abstract new() => DesignerTransaction) & (abstract new(description: string) => DesignerTransaction) & {
559
546
  };
560
547
 
561
548
 
@@ -595,13 +582,8 @@ export const DesignerVerb: {
595
582
 
596
583
  export type DesignerVerb = DesignerVerb$instance;
597
584
 
598
- export abstract class DesignerVerbCollection$protected {
599
- protected OnValidate(value: unknown): void;
600
- }
601
-
602
-
603
- export interface DesignerVerbCollection$instance extends DesignerVerbCollection$protected, CollectionBase {
604
- Item: DesignerVerb;
585
+ export interface DesignerVerbCollection$instance extends CollectionBase {
586
+ [index: number]: DesignerVerb;
605
587
  Add(value: unknown): int;
606
588
  AddRange(value: DesignerVerb[]): void;
607
589
  AddRange(value: DesignerVerbCollection): void;
@@ -611,6 +593,7 @@ export interface DesignerVerbCollection$instance extends DesignerVerbCollection$
611
593
  GetEnumerator(): IEnumerator;
612
594
  IndexOf(value: DesignerVerb): int;
613
595
  Insert(index: int, value: unknown): void;
596
+ OnValidate(value: unknown): void;
614
597
  Remove(value: unknown): void;
615
598
  RemoveAt(index: int): void;
616
599
  }
@@ -656,7 +639,6 @@ export interface DesigntimeLicenseContextSerializer$instance {
656
639
 
657
640
 
658
641
  export const DesigntimeLicenseContextSerializer: {
659
- new(): DesigntimeLicenseContextSerializer;
660
642
  Serialize(o: Stream, cryptoKey: string, context: DesigntimeLicenseContext): void;
661
643
  };
662
644
 
@@ -681,12 +663,7 @@ export const HelpKeywordAttribute: {
681
663
 
682
664
  export type HelpKeywordAttribute = HelpKeywordAttribute$instance;
683
665
 
684
- export abstract class MenuCommand$protected {
685
- protected OnCommandChanged(e: EventArgs): void;
686
- }
687
-
688
-
689
- export interface MenuCommand$instance extends MenuCommand$protected {
666
+ export interface MenuCommand$instance {
690
667
  Checked: boolean;
691
668
  readonly CommandID: CommandID | undefined;
692
669
  Enabled: boolean;
@@ -696,6 +673,7 @@ export interface MenuCommand$instance extends MenuCommand$protected {
696
673
  Visible: boolean;
697
674
  Invoke(): void;
698
675
  Invoke(arg: unknown): void;
676
+ OnCommandChanged(e: EventArgs): void;
699
677
  ToString(): string;
700
678
  }
701
679
 
@@ -707,18 +685,14 @@ export const MenuCommand: {
707
685
 
708
686
  export type MenuCommand = MenuCommand$instance;
709
687
 
710
- export abstract class ServiceContainer$protected {
711
- protected readonly DefaultServices: Type[];
712
- protected Dispose(disposing: boolean): void;
713
- }
714
-
715
-
716
- export interface ServiceContainer$instance extends ServiceContainer$protected {
688
+ export interface ServiceContainer$instance {
689
+ readonly DefaultServices: Type[];
717
690
  AddService(serviceType: Type, serviceInstance: unknown): void;
718
691
  AddService(serviceType: Type, serviceInstance: unknown, promote: boolean): void;
719
692
  AddService(serviceType: Type, callback: ServiceCreatorCallback): void;
720
693
  AddService(serviceType: Type, callback: ServiceCreatorCallback, promote: boolean): void;
721
694
  Dispose(): void;
695
+ Dispose(disposing: boolean): void;
722
696
  GetService(serviceType: Type): unknown | undefined;
723
697
  RemoveService(serviceType: Type): void;
724
698
  RemoveService(serviceType: Type, promote: boolean): void;
@@ -831,8 +805,7 @@ export interface TypeDescriptionProviderService$instance {
831
805
  }
832
806
 
833
807
 
834
- export const TypeDescriptionProviderService: {
835
- new(): TypeDescriptionProviderService;
808
+ export const TypeDescriptionProviderService: (abstract new() => TypeDescriptionProviderService) & {
836
809
  };
837
810
 
838
811
 
@@ -135,7 +135,7 @@ export type INameCreationService = INameCreationService$instance;
135
135
  export interface MemberRelationship$instance {
136
136
  readonly IsEmpty: boolean;
137
137
  readonly Member: MemberDescriptor;
138
- readonly Owner: unknown;
138
+ readonly Owner: unknown | undefined;
139
139
  Equals(obj: unknown): boolean;
140
140
  Equals(other: MemberRelationship): boolean;
141
141
  GetHashCode(): int;
@@ -173,19 +173,18 @@ export interface ComponentSerializationService$instance {
173
173
  }
174
174
 
175
175
 
176
- export const ComponentSerializationService: {
177
- new(): ComponentSerializationService;
176
+ export const ComponentSerializationService: (abstract new() => ComponentSerializationService) & {
178
177
  };
179
178
 
180
179
 
181
180
  export type ComponentSerializationService = ComponentSerializationService$instance;
182
181
 
183
182
  export interface ContextStack$instance {
184
- readonly Current: unknown;
183
+ readonly Current: unknown | undefined;
185
184
  Append(context: unknown): void;
186
- get_Item(level: int): unknown;
185
+ get_Item(level: int): unknown | undefined;
187
186
  get_Item(type: Type): unknown | undefined;
188
- Pop(): unknown;
187
+ Pop(): unknown | undefined;
189
188
  Push(context: unknown): void;
190
189
  }
191
190
 
@@ -218,8 +217,7 @@ export interface DesignerLoader$instance {
218
217
  }
219
218
 
220
219
 
221
- export const DesignerLoader: {
222
- new(): DesignerLoader;
220
+ export const DesignerLoader: (abstract new() => DesignerLoader) & {
223
221
  };
224
222
 
225
223
 
@@ -244,8 +242,8 @@ export type DesignerSerializerAttribute = DesignerSerializerAttribute$instance;
244
242
  export interface InstanceDescriptor$instance {
245
243
  readonly Arguments: ICollection;
246
244
  readonly IsComplete: boolean;
247
- readonly MemberInfo: MemberInfo;
248
- Invoke(): unknown;
245
+ readonly MemberInfo: MemberInfo | undefined;
246
+ Invoke(): unknown | undefined;
249
247
  }
250
248
 
251
249
 
@@ -257,31 +255,27 @@ export const InstanceDescriptor: {
257
255
 
258
256
  export type InstanceDescriptor = InstanceDescriptor$instance;
259
257
 
260
- export abstract class MemberRelationshipService$protected {
261
- protected GetRelationship(source: MemberRelationship): MemberRelationship;
262
- protected SetRelationship(source: MemberRelationship, relationship: MemberRelationship): void;
263
- }
264
-
265
-
266
- export interface MemberRelationshipService$instance extends MemberRelationshipService$protected {
258
+ export interface MemberRelationshipService$instance {
267
259
  get_Item(source: MemberRelationship): MemberRelationship;
268
260
  get_Item(sourceOwner: unknown, sourceMember: MemberDescriptor): MemberRelationship;
261
+ GetRelationship(source: MemberRelationship): MemberRelationship;
269
262
  set_Item(source: MemberRelationship, value: MemberRelationship): void;
270
263
  set_Item(sourceOwner: unknown, sourceMember: MemberDescriptor, value: MemberRelationship): void;
264
+ SetRelationship(source: MemberRelationship, relationship: MemberRelationship): void;
271
265
  SupportsRelationship(source: MemberRelationship, relationship: MemberRelationship): boolean;
272
266
  }
273
267
 
274
268
 
275
- export const MemberRelationshipService: {
276
- new(): MemberRelationshipService;
269
+ export const MemberRelationshipService: (abstract new() => MemberRelationshipService) & {
277
270
  };
278
271
 
279
272
 
280
273
  export type MemberRelationshipService = MemberRelationshipService$instance;
281
274
 
282
275
  export interface ResolveNameEventArgs$instance extends EventArgs {
283
- readonly Name: string;
284
- Value: unknown;
276
+ readonly Name: string | undefined;
277
+ get Value(): unknown | undefined;
278
+ set Value(value: unknown | undefined);
285
279
  }
286
280
 
287
281
 
@@ -309,20 +303,15 @@ export const RootDesignerSerializerAttribute: {
309
303
 
310
304
  export type RootDesignerSerializerAttribute = RootDesignerSerializerAttribute$instance;
311
305
 
312
- export abstract class SerializationStore$protected {
313
- protected Dispose(disposing: boolean): void;
314
- }
315
-
316
-
317
- export interface SerializationStore$instance extends SerializationStore$protected {
306
+ export interface SerializationStore$instance {
318
307
  readonly Errors: ICollection;
319
308
  Close(): void;
309
+ Dispose(disposing: boolean): void;
320
310
  Save(stream: Stream): void;
321
311
  }
322
312
 
323
313
 
324
- export const SerializationStore: {
325
- new(): SerializationStore;
314
+ export const SerializationStore: (abstract new() => SerializationStore) & {
326
315
  };
327
316
 
328
317