@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
@@ -340,7 +340,6 @@ export const AbandonedMutexException: {
340
340
  new(location: int, handle: WaitHandle): AbandonedMutexException;
341
341
  new(message: string, location: int, handle: WaitHandle): AbandonedMutexException;
342
342
  new(message: string, inner: Exception, location: int, handle: WaitHandle): AbandonedMutexException;
343
- new(info: SerializationInfo, context: StreamingContext): AbandonedMutexException;
344
343
  };
345
344
 
346
345
 
@@ -364,13 +363,9 @@ export const AsyncLocal_1: {
364
363
 
365
364
  export type AsyncLocal_1<T> = AsyncLocal_1$instance<T>;
366
365
 
367
- export abstract class AutoResetEvent$protected {
368
- protected Dispose3(explicitDisposing: boolean): void;
369
- }
370
-
371
-
372
- export interface AutoResetEvent$instance extends AutoResetEvent$protected, EventWaitHandle$instance {
366
+ export interface AutoResetEvent$instance extends EventWaitHandle$instance {
373
367
  Dispose(): void;
368
+ Dispose(explicitDisposing: boolean): void;
374
369
  }
375
370
 
376
371
 
@@ -386,18 +381,14 @@ export interface __AutoResetEvent$views {
386
381
  export type AutoResetEvent = AutoResetEvent$instance & __AutoResetEvent$views;
387
382
 
388
383
 
389
- export abstract class Barrier$protected {
390
- protected Dispose(disposing: boolean): void;
391
- }
392
-
393
-
394
- export interface Barrier$instance extends Barrier$protected {
384
+ export interface Barrier$instance {
395
385
  CurrentPhaseNumber: long;
396
386
  readonly ParticipantCount: int;
397
387
  readonly ParticipantsRemaining: int;
398
388
  AddParticipant(): long;
399
389
  AddParticipants(participantCount: int): long;
400
390
  Dispose(): void;
391
+ Dispose(disposing: boolean): void;
401
392
  RemoveParticipant(): void;
402
393
  RemoveParticipants(participantCount: int): void;
403
394
  SignalAndWait(): void;
@@ -432,7 +423,6 @@ export const BarrierPostPhaseException: {
432
423
  new(innerException: Exception): BarrierPostPhaseException;
433
424
  new(message: string): BarrierPostPhaseException;
434
425
  new(message: string, innerException: Exception): BarrierPostPhaseException;
435
- new(info: SerializationInfo, context: StreamingContext): BarrierPostPhaseException;
436
426
  };
437
427
 
438
428
 
@@ -443,12 +433,7 @@ export interface __BarrierPostPhaseException$views {
443
433
  export type BarrierPostPhaseException = BarrierPostPhaseException$instance & __BarrierPostPhaseException$views;
444
434
 
445
435
 
446
- export abstract class CancellationTokenSource$protected {
447
- protected Dispose(disposing: boolean): void;
448
- }
449
-
450
-
451
- export interface CancellationTokenSource$instance extends CancellationTokenSource$protected {
436
+ export interface CancellationTokenSource$instance {
452
437
  readonly IsCancellationRequested: boolean;
453
438
  readonly Token: CancellationToken;
454
439
  Cancel(): void;
@@ -457,6 +442,7 @@ export interface CancellationTokenSource$instance extends CancellationTokenSourc
457
442
  CancelAfter(millisecondsDelay: int): void;
458
443
  CancelAsync(): Task;
459
444
  Dispose(): void;
445
+ Dispose(disposing: boolean): void;
460
446
  TryReset(): boolean;
461
447
  }
462
448
 
@@ -487,7 +473,6 @@ export interface CompressedStack$instance {
487
473
 
488
474
 
489
475
  export const CompressedStack: {
490
- new(): CompressedStack;
491
476
  Capture(): CompressedStack;
492
477
  GetCompressedStack(): CompressedStack;
493
478
  Run(compressedStack: CompressedStack, callback: ContextCallback, state: unknown): void;
@@ -503,12 +488,7 @@ export interface CompressedStack$instance extends System_Runtime_Serialization_I
503
488
  export type CompressedStack = CompressedStack$instance & __CompressedStack$views;
504
489
 
505
490
 
506
- export abstract class CountdownEvent$protected {
507
- protected Dispose(disposing: boolean): void;
508
- }
509
-
510
-
511
- export interface CountdownEvent$instance extends CountdownEvent$protected {
491
+ export interface CountdownEvent$instance {
512
492
  readonly CurrentCount: int;
513
493
  readonly InitialCount: int;
514
494
  readonly IsSet: boolean;
@@ -516,6 +496,7 @@ export interface CountdownEvent$instance extends CountdownEvent$protected {
516
496
  AddCount(): void;
517
497
  AddCount(signalCount: int): void;
518
498
  Dispose(): void;
499
+ Dispose(disposing: boolean): void;
519
500
  Reset(): void;
520
501
  Reset(count: int): void;
521
502
  Signal(): boolean;
@@ -543,13 +524,9 @@ export interface __CountdownEvent$views {
543
524
  export type CountdownEvent = CountdownEvent$instance & __CountdownEvent$views;
544
525
 
545
526
 
546
- export abstract class EventWaitHandle$protected {
547
- protected Dispose(explicitDisposing: boolean): void;
548
- }
549
-
550
-
551
- export interface EventWaitHandle$instance extends EventWaitHandle$protected, WaitHandle$instance {
552
- Dispose3(): void;
527
+ export interface EventWaitHandle$instance extends WaitHandle$instance {
528
+ Dispose(explicitDisposing: boolean): void;
529
+ Dispose(): void;
553
530
  Reset(): boolean;
554
531
  Set(): boolean;
555
532
  }
@@ -583,7 +560,6 @@ export interface ExecutionContext$instance {
583
560
 
584
561
 
585
562
  export const ExecutionContext: {
586
- new(): ExecutionContext;
587
563
  Capture(): ExecutionContext | undefined;
588
564
  IsFlowSuppressed(): boolean;
589
565
  Restore(executionContext: ExecutionContext): void;
@@ -664,7 +640,6 @@ export const LockRecursionException: {
664
640
  new(): LockRecursionException;
665
641
  new(message: string): LockRecursionException;
666
642
  new(message: string, innerException: Exception): LockRecursionException;
667
- new(info: SerializationInfo, context: StreamingContext): LockRecursionException;
668
643
  };
669
644
 
670
645
 
@@ -675,13 +650,9 @@ export interface __LockRecursionException$views {
675
650
  export type LockRecursionException = LockRecursionException$instance & __LockRecursionException$views;
676
651
 
677
652
 
678
- export abstract class ManualResetEvent$protected {
679
- protected Dispose3(explicitDisposing: boolean): void;
680
- }
681
-
682
-
683
- export interface ManualResetEvent$instance extends ManualResetEvent$protected, EventWaitHandle$instance {
653
+ export interface ManualResetEvent$instance extends EventWaitHandle$instance {
684
654
  Dispose(): void;
655
+ Dispose(explicitDisposing: boolean): void;
685
656
  }
686
657
 
687
658
 
@@ -697,16 +668,12 @@ export interface __ManualResetEvent$views {
697
668
  export type ManualResetEvent = ManualResetEvent$instance & __ManualResetEvent$views;
698
669
 
699
670
 
700
- export abstract class ManualResetEventSlim$protected {
701
- protected Dispose(disposing: boolean): void;
702
- }
703
-
704
-
705
- export interface ManualResetEventSlim$instance extends ManualResetEventSlim$protected {
671
+ export interface ManualResetEventSlim$instance {
706
672
  IsSet: boolean;
707
673
  SpinCount: int;
708
674
  readonly WaitHandle: WaitHandle;
709
675
  Dispose(): void;
676
+ Dispose(disposing: boolean): void;
710
677
  Reset(): void;
711
678
  Set(): void;
712
679
  Wait(): void;
@@ -732,13 +699,9 @@ export interface __ManualResetEventSlim$views {
732
699
  export type ManualResetEventSlim = ManualResetEventSlim$instance & __ManualResetEventSlim$views;
733
700
 
734
701
 
735
- export abstract class Mutex$protected {
736
- protected Dispose(explicitDisposing: boolean): void;
737
- }
738
-
739
-
740
- export interface Mutex$instance extends Mutex$protected, WaitHandle$instance {
741
- Dispose3(): void;
702
+ export interface Mutex$instance extends WaitHandle$instance {
703
+ Dispose(explicitDisposing: boolean): void;
704
+ Dispose(): void;
742
705
  ReleaseMutex(): void;
743
706
  }
744
707
 
@@ -789,14 +752,10 @@ export const Overlapped: {
789
752
 
790
753
  export type Overlapped = Overlapped$instance;
791
754
 
792
- export abstract class PeriodicTimer$protected {
793
- protected Finalize(): void;
794
- }
795
-
796
-
797
- export interface PeriodicTimer$instance extends PeriodicTimer$protected {
755
+ export interface PeriodicTimer$instance {
798
756
  Period: TimeSpan;
799
757
  Dispose(): void;
758
+ Finalize(): void;
800
759
  WaitForNextTickAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
801
760
  }
802
761
 
@@ -911,19 +870,14 @@ export interface RegisteredWaitHandle$instance extends MarshalByRefObject {
911
870
 
912
871
 
913
872
  export const RegisteredWaitHandle: {
914
- new(): RegisteredWaitHandle;
915
873
  };
916
874
 
917
875
 
918
876
  export type RegisteredWaitHandle = RegisteredWaitHandle$instance;
919
877
 
920
- export abstract class Semaphore$protected {
921
- protected Dispose(explicitDisposing: boolean): void;
922
- }
923
-
924
-
925
- export interface Semaphore$instance extends Semaphore$protected, WaitHandle$instance {
926
- Dispose3(): void;
878
+ export interface Semaphore$instance extends WaitHandle$instance {
879
+ Dispose(explicitDisposing: boolean): void;
880
+ Dispose(): void;
927
881
  Release(): int;
928
882
  Release(releaseCount: int): int;
929
883
  }
@@ -958,7 +912,6 @@ export const SemaphoreFullException: {
958
912
  new(): SemaphoreFullException;
959
913
  new(message: string): SemaphoreFullException;
960
914
  new(message: string, innerException: Exception): SemaphoreFullException;
961
- new(info: SerializationInfo, context: StreamingContext): SemaphoreFullException;
962
915
  };
963
916
 
964
917
 
@@ -969,15 +922,11 @@ export interface __SemaphoreFullException$views {
969
922
  export type SemaphoreFullException = SemaphoreFullException$instance & __SemaphoreFullException$views;
970
923
 
971
924
 
972
- export abstract class SemaphoreSlim$protected {
973
- protected Dispose(disposing: boolean): void;
974
- }
975
-
976
-
977
- export interface SemaphoreSlim$instance extends SemaphoreSlim$protected {
925
+ export interface SemaphoreSlim$instance {
978
926
  readonly AvailableWaitHandle: WaitHandle;
979
927
  readonly CurrentCount: int;
980
928
  Dispose(): void;
929
+ Dispose(disposing: boolean): void;
981
930
  Release(): int;
982
931
  Release(releaseCount: int): int;
983
932
  Wait(): void;
@@ -1038,7 +987,6 @@ export const SynchronizationLockException: {
1038
987
  new(): SynchronizationLockException;
1039
988
  new(message: string): SynchronizationLockException;
1040
989
  new(message: string, innerException: Exception): SynchronizationLockException;
1041
- new(info: SerializationInfo, context: StreamingContext): SynchronizationLockException;
1042
990
  };
1043
991
 
1044
992
 
@@ -1049,12 +997,7 @@ export interface __SynchronizationLockException$views {
1049
997
  export type SynchronizationLockException = SynchronizationLockException$instance & __SynchronizationLockException$views;
1050
998
 
1051
999
 
1052
- export abstract class Thread$protected {
1053
- protected Finalize(): void;
1054
- }
1055
-
1056
-
1057
- export interface Thread$instance extends Thread$protected, CriticalFinalizerObject {
1000
+ export interface Thread$instance extends CriticalFinalizerObject {
1058
1001
  ApartmentState: ApartmentState;
1059
1002
  CurrentCulture: CultureInfo;
1060
1003
  CurrentUICulture: CultureInfo;
@@ -1063,12 +1006,14 @@ export interface Thread$instance extends Thread$protected, CriticalFinalizerObje
1063
1006
  IsBackground: boolean;
1064
1007
  IsThreadPoolThread: boolean;
1065
1008
  readonly ManagedThreadId: int;
1066
- Name: string;
1009
+ get Name(): string | undefined;
1010
+ set Name(value: string | undefined);
1067
1011
  Priority: ThreadPriority;
1068
1012
  readonly ThreadState: ThreadState;
1069
1013
  Abort(): void;
1070
1014
  Abort(stateInfo: unknown): void;
1071
1015
  DisableComObjectEagerCleanup(): void;
1016
+ Finalize(): void;
1072
1017
  GetApartmentState(): ApartmentState;
1073
1018
  GetCompressedStack(): CompressedStack;
1074
1019
  GetHashCode(): int;
@@ -1094,7 +1039,7 @@ export const Thread: {
1094
1039
  new(start: ParameterizedThreadStart): Thread;
1095
1040
  new(start: ParameterizedThreadStart, maxStackSize: int): Thread;
1096
1041
  get CurrentPrincipal(): IPrincipal | undefined;
1097
- set CurrentPrincipal(value: IPrincipal);
1042
+ set CurrentPrincipal(value: IPrincipal | undefined);
1098
1043
  readonly CurrentThread: Thread;
1099
1044
  AllocateDataSlot(): LocalDataStoreSlot;
1100
1045
  AllocateNamedDataSlot(name: string): LocalDataStoreSlot;
@@ -1153,7 +1098,6 @@ export interface ThreadAbortException$instance extends SystemException {
1153
1098
 
1154
1099
 
1155
1100
  export const ThreadAbortException: {
1156
- new(): ThreadAbortException;
1157
1101
  };
1158
1102
 
1159
1103
 
@@ -1185,7 +1129,6 @@ export const ThreadInterruptedException: {
1185
1129
  new(): ThreadInterruptedException;
1186
1130
  new(message: string): ThreadInterruptedException;
1187
1131
  new(message: string, innerException: Exception): ThreadInterruptedException;
1188
- new(info: SerializationInfo, context: StreamingContext): ThreadInterruptedException;
1189
1132
  };
1190
1133
 
1191
1134
 
@@ -1196,17 +1139,13 @@ export interface __ThreadInterruptedException$views {
1196
1139
  export type ThreadInterruptedException = ThreadInterruptedException$instance & __ThreadInterruptedException$views;
1197
1140
 
1198
1141
 
1199
- export abstract class ThreadLocal_1$protected<T> {
1200
- protected Dispose(disposing: boolean): void;
1201
- protected Finalize(): void;
1202
- }
1203
-
1204
-
1205
- export interface ThreadLocal_1$instance<T> extends ThreadLocal_1$protected<T> {
1142
+ export interface ThreadLocal_1$instance<T> {
1206
1143
  readonly IsValueCreated: boolean;
1207
1144
  Value: T;
1208
1145
  readonly Values: IList_1<T>;
1209
1146
  Dispose(): void;
1147
+ Dispose(disposing: boolean): void;
1148
+ Finalize(): void;
1210
1149
  ToString(): string | undefined;
1211
1150
  }
1212
1151
 
@@ -1237,7 +1176,6 @@ export interface ThreadPoolBoundHandle$instance {
1237
1176
 
1238
1177
 
1239
1178
  export const ThreadPoolBoundHandle: {
1240
- new(): ThreadPoolBoundHandle;
1241
1179
  BindHandle(handle: SafeHandle): ThreadPoolBoundHandle;
1242
1180
  GetNativeOverlappedState(overlapped: ptr<NativeOverlapped>): unknown | undefined;
1243
1181
  };
@@ -1258,7 +1196,6 @@ export interface ThreadStartException$instance extends SystemException {
1258
1196
 
1259
1197
 
1260
1198
  export const ThreadStartException: {
1261
- new(): ThreadStartException;
1262
1199
  };
1263
1200
 
1264
1201
 
@@ -1278,7 +1215,6 @@ export const ThreadStateException: {
1278
1215
  new(): ThreadStateException;
1279
1216
  new(message: string): ThreadStateException;
1280
1217
  new(message: string, innerException: Exception): ThreadStateException;
1281
- new(info: SerializationInfo, context: StreamingContext): ThreadStateException;
1282
1218
  };
1283
1219
 
1284
1220
 
@@ -1319,15 +1255,11 @@ export interface __Timer$views {
1319
1255
  export type Timer = Timer$instance & __Timer$views;
1320
1256
 
1321
1257
 
1322
- export abstract class WaitHandle$protected {
1323
- protected Dispose(explicitDisposing: boolean): void;
1324
- }
1325
-
1326
-
1327
- export interface WaitHandle$instance extends WaitHandle$protected, MarshalByRefObject {
1258
+ export interface WaitHandle$instance extends MarshalByRefObject {
1328
1259
  Handle: nint;
1329
1260
  SafeWaitHandle: SafeWaitHandle;
1330
1261
  Close(): void;
1262
+ Dispose(explicitDisposing: boolean): void;
1331
1263
  Dispose(): void;
1332
1264
  WaitOne(millisecondsTimeout: int): boolean;
1333
1265
  WaitOne(timeout: TimeSpan): boolean;
@@ -1337,8 +1269,7 @@ export interface WaitHandle$instance extends WaitHandle$protected, MarshalByRefO
1337
1269
  }
1338
1270
 
1339
1271
 
1340
- export const WaitHandle: {
1341
- new(): WaitHandle;
1272
+ export const WaitHandle: (abstract new() => WaitHandle) & {
1342
1273
  readonly InvalidHandle: nint;
1343
1274
  readonly WaitTimeout: int;
1344
1275
  SignalAndWait(toSignal: WaitHandle, toWaitOn: WaitHandle, millisecondsTimeout: int, exitContext: boolean): boolean;
@@ -1373,7 +1304,6 @@ export const WaitHandleCannotBeOpenedException: {
1373
1304
  new(): WaitHandleCannotBeOpenedException;
1374
1305
  new(message: string): WaitHandleCannotBeOpenedException;
1375
1306
  new(message: string, innerException: Exception): WaitHandleCannotBeOpenedException;
1376
- new(info: SerializationInfo, context: StreamingContext): WaitHandleCannotBeOpenedException;
1377
1307
  };
1378
1308
 
1379
1309
 
@@ -44,8 +44,7 @@ export interface Channel_1$instance<T> extends Channel_2<T, T> {
44
44
  }
45
45
 
46
46
 
47
- export const Channel_1: {
48
- new<T>(): Channel_1<T>;
47
+ export const Channel_1: (abstract new<T>() => Channel_1<T>) & {
49
48
  };
50
49
 
51
50
 
@@ -57,8 +56,7 @@ export interface Channel_2$instance<TWrite, TRead> {
57
56
  }
58
57
 
59
58
 
60
- export const Channel_2: {
61
- new<TWrite, TRead>(): Channel_2<TWrite, TRead>;
59
+ export const Channel_2: (abstract new<TWrite, TRead>() => Channel_2<TWrite, TRead>) & {
62
60
  };
63
61
 
64
62
 
@@ -74,7 +72,6 @@ export const ChannelClosedException: {
74
72
  new(message: string): ChannelClosedException;
75
73
  new(innerException: Exception): ChannelClosedException;
76
74
  new(message: string, innerException: Exception): ChannelClosedException;
77
- new(info: SerializationInfo, context: StreamingContext): ChannelClosedException;
78
75
  };
79
76
 
80
77
 
@@ -92,8 +89,7 @@ export interface ChannelOptions$instance {
92
89
  }
93
90
 
94
91
 
95
- export const ChannelOptions: {
96
- new(): ChannelOptions;
92
+ export const ChannelOptions: (abstract new() => ChannelOptions) & {
97
93
  };
98
94
 
99
95
 
@@ -112,8 +108,7 @@ export interface ChannelReader_1$instance<T> {
112
108
  }
113
109
 
114
110
 
115
- export const ChannelReader_1: {
116
- new<T>(): ChannelReader_1<T>;
111
+ export const ChannelReader_1: (abstract new<T>() => ChannelReader_1<T>) & {
117
112
  };
118
113
 
119
114
 
@@ -128,8 +123,7 @@ export interface ChannelWriter_1$instance<T> {
128
123
  }
129
124
 
130
125
 
131
- export const ChannelWriter_1: {
132
- new<T>(): ChannelWriter_1<T>;
126
+ export const ChannelWriter_1: (abstract new<T>() => ChannelWriter_1<T>) & {
133
127
  };
134
128
 
135
129
 
@@ -147,7 +141,8 @@ export const UnboundedChannelOptions: {
147
141
  export type UnboundedChannelOptions = UnboundedChannelOptions$instance;
148
142
 
149
143
  export interface UnboundedPrioritizedChannelOptions_1$instance<T> extends ChannelOptions {
150
- Comparer: IComparer_1<T>;
144
+ get Comparer(): IComparer_1<T> | undefined;
145
+ set Comparer(value: IComparer_1<T> | undefined);
151
146
  }
152
147
 
153
148
 
@@ -94,6 +94,7 @@ export interface ValueTask$instance {
94
94
  GetAwaiter(): ValueTaskAwaiter;
95
95
  GetHashCode(): int;
96
96
  Preserve(): ValueTask;
97
+ then<TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
97
98
  }
98
99
 
99
100
 
@@ -133,6 +134,7 @@ export interface ValueTask_1$instance<TResult> {
133
134
  GetHashCode(): int;
134
135
  Preserve(): ValueTask_1<TResult>;
135
136
  ToString(): string | undefined;
137
+ then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
136
138
  }
137
139
 
138
140
 
@@ -182,7 +184,6 @@ export interface ParallelLoopState$instance {
182
184
 
183
185
 
184
186
  export const ParallelLoopState: {
185
- new(): ParallelLoopState;
186
187
  };
187
188
 
188
189
 
@@ -191,7 +192,8 @@ export type ParallelLoopState = ParallelLoopState$instance;
191
192
  export interface ParallelOptions$instance {
192
193
  CancellationToken: CancellationToken;
193
194
  MaxDegreeOfParallelism: int;
194
- TaskScheduler: TaskScheduler;
195
+ get TaskScheduler(): TaskScheduler | undefined;
196
+ set TaskScheduler(value: TaskScheduler | undefined);
195
197
  }
196
198
 
197
199
 
@@ -202,15 +204,10 @@ export const ParallelOptions: {
202
204
 
203
205
  export type ParallelOptions = ParallelOptions$instance;
204
206
 
205
- export abstract class Task$protected {
206
- protected Dispose(disposing: boolean): void;
207
- }
208
-
209
-
210
- export interface Task$instance extends Task$protected {
207
+ export interface Task$instance {
211
208
  readonly AsyncState: unknown | undefined;
212
209
  readonly CreationOptions: TaskCreationOptions;
213
- readonly Exception: AggregateException;
210
+ readonly Exception: AggregateException | undefined;
214
211
  readonly Id: int;
215
212
  readonly IsCanceled: boolean;
216
213
  readonly IsCompleted: boolean;
@@ -240,6 +237,7 @@ export interface Task$instance extends Task$protected {
240
237
  ContinueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
241
238
  ContinueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
242
239
  Dispose(): void;
240
+ Dispose(disposing: boolean): void;
243
241
  GetAwaiter(): TaskAwaiter;
244
242
  RunSynchronously(): void;
245
243
  RunSynchronously(scheduler: TaskScheduler): void;
@@ -256,6 +254,7 @@ export interface Task$instance extends Task$protected {
256
254
  WaitAsync(timeout: TimeSpan, timeProvider: TimeProvider): Task;
257
255
  WaitAsync(timeout: TimeSpan, cancellationToken: CancellationToken): Task;
258
256
  WaitAsync(timeout: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
257
+ then<TResult1 = void, TResult2 = never>(onfulfilled?: ((value: void) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
259
258
  }
260
259
 
261
260
 
@@ -334,12 +333,7 @@ export interface Task$instance extends System_Internal.IAsyncResult$instance {}
334
333
  export type Task = Task$instance & __Task$views;
335
334
 
336
335
 
337
- export abstract class Task_1$protected<TResult> {
338
- protected Dispose2(disposing: boolean): void;
339
- }
340
-
341
-
342
- export interface Task_1$instance<TResult> extends Task_1$protected<TResult>, Task$instance {
336
+ export interface Task_1$instance<TResult> extends Task$instance {
343
337
  readonly Result: TResult;
344
338
  ConfigureAwait(options: ConfigureAwaitOptions): ConfiguredTaskAwaitable_1<TResult>;
345
339
  ConfigureAwait(continueOnCapturedContext: boolean): ConfiguredTaskAwaitable;
@@ -375,6 +369,7 @@ export interface Task_1$instance<TResult> extends Task_1$protected<TResult>, Tas
375
369
  ContinueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, continuationOptions: TaskContinuationOptions): Task_1<TResult>;
376
370
  ContinueWith<TResult>(continuationFunction: Func_3<Task, unknown, TResult>, state: unknown, cancellationToken: CancellationToken, continuationOptions: TaskContinuationOptions, scheduler: TaskScheduler): Task_1<TResult>;
377
371
  Dispose(): void;
372
+ Dispose(disposing: boolean): void;
378
373
  GetAwaiter(): TaskAwaiter;
379
374
  WaitAsync(timeout: TimeSpan): Task_1<TResult>;
380
375
  WaitAsync(timeout: TimeSpan, timeProvider: TimeProvider): Task_1<TResult>;
@@ -383,6 +378,7 @@ export interface Task_1$instance<TResult> extends Task_1$protected<TResult>, Tas
383
378
  WaitAsync(timeout: TimeSpan, timeProvider: TimeProvider): Task;
384
379
  WaitAsync(timeout: TimeSpan, cancellationToken: CancellationToken): Task;
385
380
  WaitAsync(timeout: TimeSpan, timeProvider: TimeProvider, cancellationToken: CancellationToken): Task;
381
+ then<TResult1 = TResult, TResult2 = never>(onfulfilled?: ((value: TResult) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): PromiseLike<TResult1 | TResult2>;
386
382
  }
387
383
 
388
384
 
@@ -409,7 +405,7 @@ export type Task_1<TResult> = Task_1$instance<TResult> & __Task_1$views<TResult>
409
405
 
410
406
 
411
407
  export interface TaskCanceledException$instance extends OperationCanceledException {
412
- readonly Task: Task;
408
+ readonly Task: Task | undefined;
413
409
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
414
410
  }
415
411
 
@@ -420,7 +416,6 @@ export const TaskCanceledException: {
420
416
  new(message: string, innerException: Exception): TaskCanceledException;
421
417
  new(message: string, innerException: Exception, token: CancellationToken): TaskCanceledException;
422
418
  new(task: Task): TaskCanceledException;
423
- new(info: SerializationInfo, context: StreamingContext): TaskCanceledException;
424
419
  };
425
420
 
426
421
 
@@ -628,22 +623,17 @@ export const TaskFactory_1: {
628
623
 
629
624
  export type TaskFactory_1<TResult> = TaskFactory_1$instance<TResult>;
630
625
 
631
- export abstract class TaskScheduler$protected {
632
- protected abstract GetScheduledTasks(): IEnumerable_1<Task> | undefined;
633
- protected abstract QueueTask(task: Task): void;
634
- protected TryDequeue(task: Task): boolean;
635
- protected abstract TryExecuteTaskInline(task: Task, taskWasPreviouslyQueued: boolean): boolean;
636
- }
637
-
638
-
639
- export interface TaskScheduler$instance extends TaskScheduler$protected {
626
+ export interface TaskScheduler$instance {
640
627
  readonly Id: int;
641
628
  readonly MaximumConcurrencyLevel: int;
629
+ GetScheduledTasks(): IEnumerable_1<Task> | undefined;
630
+ QueueTask(task: Task): void;
631
+ TryDequeue(task: Task): boolean;
632
+ TryExecuteTaskInline(task: Task, taskWasPreviouslyQueued: boolean): boolean;
642
633
  }
643
634
 
644
635
 
645
- export const TaskScheduler: {
646
- new(): TaskScheduler;
636
+ export const TaskScheduler: (abstract new() => TaskScheduler) & {
647
637
  readonly Default: TaskScheduler;
648
638
  readonly Current: TaskScheduler;
649
639
  FromCurrentSynchronizationContext(): TaskScheduler;
@@ -662,7 +652,6 @@ export const TaskSchedulerException: {
662
652
  new(message: string): TaskSchedulerException;
663
653
  new(innerException: Exception): TaskSchedulerException;
664
654
  new(message: string, innerException: Exception): TaskSchedulerException;
665
- new(info: SerializationInfo, context: StreamingContext): TaskSchedulerException;
666
655
  };
667
656
 
668
657
 
@@ -29,21 +29,17 @@ export const ElapsedEventArgs: {
29
29
 
30
30
  export type ElapsedEventArgs = ElapsedEventArgs$instance;
31
31
 
32
- export abstract class Timer$protected {
33
- protected Dispose2(disposing: boolean): void;
34
- }
35
-
36
-
37
- export interface Timer$instance extends Timer$protected, Component {
32
+ export interface Timer$instance extends Component {
38
33
  AutoReset: boolean;
39
34
  Enabled: boolean;
40
35
  Interval: double;
41
36
  get Site(): ISite | undefined;
42
- set Site(value: ISite);
37
+ set Site(value: ISite | undefined);
43
38
  get SynchronizingObject(): ISynchronizeInvoke | undefined;
44
- set SynchronizingObject(value: ISynchronizeInvoke);
39
+ set SynchronizingObject(value: ISynchronizeInvoke | undefined);
45
40
  BeginInit(): void;
46
41
  Close(): void;
42
+ Dispose(disposing: boolean): void;
47
43
  Dispose(): void;
48
44
  EndInit(): void;
49
45
  Start(): void;