@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
@@ -153,13 +153,9 @@ export enum UnicodeCategory {
153
153
  }
154
154
 
155
155
 
156
- export abstract class Calendar$protected {
157
- protected readonly DaysInYearBeforeMinSupportedYear: int;
158
- }
159
-
160
-
161
- export interface Calendar$instance extends Calendar$protected {
156
+ export interface Calendar$instance {
162
157
  readonly AlgorithmType: CalendarAlgorithmType;
158
+ readonly DaysInYearBeforeMinSupportedYear: int;
163
159
  readonly Eras: int[];
164
160
  readonly IsReadOnly: boolean;
165
161
  readonly MaxSupportedDateTime: DateTime;
@@ -205,8 +201,7 @@ export interface Calendar$instance extends Calendar$protected {
205
201
  }
206
202
 
207
203
 
208
- export const Calendar: {
209
- new(): Calendar;
204
+ export const Calendar: (abstract new() => Calendar) & {
210
205
  readonly CurrentEra: int;
211
206
  ReadOnly(calendar: Calendar): Calendar;
212
207
  };
@@ -221,12 +216,8 @@ export interface Calendar$instance extends System_Internal.ICloneable$instance {
221
216
  export type Calendar = Calendar$instance & __Calendar$views;
222
217
 
223
218
 
224
- export abstract class ChineseLunisolarCalendar$protected {
225
- protected readonly DaysInYearBeforeMinSupportedYear: int;
226
- }
227
-
228
-
229
- export interface ChineseLunisolarCalendar$instance extends ChineseLunisolarCalendar$protected, EastAsianLunisolarCalendar$instance {
219
+ export interface ChineseLunisolarCalendar$instance extends EastAsianLunisolarCalendar$instance {
220
+ readonly DaysInYearBeforeMinSupportedYear: int;
230
221
  readonly Eras: int[];
231
222
  readonly MaxSupportedDateTime: DateTime;
232
223
  readonly MinSupportedDateTime: DateTime;
@@ -310,7 +301,6 @@ export interface CompareInfo$instance {
310
301
 
311
302
 
312
303
  export const CompareInfo: {
313
- new(): CompareInfo;
314
304
  GetCompareInfo(culture: int, assembly: Assembly): CompareInfo;
315
305
  GetCompareInfo(culture: int): CompareInfo;
316
306
  GetCompareInfo(name: string, assembly: Assembly): CompareInfo;
@@ -372,9 +362,9 @@ export const CultureInfo: {
372
362
  CurrentUICulture: CultureInfo;
373
363
  readonly InstalledUICulture: CultureInfo;
374
364
  get DefaultThreadCurrentCulture(): CultureInfo | undefined;
375
- set DefaultThreadCurrentCulture(value: CultureInfo);
365
+ set DefaultThreadCurrentCulture(value: CultureInfo | undefined);
376
366
  get DefaultThreadCurrentUICulture(): CultureInfo | undefined;
377
- set DefaultThreadCurrentUICulture(value: CultureInfo);
367
+ set DefaultThreadCurrentUICulture(value: CultureInfo | undefined);
378
368
  readonly InvariantCulture: CultureInfo;
379
369
  CreateSpecificCulture(name: string): CultureInfo;
380
370
  GetCultureInfo(culture: int): CultureInfo;
@@ -414,7 +404,6 @@ export const CultureNotFoundException: {
414
404
  new(message: string, invalidCultureName: string, innerException: Exception): CultureNotFoundException;
415
405
  new(message: string, invalidCultureId: int, innerException: Exception): CultureNotFoundException;
416
406
  new(paramName: string, invalidCultureId: int, message: string): CultureNotFoundException;
417
- new(info: SerializationInfo, context: StreamingContext): CultureNotFoundException;
418
407
  };
419
408
 
420
409
 
@@ -644,13 +633,9 @@ export interface __HebrewCalendar$views {
644
633
  export type HebrewCalendar = HebrewCalendar$instance & __HebrewCalendar$views;
645
634
 
646
635
 
647
- export abstract class HijriCalendar$protected {
648
- protected readonly DaysInYearBeforeMinSupportedYear: int;
649
- }
650
-
651
-
652
- export interface HijriCalendar$instance extends HijriCalendar$protected, Calendar$instance {
636
+ export interface HijriCalendar$instance extends Calendar$instance {
653
637
  readonly AlgorithmType: CalendarAlgorithmType;
638
+ readonly DaysInYearBeforeMinSupportedYear: int;
654
639
  readonly Eras: int[];
655
640
  HijriAdjustment: int;
656
641
  readonly MaxSupportedDateTime: DateTime;
@@ -767,12 +752,8 @@ export interface __JapaneseCalendar$views {
767
752
  export type JapaneseCalendar = JapaneseCalendar$instance & __JapaneseCalendar$views;
768
753
 
769
754
 
770
- export abstract class JapaneseLunisolarCalendar$protected {
771
- protected readonly DaysInYearBeforeMinSupportedYear: int;
772
- }
773
-
774
-
775
- export interface JapaneseLunisolarCalendar$instance extends JapaneseLunisolarCalendar$protected, EastAsianLunisolarCalendar$instance {
755
+ export interface JapaneseLunisolarCalendar$instance extends EastAsianLunisolarCalendar$instance {
756
+ readonly DaysInYearBeforeMinSupportedYear: int;
776
757
  readonly Eras: int[];
777
758
  readonly MaxSupportedDateTime: DateTime;
778
759
  readonly MinSupportedDateTime: DateTime;
@@ -891,12 +872,8 @@ export interface __KoreanCalendar$views {
891
872
  export type KoreanCalendar = KoreanCalendar$instance & __KoreanCalendar$views;
892
873
 
893
874
 
894
- export abstract class KoreanLunisolarCalendar$protected {
895
- protected readonly DaysInYearBeforeMinSupportedYear: int;
896
- }
897
-
898
-
899
- export interface KoreanLunisolarCalendar$instance extends KoreanLunisolarCalendar$protected, EastAsianLunisolarCalendar$instance {
875
+ export interface KoreanLunisolarCalendar$instance extends EastAsianLunisolarCalendar$instance {
876
+ readonly DaysInYearBeforeMinSupportedYear: int;
900
877
  readonly Eras: int[];
901
878
  readonly MaxSupportedDateTime: DateTime;
902
879
  readonly MinSupportedDateTime: DateTime;
@@ -1058,7 +1035,6 @@ export interface SortKey$instance {
1058
1035
 
1059
1036
 
1060
1037
  export const SortKey: {
1061
- new(): SortKey;
1062
1038
  Compare(sortkey1: SortKey, sortkey2: SortKey): int;
1063
1039
  };
1064
1040
 
@@ -1163,12 +1139,8 @@ export interface __TaiwanCalendar$views {
1163
1139
  export type TaiwanCalendar = TaiwanCalendar$instance & __TaiwanCalendar$views;
1164
1140
 
1165
1141
 
1166
- export abstract class TaiwanLunisolarCalendar$protected {
1167
- protected readonly DaysInYearBeforeMinSupportedYear: int;
1168
- }
1169
-
1170
-
1171
- export interface TaiwanLunisolarCalendar$instance extends TaiwanLunisolarCalendar$protected, EastAsianLunisolarCalendar$instance {
1142
+ export interface TaiwanLunisolarCalendar$instance extends EastAsianLunisolarCalendar$instance {
1143
+ readonly DaysInYearBeforeMinSupportedYear: int;
1172
1144
  readonly Eras: int[];
1173
1145
  readonly MaxSupportedDateTime: DateTime;
1174
1146
  readonly MinSupportedDateTime: DateTime;
@@ -1199,7 +1171,6 @@ export interface TextElementEnumerator$instance {
1199
1171
 
1200
1172
 
1201
1173
  export const TextElementEnumerator: {
1202
- new(): TextElementEnumerator;
1203
1174
  };
1204
1175
 
1205
1176
 
@@ -1235,7 +1206,6 @@ export interface TextInfo$instance {
1235
1206
 
1236
1207
 
1237
1208
  export const TextInfo: {
1238
- new(): TextInfo;
1239
1209
  ReadOnly(textInfo: TextInfo): TextInfo;
1240
1210
  };
1241
1211
 
@@ -1299,13 +1269,9 @@ export interface __ThaiBuddhistCalendar$views {
1299
1269
  export type ThaiBuddhistCalendar = ThaiBuddhistCalendar$instance & __ThaiBuddhistCalendar$views;
1300
1270
 
1301
1271
 
1302
- export abstract class UmAlQuraCalendar$protected {
1303
- protected readonly DaysInYearBeforeMinSupportedYear: int;
1304
- }
1305
-
1306
-
1307
- export interface UmAlQuraCalendar$instance extends UmAlQuraCalendar$protected, Calendar$instance {
1272
+ export interface UmAlQuraCalendar$instance extends Calendar$instance {
1308
1273
  readonly AlgorithmType: CalendarAlgorithmType;
1274
+ readonly DaysInYearBeforeMinSupportedYear: int;
1309
1275
  readonly Eras: int[];
1310
1276
  readonly MaxSupportedDateTime: DateTime;
1311
1277
  readonly MinSupportedDateTime: DateTime;
@@ -177,9 +177,10 @@ export type RenamedEventHandler = (sender: unknown, e: RenamedEventArgs) => void
177
177
 
178
178
  export interface WaitForChangedResult$instance {
179
179
  ChangeType: WatcherChangeTypes;
180
- Name: string;
180
+ get Name(): string | undefined;
181
+ set Name(value: string | undefined);
181
182
  get OldName(): string | undefined;
182
- set OldName(value: string);
183
+ set OldName(value: string | undefined);
183
184
  TimedOut: boolean;
184
185
  }
185
186
 
@@ -191,16 +192,12 @@ export const WaitForChangedResult: {
191
192
 
192
193
  export type WaitForChangedResult = WaitForChangedResult$instance;
193
194
 
194
- export abstract class BinaryReader$protected {
195
- protected Dispose(disposing: boolean): void;
196
- protected FillBuffer(numBytes: int): void;
197
- }
198
-
199
-
200
- export interface BinaryReader$instance extends BinaryReader$protected {
195
+ export interface BinaryReader$instance {
201
196
  readonly BaseStream: Stream;
202
197
  Close(): void;
198
+ Dispose(disposing: boolean): void;
203
199
  Dispose(): void;
200
+ FillBuffer(numBytes: int): void;
204
201
  PeekChar(): int;
205
202
  Read(): int;
206
203
  Read(buffer: char[], index: int, count: int): int;
@@ -244,14 +241,10 @@ export interface __BinaryReader$views {
244
241
  export type BinaryReader = BinaryReader$instance & __BinaryReader$views;
245
242
 
246
243
 
247
- export abstract class BinaryWriter$protected {
248
- protected Dispose(disposing: boolean): void;
249
- }
250
-
251
-
252
- export interface BinaryWriter$instance extends BinaryWriter$protected {
244
+ export interface BinaryWriter$instance {
253
245
  readonly BaseStream: Stream;
254
246
  Close(): void;
247
+ Dispose(disposing: boolean): void;
255
248
  Dispose(): void;
256
249
  DisposeAsync(): ValueTask;
257
250
  Flush(): void;
@@ -283,7 +276,6 @@ export interface BinaryWriter$instance extends BinaryWriter$protected {
283
276
 
284
277
 
285
278
  export const BinaryWriter: {
286
- new(): BinaryWriter;
287
279
  new(output: Stream): BinaryWriter;
288
280
  new(output: Stream, encoding: Encoding): BinaryWriter;
289
281
  new(output: Stream, encoding: Encoding, leaveOpen: boolean): BinaryWriter;
@@ -301,12 +293,7 @@ export interface BinaryWriter$instance extends System_Internal.IAsyncDisposable$
301
293
  export type BinaryWriter = BinaryWriter$instance & __BinaryWriter$views;
302
294
 
303
295
 
304
- export abstract class BufferedStream$protected {
305
- protected Dispose2(disposing: boolean): void;
306
- }
307
-
308
-
309
- export interface BufferedStream$instance extends BufferedStream$protected, Stream$instance {
296
+ export interface BufferedStream$instance extends Stream$instance {
310
297
  readonly BufferSize: int;
311
298
  readonly CanRead: boolean;
312
299
  readonly CanSeek: boolean;
@@ -322,6 +309,7 @@ export interface BufferedStream$instance extends BufferedStream$protected, Strea
322
309
  CopyToAsync(destination: Stream): Task;
323
310
  CopyToAsync(destination: Stream, bufferSize: int): Task;
324
311
  CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
312
+ Dispose(disposing: boolean): void;
325
313
  Dispose(): void;
326
314
  DisposeAsync(): ValueTask;
327
315
  EndRead(asyncResult: IAsyncResult): int;
@@ -368,7 +356,7 @@ export type BufferedStream = BufferedStream$instance & __BufferedStream$views;
368
356
  export interface DirectoryInfo$instance extends FileSystemInfo$instance {
369
357
  readonly Exists: boolean;
370
358
  readonly Name: string;
371
- readonly Parent: DirectoryInfo;
359
+ readonly Parent: DirectoryInfo | undefined;
372
360
  readonly Root: DirectoryInfo;
373
361
  Create(): void;
374
362
  CreateSubdirectory(path: string): DirectoryInfo;
@@ -423,7 +411,6 @@ export const DirectoryNotFoundException: {
423
411
  new(): DirectoryNotFoundException;
424
412
  new(message: string): DirectoryNotFoundException;
425
413
  new(message: string, innerException: Exception): DirectoryNotFoundException;
426
- new(info: SerializationInfo, context: StreamingContext): DirectoryNotFoundException;
427
414
  };
428
415
 
429
416
 
@@ -472,7 +459,6 @@ export const DriveNotFoundException: {
472
459
  new(): DriveNotFoundException;
473
460
  new(message: string): DriveNotFoundException;
474
461
  new(message: string, innerException: Exception): DriveNotFoundException;
475
- new(info: SerializationInfo, context: StreamingContext): DriveNotFoundException;
476
462
  };
477
463
 
478
464
 
@@ -492,7 +478,6 @@ export const EndOfStreamException: {
492
478
  new(): EndOfStreamException;
493
479
  new(message: string): EndOfStreamException;
494
480
  new(message: string, innerException: Exception): EndOfStreamException;
495
- new(info: SerializationInfo, context: StreamingContext): EndOfStreamException;
496
481
  };
497
482
 
498
483
 
@@ -577,7 +562,7 @@ export type FileInfo = FileInfo$instance & __FileInfo$views;
577
562
 
578
563
 
579
564
  export interface FileLoadException$instance extends IOException$instance {
580
- readonly FileName: string;
565
+ readonly FileName: string | undefined;
581
566
  readonly FusionLog: string | undefined;
582
567
  readonly Message: string;
583
568
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
@@ -591,7 +576,6 @@ export const FileLoadException: {
591
576
  new(message: string, inner: Exception): FileLoadException;
592
577
  new(message: string, fileName: string): FileLoadException;
593
578
  new(message: string, fileName: string, inner: Exception): FileLoadException;
594
- new(info: SerializationInfo, context: StreamingContext): FileLoadException;
595
579
  };
596
580
 
597
581
 
@@ -603,7 +587,7 @@ export type FileLoadException = FileLoadException$instance & __FileLoadException
603
587
 
604
588
 
605
589
  export interface FileNotFoundException$instance extends IOException$instance {
606
- readonly FileName: string;
590
+ readonly FileName: string | undefined;
607
591
  readonly FusionLog: string | undefined;
608
592
  readonly Message: string;
609
593
  GetObjectData(info: SerializationInfo, context: StreamingContext): void;
@@ -617,7 +601,6 @@ export const FileNotFoundException: {
617
601
  new(message: string, innerException: Exception): FileNotFoundException;
618
602
  new(message: string, fileName: string): FileNotFoundException;
619
603
  new(message: string, fileName: string, innerException: Exception): FileNotFoundException;
620
- new(info: SerializationInfo, context: StreamingContext): FileNotFoundException;
621
604
  };
622
605
 
623
606
 
@@ -628,13 +611,7 @@ export interface __FileNotFoundException$views {
628
611
  export type FileNotFoundException = FileNotFoundException$instance & __FileNotFoundException$views;
629
612
 
630
613
 
631
- export abstract class FileStream$protected {
632
- protected Dispose2(disposing: boolean): void;
633
- protected Finalize(): void;
634
- }
635
-
636
-
637
- export interface FileStream$instance extends FileStream$protected, Stream$instance {
614
+ export interface FileStream$instance extends Stream$instance {
638
615
  readonly CanRead: boolean;
639
616
  readonly CanSeek: boolean;
640
617
  readonly CanWrite: boolean;
@@ -652,10 +629,12 @@ export interface FileStream$instance extends FileStream$protected, Stream$instan
652
629
  CopyToAsync(destination: Stream): Task;
653
630
  CopyToAsync(destination: Stream, bufferSize: int): Task;
654
631
  CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
632
+ Dispose(disposing: boolean): void;
655
633
  Dispose(): void;
656
634
  DisposeAsync(): ValueTask;
657
635
  EndRead(asyncResult: IAsyncResult): int;
658
636
  EndWrite(asyncResult: IAsyncResult): void;
637
+ Finalize(): void;
659
638
  Flush(): void;
660
639
  FlushAsync(cancellationToken: CancellationToken): Task;
661
640
  FlushAsync(): Task;
@@ -730,7 +709,7 @@ export type FileStreamOptions = FileStreamOptions$instance;
730
709
  export interface FileSystemEventArgs$instance extends EventArgs {
731
710
  readonly ChangeType: WatcherChangeTypes;
732
711
  readonly FullPath: string;
733
- readonly Name: string;
712
+ readonly Name: string | undefined;
734
713
  }
735
714
 
736
715
 
@@ -764,9 +743,7 @@ export interface FileSystemInfo$instance extends MarshalByRefObject {
764
743
  }
765
744
 
766
745
 
767
- export const FileSystemInfo: {
768
- new(info: SerializationInfo, context: StreamingContext): FileSystemInfo;
769
- new(): FileSystemInfo;
746
+ export const FileSystemInfo: (abstract new(info: SerializationInfo, context: StreamingContext) => FileSystemInfo) & (abstract new() => FileSystemInfo) & {
770
747
  };
771
748
 
772
749
 
@@ -779,12 +756,7 @@ export interface FileSystemInfo$instance extends System_Runtime_Serialization_In
779
756
  export type FileSystemInfo = FileSystemInfo$instance & __FileSystemInfo$views;
780
757
 
781
758
 
782
- export abstract class FileSystemWatcher$protected {
783
- protected Dispose2(disposing: boolean): void;
784
- }
785
-
786
-
787
- export interface FileSystemWatcher$instance extends FileSystemWatcher$protected, Component {
759
+ export interface FileSystemWatcher$instance extends Component {
788
760
  EnableRaisingEvents: boolean;
789
761
  Filter: string;
790
762
  readonly Filters: Collection_1<System_Internal.String>;
@@ -793,10 +765,11 @@ export interface FileSystemWatcher$instance extends FileSystemWatcher$protected,
793
765
  NotifyFilter: NotifyFilters;
794
766
  Path: string;
795
767
  get Site(): ISite | undefined;
796
- set Site(value: ISite);
768
+ set Site(value: ISite | undefined);
797
769
  get SynchronizingObject(): ISynchronizeInvoke | undefined;
798
- set SynchronizingObject(value: ISynchronizeInvoke);
770
+ set SynchronizingObject(value: ISynchronizeInvoke | undefined);
799
771
  BeginInit(): void;
772
+ Dispose(disposing: boolean): void;
800
773
  Dispose(): void;
801
774
  EndInit(): void;
802
775
  WaitForChanged(changeType: WatcherChangeTypes): WaitForChangedResult;
@@ -832,7 +805,6 @@ export const InternalBufferOverflowException: {
832
805
  new(): InternalBufferOverflowException;
833
806
  new(message: string): InternalBufferOverflowException;
834
807
  new(message: string, inner: Exception): InternalBufferOverflowException;
835
- new(info: SerializationInfo, context: StreamingContext): InternalBufferOverflowException;
836
808
  };
837
809
 
838
810
 
@@ -872,7 +844,6 @@ export const IOException: {
872
844
  new(message: string): IOException;
873
845
  new(message: string, hresult: int): IOException;
874
846
  new(message: string, innerException: Exception): IOException;
875
- new(info: SerializationInfo, context: StreamingContext): IOException;
876
847
  };
877
848
 
878
849
 
@@ -883,12 +854,7 @@ export interface __IOException$views {
883
854
  export type IOException = IOException$instance & __IOException$views;
884
855
 
885
856
 
886
- export abstract class MemoryStream$protected {
887
- protected Dispose2(disposing: boolean): void;
888
- }
889
-
890
-
891
- export interface MemoryStream$instance extends MemoryStream$protected, Stream$instance {
857
+ export interface MemoryStream$instance extends Stream$instance {
892
858
  readonly CanRead: boolean;
893
859
  readonly CanSeek: boolean;
894
860
  readonly CanWrite: boolean;
@@ -901,6 +867,7 @@ export interface MemoryStream$instance extends MemoryStream$protected, Stream$in
901
867
  CopyToAsync(destination: Stream): Task;
902
868
  CopyToAsync(destination: Stream, bufferSize: int): Task;
903
869
  CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
870
+ Dispose(disposing: boolean): void;
904
871
  Dispose(): void;
905
872
  DisposeAsync(): ValueTask;
906
873
  Flush(): void;
@@ -960,7 +927,6 @@ export const PathTooLongException: {
960
927
  new(): PathTooLongException;
961
928
  new(message: string): PathTooLongException;
962
929
  new(message: string, innerException: Exception): PathTooLongException;
963
- new(info: SerializationInfo, context: StreamingContext): PathTooLongException;
964
930
  };
965
931
 
966
932
 
@@ -984,14 +950,7 @@ export const RenamedEventArgs: {
984
950
 
985
951
  export type RenamedEventArgs = RenamedEventArgs$instance;
986
952
 
987
- export abstract class Stream$protected {
988
- protected CreateWaitHandle(): WaitHandle;
989
- protected Dispose(disposing: boolean): void;
990
- protected ObjectInvariant(): void;
991
- }
992
-
993
-
994
- export interface Stream$instance extends Stream$protected, MarshalByRefObject {
953
+ export interface Stream$instance extends MarshalByRefObject {
995
954
  readonly CanRead: boolean;
996
955
  readonly CanSeek: boolean;
997
956
  readonly CanTimeout: boolean;
@@ -1009,13 +968,16 @@ export interface Stream$instance extends Stream$protected, MarshalByRefObject {
1009
968
  CopyToAsync(destination: Stream, bufferSize: int): Task;
1010
969
  CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
1011
970
  CopyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
971
+ CreateWaitHandle(): WaitHandle;
1012
972
  Dispose(): void;
973
+ Dispose(disposing: boolean): void;
1013
974
  DisposeAsync(): ValueTask;
1014
975
  EndRead(asyncResult: IAsyncResult): int;
1015
976
  EndWrite(asyncResult: IAsyncResult): void;
1016
977
  Flush(): void;
1017
978
  FlushAsync(): Task;
1018
979
  FlushAsync(cancellationToken: CancellationToken): Task;
980
+ ObjectInvariant(): void;
1019
981
  Read(buffer: byte[], offset: int, count: int): int;
1020
982
  Read(buffer: Span_1<System_Internal.Byte>): int;
1021
983
  ReadAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
@@ -1039,8 +1001,7 @@ export interface Stream$instance extends Stream$protected, MarshalByRefObject {
1039
1001
  }
1040
1002
 
1041
1003
 
1042
- export const Stream: {
1043
- new(): Stream;
1004
+ export const Stream: (abstract new() => Stream) & {
1044
1005
  readonly Null: Stream;
1045
1006
  Synchronized(stream: Stream): Stream;
1046
1007
  ValidateBufferArguments(buffer: byte[], offset: int, count: int): void;
@@ -1058,17 +1019,13 @@ export interface Stream$instance extends System_Internal.IAsyncDisposable$instan
1058
1019
  export type Stream = Stream$instance & __Stream$views;
1059
1020
 
1060
1021
 
1061
- export abstract class StreamReader$protected {
1062
- protected Dispose2(disposing: boolean): void;
1063
- }
1064
-
1065
-
1066
- export interface StreamReader$instance extends StreamReader$protected, TextReader$instance {
1022
+ export interface StreamReader$instance extends TextReader$instance {
1067
1023
  readonly BaseStream: Stream;
1068
1024
  readonly CurrentEncoding: Encoding;
1069
1025
  readonly EndOfStream: boolean;
1070
1026
  Close(): void;
1071
1027
  DiscardBufferedData(): void;
1028
+ Dispose(disposing: boolean): void;
1072
1029
  Dispose(): void;
1073
1030
  Peek(): int;
1074
1031
  Read(): int;
@@ -1123,16 +1080,12 @@ export interface __StreamReader$views {
1123
1080
  export type StreamReader = StreamReader$instance & __StreamReader$views;
1124
1081
 
1125
1082
 
1126
- export abstract class StreamWriter$protected {
1127
- protected Dispose2(disposing: boolean): void;
1128
- }
1129
-
1130
-
1131
- export interface StreamWriter$instance extends StreamWriter$protected, TextWriter$instance {
1083
+ export interface StreamWriter$instance extends TextWriter$instance {
1132
1084
  AutoFlush: boolean;
1133
1085
  readonly BaseStream: Stream;
1134
1086
  readonly Encoding: Encoding;
1135
1087
  Close(): void;
1088
+ Dispose(disposing: boolean): void;
1136
1089
  Dispose(): void;
1137
1090
  DisposeAsync(): ValueTask;
1138
1091
  Flush(): void;
@@ -1223,13 +1176,9 @@ export interface __StreamWriter$views {
1223
1176
  export type StreamWriter = StreamWriter$instance & __StreamWriter$views;
1224
1177
 
1225
1178
 
1226
- export abstract class StringReader$protected {
1227
- protected Dispose2(disposing: boolean): void;
1228
- }
1229
-
1230
-
1231
- export interface StringReader$instance extends StringReader$protected, TextReader$instance {
1179
+ export interface StringReader$instance extends TextReader$instance {
1232
1180
  Close(): void;
1181
+ Dispose(disposing: boolean): void;
1233
1182
  Dispose(): void;
1234
1183
  Peek(): int;
1235
1184
  Read(): int;
@@ -1272,14 +1221,10 @@ export interface __StringReader$views {
1272
1221
  export type StringReader = StringReader$instance & __StringReader$views;
1273
1222
 
1274
1223
 
1275
- export abstract class StringWriter$protected {
1276
- protected Dispose2(disposing: boolean): void;
1277
- }
1278
-
1279
-
1280
- export interface StringWriter$instance extends StringWriter$protected, TextWriter$instance {
1224
+ export interface StringWriter$instance extends TextWriter$instance {
1281
1225
  readonly Encoding: Encoding;
1282
1226
  Close(): void;
1227
+ Dispose(disposing: boolean): void;
1283
1228
  Dispose(): void;
1284
1229
  DisposeAsync(): ValueTask;
1285
1230
  FlushAsync(): Task;
@@ -1363,14 +1308,10 @@ export interface __StringWriter$views {
1363
1308
  export type StringWriter = StringWriter$instance & __StringWriter$views;
1364
1309
 
1365
1310
 
1366
- export abstract class TextReader$protected {
1367
- protected Dispose(disposing: boolean): void;
1368
- }
1369
-
1370
-
1371
- export interface TextReader$instance extends TextReader$protected, MarshalByRefObject {
1311
+ export interface TextReader$instance extends MarshalByRefObject {
1372
1312
  Close(): void;
1373
1313
  Dispose(): void;
1314
+ Dispose(disposing: boolean): void;
1374
1315
  Peek(): int;
1375
1316
  Read(): int;
1376
1317
  Read(buffer: char[], index: int, count: int): int;
@@ -1390,8 +1331,7 @@ export interface TextReader$instance extends TextReader$protected, MarshalByRefO
1390
1331
  }
1391
1332
 
1392
1333
 
1393
- export const TextReader: {
1394
- new(): TextReader;
1334
+ export const TextReader: (abstract new() => TextReader) & {
1395
1335
  readonly Null: TextReader;
1396
1336
  Synchronized(reader: TextReader): TextReader;
1397
1337
  };
@@ -1404,16 +1344,12 @@ export interface __TextReader$views {
1404
1344
  export type TextReader = TextReader$instance & __TextReader$views;
1405
1345
 
1406
1346
 
1407
- export abstract class TextWriter$protected {
1408
- protected Dispose(disposing: boolean): void;
1409
- }
1410
-
1411
-
1412
- export interface TextWriter$instance extends TextWriter$protected, MarshalByRefObject {
1347
+ export interface TextWriter$instance extends MarshalByRefObject {
1413
1348
  readonly Encoding: Encoding;
1414
1349
  readonly FormatProvider: IFormatProvider;
1415
1350
  NewLine: string;
1416
1351
  Close(): void;
1352
+ Dispose(disposing: boolean): void;
1417
1353
  Dispose(): void;
1418
1354
  DisposeAsync(): ValueTask;
1419
1355
  Flush(): void;
@@ -1476,9 +1412,7 @@ export interface TextWriter$instance extends TextWriter$protected, MarshalByRefO
1476
1412
  }
1477
1413
 
1478
1414
 
1479
- export const TextWriter: {
1480
- new(): TextWriter;
1481
- new(formatProvider: IFormatProvider): TextWriter;
1415
+ export const TextWriter: (abstract new() => TextWriter) & (abstract new(formatProvider: IFormatProvider) => TextWriter) & {
1482
1416
  readonly Null: TextWriter;
1483
1417
  CreateBroadcasting(...writers: TextWriter[]): TextWriter;
1484
1418
  Synchronized(writer: TextWriter): TextWriter;
@@ -1495,15 +1429,11 @@ export interface TextWriter$instance extends System_Internal.IAsyncDisposable$in
1495
1429
  export type TextWriter = TextWriter$instance & __TextWriter$views;
1496
1430
 
1497
1431
 
1498
- export abstract class UnmanagedMemoryAccessor$protected {
1499
- protected Dispose(disposing: boolean): void;
1500
- }
1501
-
1502
-
1503
- export interface UnmanagedMemoryAccessor$instance extends UnmanagedMemoryAccessor$protected {
1432
+ export interface UnmanagedMemoryAccessor$instance {
1504
1433
  readonly CanRead: boolean;
1505
1434
  readonly CanWrite: boolean;
1506
1435
  readonly Capacity: long;
1436
+ Dispose(disposing: boolean): void;
1507
1437
  Dispose(): void;
1508
1438
  Read<T extends unknown>(position: long, structure: T): void;
1509
1439
  ReadArray<T extends unknown>(position: long, array: T[], offset: int, count: int): int;
@@ -1539,7 +1469,6 @@ export interface UnmanagedMemoryAccessor$instance extends UnmanagedMemoryAccesso
1539
1469
 
1540
1470
 
1541
1471
  export const UnmanagedMemoryAccessor: {
1542
- new(): UnmanagedMemoryAccessor;
1543
1472
  new(buffer: SafeBuffer, offset: long, capacity: long): UnmanagedMemoryAccessor;
1544
1473
  new(buffer: SafeBuffer, offset: long, capacity: long, access: FileAccess): UnmanagedMemoryAccessor;
1545
1474
  };
@@ -1552,12 +1481,7 @@ export interface __UnmanagedMemoryAccessor$views {
1552
1481
  export type UnmanagedMemoryAccessor = UnmanagedMemoryAccessor$instance & __UnmanagedMemoryAccessor$views;
1553
1482
 
1554
1483
 
1555
- export abstract class UnmanagedMemoryStream$protected {
1556
- protected Dispose2(disposing: boolean): void;
1557
- }
1558
-
1559
-
1560
- export interface UnmanagedMemoryStream$instance extends UnmanagedMemoryStream$protected, Stream$instance {
1484
+ export interface UnmanagedMemoryStream$instance extends Stream$instance {
1561
1485
  readonly CanRead: boolean;
1562
1486
  readonly CanSeek: boolean;
1563
1487
  readonly CanWrite: boolean;
@@ -1565,6 +1489,7 @@ export interface UnmanagedMemoryStream$instance extends UnmanagedMemoryStream$pr
1565
1489
  readonly Length: long;
1566
1490
  Position: long;
1567
1491
  PositionPointer: ptr<byte>;
1492
+ Dispose(disposing: boolean): void;
1568
1493
  Dispose(): void;
1569
1494
  DisposeAsync(): ValueTask;
1570
1495
  Flush(): void;
@@ -1593,7 +1518,6 @@ export interface UnmanagedMemoryStream$instance extends UnmanagedMemoryStream$pr
1593
1518
 
1594
1519
 
1595
1520
  export const UnmanagedMemoryStream: {
1596
- new(): UnmanagedMemoryStream;
1597
1521
  new(buffer: SafeBuffer, offset: long, length: long): UnmanagedMemoryStream;
1598
1522
  new(buffer: SafeBuffer, offset: long, length: long, access: FileAccess): UnmanagedMemoryStream;
1599
1523
  new(pointer: ptr<byte>, length: long): UnmanagedMemoryStream;