@tsonic/dotnet 0.5.2 → 0.6.0

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 (195) hide show
  1. package/Internal/internal/index.d.ts +5 -5
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
  3. package/Microsoft.VisualBasic/bindings.json +28 -28
  4. package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
  5. package/Microsoft.VisualBasic/internal/metadata.json +14 -14
  6. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
  7. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
  8. package/Microsoft.Win32/internal/index.d.ts +16 -14
  9. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
  10. package/README.md +39 -0
  11. package/System/bindings.json +138 -138
  12. package/System/internal/index.d.ts +4165 -3967
  13. package/System/internal/metadata.json +81 -487
  14. package/System.Buffers/internal/index.d.ts +60 -50
  15. package/System.Buffers.Binary/internal/index.d.ts +126 -126
  16. package/System.Buffers.Text/internal/index.d.ts +67 -67
  17. package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
  18. package/System.Collections/internal/index.d.ts +199 -179
  19. package/System.Collections.Concurrent/internal/index.d.ts +61 -59
  20. package/System.Collections.Frozen/internal/index.d.ts +29 -29
  21. package/System.Collections.Frozen/internal/metadata.json +2 -16
  22. package/System.Collections.Generic/index.d.ts +1 -1
  23. package/System.Collections.Generic/internal/index.d.ts +382 -354
  24. package/System.Collections.Generic/internal/metadata.json +5 -54
  25. package/System.Collections.Immutable/internal/index.d.ts +321 -319
  26. package/System.Collections.Immutable/internal/metadata.json +5 -40
  27. package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
  28. package/System.Collections.ObjectModel/internal/metadata.json +1 -36
  29. package/System.Collections.Specialized/internal/index.d.ts +104 -96
  30. package/System.ComponentModel/internal/index.d.ts +661 -631
  31. package/System.ComponentModel/internal/metadata.json +0 -7
  32. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
  33. package/System.ComponentModel.Design/bindings.json +2 -2
  34. package/System.ComponentModel.Design/internal/index.d.ts +207 -193
  35. package/System.ComponentModel.Design/internal/metadata.json +1 -1
  36. package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
  37. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
  38. package/System.Configuration.Assemblies/bindings.json +10 -10
  39. package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
  40. package/System.Configuration.Assemblies/internal/metadata.json +5 -5
  41. package/System.Data/internal/index.d.ts +481 -453
  42. package/System.Data.Common/internal/index.d.ts +149 -121
  43. package/System.Data.SqlTypes/bindings.json +2 -2
  44. package/System.Data.SqlTypes/internal/index.d.ts +331 -299
  45. package/System.Data.SqlTypes/internal/metadata.json +1 -1
  46. package/System.Diagnostics/bindings.json +6 -6
  47. package/System.Diagnostics/internal/index.d.ts +333 -313
  48. package/System.Diagnostics/internal/metadata.json +3 -10
  49. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
  50. package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
  51. package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
  52. package/System.Diagnostics.SymbolStore/bindings.json +6 -6
  53. package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
  54. package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
  55. package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
  56. package/System.Drawing/bindings.json +24 -24
  57. package/System.Drawing/internal/index.d.ts +281 -281
  58. package/System.Drawing/internal/metadata.json +12 -12
  59. package/System.Dynamic/internal/index.d.ts +46 -42
  60. package/System.Formats.Asn1/bindings.json +12 -12
  61. package/System.Formats.Asn1/internal/index.d.ts +50 -48
  62. package/System.Formats.Asn1/internal/metadata.json +6 -6
  63. package/System.Formats.Tar/bindings.json +2 -2
  64. package/System.Formats.Tar/internal/index.d.ts +17 -13
  65. package/System.Formats.Tar/internal/metadata.json +1 -1
  66. package/System.Globalization/bindings.json +8 -8
  67. package/System.Globalization/internal/index.d.ts +177 -163
  68. package/System.Globalization/internal/metadata.json +4 -4
  69. package/System.IO/internal/index.d.ts +457 -439
  70. package/System.IO.Compression/internal/index.d.ts +78 -72
  71. package/System.IO.Enumeration/internal/index.d.ts +22 -22
  72. package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
  73. package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
  74. package/System.IO.Pipelines/internal/index.d.ts +15 -13
  75. package/System.IO.Pipes/internal/index.d.ts +23 -23
  76. package/System.Linq/internal/index.d.ts +853 -845
  77. package/System.Linq/internal/metadata.json +0 -17
  78. package/System.Linq.Expressions/internal/index.d.ts +354 -340
  79. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
  80. package/System.Net/bindings.json +2 -2
  81. package/System.Net/internal/index.d.ts +351 -317
  82. package/System.Net/internal/metadata.json +1 -1
  83. package/System.Net.Http/internal/index.d.ts +64 -54
  84. package/System.Net.Http.Headers/bindings.json +2 -2
  85. package/System.Net.Http.Headers/internal/index.d.ts +139 -99
  86. package/System.Net.Http.Headers/internal/metadata.json +1 -1
  87. package/System.Net.Http.Json/internal/index.d.ts +63 -63
  88. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  89. package/System.Net.Mail/bindings.json +2 -2
  90. package/System.Net.Mail/internal/index.d.ts +90 -78
  91. package/System.Net.Mail/internal/metadata.json +4 -32
  92. package/System.Net.Mime/internal/index.d.ts +51 -51
  93. package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
  94. package/System.Net.Quic/internal/index.d.ts +15 -11
  95. package/System.Net.Security/bindings.json +674 -674
  96. package/System.Net.Security/internal/index.d.ts +396 -394
  97. package/System.Net.Security/internal/metadata.json +337 -337
  98. package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
  99. package/System.Net.Sockets/bindings.json +10 -10
  100. package/System.Net.Sockets/internal/index.d.ts +100 -90
  101. package/System.Net.Sockets/internal/metadata.json +5 -5
  102. package/System.Net.WebSockets/internal/index.d.ts +21 -19
  103. package/System.Numerics/bindings.json +110 -110
  104. package/System.Numerics/internal/index.d.ts +1057 -1039
  105. package/System.Numerics/internal/metadata.json +55 -89
  106. package/System.Reflection/bindings.json +25 -25
  107. package/System.Reflection/internal/index.d.ts +336 -316
  108. package/System.Reflection/internal/metadata.json +12 -12
  109. package/System.Reflection.Emit/bindings.json +307 -307
  110. package/System.Reflection.Emit/internal/index.d.ts +242 -236
  111. package/System.Reflection.Emit/internal/metadata.json +152 -152
  112. package/System.Reflection.Metadata/bindings.json +272 -272
  113. package/System.Reflection.Metadata/internal/index.d.ts +448 -438
  114. package/System.Reflection.Metadata/internal/metadata.json +164 -360
  115. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
  116. package/System.Reflection.PortableExecutable/bindings.json +26 -26
  117. package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
  118. package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
  119. package/System.Resources/internal/index.d.ts +30 -24
  120. package/System.Runtime/internal/index.d.ts +20 -16
  121. package/System.Runtime.CompilerServices/bindings.json +4 -4
  122. package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
  123. package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
  124. package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
  125. package/System.Runtime.InteropServices/bindings.json +146 -146
  126. package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
  127. package/System.Runtime.InteropServices/internal/metadata.json +73 -130
  128. package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
  129. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
  130. package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
  131. package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
  132. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
  133. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
  134. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
  135. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
  136. package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
  137. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
  138. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
  139. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
  140. package/System.Runtime.Loader/internal/index.d.ts +9 -7
  141. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  142. package/System.Runtime.Serialization/internal/index.d.ts +179 -171
  143. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
  144. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  145. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
  146. package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
  147. package/System.Runtime.Versioning/internal/index.d.ts +4 -4
  148. package/System.Security/internal/index.d.ts +45 -39
  149. package/System.Security.AccessControl/internal/index.d.ts +28 -26
  150. package/System.Security.Authentication/internal/index.d.ts +2 -2
  151. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
  152. package/System.Security.Claims/internal/index.d.ts +94 -90
  153. package/System.Security.Cryptography/bindings.json +111 -111
  154. package/System.Security.Cryptography/internal/index.d.ts +842 -794
  155. package/System.Security.Cryptography/internal/metadata.json +52 -59
  156. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
  157. package/System.Security.Policy/internal/index.d.ts +6 -6
  158. package/System.Security.Principal/internal/index.d.ts +36 -30
  159. package/System.Text/bindings.json +28 -28
  160. package/System.Text/internal/index.d.ts +325 -319
  161. package/System.Text/internal/metadata.json +4 -4
  162. package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
  163. package/System.Text.Json/internal/index.d.ts +184 -180
  164. package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
  165. package/System.Text.Json.Schema/internal/index.d.ts +3 -3
  166. package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
  167. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
  168. package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
  169. package/System.Text.RegularExpressions/internal/metadata.json +5 -40
  170. package/System.Text.Unicode/internal/index.d.ts +171 -171
  171. package/System.Threading/bindings.json +4 -4
  172. package/System.Threading/internal/index.d.ts +411 -377
  173. package/System.Threading/internal/metadata.json +2 -2
  174. package/System.Threading.Channels/internal/index.d.ts +8 -8
  175. package/System.Threading.Tasks/internal/index.d.ts +209 -205
  176. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
  177. package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
  178. package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
  179. package/System.Timers/internal/index.d.ts +11 -9
  180. package/System.Transactions/internal/index.d.ts +83 -67
  181. package/System.Web/internal/index.d.ts +31 -31
  182. package/System.Windows.Input/internal/index.d.ts +2 -2
  183. package/System.Xml/bindings.json +35 -35
  184. package/System.Xml/internal/index.d.ts +343 -325
  185. package/System.Xml/internal/metadata.json +17 -17
  186. package/System.Xml.Linq/internal/index.d.ts +122 -110
  187. package/System.Xml.Resolvers/internal/index.d.ts +3 -3
  188. package/System.Xml.Schema/internal/index.d.ts +71 -71
  189. package/System.Xml.Serialization/internal/index.d.ts +120 -120
  190. package/System.Xml.XPath/internal/index.d.ts +40 -34
  191. package/System.Xml.Xsl/internal/index.d.ts +27 -27
  192. package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
  193. package/__internal/extensions/index.d.ts +2294 -0
  194. package/package.json +1 -1
  195. package/internal/extensions/index.d.ts +0 -2280
