@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.
- package/Internal/internal/index.d.ts +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- 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
|
|
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
|
-
|
|
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
|
|
101
|
-
static
|
|
102
|
-
static
|
|
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
|
-
|
|
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:
|
|
134
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState:
|
|
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
|
-
|
|
166
|
-
|
|
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:
|
|
185
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState:
|
|
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
|
-
|
|
223
|
-
|
|
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:
|
|
242
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState:
|
|
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
|
-
|
|
280
|
-
|
|
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
|
|
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
|
-
|
|
305
|
-
|
|
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
|
-
|
|
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:
|
|
368
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState:
|
|
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
|
-
|
|
406
|
-
|
|
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
|
|
414
|
-
static
|
|
415
|
-
static
|
|
416
|
-
static
|
|
417
|
-
static
|
|
418
|
-
static
|
|
419
|
-
static
|
|
420
|
-
static
|
|
421
|
-
static
|
|
422
|
-
static
|
|
423
|
-
static
|
|
424
|
-
static
|
|
425
|
-
static
|
|
426
|
-
static
|
|
427
|
-
static
|
|
428
|
-
static
|
|
429
|
-
static
|
|
430
|
-
static
|
|
431
|
-
static
|
|
432
|
-
static
|
|
433
|
-
static
|
|
434
|
-
static
|
|
435
|
-
static
|
|
436
|
-
static
|
|
437
|
-
static
|
|
438
|
-
static
|
|
439
|
-
static
|
|
440
|
-
static
|
|
441
|
-
static
|
|
442
|
-
static
|
|
443
|
-
static
|
|
444
|
-
static
|
|
445
|
-
static
|
|
446
|
-
static
|
|
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
|
|
454
|
-
static
|
|
455
|
-
static
|
|
456
|
-
static
|
|
457
|
-
static
|
|
458
|
-
static
|
|
459
|
-
static
|
|
460
|
-
static
|
|
461
|
-
static
|
|
462
|
-
static
|
|
463
|
-
static
|
|
464
|
-
static
|
|
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<
|
|
54
|
-
readonly fileName: ReadOnlySpan_1<CLROf<
|
|
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<
|
|
61
|
-
readonly rootDirectory: ReadOnlySpan_1<CLROf<
|
|
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
|
-
|
|
80
|
-
|
|
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_:
|
|
88
|
-
beginInvoke(entry: { value: ref<FileSystemEntry> }, callback: AsyncCallback, object_:
|
|
89
|
-
clone():
|
|
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
|
-
|
|
98
|
-
|
|
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_:
|
|
106
|
-
beginInvoke(entry: { value: ref<FileSystemEntry> }, callback: AsyncCallback, object_:
|
|
107
|
-
clone():
|
|
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
|
-
|
|
116
|
-
|
|
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
|
-
|
|
133
|
-
|
|
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
|
|
141
|
-
static
|
|
142
|
-
static
|
|
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
|
-
|
|
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:
|
|
66
|
-
readonly assemblyIdentity:
|
|
65
|
+
readonly applicationIdentity: unknown;
|
|
66
|
+
readonly assemblyIdentity: unknown;
|
|
67
67
|
readonly availableFreeSpace: long;
|
|
68
68
|
readonly currentSize: ulong;
|
|
69
|
-
readonly domainIdentity:
|
|
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
|
-
|
|
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
|
|
127
|
-
static
|
|
128
|
-
static
|
|
129
|
-
static
|
|
130
|
-
static
|
|
131
|
-
static
|
|
132
|
-
static
|
|
133
|
-
static
|
|
134
|
-
static
|
|
135
|
-
static
|
|
136
|
-
static
|
|
137
|
-
static
|
|
138
|
-
static
|
|
139
|
-
static
|
|
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
|
-
|
|
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:
|
|
168
|
-
beginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject:
|
|
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
|
-
|
|
203
|
-
|
|
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
|
|
85
|
-
static
|
|
86
|
-
static
|
|
87
|
-
static
|
|
88
|
-
static
|
|
89
|
-
static
|
|
90
|
-
static
|
|
91
|
-
static
|
|
92
|
-
static
|
|
93
|
-
static
|
|
94
|
-
static
|
|
95
|
-
static
|
|
96
|
-
static
|
|
97
|
-
static
|
|
98
|
-
static
|
|
99
|
-
static
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
137
|
-
|
|
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
|
|
47
|
-
readonly
|
|
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
|
|
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,
|
|
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
|
|
112
|
-
static
|
|
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<
|
|
120
|
-
static readonly
|
|
121
|
-
static readonly
|
|
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,
|
|
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
|
|
140
|
+
static create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
|
|
144
144
|
export interface __PipeWriter$views {
|
|
145
|
-
|
|
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
|
|
177
|
+
static copyToAsync(source: Stream, destination: PipeWriter, cancellationToken?: CancellationToken): Task;
|
|
176
178
|
}
|
|
177
179
|
|
|
178
180
|
|