@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
@@ -81,14 +81,16 @@ export enum ZLibCompressionStrategy {
81
81
  export class BrotliDecoder$instance {
82
82
  decompress(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesConsumed: { value: ref<int> }, bytesWritten: { value: ref<int> }): OperationStatus;
83
83
  dispose(): void;
84
- static TryDecompress(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
84
+ static tryDecompress(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
85
85
  }
86
86
 
87
87
 
88
88
  export interface __BrotliDecoder$views {
89
- readonly As_IDisposable: System_Internal.IDisposable$instance;
89
+ As_IDisposable(): System_Internal.IDisposable$instance;
90
90
  }
91
91
 
92
+ export interface BrotliDecoder$instance extends System_Internal.IDisposable$instance {}
93
+
92
94
  export type BrotliDecoder = BrotliDecoder$instance & __BrotliDecoder$views;
93
95
 
94
96
 
@@ -97,16 +99,18 @@ export class BrotliEncoder$instance {
97
99
  compress(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesConsumed: { value: ref<int> }, bytesWritten: { value: ref<int> }, isFinalBlock: boolean): OperationStatus;
98
100
  dispose(): void;
99
101
  flush(destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): OperationStatus;
100
- static GetMaxCompressedLength(inputSize: int): int;
101
- static TryCompress(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }, quality: int, window: int): boolean;
102
- static TryCompress(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
102
+ static getMaxCompressedLength(inputSize: int): int;
103
+ static tryCompress2(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }, quality: int, window: int): boolean;
104
+ static tryCompress2(source: ReadOnlySpan_1<CLROf<byte>>, destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
103
105
  }
104
106
 
105
107
 
106
108
  export interface __BrotliEncoder$views {
107
- readonly As_IDisposable: System_Internal.IDisposable$instance;
109
+ As_IDisposable(): System_Internal.IDisposable$instance;
108
110
  }
109
111
 
112
+ export interface BrotliEncoder$instance extends System_Internal.IDisposable$instance {}
113
+
110
114
  export type BrotliEncoder = BrotliEncoder$instance & __BrotliEncoder$views;
111
115
 
112
116
 
@@ -130,8 +134,8 @@ export class BrotliStream$instance extends System_IO_Internal.Stream$instance {
130
134
  readonly canWrite: boolean;
131
135
  readonly length: long;
132
136
  position: long;
133
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
134
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
137
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
138
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
135
139
  dispose(): void;
136
140
  disposeAsync(): ValueTask;
137
141
  endRead(asyncResult: IAsyncResult): int;
@@ -162,8 +166,8 @@ export class BrotliStream$instance extends System_IO_Internal.Stream$instance {
162
166
 
163
167
 
164
168
  export interface __BrotliStream$views {
165
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
166
- readonly As_IDisposable: System_Internal.IDisposable$instance;
169
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
170
+ As_IDisposable(): System_Internal.IDisposable$instance;
167
171
  }
168
172
 
169
173
  export type BrotliStream = BrotliStream$instance & __BrotliStream$views;
@@ -181,8 +185,8 @@ export class DeflateStream$instance extends System_IO_Internal.Stream$instance {
181
185
  readonly canWrite: boolean;
182
186
  readonly length: long;
183
187
  position: long;
184
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
185
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
188
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
189
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
186
190
  copyTo(destination: Stream, bufferSize: int): void;
187
191
  copyTo(destination: Stream): void;
188
192
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -219,8 +223,8 @@ export class DeflateStream$instance extends System_IO_Internal.Stream$instance {
219
223
 
220
224
 
221
225
  export interface __DeflateStream$views {
222
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
223
- readonly As_IDisposable: System_Internal.IDisposable$instance;
226
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
227
+ As_IDisposable(): System_Internal.IDisposable$instance;
224
228
  }
225
229
 
226
230
  export type DeflateStream = DeflateStream$instance & __DeflateStream$views;
@@ -238,8 +242,8 @@ export class GZipStream$instance extends System_IO_Internal.Stream$instance {
238
242
  readonly canWrite: boolean;
239
243
  readonly length: long;
240
244
  position: long;
241
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
242
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
245
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
246
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
243
247
  copyTo(destination: Stream, bufferSize: int): void;
244
248
  copyTo(destination: Stream): void;
245
249
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -276,8 +280,8 @@ export class GZipStream$instance extends System_IO_Internal.Stream$instance {
276
280
 
277
281
 
278
282
  export interface __GZipStream$views {
279
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
280
- readonly As_IDisposable: System_Internal.IDisposable$instance;
283
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
284
+ As_IDisposable(): System_Internal.IDisposable$instance;
281
285
  }
282
286
 
283
287
  export type GZipStream = GZipStream$instance & __GZipStream$views;
@@ -296,15 +300,17 @@ export class ZipArchive$instance {
296
300
  dispose(): void;
297
301
  disposeAsync(): ValueTask;
298
302
  getEntry(entryName: string): ZipArchiveEntry;
299
- static CreateAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
303
+ static createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
300
304
  }
301
305
 
302
306
 
303
307
  export interface __ZipArchive$views {
304
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
305
- readonly As_IDisposable: System_Internal.IDisposable$instance;
308
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
309
+ As_IDisposable(): System_Internal.IDisposable$instance;
306
310
  }
307
311
 
312
+ export interface ZipArchive$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
313
+
308
314
  export type ZipArchive = ZipArchive$instance & __ZipArchive$views;
309
315
 
310
316
 
@@ -346,7 +352,7 @@ export class ZLibException$instance extends System_IO_Internal.IOException$insta
346
352
 
347
353
 
348
354
  export interface __ZLibException$views {
349
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
355
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
350
356
  }
351
357
 
352
358
  export type ZLibException = ZLibException$instance & __ZLibException$views;
@@ -364,8 +370,8 @@ export class ZLibStream$instance extends System_IO_Internal.Stream$instance {
364
370
  readonly canWrite: boolean;
365
371
  readonly length: long;
366
372
  position: long;
367
- beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
368
- beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: any): IAsyncResult;
373
+ beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
374
+ beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
369
375
  copyTo(destination: Stream, bufferSize: int): void;
370
376
  copyTo(destination: Stream): void;
371
377
  copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
@@ -402,66 +408,66 @@ export class ZLibStream$instance extends System_IO_Internal.Stream$instance {
402
408
 
403
409
 
404
410
  export interface __ZLibStream$views {
405
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
406
- readonly As_IDisposable: System_Internal.IDisposable$instance;
411
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
412
+ As_IDisposable(): System_Internal.IDisposable$instance;
407
413
  }
408
414
 
409
415
  export type ZLibStream = ZLibStream$instance & __ZLibStream$views;
410
416
 
411
417
 
412
418
  export abstract class ZipFile$instance {
413
- static CreateFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
414
- static CreateFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
415
- static CreateFromDirectory(sourceDirectoryName: string, destination: Stream): void;
416
- static CreateFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
417
- static CreateFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
418
- static CreateFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string): void;
419
- static CreateFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
420
- static CreateFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
421
- static CreateFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, cancellationToken?: CancellationToken): Task;
422
- static CreateFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
423
- static CreateFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
424
- static CreateFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, cancellationToken?: CancellationToken): Task;
425
- static ExtractToDirectory(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean): void;
426
- static ExtractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
427
- static ExtractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
428
- static ExtractToDirectory(source: Stream, destinationDirectoryName: string): void;
429
- static ExtractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean): void;
430
- static ExtractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
431
- static ExtractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
432
- static ExtractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string): void;
433
- static ExtractToDirectoryAsync(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
434
- static ExtractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
435
- static ExtractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
436
- static ExtractToDirectoryAsync(source: Stream, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
437
- static ExtractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
438
- static ExtractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
439
- static ExtractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
440
- static ExtractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
441
- static Open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding): ZipArchive;
442
- static Open(archiveFileName: string, mode: ZipArchiveMode): ZipArchive;
443
- static OpenAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
444
- static OpenAsync(archiveFileName: string, mode: ZipArchiveMode, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
445
- static OpenRead(archiveFileName: string): ZipArchive;
446
- static OpenReadAsync(archiveFileName: string, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
419
+ static createFromDirectory6(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
420
+ static createFromDirectory6(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
421
+ static createFromDirectory6(sourceDirectoryName: string, destination: Stream): void;
422
+ static createFromDirectory6(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
423
+ static createFromDirectory6(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
424
+ static createFromDirectory6(sourceDirectoryName: string, destinationArchiveFileName: string): void;
425
+ static createFromDirectoryAsync6(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
426
+ static createFromDirectoryAsync6(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
427
+ static createFromDirectoryAsync6(sourceDirectoryName: string, destination: Stream, cancellationToken?: CancellationToken): Task;
428
+ static createFromDirectoryAsync6(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
429
+ static createFromDirectoryAsync6(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
430
+ static createFromDirectoryAsync6(sourceDirectoryName: string, destinationArchiveFileName: string, cancellationToken?: CancellationToken): Task;
431
+ static extractToDirectory6(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean): void;
432
+ static extractToDirectory6(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
433
+ static extractToDirectory6(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
434
+ static extractToDirectory6(source: Stream, destinationDirectoryName: string): void;
435
+ static extractToDirectory6(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean): void;
436
+ static extractToDirectory6(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
437
+ static extractToDirectory6(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
438
+ static extractToDirectory6(sourceArchiveFileName: string, destinationDirectoryName: string): void;
439
+ static extractToDirectoryAsync6(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
440
+ static extractToDirectoryAsync6(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
441
+ static extractToDirectoryAsync6(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
442
+ static extractToDirectoryAsync6(source: Stream, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
443
+ static extractToDirectoryAsync6(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
444
+ static extractToDirectoryAsync6(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
445
+ static extractToDirectoryAsync6(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
446
+ static extractToDirectoryAsync6(sourceArchiveFileName: string, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
447
+ static open2(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding): ZipArchive;
448
+ static open2(archiveFileName: string, mode: ZipArchiveMode): ZipArchive;
449
+ static openAsync2(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
450
+ static openAsync2(archiveFileName: string, mode: ZipArchiveMode, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
451
+ static openRead(archiveFileName: string): ZipArchive;
452
+ static openReadAsync(archiveFileName: string, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
447
453
  }
448
454
 
449
455
 
450
456
  export type ZipFile = ZipFile$instance;
451
457
 
452
458
  export abstract class ZipFileExtensions$instance {
453
- static CreateEntryFromFile(destination: ZipArchive, sourceFileName: string, entryName: string, compressionLevel: CompressionLevel): ZipArchiveEntry;
454
- static CreateEntryFromFile(destination: ZipArchive, sourceFileName: string, entryName: string): ZipArchiveEntry;
455
- static CreateEntryFromFileAsync(destination: ZipArchive, sourceFileName: string, entryName: string, compressionLevel: CompressionLevel, cancellationToken?: CancellationToken): Task_1<ZipArchiveEntry>;
456
- static CreateEntryFromFileAsync(destination: ZipArchive, sourceFileName: string, entryName: string, cancellationToken?: CancellationToken): Task_1<ZipArchiveEntry>;
457
- static ExtractToDirectory(source: ZipArchive, destinationDirectoryName: string, overwriteFiles: boolean): void;
458
- static ExtractToDirectory(source: ZipArchive, destinationDirectoryName: string): void;
459
- static ExtractToDirectoryAsync(source: ZipArchive, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
460
- static ExtractToDirectoryAsync(source: ZipArchive, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
461
- static ExtractToFile(source: ZipArchiveEntry, destinationFileName: string, overwrite: boolean): void;
462
- static ExtractToFile(source: ZipArchiveEntry, destinationFileName: string): void;
463
- static ExtractToFileAsync(source: ZipArchiveEntry, destinationFileName: string, overwrite: boolean, cancellationToken?: CancellationToken): Task;
464
- static ExtractToFileAsync(source: ZipArchiveEntry, destinationFileName: string, cancellationToken?: CancellationToken): Task;
459
+ static createEntryFromFile2(destination: ZipArchive, sourceFileName: string, entryName: string, compressionLevel: CompressionLevel): ZipArchiveEntry;
460
+ static createEntryFromFile2(destination: ZipArchive, sourceFileName: string, entryName: string): ZipArchiveEntry;
461
+ static createEntryFromFileAsync2(destination: ZipArchive, sourceFileName: string, entryName: string, compressionLevel: CompressionLevel, cancellationToken?: CancellationToken): Task_1<ZipArchiveEntry>;
462
+ static createEntryFromFileAsync2(destination: ZipArchive, sourceFileName: string, entryName: string, cancellationToken?: CancellationToken): Task_1<ZipArchiveEntry>;
463
+ static extractToDirectory2(source: ZipArchive, destinationDirectoryName: string, overwriteFiles: boolean): void;
464
+ static extractToDirectory2(source: ZipArchive, destinationDirectoryName: string): void;
465
+ static extractToDirectoryAsync2(source: ZipArchive, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
466
+ static extractToDirectoryAsync2(source: ZipArchive, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
467
+ static extractToFile2(source: ZipArchiveEntry, destinationFileName: string, overwrite: boolean): void;
468
+ static extractToFile2(source: ZipArchiveEntry, destinationFileName: string): void;
469
+ static extractToFileAsync2(source: ZipArchiveEntry, destinationFileName: string, overwrite: boolean, cancellationToken?: CancellationToken): Task;
470
+ static extractToFileAsync2(source: ZipArchiveEntry, destinationFileName: string, cancellationToken?: CancellationToken): Task;
465
471
  }
466
472
 
467
473
 
@@ -50,15 +50,15 @@ export type CLROf<T> =
50
50
  export class FileSystemEntry$instance {
51
51
  readonly attributes: FileAttributes;
52
52
  readonly creationTimeUtc: DateTimeOffset;
53
- readonly directory: ReadOnlySpan_1<CLROf<string>>;
54
- readonly fileName: ReadOnlySpan_1<CLROf<string>>;
53
+ readonly directory: ReadOnlySpan_1<CLROf<char>>;
54
+ readonly fileName: ReadOnlySpan_1<CLROf<char>>;
55
55
  readonly isDirectory: boolean;
56
56
  readonly isHidden: boolean;
57
57
  readonly lastAccessTimeUtc: DateTimeOffset;
58
58
  readonly lastWriteTimeUtc: DateTimeOffset;
59
59
  readonly length: long;
60
- readonly originalRootDirectory: ReadOnlySpan_1<CLROf<string>>;
61
- readonly rootDirectory: ReadOnlySpan_1<CLROf<string>>;
60
+ readonly originalRootDirectory: ReadOnlySpan_1<CLROf<char>>;
61
+ readonly rootDirectory: ReadOnlySpan_1<CLROf<char>>;
62
62
  toFileSystemInfo(): FileSystemInfo;
63
63
  toFullPath(): string;
64
64
  toSpecifiedFullPath(): string;
@@ -76,17 +76,17 @@ export class FileSystemEnumerable_1$instance<TResult> {
76
76
 
77
77
 
78
78
  export interface __FileSystemEnumerable_1$views<TResult> {
79
- readonly As_IEnumerable_1_of_Char: System_Collections_Generic_Internal.IEnumerable_1$instance<TResult>;
80
- readonly As_IEnumerable: System_Collections_Internal.IEnumerable$instance;
79
+ As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<TResult>;
80
+ As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
81
81
  }
82
82
 
83
83
  export type FileSystemEnumerable_1<TResult> = FileSystemEnumerable_1$instance<TResult> & __FileSystemEnumerable_1$views<TResult>;
84
84
 
85
85
 
86
86
  export class FileSystemEnumerable_1_FindPredicate$instance<TResult> extends Function {
87
- constructor(object_: any, method: nint);
88
- beginInvoke(entry: { value: ref<FileSystemEntry> }, callback: AsyncCallback, object_: any): IAsyncResult;
89
- clone(): any;
87
+ constructor(object_: unknown, method: nint);
88
+ beginInvoke(entry: { value: ref<FileSystemEntry> }, callback: AsyncCallback, object_: unknown): IAsyncResult;
89
+ clone(): unknown;
90
90
  endInvoke(entry: { value: ref<FileSystemEntry> }, result: IAsyncResult): boolean;
91
91
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
92
92
  invoke(entry: { value: ref<FileSystemEntry> }): boolean;
@@ -94,17 +94,17 @@ export class FileSystemEnumerable_1_FindPredicate$instance<TResult> extends Func
94
94
 
95
95
 
96
96
  export interface __FileSystemEnumerable_1_FindPredicate$views<TResult> {
97
- readonly As_ICloneable: System_Internal.ICloneable$instance;
98
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
97
+ As_ICloneable(): System_Internal.ICloneable$instance;
98
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
99
99
  }
100
100
 
101
101
  export type FileSystemEnumerable_1_FindPredicate<TResult> = FileSystemEnumerable_1_FindPredicate$instance<TResult> & __FileSystemEnumerable_1_FindPredicate$views<TResult>;
102
102
 
103
103
 
104
104
  export class FileSystemEnumerable_1_FindTransform$instance<TResult> extends Function {
105
- constructor(object_: any, method: nint);
106
- beginInvoke(entry: { value: ref<FileSystemEntry> }, callback: AsyncCallback, object_: any): IAsyncResult;
107
- clone(): any;
105
+ constructor(object_: unknown, method: nint);
106
+ beginInvoke(entry: { value: ref<FileSystemEntry> }, callback: AsyncCallback, object_: unknown): IAsyncResult;
107
+ clone(): unknown;
108
108
  endInvoke(entry: { value: ref<FileSystemEntry> }, result: IAsyncResult): TResult;
109
109
  getObjectData(info: SerializationInfo, context: StreamingContext): void;
110
110
  invoke(entry: { value: ref<FileSystemEntry> }): TResult;
@@ -112,14 +112,14 @@ export class FileSystemEnumerable_1_FindTransform$instance<TResult> extends Func
112
112
 
113
113
 
114
114
  export interface __FileSystemEnumerable_1_FindTransform$views<TResult> {
115
- readonly As_ICloneable: System_Internal.ICloneable$instance;
116
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
115
+ As_ICloneable(): System_Internal.ICloneable$instance;
116
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
117
117
  }
118
118
 
119
119
  export type FileSystemEnumerable_1_FindTransform<TResult> = FileSystemEnumerable_1_FindTransform$instance<TResult> & __FileSystemEnumerable_1_FindTransform$views<TResult>;
120
120
 
121
121
 
122
- export abstract class FileSystemEnumerator_1$instance<TResult> extends System_Runtime_ConstrainedExecution_Internal.CriticalFinalizerObject$instance {
122
+ export abstract class FileSystemEnumerator_1$instance<TResult> extends System_Runtime_ConstrainedExecution_Internal.CriticalFinalizerObject$instance implements System_Internal.IDisposable$instance {
123
123
  constructor(directory: string, options: EnumerationOptions);
124
124
  readonly current: TResult;
125
125
  dispose(): void;
@@ -129,17 +129,17 @@ export abstract class FileSystemEnumerator_1$instance<TResult> extends System_Ru
129
129
 
130
130
 
131
131
  export interface __FileSystemEnumerator_1$views<TResult> {
132
- readonly As_IEnumerator_1: System_Collections_Generic_Internal.IEnumerator_1$instance<TResult>;
133
- readonly As_IEnumerator: System_Collections_Internal.IEnumerator$instance;
132
+ As_IEnumerator_1(): System_Collections_Generic_Internal.IEnumerator_1$instance<TResult>;
133
+ As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
134
134
  }
135
135
 
136
136
  export type FileSystemEnumerator_1<TResult> = FileSystemEnumerator_1$instance<TResult> & __FileSystemEnumerator_1$views<TResult>;
137
137
 
138
138
 
139
139
  export abstract class FileSystemName$instance {
140
- static MatchesSimpleExpression(expression: ReadOnlySpan_1<CLROf<string>>, name: ReadOnlySpan_1<CLROf<string>>, ignoreCase?: boolean): boolean;
141
- static MatchesWin32Expression(expression: ReadOnlySpan_1<CLROf<string>>, name: ReadOnlySpan_1<CLROf<string>>, ignoreCase?: boolean): boolean;
142
- static TranslateWin32Expression(expression: string): string;
140
+ static matchesSimpleExpression(expression: ReadOnlySpan_1<CLROf<char>>, name: ReadOnlySpan_1<CLROf<char>>, ignoreCase?: boolean): boolean;
141
+ static matchesWin32Expression(expression: ReadOnlySpan_1<CLROf<char>>, name: ReadOnlySpan_1<CLROf<char>>, ignoreCase?: boolean): boolean;
142
+ static translateWin32Expression(expression: string): string;
143
143
  }
144
144
 
145
145
 
@@ -55,18 +55,18 @@ export enum IsolatedStorageScope {
55
55
 
56
56
 
57
57
  export interface INormalizeForIsolatedStorage$instance {
58
- Normalize(): any;
58
+ normalize(): unknown;
59
59
  }
60
60
 
61
61
 
62
62
  export type INormalizeForIsolatedStorage = INormalizeForIsolatedStorage$instance;
63
63
 
64
64
  export abstract class IsolatedStorage$instance extends System_Internal.MarshalByRefObject$instance {
65
- readonly applicationIdentity: any;
66
- readonly assemblyIdentity: any;
65
+ readonly applicationIdentity: unknown;
66
+ readonly assemblyIdentity: unknown;
67
67
  readonly availableFreeSpace: long;
68
68
  readonly currentSize: ulong;
69
- readonly domainIdentity: any;
69
+ readonly domainIdentity: unknown;
70
70
  readonly maximumSize: ulong;
71
71
  readonly quota: long;
72
72
  readonly scope: IsolatedStorageScope;
@@ -87,7 +87,7 @@ export class IsolatedStorageException$instance extends System_Internal.Exception
87
87
 
88
88
 
89
89
  export interface __IsolatedStorageException$views {
90
- readonly As_ISerializable: System_Runtime_Serialization_Internal.ISerializable$instance;
90
+ As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
91
91
  }
92
92
 
93
93
  export type IsolatedStorageException = IsolatedStorageException$instance & __IsolatedStorageException$views;
@@ -123,27 +123,29 @@ export class IsolatedStorageFile$instance extends IsolatedStorage$instance {
123
123
  openFile(path: string, mode: FileMode, access: FileAccess): IsolatedStorageFileStream;
124
124
  openFile(path: string, mode: FileMode, access: FileAccess, share: FileShare): IsolatedStorageFileStream;
125
125
  remove(): void;
126
- static readonly IsEnabled: boolean;
127
- static GetEnumerator(scope: IsolatedStorageScope): IEnumerator;
128
- static GetMachineStoreForApplication(): IsolatedStorageFile;
129
- static GetMachineStoreForAssembly(): IsolatedStorageFile;
130
- static GetMachineStoreForDomain(): IsolatedStorageFile;
131
- static GetStore(scope: IsolatedStorageScope, domainIdentity: any, assemblyIdentity: any): IsolatedStorageFile;
132
- static GetStore(scope: IsolatedStorageScope, applicationIdentity: any): IsolatedStorageFile;
133
- static GetStore(scope: IsolatedStorageScope, domainEvidenceType: Type, assemblyEvidenceType: Type): IsolatedStorageFile;
134
- static GetStore(scope: IsolatedStorageScope, applicationEvidenceType: Type): IsolatedStorageFile;
135
- static GetUserStoreForApplication(): IsolatedStorageFile;
136
- static GetUserStoreForAssembly(): IsolatedStorageFile;
137
- static GetUserStoreForDomain(): IsolatedStorageFile;
138
- static GetUserStoreForSite(): IsolatedStorageFile;
139
- static Remove(scope: IsolatedStorageScope): void;
126
+ static readonly isEnabled: boolean;
127
+ static getEnumerator(scope: IsolatedStorageScope): IEnumerator;
128
+ static getMachineStoreForApplication(): IsolatedStorageFile;
129
+ static getMachineStoreForAssembly(): IsolatedStorageFile;
130
+ static getMachineStoreForDomain(): IsolatedStorageFile;
131
+ static getStore4(scope: IsolatedStorageScope, domainIdentity: unknown, assemblyIdentity: unknown): IsolatedStorageFile;
132
+ static getStore4(scope: IsolatedStorageScope, applicationIdentity: unknown): IsolatedStorageFile;
133
+ static getStore4(scope: IsolatedStorageScope, domainEvidenceType: Type, assemblyEvidenceType: Type): IsolatedStorageFile;
134
+ static getStore4(scope: IsolatedStorageScope, applicationEvidenceType: Type): IsolatedStorageFile;
135
+ static getUserStoreForApplication(): IsolatedStorageFile;
136
+ static getUserStoreForAssembly(): IsolatedStorageFile;
137
+ static getUserStoreForDomain(): IsolatedStorageFile;
138
+ static getUserStoreForSite(): IsolatedStorageFile;
139
+ static remove(scope: IsolatedStorageScope): void;
140
140
  }
141
141
 
142
142
 
143
143
  export interface __IsolatedStorageFile$views {
144
- readonly As_IDisposable: System_Internal.IDisposable$instance;
144
+ As_IDisposable(): System_Internal.IDisposable$instance;
145
145
  }
146
146
 
147
+ export interface IsolatedStorageFile$instance extends System_Internal.IDisposable$instance {}
148
+
147
149
  export type IsolatedStorageFile = IsolatedStorageFile$instance & __IsolatedStorageFile$views;
148
150
 
149
151
 
@@ -164,8 +166,8 @@ export class IsolatedStorageFileStream$instance extends System_IO_Internal.FileS
164
166
  readonly length: long;
165
167
  position: long;
166
168
  readonly safeFileHandle: SafeFileHandle;
167
- beginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: any): IAsyncResult;
168
- beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: any): IAsyncResult;
169
+ beginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
170
+ beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
169
171
  dispose(): void;
170
172
  disposeAsync(): ValueTask;
171
173
  endRead(asyncResult: IAsyncResult): int;
@@ -199,8 +201,8 @@ export class IsolatedStorageFileStream$instance extends System_IO_Internal.FileS
199
201
 
200
202
 
201
203
  export interface __IsolatedStorageFileStream$views {
202
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
203
- readonly As_IDisposable: System_Internal.IDisposable$instance;
204
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
205
+ As_IDisposable(): System_Internal.IDisposable$instance;
204
206
  }
205
207
 
206
208
  export type IsolatedStorageFileStream = IsolatedStorageFileStream$instance & __IsolatedStorageFileStream$views;
@@ -81,29 +81,31 @@ export class MemoryMappedFile$instance {
81
81
  createViewStream(offset: long, size: long): MemoryMappedViewStream;
82
82
  createViewStream(offset: long, size: long, access: MemoryMappedFileAccess): MemoryMappedViewStream;
83
83
  dispose(): void;
84
- static CreateFromFile(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
85
- static CreateFromFile(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
86
- static CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
87
- static CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long): MemoryMappedFile;
88
- static CreateFromFile(path: string, mode: FileMode, mapName: string): MemoryMappedFile;
89
- static CreateFromFile(path: string, mode: FileMode): MemoryMappedFile;
90
- static CreateFromFile(path: string): MemoryMappedFile;
91
- static CreateNew(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
92
- static CreateNew(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
93
- static CreateNew(mapName: string, capacity: long): MemoryMappedFile;
94
- static CreateOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
95
- static CreateOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
96
- static CreateOrOpen(mapName: string, capacity: long): MemoryMappedFile;
97
- static OpenExisting(mapName: string, desiredAccessRights: MemoryMappedFileRights, inheritability: HandleInheritability): MemoryMappedFile;
98
- static OpenExisting(mapName: string, desiredAccessRights: MemoryMappedFileRights): MemoryMappedFile;
99
- static OpenExisting(mapName: string): MemoryMappedFile;
84
+ static createFromFile6(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
85
+ static createFromFile6(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
86
+ static createFromFile6(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
87
+ static createFromFile6(path: string, mode: FileMode, mapName: string, capacity: long): MemoryMappedFile;
88
+ static createFromFile6(path: string, mode: FileMode, mapName: string): MemoryMappedFile;
89
+ static createFromFile6(path: string, mode: FileMode): MemoryMappedFile;
90
+ static createFromFile6(path: string): MemoryMappedFile;
91
+ static createNew3(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
92
+ static createNew3(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
93
+ static createNew3(mapName: string, capacity: long): MemoryMappedFile;
94
+ static createOrOpen3(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
95
+ static createOrOpen3(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
96
+ static createOrOpen3(mapName: string, capacity: long): MemoryMappedFile;
97
+ static openExisting3(mapName: string, desiredAccessRights: MemoryMappedFileRights, inheritability: HandleInheritability): MemoryMappedFile;
98
+ static openExisting3(mapName: string, desiredAccessRights: MemoryMappedFileRights): MemoryMappedFile;
99
+ static openExisting3(mapName: string): MemoryMappedFile;
100
100
  }
101
101
 
102
102
 
103
103
  export interface __MemoryMappedFile$views {
104
- readonly As_IDisposable: System_Internal.IDisposable$instance;
104
+ As_IDisposable(): System_Internal.IDisposable$instance;
105
105
  }
106
106
 
107
+ export interface MemoryMappedFile$instance extends System_Internal.IDisposable$instance {}
108
+
107
109
  export type MemoryMappedFile = MemoryMappedFile$instance & __MemoryMappedFile$views;
108
110
 
109
111
 
@@ -116,7 +118,7 @@ export class MemoryMappedViewAccessor$instance extends System_IO_Internal.Unmana
116
118
 
117
119
 
118
120
  export interface __MemoryMappedViewAccessor$views {
119
- readonly As_IDisposable: System_Internal.IDisposable$instance;
121
+ As_IDisposable(): System_Internal.IDisposable$instance;
120
122
  }
121
123
 
122
124
  export type MemoryMappedViewAccessor = MemoryMappedViewAccessor$instance & __MemoryMappedViewAccessor$views;
@@ -133,8 +135,8 @@ export class MemoryMappedViewStream$instance extends System_IO_Internal.Unmanage
133
135
 
134
136
 
135
137
  export interface __MemoryMappedViewStream$views {
136
- readonly As_IAsyncDisposable: System_Internal.IAsyncDisposable$instance;
137
- readonly As_IDisposable: System_Internal.IDisposable$instance;
138
+ As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
139
+ As_IDisposable(): System_Internal.IDisposable$instance;
138
140
  }
139
141
 
140
142
  export type MemoryMappedViewStream = MemoryMappedViewStream$instance & __MemoryMappedViewStream$views;
@@ -43,8 +43,8 @@ export type CLROf<T> =
43
43
  T; // Identity fallback for non-primitive types
44
44
 
45
45
  export interface IDuplexPipe$instance {
46
- readonly Input: PipeReader;
47
- readonly Output: PipeWriter;
46
+ readonly input: PipeReader;
47
+ readonly output: PipeWriter;
48
48
  }
49
49
 
50
50
 
@@ -89,7 +89,7 @@ export class PipeOptions$instance {
89
89
  readonly resumeWriterThreshold: long;
90
90
  readonly useSynchronizationContext: boolean;
91
91
  readonly writerScheduler: PipeScheduler;
92
- static readonly Default: PipeOptions;
92
+ static readonly default_: PipeOptions;
93
93
  }
94
94
 
95
95
 
@@ -104,21 +104,21 @@ export abstract class PipeReader$instance {
104
104
  completeAsync(exception?: Exception): ValueTask;
105
105
  copyToAsync(destination: PipeWriter, cancellationToken?: CancellationToken): Task;
106
106
  copyToAsync(destination: Stream, cancellationToken?: CancellationToken): Task;
107
- onWriterCompleted(callback: Action_2<Exception, any>, state: any): void;
107
+ onWriterCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
108
108
  abstract readAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
109
109
  readAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
110
110
  abstract tryRead(result: { value: ref<ReadResult> }): boolean;
111
- static Create(sequence: ReadOnlySequence_1<CLROf<byte>>): PipeReader;
112
- static Create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
111
+ static create2(sequence: ReadOnlySequence_1<CLROf<byte>>): PipeReader;
112
+ static create2(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
113
113
  }
114
114
 
115
115
 
116
116
  export type PipeReader = PipeReader$instance;
117
117
 
118
118
  export abstract class PipeScheduler$instance {
119
- abstract schedule(action: Action_1<any>, state: any): void;
120
- static readonly ThreadPool: PipeScheduler;
121
- static readonly Inline: PipeScheduler;
119
+ abstract schedule(action: Action_1<unknown>, state: unknown): void;
120
+ static readonly threadPool: PipeScheduler;
121
+ static readonly inline: PipeScheduler;
122
122
  }
123
123
 
124
124
 
@@ -135,16 +135,18 @@ export abstract class PipeWriter$instance {
135
135
  abstract flushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
136
136
  abstract getMemory(sizeHint?: int): Memory_1<CLROf<byte>>;
137
137
  abstract getSpan(sizeHint?: int): Span_1<CLROf<byte>>;
138
- onReaderCompleted(callback: Action_2<Exception, any>, state: any): void;
138
+ onReaderCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
139
139
  writeAsync(source: ReadOnlyMemory_1<CLROf<byte>>, cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
140
- static Create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
140
+ static create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
141
141
  }
142
142
 
143
143
 
144
144
  export interface __PipeWriter$views {
145
- readonly As_IBufferWriter_1: System_Buffers_Internal.IBufferWriter_1$instance<CLROf<byte>>;
145
+ As_IBufferWriter_1(): System_Buffers_Internal.IBufferWriter_1$instance<CLROf<byte>>;
146
146
  }
147
147
 
148
+ export interface PipeWriter$instance extends System_Buffers_Internal.IBufferWriter_1$instance<CLROf<byte>> {}
149
+
148
150
  export type PipeWriter = PipeWriter$instance & __PipeWriter$views;
149
151
 
150
152
 
@@ -172,7 +174,7 @@ export class StreamPipeWriterOptions$instance {
172
174
  export type StreamPipeWriterOptions = StreamPipeWriterOptions$instance;
173
175
 
174
176
  export abstract class StreamPipeExtensions$instance {
175
- static CopyToAsync(source: Stream, destination: PipeWriter, cancellationToken?: CancellationToken): Task;
177
+ static copyToAsync(source: Stream, destination: PipeWriter, cancellationToken?: CancellationToken): Task;
176
178
  }
177
179
 
178
180