@@ -210,8 +210,8 @@ export class BinaryReader$instance {
210
210
  dispose(): void;
211
211
  peekChar(): int;
212
212
  read(): int;
213
- read(buffer: string[], index: int, count: int): int;
214
- read(buffer: Span_1<CLROf<string>>): int;
213
+ read(buffer: char[], index: int, count: int): int;
214
+ read(buffer: Span_1<CLROf<char>>): int;
215
215
  read(buffer: byte[], index: int, count: int): int;
216
216
  read(buffer: Span_1<CLROf<byte>>): int;
217
217
  read7BitEncodedInt(): int;
@@ -219,8 +219,8 @@ export class BinaryReader$instance {
219
219
  readBoolean(): boolean;
220
220
  readByte(): byte;
221
221
  readBytes(count: int): byte[];
222
- readChar(): string;
223
- readChars(count: int): string[];
222
+ readChar(): char;
223
+ readChars(count: int): char[];
224
224
  readDecimal(): decimal;
225
225
  readDouble(): double;
226
226
  readExactly(buffer: Span_1<CLROf<byte>>): void;
@@ -238,9 +238,11 @@ export class BinaryReader$instance {
238
238
 
239
239
 
240
240
  export interface __BinaryReader$views {
241
- readonly As_IDisposable: System_Internal.IDisposable$instance;
241
+ As_IDisposable(): System_Internal.IDisposable$instance;
242
242
  }
243
243
 
244
+ export interface BinaryReader$instance extends System_Internal.IDisposable$instance {}
245
+
244
246
  export type BinaryReader = BinaryReader$instance & __BinaryReader$views;
245
247
 
246
248
 
@@ -259,9 +261,9 @@ export class BinaryWriter$instance {
259
261
  write(value: sbyte): void;
260
262
  write(buffer: byte[]): void;
261
263
  write(buffer: byte[], index: int, count: int): void;
262
- write(ch: string): void;
263
- write(chars: string[]): void;
264
- write(chars: string[], index: int, count: int): void;
264
+ write(ch: char): void;
265
+ write(chars: char[]): void;
266
+ write(chars: char[], index: int, count: int): void;
265
267
  write(value: double): void;
266
268
  write(value: decimal): void;
267
269
  write(value: short): void;
@@ -274,7 +276,7 @@ export class BinaryWriter$instance {
274
276
  write(value: half): void;
275
277
  write(value: string): void;
276
278
  write(buffer: ReadOnlySpan_1<CLROf<byte>>): void;
277
- write(chars: ReadOnlySpan_1<CLROf<string>>): void;
279
+ write(chars: ReadOnlySpan_1<CLROf<char>>): void;
278
280
  write7BitEncodedInt(value: int): void;
279
281
  write7BitEncodedInt64(value: long): void;
280
282
  static readonly null_: BinaryWriter;
@@ -282,10 +284,12 @@ export class BinaryWriter$instance {
282
284
 
283
285
 
284
286
  export interface __BinaryWriter$views {
285
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
286
- readonly As_IDisposable: System_Internal.IDisposable$instance;
287
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
288
+ As_IDisposable(): System_Internal.IDisposable$instance;
287
289
  }
288
290
 
291
+ export interface BinaryWriter$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
292
+
289
293
  export type BinaryWriter = BinaryWriter$instance & __BinaryWriter$views;
290
294
 
291
295
 
@@ -299,8 +303,8 @@ export class BufferedStream$instance extends Stream$instance {
299
303
  readonly length: long;
300
304
  position: long;
301
305
  readonly underlyingStream: Stream;
302
- beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
303
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
306
+ beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
307
+ beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
304
308
  copyTo(destination: Stream, bufferSize: int): void;
305
309
  copyTo(destination: Stream): void;
306
310
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -337,8 +341,8 @@ export class BufferedStream$instance extends Stream$instance {
337
341
 
338
342
 
339
343
  export interface __BufferedStream$views {
340
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
341
- readonly As_IDisposable: System_Internal.IDisposable$instance;
344
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
345
+ As_IDisposable(): System_Internal.IDisposable$instance;
342
346
  }
343
347
 
344
348
  export type BufferedStream = BufferedStream$instance & __BufferedStream$views;
@@ -383,7 +387,7 @@ export class DirectoryInfo$instance extends FileSystemInfo$instance {
383
387
 
384
388
 
385
389
  export interface __DirectoryInfo$views {
386
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
390
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
387
391
  }
388
392
 
389
393
  export type DirectoryInfo = DirectoryInfo$instance & __DirectoryInfo$views;
@@ -398,7 +402,7 @@ export class DirectoryNotFoundException$instance extends IOException$instance {
398
402
 
399
403
 
400
404
  export interface __DirectoryNotFoundException$views {
401
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
405
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
402
406
  }
403
407
 
404
408
  export type DirectoryNotFoundException = DirectoryNotFoundException$instance & __DirectoryNotFoundException$views;
@@ -416,14 +420,16 @@ export class DriveInfo$instance {
416
420
  readonly totalSize: long;
417
421
  volumeLabel: string;
418
422
  toString(): string;
419
- static GetDrives(): DriveInfo[];
423
+ static getDrives(): DriveInfo[];
420
424
  }
421
425
 
422
426
 
423
427
  export interface __DriveInfo$views {
424
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
428
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
425
429
  }
426
430
 
431
+ export interface DriveInfo$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
432
+
427
433
  export type DriveInfo = DriveInfo$instance & __DriveInfo$views;
428
434
 
429
435
 
@@ -436,7 +442,7 @@ export class DriveNotFoundException$instance extends IOException$instance {
436
442
 
437
443
 
438
444
  export interface __DriveNotFoundException$views {
439
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
445
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
440
446
  }
441
447
 
442
448
  export type DriveNotFoundException = DriveNotFoundException$instance & __DriveNotFoundException$views;
@@ -451,7 +457,7 @@ export class EndOfStreamException$instance extends IOException$instance {
451
457
 
452
458
 
453
459
  export interface __EndOfStreamException$views {
454
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
460
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
455
461
  }
456
462
 
457
463
  export type EndOfStreamException = EndOfStreamException$instance & __EndOfStreamException$views;
@@ -481,18 +487,18 @@ export class ErrorEventArgs$instance extends System_Internal.EventArgs$instance
481
487
  export type ErrorEventArgs = ErrorEventArgs$instance;
482
488
 
483
489
  export class ErrorEventHandler$instance extends Function {
484
- constructor(object_: any, method: nint);
485
- beginInvoke(sender: any, e: ErrorEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
486
- clone(): any;
490
+ constructor(object_: unknown, method: nint);
491
+ beginInvoke(sender: unknown, e: ErrorEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
492
+ clone(): unknown;
487
493
  endInvoke(result: IAsyncResult): void;
488
494
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
489
- invoke(sender: any, e: ErrorEventArgs): void;
495
+ invoke(sender: unknown, e: ErrorEventArgs): void;
490
496
  }
491
497
 
492
498
 
493
499
  export interface __ErrorEventHandler$views {
494
- readonly As_ICloneable: System_Internal.ICloneable$instance;
495
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
500
+ As_ICloneable(): System_Internal.ICloneable$instance;
501
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
496
502
  }
497
503
 
498
504
  export type ErrorEventHandler = ErrorEventHandler$instance & __ErrorEventHandler$views;
@@ -530,7 +536,7 @@ export class FileInfo$instance extends FileSystemInfo$instance {
530
536
 
531
537
 
532
538
  export interface __FileInfo$views {
533
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
539
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
534
540
  }
535
541
 
536
542
  export type FileInfo = FileInfo$instance & __FileInfo$views;
@@ -551,7 +557,7 @@ export class FileLoadException$instance extends IOException$instance {
551
557
 
552
558
 
553
559
  export interface __FileLoadException$views {
554
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
560
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
555
561
  }
556
562
 
557
563
  export type FileLoadException = FileLoadException$instance & __FileLoadException$views;
@@ -572,7 +578,7 @@ export class FileNotFoundException$instance extends IOException$instance {
572
578
 
573
579
 
574
580
  export interface __FileNotFoundException$views {
575
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
581
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
576
582
  }
577
583
 
578
584
  export type FileNotFoundException = FileNotFoundException$instance & __FileNotFoundException$views;
@@ -602,8 +608,8 @@ export class FileStream$instance extends Stream$instance {
602
608
  readonly name: string;
603
609
  position: long;
604
610
  readonly safeFileHandle: SafeFileHandle;
605
- beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
606
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
611
+ beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
612
+ beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
607
613
  copyTo(destination: Stream, bufferSize: int): void;
608
614
  copyTo(destination: Stream): void;
609
615
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -642,8 +648,8 @@ export class FileStream$instance extends Stream$instance {
642
648
 
643
649
 
644
650
  export interface __FileStream$views {
645
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
646
- readonly As_IDisposable: System_Internal.IDisposable$instance;
651
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
652
+ As_IDisposable(): System_Internal.IDisposable$instance;
647
653
  }
648
654
 
649
655
  export type FileStream = FileStream$instance & __FileStream$views;
@@ -674,18 +680,18 @@ export class FileSystemEventArgs$instance extends System_Internal.EventArgs$inst
674
680
  export type FileSystemEventArgs = FileSystemEventArgs$instance;
675
681
 
676
682
  export class FileSystemEventHandler$instance extends Function {
677
- constructor(object_: any, method: nint);
678
- beginInvoke(sender: any, e: FileSystemEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
679
- clone(): any;
683
+ constructor(object_: unknown, method: nint);
684
+ beginInvoke(sender: unknown, e: FileSystemEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
685
+ clone(): unknown;
680
686
  endInvoke(result: IAsyncResult): void;
681
687
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
682
- invoke(sender: any, e: FileSystemEventArgs): void;
688
+ invoke(sender: unknown, e: FileSystemEventArgs): void;
683
689
  }
684
690
 
685
691
 
686
692
  export interface __FileSystemEventHandler$views {
687
- readonly As_ICloneable: System_Internal.ICloneable$instance;
688
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
693
+ As_ICloneable(): System_Internal.ICloneable$instance;
694
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
689
695
  }
690
696
 
691
697
  export type FileSystemEventHandler = FileSystemEventHandler$instance & __FileSystemEventHandler$views;
@@ -715,9 +721,11 @@ export abstract class FileSystemInfo$instance extends System_Internal.MarshalByR
715
721
 
716
722
 
717
723
  export interface __FileSystemInfo$views {
718
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
724
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
719
725
  }
720
726
 
727
+ export interface FileSystemInfo$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
728
+
721
729
  export type FileSystemInfo = FileSystemInfo$instance & __FileSystemInfo$views;
722
730
 
723
731
 
@@ -744,11 +752,13 @@ export class FileSystemWatcher$instance extends System_ComponentModel_Internal.C
744
752
 
745
753
 
746
754
  export interface __FileSystemWatcher$views {
747
- readonly As_IComponent: System_ComponentModel_Internal.IComponent$instance;
748
- readonly As_ISupportInitialize: System_ComponentModel_Internal.ISupportInitialize$instance;
749
- readonly As_IDisposable: System_Internal.IDisposable$instance;
755
+ As_IComponent(): System_ComponentModel_Internal.IComponent$instance;
756
+ As_ISupportInitialize(): System_ComponentModel_Internal.ISupportInitialize$instance;
757
+ As_IDisposable(): System_Internal.IDisposable$instance;
750
758
  }
751
759
 
760
+ export interface FileSystemWatcher$instance extends System_ComponentModel_Internal.IComponent$instance, System_ComponentModel_Internal.ISupportInitialize$instance {}
761
+
752
762
  export type FileSystemWatcher = FileSystemWatcher$instance & __FileSystemWatcher$views;
753
763
 
754
764
 
@@ -761,7 +771,7 @@ export class InternalBufferOverflowException$instance extends System_Internal.Sy
761
771
 
762
772
 
763
773
  export interface __InternalBufferOverflowException$views {
764
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
774
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
765
775
  }
766
776
 
767
777
  export type InternalBufferOverflowException = InternalBufferOverflowException$instance & __InternalBufferOverflowException$views;
@@ -776,7 +786,7 @@ export class InvalidDataException$instance extends System_Internal.SystemExcepti
776
786
 
777
787
 
778
788
  export interface __InvalidDataException$views {
779
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
789
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
780
790
  }
781
791
 
782
792
  export type InvalidDataException = InvalidDataException$instance & __InvalidDataException$views;
@@ -792,7 +802,7 @@ export class IOException$instance extends System_Internal.SystemException$instan
792
802
 
793
803
 
794
804
  export interface __IOException$views {
795
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
805
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
796
806
  }
797
807
 
798
808
  export type IOException = IOException$instance & __IOException$views;
@@ -850,8 +860,8 @@ export class MemoryStream$instance extends Stream$instance {
850
860
 
851
861
 
852
862
  export interface __MemoryStream$views {
853
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
854
- readonly As_IDisposable: System_Internal.IDisposable$instance;
863
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
864
+ As_IDisposable(): System_Internal.IDisposable$instance;
855
865
  }
856
866
 
857
867
  export type MemoryStream = MemoryStream$instance & __MemoryStream$views;
@@ -866,7 +876,7 @@ export class PathTooLongException$instance extends IOException$instance {
866
876
 
867
877
 
868
878
  export interface __PathTooLongException$views {
869
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
879
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
870
880
  }
871
881
 
872
882
  export type PathTooLongException = PathTooLongException$instance & __PathTooLongException$views;
@@ -882,18 +892,18 @@ export class RenamedEventArgs$instance extends FileSystemEventArgs$instance {
882
892
  export type RenamedEventArgs = RenamedEventArgs$instance;
883
893
 
884
894
  export class RenamedEventHandler$instance extends Function {
885
- constructor(object_: any, method: nint);
886
- beginInvoke(sender: any, e: RenamedEventArgs, callback: AsyncCallback, object_: any): IAsyncResult;
887
- clone(): any;
895
+ constructor(object_: unknown, method: nint);
896
+ beginInvoke(sender: unknown, e: RenamedEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
897
+ clone(): unknown;
888
898
  endInvoke(result: IAsyncResult): void;
889
899
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
890
- invoke(sender: any, e: RenamedEventArgs): void;
900
+ invoke(sender: unknown, e: RenamedEventArgs): void;
891
901
  }
892
902
 
893
903
 
894
904
  export interface __RenamedEventHandler$views {
895
- readonly As_ICloneable: System_Internal.ICloneable$instance;
896
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
905
+ As_ICloneable(): System_Internal.ICloneable$instance;
906
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
897
907
  }
898
908
 
899
909
  export type RenamedEventHandler = RenamedEventHandler$instance & __RenamedEventHandler$views;
@@ -908,8 +918,8 @@ export abstract class Stream$instance extends System_Internal.MarshalByRefObject
908
918
  position: long;
909
919
  readTimeout: int;
910
920
  writeTimeout: int;
911
- beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
912
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: any): IAsyncResult;
921
+ beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
922
+ beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
913
923
  close(): void;
914
924
  copyTo(destination: Stream): void;
915
925
  copyTo(destination: Stream, bufferSize: int): void;
@@ -945,15 +955,17 @@ export abstract class Stream$instance extends System_Internal.MarshalByRefObject
945
955
  writeAsync(buffer: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask;
946
956
  writeByte(value: byte): void;
947
957
  static readonly null_: Stream;
948
- static Synchronized(stream: Stream): Stream;
958
+ static synchronized(stream: Stream): Stream;
949
959
  }
950
960
 
951
961
 
952
962
  export interface __Stream$views {
953
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
954
- readonly As_IDisposable: System_Internal.IDisposable$instance;
963
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
964
+ As_IDisposable(): System_Internal.IDisposable$instance;
955
965
  }
956
966
 
967
+ export interface Stream$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
968
+
957
969
  export type Stream = Stream$instance & __Stream$views;
958
970
 
959
971
 
@@ -979,20 +991,20 @@ export class StreamReader$instance extends TextReader$instance {
979
991
  dispose(): void;
980
992
  peek(): int;
981
993
  read(): int;
982
- read(buffer: string[], index: int, count: int): int;
983
- read(buffer: Span_1<CLROf<string>>): int;
984
- read(buffer: Span_1<CLROf<string>>): int;
985
- readAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
986
- readAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
987
- readAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
988
- readAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
989
- readBlock(buffer: string[], index: int, count: int): int;
990
- readBlock(buffer: Span_1<CLROf<string>>): int;
991
- readBlock(buffer: Span_1<CLROf<string>>): int;
992
- readBlockAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
993
- readBlockAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
994
- readBlockAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
995
- readBlockAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
994
+ read(buffer: char[], index: int, count: int): int;
995
+ read(buffer: Span_1<CLROf<char>>): int;
996
+ read(buffer: Span_1<CLROf<char>>): int;
997
+ readAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
998
+ readAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
999
+ readAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1000
+ readAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1001
+ readBlock(buffer: char[], index: int, count: int): int;
1002
+ readBlock(buffer: Span_1<CLROf<char>>): int;
1003
+ readBlock(buffer: Span_1<CLROf<char>>): int;
1004
+ readBlockAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1005
+ readBlockAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1006
+ readBlockAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1007
+ readBlockAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
996
1008
  readLine(): string;
997
1009
  readLineAsync(): Task_1<CLROf<string>>;
998
1010
  readLineAsync(cancellationToken: CancellationToken): ValueTask_1<CLROf<string>>;
@@ -1007,7 +1019,7 @@ export class StreamReader$instance extends TextReader$instance {
1007
1019
 
1008
1020
 
1009
1021
  export interface __StreamReader$views {
1010
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1022
+ As_IDisposable(): System_Internal.IDisposable$instance;
1011
1023
  }
1012
1024
 
1013
1025
  export type StreamReader = StreamReader$instance & __StreamReader$views;
@@ -1033,17 +1045,17 @@ export class StreamWriter$instance extends TextWriter$instance {
1033
1045
  flush(): void;
1034
1046
  flushAsync(): Task;
1035
1047
  flushAsync(cancellationToken: CancellationToken): Task;
1048
+ write(value: char): void;
1049
+ write(buffer: char[]): void;
1050
+ write(buffer: char[], index: int, count: int): void;
1051
+ write(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1036
1052
  write(value: string): void;
1037
- write(buffer: string[]): void;
1038
- write(buffer: string[], index: int, count: int): void;
1039
- write(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1040
- write(value: string): void;
1041
- write(format: string, arg0: any): void;
1042
- write(format: string, arg0: any, arg1: any): void;
1043
- write(format: string, arg0: any, arg1: any, arg2: any): void;
1044
- write(format: string, arg: any[]): void;
1045
- write(format: string, arg: ReadOnlySpan_1<any>): void;
1046
- write(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1053
+ write(format: string, arg0: unknown): void;
1054
+ write(format: string, arg0: unknown, arg1: unknown): void;
1055
+ write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
1056
+ write(format: string, arg: unknown[]): void;
1057
+ write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1058
+ write(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1047
1059
  write(value: boolean): void;
1048
1060
  write(value: int): void;
1049
1061
  write(value: uint): void;
@@ -1052,28 +1064,28 @@ export class StreamWriter$instance extends TextWriter$instance {
1052
1064
  write(value: float): void;
1053
1065
  write(value: double): void;
1054
1066
  write(value: decimal): void;
1055
- write(value: any): void;
1067
+ write(value: unknown): void;
1056
1068
  write(value: StringBuilder): void;
1057
- write(format: string, arg: ReadOnlySpan_1<any>): void;
1058
- writeAsync(value: string): Task;
1069
+ write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1070
+ writeAsync(value: char): Task;
1059
1071
  writeAsync(value: string): Task;
1060
- writeAsync(buffer: string[], index: int, count: int): Task;
1061
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1072
+ writeAsync(buffer: char[], index: int, count: int): Task;
1073
+ writeAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1062
1074
  writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
1063
- writeAsync(buffer: string[]): Task;
1064
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1075
+ writeAsync(buffer: char[]): Task;
1076
+ writeAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1065
1077
  writeLine(value: string): void;
1066
- writeLine(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1067
- writeLine(format: string, arg0: any): void;
1068
- writeLine(format: string, arg0: any, arg1: any): void;
1069
- writeLine(format: string, arg0: any, arg1: any, arg2: any): void;
1070
- writeLine(format: string, arg: any[]): void;
1071
- writeLine(format: string, arg: ReadOnlySpan_1<any>): void;
1078
+ writeLine(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1079
+ writeLine(format: string, arg0: unknown): void;
1080
+ writeLine(format: string, arg0: unknown, arg1: unknown): void;
1081
+ writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
1082
+ writeLine(format: string, arg: unknown[]): void;
1083
+ writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1072
1084
  writeLine(): void;
1073
- writeLine(value: string): void;
1074
- writeLine(buffer: string[]): void;
1075
- writeLine(buffer: string[], index: int, count: int): void;
1076
- writeLine(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1085
+ writeLine(value: char): void;
1086
+ writeLine(buffer: char[]): void;
1087
+ writeLine(buffer: char[], index: int, count: int): void;
1088
+ writeLine(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1077
1089
  writeLine(value: boolean): void;
1078
1090
  writeLine(value: int): void;
1079
1091
  writeLine(value: uint): void;
@@ -1083,22 +1095,22 @@ export class StreamWriter$instance extends TextWriter$instance {
1083
1095
  writeLine(value: double): void;
1084
1096
  writeLine(value: decimal): void;
1085
1097
  writeLine(value: StringBuilder): void;
1086
- writeLine(value: any): void;
1087
- writeLine(format: string, arg: ReadOnlySpan_1<any>): void;
1098
+ writeLine(value: unknown): void;
1099
+ writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1088
1100
  writeLineAsync(): Task;
1101
+ writeLineAsync(value: char): Task;
1089
1102
  writeLineAsync(value: string): Task;
1090
- writeLineAsync(value: string): Task;
1091
- writeLineAsync(buffer: string[], index: int, count: int): Task;
1092
- writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1103
+ writeLineAsync(buffer: char[], index: int, count: int): Task;
1104
+ writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1093
1105
  writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
1094
- writeLineAsync(buffer: string[]): Task;
1095
- writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1106
+ writeLineAsync(buffer: char[]): Task;
1107
+ writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1096
1108
  }
1097
1109
 
1098
1110
 
1099
1111
  export interface __StreamWriter$views {
1100
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
1101
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1112
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
1113
+ As_IDisposable(): System_Internal.IDisposable$instance;
1102
1114
  }
1103
1115
 
1104
1116
  export type StreamWriter = StreamWriter$instance & __StreamWriter$views;
@@ -1110,20 +1122,20 @@ export class StringReader$instance extends TextReader$instance {
1110
1122
  dispose(): void;
1111
1123
  peek(): int;
1112
1124
  read(): int;
1113
- read(buffer: string[], index: int, count: int): int;
1114
- read(buffer: Span_1<CLROf<string>>): int;
1115
- read(buffer: Span_1<CLROf<string>>): int;
1116
- readAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
1117
- readAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1118
- readAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
1119
- readAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1120
- readBlock(buffer: Span_1<CLROf<string>>): int;
1121
- readBlock(buffer: string[], index: int, count: int): int;
1122
- readBlock(buffer: Span_1<CLROf<string>>): int;
1123
- readBlockAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
1124
- readBlockAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1125
- readBlockAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
1126
- readBlockAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1125
+ read(buffer: char[], index: int, count: int): int;
1126
+ read(buffer: Span_1<CLROf<char>>): int;
1127
+ read(buffer: Span_1<CLROf<char>>): int;
1128
+ readAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1129
+ readAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1130
+ readAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1131
+ readAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1132
+ readBlock(buffer: Span_1<CLROf<char>>): int;
1133
+ readBlock(buffer: char[], index: int, count: int): int;
1134
+ readBlock(buffer: Span_1<CLROf<char>>): int;
1135
+ readBlockAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1136
+ readBlockAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1137
+ readBlockAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1138
+ readBlockAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1127
1139
  readLine(): string;
1128
1140
  readLineAsync(): Task_1<CLROf<string>>;
1129
1141
  readLineAsync(cancellationToken: CancellationToken): ValueTask_1<CLROf<string>>;
@@ -1138,7 +1150,7 @@ export class StringReader$instance extends TextReader$instance {
1138
1150
 
1139
1151
 
1140
1152
  export interface __StringReader$views {
1141
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1153
+ As_IDisposable(): System_Internal.IDisposable$instance;
1142
1154
  }
1143
1155
 
1144
1156
  export type StringReader = StringReader$instance & __StringReader$views;
@@ -1157,13 +1169,13 @@ export class StringWriter$instance extends TextWriter$instance {
1157
1169
  flushAsync(cancellationToken: CancellationToken): Task;
1158
1170
  getStringBuilder(): StringBuilder;
1159
1171
  toString(): string;
1160
- write(value: string): void;
1161
- write(buffer: string[], index: int, count: int): void;
1162
- write(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1172
+ write(value: char): void;
1173
+ write(buffer: char[], index: int, count: int): void;
1174
+ write(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1163
1175
  write(value: string): void;
1164
1176
  write(value: StringBuilder): void;
1165
- write(buffer: string[]): void;
1166
- write(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1177
+ write(buffer: char[]): void;
1178
+ write(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1167
1179
  write(value: boolean): void;
1168
1180
  write(value: int): void;
1169
1181
  write(value: uint): void;
@@ -1172,26 +1184,26 @@ export class StringWriter$instance extends TextWriter$instance {
1172
1184
  write(value: float): void;
1173
1185
  write(value: double): void;
1174
1186
  write(value: decimal): void;
1175
- write(value: any): void;
1176
- write(format: string, arg0: any): void;
1177
- write(format: string, arg0: any, arg1: any): void;
1178
- write(format: string, arg0: any, arg1: any, arg2: any): void;
1179
- write(format: string, arg: any[]): void;
1180
- write(format: string, arg: ReadOnlySpan_1<any>): void;
1187
+ write(value: unknown): void;
1188
+ write(format: string, arg0: unknown): void;
1189
+ write(format: string, arg0: unknown, arg1: unknown): void;
1190
+ write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
1191
+ write(format: string, arg: unknown[]): void;
1192
+ write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1193
+ writeAsync(value: char): Task;
1181
1194
  writeAsync(value: string): Task;
1182
- writeAsync(value: string): Task;
1183
- writeAsync(buffer: string[], index: int, count: int): Task;
1184
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1195
+ writeAsync(buffer: char[], index: int, count: int): Task;
1196
+ writeAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1185
1197
  writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
1186
- writeAsync(buffer: string[]): Task;
1187
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1188
- writeLine(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1198
+ writeAsync(buffer: char[]): Task;
1199
+ writeAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1200
+ writeLine(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1189
1201
  writeLine(value: StringBuilder): void;
1190
1202
  writeLine(): void;
1191
- writeLine(value: string): void;
1192
- writeLine(buffer: string[]): void;
1193
- writeLine(buffer: string[], index: int, count: int): void;
1194
- writeLine(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1203
+ writeLine(value: char): void;
1204
+ writeLine(buffer: char[]): void;
1205
+ writeLine(buffer: char[], index: int, count: int): void;
1206
+ writeLine(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1195
1207
  writeLine(value: boolean): void;
1196
1208
  writeLine(value: int): void;
1197
1209
  writeLine(value: uint): void;
@@ -1201,26 +1213,26 @@ export class StringWriter$instance extends TextWriter$instance {
1201
1213
  writeLine(value: double): void;
1202
1214
  writeLine(value: decimal): void;
1203
1215
  writeLine(value: string): void;
1204
- writeLine(value: any): void;
1205
- writeLine(format: string, arg0: any): void;
1206
- writeLine(format: string, arg0: any, arg1: any): void;
1207
- writeLine(format: string, arg0: any, arg1: any, arg2: any): void;
1208
- writeLine(format: string, arg: any[]): void;
1209
- writeLine(format: string, arg: ReadOnlySpan_1<any>): void;
1210
- writeLineAsync(value: string): Task;
1216
+ writeLine(value: unknown): void;
1217
+ writeLine(format: string, arg0: unknown): void;
1218
+ writeLine(format: string, arg0: unknown, arg1: unknown): void;
1219
+ writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
1220
+ writeLine(format: string, arg: unknown[]): void;
1221
+ writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1222
+ writeLineAsync(value: char): Task;
1211
1223
  writeLineAsync(value: string): Task;
1212
1224
  writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
1213
- writeLineAsync(buffer: string[], index: int, count: int): Task;
1214
- writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1215
- writeLineAsync(buffer: string[]): Task;
1216
- writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1225
+ writeLineAsync(buffer: char[], index: int, count: int): Task;
1226
+ writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1227
+ writeLineAsync(buffer: char[]): Task;
1228
+ writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1217
1229
  writeLineAsync(): Task;
1218
1230
  }
1219
1231
 
1220
1232
 
1221
1233
  export interface __StringWriter$views {
1222
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
1223
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1234
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
1235
+ As_IDisposable(): System_Internal.IDisposable$instance;
1224
1236
  }
1225
1237
 
1226
1238
  export type StringWriter = StringWriter$instance & __StringWriter$views;
@@ -1231,14 +1243,14 @@ export abstract class TextReader$instance extends System_Internal.MarshalByRefOb
1231
1243
  dispose(): void;
1232
1244
  peek(): int;
1233
1245
  read(): int;
1234
- read(buffer: string[], index: int, count: int): int;
1235
- read(buffer: Span_1<CLROf<string>>): int;
1236
- readAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
1237
- readAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1238
- readBlock(buffer: string[], index: int, count: int): int;
1239
- readBlock(buffer: Span_1<CLROf<string>>): int;
1240
- readBlockAsync(buffer: string[], index: int, count: int): Task_1<CLROf<int>>;
1241
- readBlockAsync(buffer: Memory_1<CLROf<string>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1246
+ read(buffer: char[], index: int, count: int): int;
1247
+ read(buffer: Span_1<CLROf<char>>): int;
1248
+ readAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1249
+ readAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1250
+ readBlock(buffer: char[], index: int, count: int): int;
1251
+ readBlock(buffer: Span_1<CLROf<char>>): int;
1252
+ readBlockAsync(buffer: char[], index: int, count: int): Task_1<CLROf<int>>;
1253
+ readBlockAsync(buffer: Memory_1<CLROf<char>>, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1242
1254
  readLine(): string;
1243
1255
  readLineAsync(): Task_1<CLROf<string>>;
1244
1256
  readLineAsync(cancellationToken: CancellationToken): ValueTask_1<CLROf<string>>;
@@ -1246,14 +1258,16 @@ export abstract class TextReader$instance extends System_Internal.MarshalByRefOb
1246
1258
  readToEndAsync(): Task_1<CLROf<string>>;
1247
1259
  readToEndAsync(cancellationToken: CancellationToken): Task_1<CLROf<string>>;
1248
1260
  static readonly null_: TextReader;
1249
- static Synchronized(reader: TextReader): TextReader;
1261
+ static synchronized(reader: TextReader): TextReader;
1250
1262
  }
1251
1263
 
1252
1264
 
1253
1265
  export interface __TextReader$views {
1254
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1266
+ As_IDisposable(): System_Internal.IDisposable$instance;
1255
1267
  }
1256
1268
 
1269
+ export interface TextReader$instance extends System_Internal.IDisposable$instance {}
1270
+
1257
1271
  export type TextReader = TextReader$instance & __TextReader$views;
1258
1272
 
1259
1273
 
@@ -1267,10 +1281,10 @@ export abstract class TextWriter$instance extends System_Internal.MarshalByRefOb
1267
1281
  flush(): void;
1268
1282
  flushAsync(): Task;
1269
1283
  flushAsync(cancellationToken: CancellationToken): Task;
1270
- write(value: string): void;
1271
- write(buffer: string[]): void;
1272
- write(buffer: string[], index: int, count: int): void;
1273
- write(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1284
+ write(value: char): void;
1285
+ write(buffer: char[]): void;
1286
+ write(buffer: char[], index: int, count: int): void;
1287
+ write(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1274
1288
  write(value: boolean): void;
1275
1289
  write(value: int): void;
1276
1290
  write(value: uint): void;
@@ -1280,24 +1294,24 @@ export abstract class TextWriter$instance extends System_Internal.MarshalByRefOb
1280
1294
  write(value: double): void;
1281
1295
  write(value: decimal): void;
1282
1296
  write(value: string): void;
1283
- write(value: any): void;
1297
+ write(value: unknown): void;
1284
1298
  write(value: StringBuilder): void;
1285
- write(format: string, arg0: any): void;
1286
- write(format: string, arg0: any, arg1: any): void;
1287
- write(format: string, arg0: any, arg1: any, arg2: any): void;
1288
- write(format: string, arg: any[]): void;
1289
- write(format: string, arg: ReadOnlySpan_1<any>): void;
1290
- writeAsync(value: string): Task;
1299
+ write(format: string, arg0: unknown): void;
1300
+ write(format: string, arg0: unknown, arg1: unknown): void;
1301
+ write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
1302
+ write(format: string, arg: unknown[]): void;
1303
+ write(format: string, arg: ReadOnlySpan_1<unknown>): void;
1304
+ writeAsync(value: char): Task;
1291
1305
  writeAsync(value: string): Task;
1292
1306
  writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
1293
- writeAsync(buffer: string[]): Task;
1294
- writeAsync(buffer: string[], index: int, count: int): Task;
1295
- writeAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1307
+ writeAsync(buffer: char[]): Task;
1308
+ writeAsync(buffer: char[], index: int, count: int): Task;
1309
+ writeAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1296
1310
  writeLine(): void;
1297
- writeLine(value: string): void;
1298
- writeLine(buffer: string[]): void;
1299
- writeLine(buffer: string[], index: int, count: int): void;
1300
- writeLine(buffer: ReadOnlySpan_1<CLROf<string>>): void;
1311
+ writeLine(value: char): void;
1312
+ writeLine(buffer: char[]): void;
1313
+ writeLine(buffer: char[], index: int, count: int): void;
1314
+ writeLine(buffer: ReadOnlySpan_1<CLROf<char>>): void;
1301
1315
  writeLine(value: boolean): void;
1302
1316
  writeLine(value: int): void;
1303
1317
  writeLine(value: uint): void;
@@ -1308,30 +1322,32 @@ export abstract class TextWriter$instance extends System_Internal.MarshalByRefOb
1308
1322
  writeLine(value: decimal): void;
1309
1323
  writeLine(value: string): void;
1310
1324
  writeLine(value: StringBuilder): void;
1311
- writeLine(value: any): void;
1312
- writeLine(format: string, arg0: any): void;
1313
- writeLine(format: string, arg0: any, arg1: any): void;
1314
- writeLine(format: string, arg0: any, arg1: any, arg2: any): void;
1315
- writeLine(format: string, arg: any[]): void;
1316
- writeLine(format: string, arg: ReadOnlySpan_1<any>): void;
1317
- writeLineAsync(value: string): Task;
1325
+ writeLine(value: unknown): void;
1326
+ writeLine(format: string, arg0: unknown): void;
1327
+ writeLine(format: string, arg0: unknown, arg1: unknown): void;
1328
+ writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
1329
+ writeLine(format: string, arg: unknown[]): void;
1330
+ writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
1331
+ writeLineAsync(value: char): Task;
1318
1332
  writeLineAsync(value: string): Task;
1319
1333
  writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
1320
- writeLineAsync(buffer: string[]): Task;
1321
- writeLineAsync(buffer: string[], index: int, count: int): Task;
1322
- writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1334
+ writeLineAsync(buffer: char[]): Task;
1335
+ writeLineAsync(buffer: char[], index: int, count: int): Task;
1336
+ writeLineAsync(buffer: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1323
1337
  writeLineAsync(): Task;
1324
1338
  static readonly null_: TextWriter;
1325
- static CreateBroadcasting(writers: TextWriter[]): TextWriter;
1326
- static Synchronized(writer: TextWriter): TextWriter;
1339
+ static createBroadcasting(writers: TextWriter[]): TextWriter;
1340
+ static synchronized(writer: TextWriter): TextWriter;
1327
1341
  }
1328
1342
 
1329
1343
 
1330
1344
  export interface __TextWriter$views {
1331
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
1332
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1345
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
1346
+ As_IDisposable(): System_Internal.IDisposable$instance;
1333
1347
  }
1334
1348
 
1349
+ export interface TextWriter$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
1350
+
1335
1351
  export type TextWriter = TextWriter$instance & __TextWriter$views;
1336
1352
 
1337
1353
 
@@ -1342,11 +1358,11 @@ export class UnmanagedMemoryAccessor$instance {
1342
1358
  readonly canWrite: boolean;
1343
1359
  readonly capacity: long;
1344
1360
  dispose(): void;
1345
- read<T extends any>(position: long, structure: { value: ref<T> }): void;
1346
- readArray<T extends any>(position: long, array: T[], offset: int, count: int): int;
1361
+ read<T extends unknown>(position: long, structure: { value: ref<T> }): void;
1362
+ readArray<T extends unknown>(position: long, array: T[], offset: int, count: int): int;
1347
1363
  readBoolean(position: long): boolean;
1348
1364
  readByte(position: long): byte;
1349
- readChar(position: long): string;
1365
+ readChar(position: long): char;
1350
1366
  readDecimal(position: long): decimal;
1351
1367
  readDouble(position: long): double;
1352
1368
  readInt16(position: long): short;
@@ -1359,7 +1375,7 @@ export class UnmanagedMemoryAccessor$instance {
1359
1375
  readUInt64(position: long): ulong;
1360
1376
  write(position: long, value: boolean): void;
1361
1377
  write(position: long, value: byte): void;
1362
- write(position: long, value: string): void;
1378
+ write(position: long, value: char): void;
1363
1379
  write(position: long, value: short): void;
1364
1380
  write(position: long, value: int): void;
1365
1381
  write(position: long, value: long): void;
@@ -1370,15 +1386,17 @@ export class UnmanagedMemoryAccessor$instance {
1370
1386
  write(position: long, value: ushort): void;
1371
1387
  write(position: long, value: uint): void;
1372
1388
  write(position: long, value: ulong): void;
1373
- write<T extends any>(position: long, structure: { value: ref<T> }): void;
1374
- writeArray<T extends any>(position: long, array: T[], offset: int, count: int): void;
1389
+ write<T extends unknown>(position: long, structure: { value: ref<T> }): void;
1390
+ writeArray<T extends unknown>(position: long, array: T[], offset: int, count: int): void;
1375
1391
  }
1376
1392
 
1377
1393
 
1378
1394
  export interface __UnmanagedMemoryAccessor$views {
1379
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1395
+ As_IDisposable(): System_Internal.IDisposable$instance;
1380
1396
  }
1381
1397
 
1398
+ export interface UnmanagedMemoryAccessor$instance extends System_Internal.IDisposable$instance {}
1399
+
1382
1400
  export type UnmanagedMemoryAccessor = UnmanagedMemoryAccessor$instance & __UnmanagedMemoryAccessor$views;
1383
1401
 
1384
1402
 
@@ -1422,265 +1440,265 @@ export class UnmanagedMemoryStream$instance extends Stream$instance {
1422
1440
 
1423
1441
 
1424
1442
  export interface __UnmanagedMemoryStream$views {
1425
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
1426
- readonly As_IDisposable: System_Internal.IDisposable$instance;
1443
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
1444
+ As_IDisposable(): System_Internal.IDisposable$instance;
1427
1445
  }
1428
1446
 
1429
1447
  export type UnmanagedMemoryStream = UnmanagedMemoryStream$instance & __UnmanagedMemoryStream$views;
1430
1448
 
1431
1449
 
1432
1450
  export abstract class Directory$instance {
1433
- static CreateDirectory(path: string, unixCreateMode: UnixFileMode): DirectoryInfo;
1434
- static CreateDirectory(path: string): DirectoryInfo;
1435
- static CreateSymbolicLink(path: string, pathToTarget: string): FileSystemInfo;
1436
- static CreateTempSubdirectory(prefix?: string): DirectoryInfo;
1437
- static Delete(path: string, recursive: boolean): void;
1438
- static Delete(path: string): void;
1439
- static EnumerateDirectories(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<CLROf<string>>;
1440
- static EnumerateDirectories(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<CLROf<string>>;
1441
- static EnumerateDirectories(path: string, searchPattern: string): IEnumerable_1<CLROf<string>>;
1442
- static EnumerateDirectories(path: string): IEnumerable_1<CLROf<string>>;
1443
- static EnumerateFiles(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<CLROf<string>>;
1444
- static EnumerateFiles(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<CLROf<string>>;
1445
- static EnumerateFiles(path: string, searchPattern: string): IEnumerable_1<CLROf<string>>;
1446
- static EnumerateFiles(path: string): IEnumerable_1<CLROf<string>>;
1447
- static EnumerateFileSystemEntries(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<CLROf<string>>;
1448
- static EnumerateFileSystemEntries(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<CLROf<string>>;
1449
- static EnumerateFileSystemEntries(path: string, searchPattern: string): IEnumerable_1<CLROf<string>>;
1450
- static EnumerateFileSystemEntries(path: string): IEnumerable_1<CLROf<string>>;
1451
- static Exists(path: string): boolean;
1452
- static GetCreationTime(path: string): DateTime;
1453
- static GetCreationTimeUtc(path: string): DateTime;
1454
- static GetCurrentDirectory(): string;
1455
- static GetDirectories(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): string[];
1456
- static GetDirectories(path: string, searchPattern: string, searchOption: SearchOption): string[];
1457
- static GetDirectories(path: string, searchPattern: string): string[];
1458
- static GetDirectories(path: string): string[];
1459
- static GetDirectoryRoot(path: string): string;
1460
- static GetFiles(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): string[];
1461
- static GetFiles(path: string, searchPattern: string, searchOption: SearchOption): string[];
1462
- static GetFiles(path: string, searchPattern: string): string[];
1463
- static GetFiles(path: string): string[];
1464
- static GetFileSystemEntries(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): string[];
1465
- static GetFileSystemEntries(path: string, searchPattern: string, searchOption: SearchOption): string[];
1466
- static GetFileSystemEntries(path: string, searchPattern: string): string[];
1467
- static GetFileSystemEntries(path: string): string[];
1468
- static GetLastAccessTime(path: string): DateTime;
1469
- static GetLastAccessTimeUtc(path: string): DateTime;
1470
- static GetLastWriteTime(path: string): DateTime;
1471
- static GetLastWriteTimeUtc(path: string): DateTime;
1472
- static GetLogicalDrives(): string[];
1473
- static GetParent(path: string): DirectoryInfo;
1474
- static Move(sourceDirName: string, destDirName: string): void;
1475
- static ResolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
1476
- static SetCreationTime(path: string, creationTime: DateTime): void;
1477
- static SetCreationTimeUtc(path: string, creationTimeUtc: DateTime): void;
1478
- static SetCurrentDirectory(path: string): void;
1479
- static SetLastAccessTime(path: string, lastAccessTime: DateTime): void;
1480
- static SetLastAccessTimeUtc(path: string, lastAccessTimeUtc: DateTime): void;
1481
- static SetLastWriteTime(path: string, lastWriteTime: DateTime): void;
1482
- static SetLastWriteTimeUtc(path: string, lastWriteTimeUtc: DateTime): void;
1451
+ static createDirectory2(path: string, unixCreateMode: UnixFileMode): DirectoryInfo;
1452
+ static createDirectory2(path: string): DirectoryInfo;
1453
+ static createSymbolicLink(path: string, pathToTarget: string): FileSystemInfo;
1454
+ static createTempSubdirectory(prefix?: string): DirectoryInfo;
1455
+ static delete_2(path: string, recursive: boolean): void;
1456
+ static delete_2(path: string): void;
1457
+ static enumerateDirectories4(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<CLROf<string>>;
1458
+ static enumerateDirectories4(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<CLROf<string>>;
1459
+ static enumerateDirectories4(path: string, searchPattern: string): IEnumerable_1<CLROf<string>>;
1460
+ static enumerateDirectories4(path: string): IEnumerable_1<CLROf<string>>;
1461
+ static enumerateFiles4(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<CLROf<string>>;
1462
+ static enumerateFiles4(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<CLROf<string>>;
1463
+ static enumerateFiles4(path: string, searchPattern: string): IEnumerable_1<CLROf<string>>;
1464
+ static enumerateFiles4(path: string): IEnumerable_1<CLROf<string>>;
1465
+ static enumerateFileSystemEntries4(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<CLROf<string>>;
1466
+ static enumerateFileSystemEntries4(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<CLROf<string>>;
1467
+ static enumerateFileSystemEntries4(path: string, searchPattern: string): IEnumerable_1<CLROf<string>>;
1468
+ static enumerateFileSystemEntries4(path: string): IEnumerable_1<CLROf<string>>;
1469
+ static exists(path: string): boolean;
1470
+ static getCreationTime(path: string): DateTime;
1471
+ static getCreationTimeUtc(path: string): DateTime;
1472
+ static getCurrentDirectory(): string;
1473
+ static getDirectories4(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): string[];
1474
+ static getDirectories4(path: string, searchPattern: string, searchOption: SearchOption): string[];
1475
+ static getDirectories4(path: string, searchPattern: string): string[];
1476
+ static getDirectories4(path: string): string[];
1477
+ static getDirectoryRoot(path: string): string;
1478
+ static getFiles4(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): string[];
1479
+ static getFiles4(path: string, searchPattern: string, searchOption: SearchOption): string[];
1480
+ static getFiles4(path: string, searchPattern: string): string[];
1481
+ static getFiles4(path: string): string[];
1482
+ static getFileSystemEntries4(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): string[];
1483
+ static getFileSystemEntries4(path: string, searchPattern: string, searchOption: SearchOption): string[];
1484
+ static getFileSystemEntries4(path: string, searchPattern: string): string[];
1485
+ static getFileSystemEntries4(path: string): string[];
1486
+ static getLastAccessTime(path: string): DateTime;
1487
+ static getLastAccessTimeUtc(path: string): DateTime;
1488
+ static getLastWriteTime(path: string): DateTime;
1489
+ static getLastWriteTimeUtc(path: string): DateTime;
1490
+ static getLogicalDrives(): string[];
1491
+ static getParent(path: string): DirectoryInfo;
1492
+ static move(sourceDirName: string, destDirName: string): void;
1493
+ static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
1494
+ static setCreationTime(path: string, creationTime: DateTime): void;
1495
+ static setCreationTimeUtc(path: string, creationTimeUtc: DateTime): void;
1496
+ static setCurrentDirectory(path: string): void;
1497
+ static setLastAccessTime(path: string, lastAccessTime: DateTime): void;
1498
+ static setLastAccessTimeUtc(path: string, lastAccessTimeUtc: DateTime): void;
1499
+ static setLastWriteTime(path: string, lastWriteTime: DateTime): void;
1500
+ static setLastWriteTimeUtc(path: string, lastWriteTimeUtc: DateTime): void;
1483
1501
  }
1484
1502
 
1485
1503
 
1486
1504
  export type Directory = Directory$instance;
1487
1505
 
1488
1506
  export abstract class File$instance {
1489
- static AppendAllBytes(path: string, bytes: byte[]): void;
1490
- static AppendAllBytes(path: string, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
1491
- static AppendAllBytesAsync(path: string, bytes: byte[], cancellationToken?: CancellationToken): Task;
1492
- static AppendAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): Task;
1493
- static AppendAllLines(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding): void;
1494
- static AppendAllLines(path: string, contents: IEnumerable_1<CLROf<string>>): void;
1495
- static AppendAllLinesAsync(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1496
- static AppendAllLinesAsync(path: string, contents: IEnumerable_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1497
- static AppendAllText(path: string, contents: ReadOnlySpan_1<CLROf<string>>, encoding: Encoding): void;
1498
- static AppendAllText(path: string, contents: ReadOnlySpan_1<CLROf<string>>): void;
1499
- static AppendAllText(path: string, contents: string, encoding: Encoding): void;
1500
- static AppendAllText(path: string, contents: string): void;
1501
- static AppendAllTextAsync(path: string, contents: ReadOnlyMemory_1<CLROf<string>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1502
- static AppendAllTextAsync(path: string, contents: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1503
- static AppendAllTextAsync(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1504
- static AppendAllTextAsync(path: string, contents: string, cancellationToken?: CancellationToken): Task;
1505
- static AppendText(path: string): StreamWriter;
1506
- static Copy(sourceFileName: string, destFileName: string, overwrite: boolean): void;
1507
- static Copy(sourceFileName: string, destFileName: string): void;
1508
- static Create(path: string, bufferSize: int, options: FileOptions): FileStream;
1509
- static Create(path: string, bufferSize: int): FileStream;
1510
- static Create(path: string): FileStream;
1511
- static CreateSymbolicLink(path: string, pathToTarget: string): FileSystemInfo;
1512
- static CreateText(path: string): StreamWriter;
1513
- static Decrypt(path: string): void;
1514
- static Delete(path: string): void;
1515
- static Encrypt(path: string): void;
1516
- static Exists(path: string): boolean;
1517
- static GetAttributes(fileHandle: SafeFileHandle): FileAttributes;
1518
- static GetAttributes(path: string): FileAttributes;
1519
- static GetCreationTime(fileHandle: SafeFileHandle): DateTime;
1520
- static GetCreationTime(path: string): DateTime;
1521
- static GetCreationTimeUtc(fileHandle: SafeFileHandle): DateTime;
1522
- static GetCreationTimeUtc(path: string): DateTime;
1523
- static GetLastAccessTime(fileHandle: SafeFileHandle): DateTime;
1524
- static GetLastAccessTime(path: string): DateTime;
1525
- static GetLastAccessTimeUtc(fileHandle: SafeFileHandle): DateTime;
1526
- static GetLastAccessTimeUtc(path: string): DateTime;
1527
- static GetLastWriteTime(fileHandle: SafeFileHandle): DateTime;
1528
- static GetLastWriteTime(path: string): DateTime;
1529
- static GetLastWriteTimeUtc(fileHandle: SafeFileHandle): DateTime;
1530
- static GetLastWriteTimeUtc(path: string): DateTime;
1531
- static GetUnixFileMode(fileHandle: SafeFileHandle): UnixFileMode;
1532
- static GetUnixFileMode(path: string): UnixFileMode;
1533
- static Move(sourceFileName: string, destFileName: string, overwrite: boolean): void;
1534
- static Move(sourceFileName: string, destFileName: string): void;
1535
- static Open(path: string, mode: FileMode, access: FileAccess, share: FileShare): FileStream;
1536
- static Open(path: string, mode: FileMode, access: FileAccess): FileStream;
1537
- static Open(path: string, mode: FileMode): FileStream;
1538
- static Open(path: string, options: FileStreamOptions): FileStream;
1539
- static OpenHandle(path: string, mode?: FileMode, access?: FileAccess, share?: FileShare, options?: FileOptions, preallocationSize?: long): SafeFileHandle;
1540
- static OpenRead(path: string): FileStream;
1541
- static OpenText(path: string): StreamReader;
1542
- static OpenWrite(path: string): FileStream;
1543
- static ReadAllBytes(path: string): byte[];
1544
- static ReadAllBytesAsync(path: string, cancellationToken?: CancellationToken): Task_1<byte[]>;
1545
- static ReadAllLines(path: string, encoding: Encoding): string[];
1546
- static ReadAllLines(path: string): string[];
1547
- static ReadAllLinesAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): Task_1<string[]>;
1548
- static ReadAllLinesAsync(path: string, cancellationToken?: CancellationToken): Task_1<string[]>;
1549
- static ReadAllText(path: string, encoding: Encoding): string;
1550
- static ReadAllText(path: string): string;
1551
- static ReadAllTextAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): Task_1<CLROf<string>>;
1552
- static ReadAllTextAsync(path: string, cancellationToken?: CancellationToken): Task_1<CLROf<string>>;
1553
- static ReadLines(path: string, encoding: Encoding): IEnumerable_1<CLROf<string>>;
1554
- static ReadLines(path: string): IEnumerable_1<CLROf<string>>;
1555
- static ReadLinesAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): IAsyncEnumerable_1<CLROf<string>>;
1556
- static ReadLinesAsync(path: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<CLROf<string>>;
1557
- static Replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string, ignoreMetadataErrors: boolean): void;
1558
- static Replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string): void;
1559
- static ResolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
1560
- static SetAttributes(fileHandle: SafeFileHandle, fileAttributes: FileAttributes): void;
1561
- static SetAttributes(path: string, fileAttributes: FileAttributes): void;
1562
- static SetCreationTime(fileHandle: SafeFileHandle, creationTime: DateTime): void;
1563
- static SetCreationTime(path: string, creationTime: DateTime): void;
1564
- static SetCreationTimeUtc(fileHandle: SafeFileHandle, creationTimeUtc: DateTime): void;
1565
- static SetCreationTimeUtc(path: string, creationTimeUtc: DateTime): void;
1566
- static SetLastAccessTime(fileHandle: SafeFileHandle, lastAccessTime: DateTime): void;
1567
- static SetLastAccessTime(path: string, lastAccessTime: DateTime): void;
1568
- static SetLastAccessTimeUtc(fileHandle: SafeFileHandle, lastAccessTimeUtc: DateTime): void;
1569
- static SetLastAccessTimeUtc(path: string, lastAccessTimeUtc: DateTime): void;
1570
- static SetLastWriteTime(fileHandle: SafeFileHandle, lastWriteTime: DateTime): void;
1571
- static SetLastWriteTime(path: string, lastWriteTime: DateTime): void;
1572
- static SetLastWriteTimeUtc(fileHandle: SafeFileHandle, lastWriteTimeUtc: DateTime): void;
1573
- static SetLastWriteTimeUtc(path: string, lastWriteTimeUtc: DateTime): void;
1574
- static SetUnixFileMode(fileHandle: SafeFileHandle, mode: UnixFileMode): void;
1575
- static SetUnixFileMode(path: string, mode: UnixFileMode): void;
1576
- static WriteAllBytes(path: string, bytes: byte[]): void;
1577
- static WriteAllBytes(path: string, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
1578
- static WriteAllBytesAsync(path: string, bytes: byte[], cancellationToken?: CancellationToken): Task;
1579
- static WriteAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): Task;
1580
- static WriteAllLines(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding): void;
1581
- static WriteAllLines(path: string, contents: IEnumerable_1<CLROf<string>>): void;
1582
- static WriteAllLines(path: string, contents: string[], encoding: Encoding): void;
1583
- static WriteAllLines(path: string, contents: string[]): void;
1584
- static WriteAllLinesAsync(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1585
- static WriteAllLinesAsync(path: string, contents: IEnumerable_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1586
- static WriteAllText(path: string, contents: ReadOnlySpan_1<CLROf<string>>, encoding: Encoding): void;
1587
- static WriteAllText(path: string, contents: ReadOnlySpan_1<CLROf<string>>): void;
1588
- static WriteAllText(path: string, contents: string, encoding: Encoding): void;
1589
- static WriteAllText(path: string, contents: string): void;
1590
- static WriteAllTextAsync(path: string, contents: ReadOnlyMemory_1<CLROf<string>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1591
- static WriteAllTextAsync(path: string, contents: ReadOnlyMemory_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1592
- static WriteAllTextAsync(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1593
- static WriteAllTextAsync(path: string, contents: string, cancellationToken?: CancellationToken): Task;
1507
+ static appendAllBytes(path: string, bytes: byte[]): void;
1508
+ static appendAllBytes(path: string, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
1509
+ static appendAllBytesAsync(path: string, bytes: byte[], cancellationToken?: CancellationToken): Task;
1510
+ static appendAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): Task;
1511
+ static appendAllLines2(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding): void;
1512
+ static appendAllLines2(path: string, contents: IEnumerable_1<CLROf<string>>): void;
1513
+ static appendAllLinesAsync2(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1514
+ static appendAllLinesAsync2(path: string, contents: IEnumerable_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1515
+ static appendAllText4(path: string, contents: ReadOnlySpan_1<CLROf<char>>, encoding: Encoding): void;
1516
+ static appendAllText4(path: string, contents: ReadOnlySpan_1<CLROf<char>>): void;
1517
+ static appendAllText4(path: string, contents: string, encoding: Encoding): void;
1518
+ static appendAllText4(path: string, contents: string): void;
1519
+ static appendAllTextAsync4(path: string, contents: ReadOnlyMemory_1<CLROf<char>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1520
+ static appendAllTextAsync4(path: string, contents: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1521
+ static appendAllTextAsync4(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1522
+ static appendAllTextAsync4(path: string, contents: string, cancellationToken?: CancellationToken): Task;
1523
+ static appendText(path: string): StreamWriter;
1524
+ static copy2(sourceFileName: string, destFileName: string, overwrite: boolean): void;
1525
+ static copy2(sourceFileName: string, destFileName: string): void;
1526
+ static create3(path: string, bufferSize: int, options: FileOptions): FileStream;
1527
+ static create3(path: string, bufferSize: int): FileStream;
1528
+ static create3(path: string): FileStream;
1529
+ static createSymbolicLink(path: string, pathToTarget: string): FileSystemInfo;
1530
+ static createText(path: string): StreamWriter;
1531
+ static decrypt(path: string): void;
1532
+ static delete_(path: string): void;
1533
+ static encrypt(path: string): void;
1534
+ static exists(path: string): boolean;
1535
+ static getAttributes2(fileHandle: SafeFileHandle): FileAttributes;
1536
+ static getAttributes2(path: string): FileAttributes;
1537
+ static getCreationTime2(fileHandle: SafeFileHandle): DateTime;
1538
+ static getCreationTime2(path: string): DateTime;
1539
+ static getCreationTimeUtc2(fileHandle: SafeFileHandle): DateTime;
1540
+ static getCreationTimeUtc2(path: string): DateTime;
1541
+ static getLastAccessTime2(fileHandle: SafeFileHandle): DateTime;
1542
+ static getLastAccessTime2(path: string): DateTime;
1543
+ static getLastAccessTimeUtc2(fileHandle: SafeFileHandle): DateTime;
1544
+ static getLastAccessTimeUtc2(path: string): DateTime;
1545
+ static getLastWriteTime2(fileHandle: SafeFileHandle): DateTime;
1546
+ static getLastWriteTime2(path: string): DateTime;
1547
+ static getLastWriteTimeUtc2(fileHandle: SafeFileHandle): DateTime;
1548
+ static getLastWriteTimeUtc2(path: string): DateTime;
1549
+ static getUnixFileMode2(fileHandle: SafeFileHandle): UnixFileMode;
1550
+ static getUnixFileMode2(path: string): UnixFileMode;
1551
+ static move2(sourceFileName: string, destFileName: string, overwrite: boolean): void;
1552
+ static move2(sourceFileName: string, destFileName: string): void;
1553
+ static open4(path: string, mode: FileMode, access: FileAccess, share: FileShare): FileStream;
1554
+ static open4(path: string, mode: FileMode, access: FileAccess): FileStream;
1555
+ static open4(path: string, mode: FileMode): FileStream;
1556
+ static open4(path: string, options: FileStreamOptions): FileStream;
1557
+ static openHandle(path: string, mode?: FileMode, access?: FileAccess, share?: FileShare, options?: FileOptions, preallocationSize?: long): SafeFileHandle;
1558
+ static openRead(path: string): FileStream;
1559
+ static openText(path: string): StreamReader;
1560
+ static openWrite(path: string): FileStream;
1561
+ static readAllBytes(path: string): byte[];
1562
+ static readAllBytesAsync(path: string, cancellationToken?: CancellationToken): Task_1<byte[]>;
1563
+ static readAllLines2(path: string, encoding: Encoding): string[];
1564
+ static readAllLines2(path: string): string[];
1565
+ static readAllLinesAsync2(path: string, encoding: Encoding, cancellationToken?: CancellationToken): Task_1<string[]>;
1566
+ static readAllLinesAsync2(path: string, cancellationToken?: CancellationToken): Task_1<string[]>;
1567
+ static readAllText2(path: string, encoding: Encoding): string;
1568
+ static readAllText2(path: string): string;
1569
+ static readAllTextAsync2(path: string, encoding: Encoding, cancellationToken?: CancellationToken): Task_1<CLROf<string>>;
1570
+ static readAllTextAsync2(path: string, cancellationToken?: CancellationToken): Task_1<CLROf<string>>;
1571
+ static readLines2(path: string, encoding: Encoding): IEnumerable_1<CLROf<string>>;
1572
+ static readLines2(path: string): IEnumerable_1<CLROf<string>>;
1573
+ static readLinesAsync2(path: string, encoding: Encoding, cancellationToken?: CancellationToken): IAsyncEnumerable_1<CLROf<string>>;
1574
+ static readLinesAsync2(path: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<CLROf<string>>;
1575
+ static replace2(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string, ignoreMetadataErrors: boolean): void;
1576
+ static replace2(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string): void;
1577
+ static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
1578
+ static setAttributes2(fileHandle: SafeFileHandle, fileAttributes: FileAttributes): void;
1579
+ static setAttributes2(path: string, fileAttributes: FileAttributes): void;
1580
+ static setCreationTime2(fileHandle: SafeFileHandle, creationTime: DateTime): void;
1581
+ static setCreationTime2(path: string, creationTime: DateTime): void;
1582
+ static setCreationTimeUtc2(fileHandle: SafeFileHandle, creationTimeUtc: DateTime): void;
1583
+ static setCreationTimeUtc2(path: string, creationTimeUtc: DateTime): void;
1584
+ static setLastAccessTime2(fileHandle: SafeFileHandle, lastAccessTime: DateTime): void;
1585
+ static setLastAccessTime2(path: string, lastAccessTime: DateTime): void;
1586
+ static setLastAccessTimeUtc2(fileHandle: SafeFileHandle, lastAccessTimeUtc: DateTime): void;
1587
+ static setLastAccessTimeUtc2(path: string, lastAccessTimeUtc: DateTime): void;
1588
+ static setLastWriteTime2(fileHandle: SafeFileHandle, lastWriteTime: DateTime): void;
1589
+ static setLastWriteTime2(path: string, lastWriteTime: DateTime): void;
1590
+ static setLastWriteTimeUtc2(fileHandle: SafeFileHandle, lastWriteTimeUtc: DateTime): void;
1591
+ static setLastWriteTimeUtc2(path: string, lastWriteTimeUtc: DateTime): void;
1592
+ static setUnixFileMode2(fileHandle: SafeFileHandle, mode: UnixFileMode): void;
1593
+ static setUnixFileMode2(path: string, mode: UnixFileMode): void;
1594
+ static writeAllBytes(path: string, bytes: byte[]): void;
1595
+ static writeAllBytes(path: string, bytes: ReadOnlySpan_1<CLROf<byte>>): void;
1596
+ static writeAllBytesAsync(path: string, bytes: byte[], cancellationToken?: CancellationToken): Task;
1597
+ static writeAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): Task;
1598
+ static writeAllLines4(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding): void;
1599
+ static writeAllLines4(path: string, contents: IEnumerable_1<CLROf<string>>): void;
1600
+ static writeAllLines4(path: string, contents: string[], encoding: Encoding): void;
1601
+ static writeAllLines4(path: string, contents: string[]): void;
1602
+ static writeAllLinesAsync2(path: string, contents: IEnumerable_1<CLROf<string>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1603
+ static writeAllLinesAsync2(path: string, contents: IEnumerable_1<CLROf<string>>, cancellationToken?: CancellationToken): Task;
1604
+ static writeAllText4(path: string, contents: ReadOnlySpan_1<CLROf<char>>, encoding: Encoding): void;
1605
+ static writeAllText4(path: string, contents: ReadOnlySpan_1<CLROf<char>>): void;
1606
+ static writeAllText4(path: string, contents: string, encoding: Encoding): void;
1607
+ static writeAllText4(path: string, contents: string): void;
1608
+ static writeAllTextAsync4(path: string, contents: ReadOnlyMemory_1<CLROf<char>>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1609
+ static writeAllTextAsync4(path: string, contents: ReadOnlyMemory_1<CLROf<char>>, cancellationToken?: CancellationToken): Task;
1610
+ static writeAllTextAsync4(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
1611
+ static writeAllTextAsync4(path: string, contents: string, cancellationToken?: CancellationToken): Task;
1594
1612
  }
1595
1613
 
1596
1614
 
1597
1615
  export type File = File$instance;
1598
1616
 
1599
1617
  export abstract class FileSystemAclExtensions$instance {
1600
- static Create(directoryInfo: DirectoryInfo, directorySecurity: DirectorySecurity): void;
1601
- static Create(fileInfo: FileInfo, mode: FileMode, rights: FileSystemRights, share: FileShare, bufferSize: int, options: FileOptions, fileSecurity: FileSecurity): FileStream;
1602
- static CreateDirectory(directorySecurity: DirectorySecurity, path: string): DirectoryInfo;
1603
- static GetAccessControl(directoryInfo: DirectoryInfo, includeSections: AccessControlSections): DirectorySecurity;
1604
- static GetAccessControl(directoryInfo: DirectoryInfo): DirectorySecurity;
1605
- static GetAccessControl(fileInfo: FileInfo, includeSections: AccessControlSections): FileSecurity;
1606
- static GetAccessControl(fileInfo: FileInfo): FileSecurity;
1607
- static GetAccessControl(fileStream: FileStream): FileSecurity;
1608
- static SetAccessControl(directoryInfo: DirectoryInfo, directorySecurity: DirectorySecurity): void;
1609
- static SetAccessControl(fileInfo: FileInfo, fileSecurity: FileSecurity): void;
1610
- static SetAccessControl(fileStream: FileStream, fileSecurity: FileSecurity): void;
1618
+ static create(directoryInfo: DirectoryInfo, directorySecurity: DirectorySecurity): void;
1619
+ static create(fileInfo: FileInfo, mode: FileMode, rights: FileSystemRights, share: FileShare, bufferSize: int, options: FileOptions, fileSecurity: FileSecurity): FileStream;
1620
+ static createDirectory(directorySecurity: DirectorySecurity, path: string): DirectoryInfo;
1621
+ static getAccessControl2(directoryInfo: DirectoryInfo, includeSections: AccessControlSections): DirectorySecurity;
1622
+ static getAccessControl2(directoryInfo: DirectoryInfo): DirectorySecurity;
1623
+ static getAccessControl2(fileInfo: FileInfo, includeSections: AccessControlSections): FileSecurity;
1624
+ static getAccessControl2(fileInfo: FileInfo): FileSecurity;
1625
+ static getAccessControl2(fileStream: FileStream): FileSecurity;
1626
+ static setAccessControl(directoryInfo: DirectoryInfo, directorySecurity: DirectorySecurity): void;
1627
+ static setAccessControl(fileInfo: FileInfo, fileSecurity: FileSecurity): void;
1628
+ static setAccessControl(fileStream: FileStream, fileSecurity: FileSecurity): void;
1611
1629
  }
1612
1630
 
1613
1631
 
1614
1632
  export type FileSystemAclExtensions = FileSystemAclExtensions$instance;
1615
1633
 
1616
1634
  export abstract class Path$instance {
1617
- static readonly directorySeparatorChar: string;
1618
- static readonly altDirectorySeparatorChar: string;
1619
- static readonly volumeSeparatorChar: string;
1620
- static readonly pathSeparator: string;
1621
- static readonly invalidPathChars: string[];
1622
- static ChangeExtension(path: string, extension: string): string;
1623
- static Combine(paths: ReadOnlySpan_1<CLROf<string>>): string;
1624
- static Combine(path1: string, path2: string, path3: string, path4: string): string;
1625
- static Combine(path1: string, path2: string, path3: string): string;
1626
- static Combine(path1: string, path2: string): string;
1627
- static Combine(paths: string[]): string;
1628
- static EndsInDirectorySeparator(path: ReadOnlySpan_1<CLROf<string>>): boolean;
1629
- static EndsInDirectorySeparator(path: string): boolean;
1630
- static Exists(path: string): boolean;
1631
- static GetDirectoryName(path: ReadOnlySpan_1<CLROf<string>>): ReadOnlySpan_1<CLROf<string>>;
1632
- static GetDirectoryName(path: string): string;
1633
- static GetExtension(path: ReadOnlySpan_1<CLROf<string>>): ReadOnlySpan_1<CLROf<string>>;
1634
- static GetExtension(path: string): string;
1635
- static GetFileName(path: ReadOnlySpan_1<CLROf<string>>): ReadOnlySpan_1<CLROf<string>>;
1636
- static GetFileName(path: string): string;
1637
- static GetFileNameWithoutExtension(path: ReadOnlySpan_1<CLROf<string>>): ReadOnlySpan_1<CLROf<string>>;
1638
- static GetFileNameWithoutExtension(path: string): string;
1639
- static GetFullPath(path: string, basePath: string): string;
1640
- static GetFullPath(path: string): string;
1641
- static GetInvalidFileNameChars(): string[];
1642
- static GetInvalidPathChars(): string[];
1643
- static GetPathRoot(path: ReadOnlySpan_1<CLROf<string>>): ReadOnlySpan_1<CLROf<string>>;
1644
- static GetPathRoot(path: string): string;
1645
- static GetRandomFileName(): string;
1646
- static GetRelativePath(relativeTo: string, path: string): string;
1647
- static GetTempFileName(): string;
1648
- static GetTempPath(): string;
1649
- static HasExtension(path: ReadOnlySpan_1<CLROf<string>>): boolean;
1650
- static HasExtension(path: string): boolean;
1651
- static IsPathFullyQualified(path: ReadOnlySpan_1<CLROf<string>>): boolean;
1652
- static IsPathFullyQualified(path: string): boolean;
1653
- static IsPathRooted(path: ReadOnlySpan_1<CLROf<string>>): boolean;
1654
- static IsPathRooted(path: string): boolean;
1655
- static Join(path1: ReadOnlySpan_1<CLROf<string>>, path2: ReadOnlySpan_1<CLROf<string>>, path3: ReadOnlySpan_1<CLROf<string>>, path4: ReadOnlySpan_1<CLROf<string>>): string;
1656
- static Join(path1: ReadOnlySpan_1<CLROf<string>>, path2: ReadOnlySpan_1<CLROf<string>>, path3: ReadOnlySpan_1<CLROf<string>>): string;
1657
- static Join(path1: ReadOnlySpan_1<CLROf<string>>, path2: ReadOnlySpan_1<CLROf<string>>): string;
1658
- static Join(paths: ReadOnlySpan_1<CLROf<string>>): string;
1659
- static Join(path1: string, path2: string, path3: string, path4: string): string;
1660
- static Join(path1: string, path2: string, path3: string): string;
1661
- static Join(path1: string, path2: string): string;
1662
- static Join(paths: string[]): string;
1663
- static TrimEndingDirectorySeparator(path: ReadOnlySpan_1<CLROf<string>>): ReadOnlySpan_1<CLROf<string>>;
1664
- static TrimEndingDirectorySeparator(path: string): string;
1665
- static TryJoin(path1: ReadOnlySpan_1<CLROf<string>>, path2: ReadOnlySpan_1<CLROf<string>>, path3: ReadOnlySpan_1<CLROf<string>>, destination: Span_1<CLROf<string>>, charsWritten: { value: ref<int> }): boolean;
1666
- static TryJoin(path1: ReadOnlySpan_1<CLROf<string>>, path2: ReadOnlySpan_1<CLROf<string>>, destination: Span_1<CLROf<string>>, charsWritten: { value: ref<int> }): boolean;
1635
+ static readonly directorySeparatorChar: char;
1636
+ static readonly altDirectorySeparatorChar: char;
1637
+ static readonly volumeSeparatorChar: char;
1638
+ static readonly pathSeparator: char;
1639
+ static readonly invalidPathChars: char[];
1640
+ static changeExtension(path: string, extension: string): string;
1641
+ static combine5(paths: ReadOnlySpan_1<CLROf<string>>): string;
1642
+ static combine5(path1: string, path2: string, path3: string, path4: string): string;
1643
+ static combine5(path1: string, path2: string, path3: string): string;
1644
+ static combine5(path1: string, path2: string): string;
1645
+ static combine5(paths: string[]): string;
1646
+ static endsInDirectorySeparator(path: ReadOnlySpan_1<CLROf<char>>): boolean;
1647
+ static endsInDirectorySeparator(path: string): boolean;
1648
+ static exists(path: string): boolean;
1649
+ static getDirectoryName2(path: ReadOnlySpan_1<CLROf<char>>): ReadOnlySpan_1<CLROf<char>>;
1650
+ static getDirectoryName2(path: string): string;
1651
+ static getExtension2(path: ReadOnlySpan_1<CLROf<char>>): ReadOnlySpan_1<CLROf<char>>;
1652
+ static getExtension2(path: string): string;
1653
+ static getFileName2(path: ReadOnlySpan_1<CLROf<char>>): ReadOnlySpan_1<CLROf<char>>;
1654
+ static getFileName2(path: string): string;
1655
+ static getFileNameWithoutExtension2(path: ReadOnlySpan_1<CLROf<char>>): ReadOnlySpan_1<CLROf<char>>;
1656
+ static getFileNameWithoutExtension2(path: string): string;
1657
+ static getFullPath2(path: string, basePath: string): string;
1658
+ static getFullPath2(path: string): string;
1659
+ static getInvalidFileNameChars(): char[];
1660
+ static getInvalidPathChars(): char[];
1661
+ static getPathRoot2(path: ReadOnlySpan_1<CLROf<char>>): ReadOnlySpan_1<CLROf<char>>;
1662
+ static getPathRoot2(path: string): string;
1663
+ static getRandomFileName(): string;
1664
+ static getRelativePath(relativeTo: string, path: string): string;
1665
+ static getTempFileName(): string;
1666
+ static getTempPath(): string;
1667
+ static hasExtension2(path: ReadOnlySpan_1<CLROf<char>>): boolean;
1668
+ static hasExtension2(path: string): boolean;
1669
+ static isPathFullyQualified2(path: ReadOnlySpan_1<CLROf<char>>): boolean;
1670
+ static isPathFullyQualified2(path: string): boolean;
1671
+ static isPathRooted2(path: ReadOnlySpan_1<CLROf<char>>): boolean;
1672
+ static isPathRooted2(path: string): boolean;
1673
+ static join3(path1: ReadOnlySpan_1<CLROf<char>>, path2: ReadOnlySpan_1<CLROf<char>>, path3: ReadOnlySpan_1<CLROf<char>>, path4: ReadOnlySpan_1<CLROf<char>>): string;
1674
+ static join3(path1: ReadOnlySpan_1<CLROf<char>>, path2: ReadOnlySpan_1<CLROf<char>>, path3: ReadOnlySpan_1<CLROf<char>>): string;
1675
+ static join3(path1: ReadOnlySpan_1<CLROf<char>>, path2: ReadOnlySpan_1<CLROf<char>>): string;
1676
+ static join3(paths: ReadOnlySpan_1<CLROf<string>>): string;
1677
+ static join3(path1: string, path2: string, path3: string, path4: string): string;
1678
+ static join3(path1: string, path2: string, path3: string): string;
1679
+ static join3(path1: string, path2: string): string;
1680
+ static join3(paths: string[]): string;
1681
+ static trimEndingDirectorySeparator2(path: ReadOnlySpan_1<CLROf<char>>): ReadOnlySpan_1<CLROf<char>>;
1682
+ static trimEndingDirectorySeparator2(path: string): string;
1683
+ static tryJoin2(path1: ReadOnlySpan_1<CLROf<char>>, path2: ReadOnlySpan_1<CLROf<char>>, path3: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
1684
+ static tryJoin2(path1: ReadOnlySpan_1<CLROf<char>>, path2: ReadOnlySpan_1<CLROf<char>>, destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }): boolean;
1667
1685
  }
1668
1686
 
1669
1687
 
1670
1688
  export type Path = Path$instance;
1671
1689
 
1672
1690
  export abstract class RandomAccess$instance {
1673
- static FlushToDisk(handle: SafeFileHandle): void;
1674
- static GetLength(handle: SafeFileHandle): long;
1675
- static Read(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<CLROf<byte>>>, fileOffset: long): long;
1676
- static Read(handle: SafeFileHandle, buffer: Span_1<CLROf<byte>>, fileOffset: long): int;
1677
- static ReadAsync(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<CLROf<byte>>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask_1<CLROf<long>>;
1678
- static ReadAsync(handle: SafeFileHandle, buffer: Memory_1<CLROf<byte>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1679
- static SetLength(handle: SafeFileHandle, length: long): void;
1680
- static Write(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<CLROf<byte>>>, fileOffset: long): void;
1681
- static Write(handle: SafeFileHandle, buffer: ReadOnlySpan_1<CLROf<byte>>, fileOffset: long): void;
1682
- static WriteAsync(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<CLROf<byte>>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask;
1683
- static WriteAsync(handle: SafeFileHandle, buffer: ReadOnlyMemory_1<CLROf<byte>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask;
1691
+ static flushToDisk(handle: SafeFileHandle): void;
1692
+ static getLength(handle: SafeFileHandle): long;
1693
+ static read2(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<CLROf<byte>>>, fileOffset: long): long;
1694
+ static read2(handle: SafeFileHandle, buffer: Span_1<CLROf<byte>>, fileOffset: long): int;
1695
+ static readAsync2(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<CLROf<byte>>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask_1<CLROf<long>>;
1696
+ static readAsync2(handle: SafeFileHandle, buffer: Memory_1<CLROf<byte>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask_1<CLROf<int>>;
1697
+ static setLength(handle: SafeFileHandle, length: long): void;
1698
+ static write2(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<CLROf<byte>>>, fileOffset: long): void;
1699
+ static write2(handle: SafeFileHandle, buffer: ReadOnlySpan_1<CLROf<byte>>, fileOffset: long): void;
1700
+ static writeAsync2(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<CLROf<byte>>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask;
1701
+ static writeAsync2(handle: SafeFileHandle, buffer: ReadOnlyMemory_1<CLROf<byte>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask;
1684
1702
  }
1685
1703
 
1686
1704