@tsonic/dotnet 10.0.2 → 10.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
- package/Microsoft.Win32/internal/index.d.ts +0 -1
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
- package/System/internal/index.d.ts +87 -200
- package/System.Buffers/internal/index.d.ts +10 -23
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
- package/System.Collections/internal/index.d.ts +41 -57
- package/System.Collections.Concurrent/internal/index.d.ts +4 -10
- package/System.Collections.Generic/internal/index.d.ts +15 -37
- package/System.Collections.Immutable/internal/index.d.ts +7 -20
- package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
- package/System.Collections.Specialized/internal/index.d.ts +15 -30
- package/System.ComponentModel/internal/index.d.ts +126 -216
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
- package/System.ComponentModel.Design/internal/index.d.ts +26 -53
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
- package/System.Data/internal/index.d.ts +110 -188
- package/System.Data.Common/internal/index.d.ts +155 -238
- package/System.Data.SqlTypes/internal/index.d.ts +6 -7
- package/System.Diagnostics/internal/index.d.ts +105 -169
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
- package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
- package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
- package/System.Dynamic/internal/index.d.ts +15 -29
- package/System.Formats.Asn1/internal/index.d.ts +0 -1
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Globalization/internal/index.d.ts +17 -51
- package/System.IO/internal/index.d.ts +47 -123
- package/System.IO.Compression/internal/index.d.ts +11 -33
- package/System.IO.Enumeration/internal/index.d.ts +11 -16
- package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
- package/System.IO.Pipelines/internal/index.d.ts +7 -18
- package/System.IO.Pipes/internal/index.d.ts +24 -50
- package/System.Linq/internal/index.d.ts +0 -4
- package/System.Linq.Expressions/internal/index.d.ts +108 -257
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
- package/System.Net/internal/index.d.ts +133 -184
- package/System.Net.Http/internal/index.d.ts +128 -201
- package/System.Net.Http.Headers/internal/index.d.ts +37 -40
- package/System.Net.Http.Json/internal/index.d.ts +8 -13
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
- package/System.Net.Mail/internal/index.d.ts +49 -105
- package/System.Net.Mime/internal/index.d.ts +4 -3
- package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
- package/System.Net.Quic/internal/index.d.ts +5 -11
- package/System.Net.Security/internal/index.d.ts +30 -42
- package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
- package/System.Net.Sockets/internal/index.d.ts +33 -56
- package/System.Net.WebSockets/internal/index.d.ts +16 -23
- package/System.Numerics/internal/index.d.ts +5 -5
- package/System.Reflection/internal/index.d.ts +66 -102
- package/System.Reflection.Emit/internal/index.d.ts +104 -177
- package/System.Reflection.Metadata/internal/index.d.ts +11 -21
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
- package/System.Resources/internal/index.d.ts +8 -20
- package/System.Runtime/internal/index.d.ts +5 -8
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
- package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
- package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
- package/System.Runtime.Loader/internal/index.d.ts +5 -11
- package/System.Runtime.Serialization/internal/index.d.ts +62 -65
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
- package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
- package/System.Runtime.Versioning/internal/index.d.ts +6 -6
- package/System.Security/internal/index.d.ts +22 -25
- package/System.Security.AccessControl/internal/index.d.ts +51 -89
- package/System.Security.Authentication/internal/index.d.ts +0 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
- package/System.Security.Claims/internal/index.d.ts +19 -38
- package/System.Security.Cryptography/internal/index.d.ts +492 -903
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
- package/System.Security.Permissions/internal/index.d.ts +2 -4
- package/System.Security.Policy/internal/index.d.ts +3 -4
- package/System.Security.Principal/internal/index.d.ts +11 -17
- package/System.Text/internal/index.d.ts +11 -23
- package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
- package/System.Text.Json/internal/index.d.ts +10 -12
- package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
- package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
- package/System.Threading/internal/index.d.ts +36 -106
- package/System.Threading.Channels/internal/index.d.ts +7 -12
- package/System.Threading.Tasks/internal/index.d.ts +18 -29
- package/System.Timers/internal/index.d.ts +4 -8
- package/System.Transactions/internal/index.d.ts +3 -14
- package/System.Xml/internal/index.d.ts +104 -167
- package/System.Xml.Linq/internal/index.d.ts +17 -13
- package/System.Xml.Schema/internal/index.d.ts +117 -112
- package/System.Xml.Serialization/internal/index.d.ts +92 -100
- package/System.Xml.XPath/internal/index.d.ts +5 -9
- package/System.Xml.Xsl/internal/index.d.ts +4 -9
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
- package/package.json +1 -1
|
@@ -110,12 +110,7 @@ export const BrotliCompressionOptions: {
|
|
|
110
110
|
|
|
111
111
|
export type BrotliCompressionOptions = BrotliCompressionOptions$instance;
|
|
112
112
|
|
|
113
|
-
export
|
|
114
|
-
protected Dispose2(disposing: boolean): void;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
export interface BrotliStream$instance extends BrotliStream$protected, Stream {
|
|
113
|
+
export interface BrotliStream$instance extends Stream {
|
|
119
114
|
readonly BaseStream: Stream;
|
|
120
115
|
readonly CanRead: boolean;
|
|
121
116
|
readonly CanSeek: boolean;
|
|
@@ -124,6 +119,7 @@ export interface BrotliStream$instance extends BrotliStream$protected, Stream {
|
|
|
124
119
|
Position: long;
|
|
125
120
|
BeginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
126
121
|
BeginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
122
|
+
Dispose(disposing: boolean): void;
|
|
127
123
|
Dispose(): void;
|
|
128
124
|
DisposeAsync(): ValueTask;
|
|
129
125
|
EndRead(asyncResult: IAsyncResult): int;
|
|
@@ -170,12 +166,7 @@ export interface __BrotliStream$views {
|
|
|
170
166
|
export type BrotliStream = BrotliStream$instance & __BrotliStream$views;
|
|
171
167
|
|
|
172
168
|
|
|
173
|
-
export
|
|
174
|
-
protected Dispose2(disposing: boolean): void;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
export interface DeflateStream$instance extends DeflateStream$protected, Stream {
|
|
169
|
+
export interface DeflateStream$instance extends Stream {
|
|
179
170
|
readonly BaseStream: Stream;
|
|
180
171
|
readonly CanRead: boolean;
|
|
181
172
|
readonly CanSeek: boolean;
|
|
@@ -190,6 +181,7 @@ export interface DeflateStream$instance extends DeflateStream$protected, Stream
|
|
|
190
181
|
CopyToAsync(destination: Stream): Task;
|
|
191
182
|
CopyToAsync(destination: Stream, bufferSize: int): Task;
|
|
192
183
|
CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
|
|
184
|
+
Dispose(disposing: boolean): void;
|
|
193
185
|
Dispose(): void;
|
|
194
186
|
DisposeAsync(): ValueTask;
|
|
195
187
|
EndRead(asyncResult: IAsyncResult): int;
|
|
@@ -236,12 +228,7 @@ export interface __DeflateStream$views {
|
|
|
236
228
|
export type DeflateStream = DeflateStream$instance & __DeflateStream$views;
|
|
237
229
|
|
|
238
230
|
|
|
239
|
-
export
|
|
240
|
-
protected Dispose2(disposing: boolean): void;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
export interface GZipStream$instance extends GZipStream$protected, Stream {
|
|
231
|
+
export interface GZipStream$instance extends Stream {
|
|
245
232
|
readonly BaseStream: Stream;
|
|
246
233
|
readonly CanRead: boolean;
|
|
247
234
|
readonly CanSeek: boolean;
|
|
@@ -256,6 +243,7 @@ export interface GZipStream$instance extends GZipStream$protected, Stream {
|
|
|
256
243
|
CopyToAsync(destination: Stream): Task;
|
|
257
244
|
CopyToAsync(destination: Stream, bufferSize: int): Task;
|
|
258
245
|
CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
|
|
246
|
+
Dispose(disposing: boolean): void;
|
|
259
247
|
Dispose(): void;
|
|
260
248
|
DisposeAsync(): ValueTask;
|
|
261
249
|
EndRead(asyncResult: IAsyncResult): int;
|
|
@@ -302,20 +290,16 @@ export interface __GZipStream$views {
|
|
|
302
290
|
export type GZipStream = GZipStream$instance & __GZipStream$views;
|
|
303
291
|
|
|
304
292
|
|
|
305
|
-
export
|
|
306
|
-
protected Dispose(disposing: boolean): void;
|
|
307
|
-
protected DisposeAsyncCore(): ValueTask;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
export interface ZipArchive$instance extends ZipArchive$protected {
|
|
293
|
+
export interface ZipArchive$instance {
|
|
312
294
|
Comment: string;
|
|
313
295
|
readonly Entries: ReadOnlyCollection_1<ZipArchiveEntry>;
|
|
314
296
|
readonly Mode: ZipArchiveMode;
|
|
315
297
|
CreateEntry(entryName: string): ZipArchiveEntry;
|
|
316
298
|
CreateEntry(entryName: string, compressionLevel: CompressionLevel): ZipArchiveEntry;
|
|
299
|
+
Dispose(disposing: boolean): void;
|
|
317
300
|
Dispose(): void;
|
|
318
301
|
DisposeAsync(): ValueTask;
|
|
302
|
+
DisposeAsyncCore(): ValueTask;
|
|
319
303
|
GetEntry(entryName: string): ZipArchiveEntry | undefined;
|
|
320
304
|
}
|
|
321
305
|
|
|
@@ -358,7 +342,6 @@ export interface ZipArchiveEntry$instance {
|
|
|
358
342
|
|
|
359
343
|
|
|
360
344
|
export const ZipArchiveEntry: {
|
|
361
|
-
new(): ZipArchiveEntry;
|
|
362
345
|
};
|
|
363
346
|
|
|
364
347
|
|
|
@@ -386,7 +369,6 @@ export const ZLibException: {
|
|
|
386
369
|
new(message: string, zlibErrorContext: string, zlibErrorCode: int, zlibErrorMessage: string): ZLibException;
|
|
387
370
|
new(): ZLibException;
|
|
388
371
|
new(message: string, innerException: Exception): ZLibException;
|
|
389
|
-
new(info: SerializationInfo, context: StreamingContext): ZLibException;
|
|
390
372
|
};
|
|
391
373
|
|
|
392
374
|
|
|
@@ -397,12 +379,7 @@ export interface __ZLibException$views {
|
|
|
397
379
|
export type ZLibException = ZLibException$instance & __ZLibException$views;
|
|
398
380
|
|
|
399
381
|
|
|
400
|
-
export
|
|
401
|
-
protected Dispose2(disposing: boolean): void;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
export interface ZLibStream$instance extends ZLibStream$protected, Stream {
|
|
382
|
+
export interface ZLibStream$instance extends Stream {
|
|
406
383
|
readonly BaseStream: Stream;
|
|
407
384
|
readonly CanRead: boolean;
|
|
408
385
|
readonly CanSeek: boolean;
|
|
@@ -417,6 +394,7 @@ export interface ZLibStream$instance extends ZLibStream$protected, Stream {
|
|
|
417
394
|
CopyToAsync(destination: Stream): Task;
|
|
418
395
|
CopyToAsync(destination: Stream, bufferSize: int): Task;
|
|
419
396
|
CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
|
|
397
|
+
Dispose(disposing: boolean): void;
|
|
420
398
|
Dispose(): void;
|
|
421
399
|
DisposeAsync(): ValueTask;
|
|
422
400
|
EndRead(asyncResult: IAsyncResult): int;
|
|
@@ -55,9 +55,9 @@ export type FileSystemEntry = FileSystemEntry$instance;
|
|
|
55
55
|
|
|
56
56
|
export interface FileSystemEnumerable_1$instance<TResult> {
|
|
57
57
|
get ShouldIncludePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
|
|
58
|
-
set ShouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult>);
|
|
58
|
+
set ShouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | undefined);
|
|
59
59
|
get ShouldRecursePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
|
|
60
|
-
set ShouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult>);
|
|
60
|
+
set ShouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | undefined);
|
|
61
61
|
GetEnumerator(): IEnumerator_1<TResult>;
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -75,27 +75,22 @@ export interface __FileSystemEnumerable_1$views<TResult> {
|
|
|
75
75
|
export type FileSystemEnumerable_1<TResult> = FileSystemEnumerable_1$instance<TResult> & __FileSystemEnumerable_1$views<TResult>;
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
export
|
|
79
|
-
protected ContinueOnError(error: int): boolean;
|
|
80
|
-
protected Dispose(disposing: boolean): void;
|
|
81
|
-
protected Finalize(): void;
|
|
82
|
-
protected OnDirectoryFinished(directory: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
83
|
-
protected ShouldIncludeEntry(entry: FileSystemEntry): boolean;
|
|
84
|
-
protected ShouldRecurseIntoEntry(entry: FileSystemEntry): boolean;
|
|
85
|
-
protected abstract TransformEntry(entry: FileSystemEntry): TResult;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
export interface FileSystemEnumerator_1$instance<TResult> extends FileSystemEnumerator_1$protected<TResult>, CriticalFinalizerObject, IDisposable {
|
|
78
|
+
export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinalizerObject, IDisposable {
|
|
90
79
|
readonly Current: TResult;
|
|
80
|
+
ContinueOnError(error: int): boolean;
|
|
91
81
|
Dispose(): void;
|
|
82
|
+
Dispose(disposing: boolean): void;
|
|
83
|
+
Finalize(): void;
|
|
92
84
|
MoveNext(): boolean;
|
|
85
|
+
OnDirectoryFinished(directory: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
93
86
|
Reset(): void;
|
|
87
|
+
ShouldIncludeEntry(entry: FileSystemEntry): boolean;
|
|
88
|
+
ShouldRecurseIntoEntry(entry: FileSystemEntry): boolean;
|
|
89
|
+
TransformEntry(entry: FileSystemEntry): TResult;
|
|
94
90
|
}
|
|
95
91
|
|
|
96
92
|
|
|
97
|
-
export const FileSystemEnumerator_1: {
|
|
98
|
-
new<TResult>(directory: string, options: EnumerationOptions): FileSystemEnumerator_1<TResult>;
|
|
93
|
+
export const FileSystemEnumerator_1: (abstract new<TResult>(directory: string, options: EnumerationOptions) => FileSystemEnumerator_1<TResult>) & {
|
|
99
94
|
};
|
|
100
95
|
|
|
101
96
|
|
|
@@ -36,13 +36,7 @@ export interface INormalizeForIsolatedStorage$instance {
|
|
|
36
36
|
|
|
37
37
|
export type INormalizeForIsolatedStorage = INormalizeForIsolatedStorage$instance;
|
|
38
38
|
|
|
39
|
-
export
|
|
40
|
-
protected readonly SeparatorExternal: char;
|
|
41
|
-
protected readonly SeparatorInternal: char;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
export interface IsolatedStorage$instance extends IsolatedStorage$protected, MarshalByRefObject {
|
|
39
|
+
export interface IsolatedStorage$instance extends MarshalByRefObject {
|
|
46
40
|
readonly ApplicationIdentity: unknown;
|
|
47
41
|
readonly AssemblyIdentity: unknown;
|
|
48
42
|
readonly AvailableFreeSpace: long;
|
|
@@ -51,14 +45,15 @@ export interface IsolatedStorage$instance extends IsolatedStorage$protected, Mar
|
|
|
51
45
|
readonly MaximumSize: ulong;
|
|
52
46
|
readonly Quota: long;
|
|
53
47
|
Scope: IsolatedStorageScope;
|
|
48
|
+
readonly SeparatorExternal: char;
|
|
49
|
+
readonly SeparatorInternal: char;
|
|
54
50
|
readonly UsedSize: long;
|
|
55
51
|
IncreaseQuotaTo(newQuotaSize: long): boolean;
|
|
56
52
|
Remove(): void;
|
|
57
53
|
}
|
|
58
54
|
|
|
59
55
|
|
|
60
|
-
export const IsolatedStorage: {
|
|
61
|
-
new(): IsolatedStorage;
|
|
56
|
+
export const IsolatedStorage: (abstract new() => IsolatedStorage) & {
|
|
62
57
|
};
|
|
63
58
|
|
|
64
59
|
|
|
@@ -73,7 +68,6 @@ export const IsolatedStorageException: {
|
|
|
73
68
|
new(): IsolatedStorageException;
|
|
74
69
|
new(message: string): IsolatedStorageException;
|
|
75
70
|
new(message: string, inner: Exception): IsolatedStorageException;
|
|
76
|
-
new(info: SerializationInfo, context: StreamingContext): IsolatedStorageException;
|
|
77
71
|
};
|
|
78
72
|
|
|
79
73
|
|
|
@@ -118,7 +112,6 @@ export interface IsolatedStorageFile$instance extends IsolatedStorage {
|
|
|
118
112
|
|
|
119
113
|
|
|
120
114
|
export const IsolatedStorageFile: {
|
|
121
|
-
new(): IsolatedStorageFile;
|
|
122
115
|
readonly IsEnabled: boolean;
|
|
123
116
|
GetEnumerator(scope: IsolatedStorageScope): IEnumerator;
|
|
124
117
|
GetMachineStoreForApplication(): IsolatedStorageFile;
|
|
@@ -145,12 +138,7 @@ export interface IsolatedStorageFile$instance extends System_Internal.IDisposabl
|
|
|
145
138
|
export type IsolatedStorageFile = IsolatedStorageFile$instance & __IsolatedStorageFile$views;
|
|
146
139
|
|
|
147
140
|
|
|
148
|
-
export
|
|
149
|
-
protected Dispose2(disposing: boolean): void;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
export interface IsolatedStorageFileStream$instance extends IsolatedStorageFileStream$protected, FileStream {
|
|
141
|
+
export interface IsolatedStorageFileStream$instance extends FileStream {
|
|
154
142
|
readonly CanRead: boolean;
|
|
155
143
|
readonly CanSeek: boolean;
|
|
156
144
|
readonly CanWrite: boolean;
|
|
@@ -161,6 +149,7 @@ export interface IsolatedStorageFileStream$instance extends IsolatedStorageFileS
|
|
|
161
149
|
readonly SafeFileHandle: SafeFileHandle;
|
|
162
150
|
BeginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
163
151
|
BeginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject: unknown): IAsyncResult;
|
|
152
|
+
Dispose(disposing: boolean): void;
|
|
164
153
|
Dispose(): void;
|
|
165
154
|
DisposeAsync(): ValueTask;
|
|
166
155
|
EndRead(asyncResult: IAsyncResult): int;
|
|
@@ -48,12 +48,7 @@ export enum MemoryMappedFileRights {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
export
|
|
52
|
-
protected Dispose(disposing: boolean): void;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export interface MemoryMappedFile$instance extends MemoryMappedFile$protected {
|
|
51
|
+
export interface MemoryMappedFile$instance {
|
|
57
52
|
readonly SafeMemoryMappedFileHandle: SafeMemoryMappedFileHandle;
|
|
58
53
|
CreateViewAccessor(): MemoryMappedViewAccessor;
|
|
59
54
|
CreateViewAccessor(offset: long, size: long): MemoryMappedViewAccessor;
|
|
@@ -62,11 +57,11 @@ export interface MemoryMappedFile$instance extends MemoryMappedFile$protected {
|
|
|
62
57
|
CreateViewStream(offset: long, size: long): MemoryMappedViewStream;
|
|
63
58
|
CreateViewStream(offset: long, size: long, access: MemoryMappedFileAccess): MemoryMappedViewStream;
|
|
64
59
|
Dispose(): void;
|
|
60
|
+
Dispose(disposing: boolean): void;
|
|
65
61
|
}
|
|
66
62
|
|
|
67
63
|
|
|
68
64
|
export const MemoryMappedFile: {
|
|
69
|
-
new(): MemoryMappedFile;
|
|
70
65
|
CreateFromFile(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
71
66
|
CreateFromFile(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
72
67
|
CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
@@ -93,21 +88,16 @@ export interface __MemoryMappedFile$views {
|
|
|
93
88
|
export type MemoryMappedFile = MemoryMappedFile$instance & __MemoryMappedFile$views;
|
|
94
89
|
|
|
95
90
|
|
|
96
|
-
export
|
|
97
|
-
protected Dispose2(disposing: boolean): void;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
export interface MemoryMappedViewAccessor$instance extends MemoryMappedViewAccessor$protected, UnmanagedMemoryAccessor {
|
|
91
|
+
export interface MemoryMappedViewAccessor$instance extends UnmanagedMemoryAccessor {
|
|
102
92
|
readonly PointerOffset: long;
|
|
103
93
|
readonly SafeMemoryMappedViewHandle: SafeMemoryMappedViewHandle;
|
|
94
|
+
Dispose(disposing: boolean): void;
|
|
104
95
|
Dispose(): void;
|
|
105
96
|
Flush(): void;
|
|
106
97
|
}
|
|
107
98
|
|
|
108
99
|
|
|
109
100
|
export const MemoryMappedViewAccessor: {
|
|
110
|
-
new(): MemoryMappedViewAccessor;
|
|
111
101
|
};
|
|
112
102
|
|
|
113
103
|
|
|
@@ -118,14 +108,10 @@ export interface __MemoryMappedViewAccessor$views {
|
|
|
118
108
|
export type MemoryMappedViewAccessor = MemoryMappedViewAccessor$instance & __MemoryMappedViewAccessor$views;
|
|
119
109
|
|
|
120
110
|
|
|
121
|
-
export
|
|
122
|
-
protected Dispose2(disposing: boolean): void;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
export interface MemoryMappedViewStream$instance extends MemoryMappedViewStream$protected, UnmanagedMemoryStream {
|
|
111
|
+
export interface MemoryMappedViewStream$instance extends UnmanagedMemoryStream {
|
|
127
112
|
readonly PointerOffset: long;
|
|
128
113
|
readonly SafeMemoryMappedViewHandle: SafeMemoryMappedViewHandle;
|
|
114
|
+
Dispose(disposing: boolean): void;
|
|
129
115
|
Dispose(): void;
|
|
130
116
|
DisposeAsync(): ValueTask;
|
|
131
117
|
Flush(): void;
|
|
@@ -134,7 +120,6 @@ export interface MemoryMappedViewStream$instance extends MemoryMappedViewStream$
|
|
|
134
120
|
|
|
135
121
|
|
|
136
122
|
export const MemoryMappedViewStream: {
|
|
137
|
-
new(): MemoryMappedViewStream;
|
|
138
123
|
};
|
|
139
124
|
|
|
140
125
|
|
|
@@ -86,12 +86,7 @@ export const PipeOptions: {
|
|
|
86
86
|
|
|
87
87
|
export type PipeOptions = PipeOptions$instance;
|
|
88
88
|
|
|
89
|
-
export
|
|
90
|
-
protected ReadAtLeastAsyncCore(minimumSize: int, cancellationToken: CancellationToken): ValueTask_1<ReadResult>;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
export interface PipeReader$instance extends PipeReader$protected {
|
|
89
|
+
export interface PipeReader$instance {
|
|
95
90
|
AdvanceTo(consumed: SequencePosition): void;
|
|
96
91
|
AdvanceTo(consumed: SequencePosition, examined: SequencePosition): void;
|
|
97
92
|
AsStream(leaveOpen?: boolean): Stream;
|
|
@@ -103,12 +98,12 @@ export interface PipeReader$instance extends PipeReader$protected {
|
|
|
103
98
|
OnWriterCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
|
|
104
99
|
ReadAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
105
100
|
ReadAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
101
|
+
ReadAtLeastAsyncCore(minimumSize: int, cancellationToken: CancellationToken): ValueTask_1<ReadResult>;
|
|
106
102
|
TryRead(result: ReadResult): boolean;
|
|
107
103
|
}
|
|
108
104
|
|
|
109
105
|
|
|
110
|
-
export const PipeReader: {
|
|
111
|
-
new(): PipeReader;
|
|
106
|
+
export const PipeReader: (abstract new() => PipeReader) & {
|
|
112
107
|
Create(sequence: ReadOnlySequence_1<System_Internal.Byte>): PipeReader;
|
|
113
108
|
Create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
|
|
114
109
|
};
|
|
@@ -121,8 +116,7 @@ export interface PipeScheduler$instance {
|
|
|
121
116
|
}
|
|
122
117
|
|
|
123
118
|
|
|
124
|
-
export const PipeScheduler: {
|
|
125
|
-
new(): PipeScheduler;
|
|
119
|
+
export const PipeScheduler: (abstract new() => PipeScheduler) & {
|
|
126
120
|
readonly ThreadPool: PipeScheduler;
|
|
127
121
|
readonly Inline: PipeScheduler;
|
|
128
122
|
};
|
|
@@ -130,12 +124,7 @@ export const PipeScheduler: {
|
|
|
130
124
|
|
|
131
125
|
export type PipeScheduler = PipeScheduler$instance;
|
|
132
126
|
|
|
133
|
-
export
|
|
134
|
-
protected CopyFromAsync(source: Stream, cancellationToken?: CancellationToken): Task;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
export interface PipeWriter$instance extends PipeWriter$protected {
|
|
127
|
+
export interface PipeWriter$instance {
|
|
139
128
|
readonly CanGetUnflushedBytes: boolean;
|
|
140
129
|
readonly UnflushedBytes: long;
|
|
141
130
|
Advance(bytes: int): void;
|
|
@@ -143,6 +132,7 @@ export interface PipeWriter$instance extends PipeWriter$protected {
|
|
|
143
132
|
CancelPendingFlush(): void;
|
|
144
133
|
Complete(exception?: Exception): void;
|
|
145
134
|
CompleteAsync(exception?: Exception): ValueTask;
|
|
135
|
+
CopyFromAsync(source: Stream, cancellationToken?: CancellationToken): Task;
|
|
146
136
|
FlushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
147
137
|
GetMemory(sizeHint?: int): Memory_1<System_Internal.Byte>;
|
|
148
138
|
GetSpan(sizeHint?: int): Span_1<System_Internal.Byte>;
|
|
@@ -151,8 +141,7 @@ export interface PipeWriter$instance extends PipeWriter$protected {
|
|
|
151
141
|
}
|
|
152
142
|
|
|
153
143
|
|
|
154
|
-
export const PipeWriter: {
|
|
155
|
-
new(): PipeWriter;
|
|
144
|
+
export const PipeWriter: (abstract new() => PipeWriter) & {
|
|
156
145
|
Create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
|
|
157
146
|
};
|
|
158
147
|
|
|
@@ -67,17 +67,13 @@ export enum PipeTransmissionMode {
|
|
|
67
67
|
export type PipeStreamImpersonationWorker = () => void;
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
export
|
|
71
|
-
protected Dispose(disposing: boolean): void;
|
|
72
|
-
protected Finalize(): void;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export interface AnonymousPipeClientStream$instance extends AnonymousPipeClientStream$protected, PipeStream$instance {
|
|
70
|
+
export interface AnonymousPipeClientStream$instance extends PipeStream$instance {
|
|
77
71
|
ReadMode: PipeTransmissionMode;
|
|
78
72
|
readonly TransmissionMode: PipeTransmissionMode;
|
|
79
|
-
|
|
73
|
+
Dispose(disposing: boolean): void;
|
|
74
|
+
Dispose(): void;
|
|
80
75
|
DisposeAsync(): ValueTask;
|
|
76
|
+
Finalize(): void;
|
|
81
77
|
}
|
|
82
78
|
|
|
83
79
|
|
|
@@ -96,19 +92,15 @@ export interface __AnonymousPipeClientStream$views {
|
|
|
96
92
|
export type AnonymousPipeClientStream = AnonymousPipeClientStream$instance & __AnonymousPipeClientStream$views;
|
|
97
93
|
|
|
98
94
|
|
|
99
|
-
export
|
|
100
|
-
protected Dispose2(disposing: boolean): void;
|
|
101
|
-
protected Finalize(): void;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
export interface AnonymousPipeServerStream$instance extends AnonymousPipeServerStream$protected, PipeStream$instance {
|
|
95
|
+
export interface AnonymousPipeServerStream$instance extends PipeStream$instance {
|
|
106
96
|
readonly ClientSafePipeHandle: SafePipeHandle;
|
|
107
97
|
ReadMode: PipeTransmissionMode;
|
|
108
98
|
readonly TransmissionMode: PipeTransmissionMode;
|
|
99
|
+
Dispose(disposing: boolean): void;
|
|
109
100
|
Dispose(): void;
|
|
110
101
|
DisposeAsync(): ValueTask;
|
|
111
102
|
DisposeLocalCopyOfClientHandle(): void;
|
|
103
|
+
Finalize(): void;
|
|
112
104
|
GetClientHandleAsString(): string;
|
|
113
105
|
}
|
|
114
106
|
|
|
@@ -130,17 +122,11 @@ export interface __AnonymousPipeServerStream$views {
|
|
|
130
122
|
export type AnonymousPipeServerStream = AnonymousPipeServerStream$instance & __AnonymousPipeServerStream$views;
|
|
131
123
|
|
|
132
124
|
|
|
133
|
-
export
|
|
134
|
-
protected CheckPipePropertyOperations(): void;
|
|
135
|
-
protected Dispose(disposing: boolean): void;
|
|
136
|
-
protected Finalize(): void;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
export interface NamedPipeClientStream$instance extends NamedPipeClientStream$protected, PipeStream$instance {
|
|
125
|
+
export interface NamedPipeClientStream$instance extends PipeStream$instance {
|
|
141
126
|
readonly InBufferSize: int;
|
|
142
127
|
readonly NumberOfServerInstances: int;
|
|
143
128
|
readonly OutBufferSize: int;
|
|
129
|
+
CheckPipePropertyOperations(): void;
|
|
144
130
|
Connect(): void;
|
|
145
131
|
Connect(timeout: int): void;
|
|
146
132
|
Connect(timeout: TimeSpan): void;
|
|
@@ -149,8 +135,10 @@ export interface NamedPipeClientStream$instance extends NamedPipeClientStream$pr
|
|
|
149
135
|
ConnectAsync(cancellationToken: CancellationToken): Task;
|
|
150
136
|
ConnectAsync(timeout: int, cancellationToken: CancellationToken): Task;
|
|
151
137
|
ConnectAsync(timeout: TimeSpan, cancellationToken?: CancellationToken): Task;
|
|
152
|
-
|
|
138
|
+
Dispose(disposing: boolean): void;
|
|
139
|
+
Dispose(): void;
|
|
153
140
|
DisposeAsync(): ValueTask;
|
|
141
|
+
Finalize(): void;
|
|
154
142
|
}
|
|
155
143
|
|
|
156
144
|
|
|
@@ -174,20 +162,16 @@ export interface __NamedPipeClientStream$views {
|
|
|
174
162
|
export type NamedPipeClientStream = NamedPipeClientStream$instance & __NamedPipeClientStream$views;
|
|
175
163
|
|
|
176
164
|
|
|
177
|
-
export
|
|
178
|
-
protected Dispose(disposing: boolean): void;
|
|
179
|
-
protected Finalize(): void;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
export interface NamedPipeServerStream$instance extends NamedPipeServerStream$protected, PipeStream$instance {
|
|
165
|
+
export interface NamedPipeServerStream$instance extends PipeStream$instance {
|
|
184
166
|
readonly InBufferSize: int;
|
|
185
167
|
readonly OutBufferSize: int;
|
|
186
168
|
BeginWaitForConnection(callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
187
169
|
Disconnect(): void;
|
|
188
|
-
|
|
170
|
+
Dispose(disposing: boolean): void;
|
|
171
|
+
Dispose(): void;
|
|
189
172
|
DisposeAsync(): ValueTask;
|
|
190
173
|
EndWaitForConnection(asyncResult: IAsyncResult): void;
|
|
174
|
+
Finalize(): void;
|
|
191
175
|
GetImpersonationUserName(): string;
|
|
192
176
|
RunAsClient(impersonationWorker: PipeStreamImpersonationWorker): void;
|
|
193
177
|
WaitForConnection(): void;
|
|
@@ -242,14 +226,7 @@ export const PipeAuditRule: {
|
|
|
242
226
|
|
|
243
227
|
export type PipeAuditRule = PipeAuditRule$instance;
|
|
244
228
|
|
|
245
|
-
export
|
|
246
|
-
protected Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
247
|
-
protected Persist7(name: string, includeSections: AccessControlSections): void;
|
|
248
|
-
protected Persist6(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
export interface PipeSecurity$instance extends PipeSecurity$protected, NativeObjectSecurity {
|
|
229
|
+
export interface PipeSecurity$instance extends NativeObjectSecurity {
|
|
253
230
|
readonly AccessRightType: Type;
|
|
254
231
|
readonly AccessRuleType: Type;
|
|
255
232
|
readonly AuditRuleType: Type;
|
|
@@ -257,6 +234,9 @@ export interface PipeSecurity$instance extends PipeSecurity$protected, NativeObj
|
|
|
257
234
|
AddAccessRule2(rule: PipeAccessRule): void;
|
|
258
235
|
AddAuditRule2(rule: PipeAuditRule): void;
|
|
259
236
|
AuditRuleFactory(identityReference: IdentityReference, accessMask: int, isInherited: boolean, inheritanceFlags: InheritanceFlags, propagationFlags: PropagationFlags, flags: AuditFlags): AuditRule;
|
|
237
|
+
Persist(handle: SafeHandle, includeSections: AccessControlSections): void;
|
|
238
|
+
Persist(name: string, includeSections: AccessControlSections): void;
|
|
239
|
+
Persist(enableOwnershipPrivilege: boolean, name: string, includeSections: AccessControlSections): void;
|
|
260
240
|
RemoveAccessRule2(rule: PipeAccessRule): boolean;
|
|
261
241
|
RemoveAccessRuleSpecific2(rule: PipeAccessRule): void;
|
|
262
242
|
RemoveAuditRule2(rule: PipeAuditRule): boolean;
|
|
@@ -275,13 +255,7 @@ export const PipeSecurity: {
|
|
|
275
255
|
|
|
276
256
|
export type PipeSecurity = PipeSecurity$instance;
|
|
277
257
|
|
|
278
|
-
export
|
|
279
|
-
protected CheckPipePropertyOperations(): void;
|
|
280
|
-
protected Dispose2(disposing: boolean): void;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
export interface PipeStream$instance extends PipeStream$protected, Stream {
|
|
258
|
+
export interface PipeStream$instance extends Stream {
|
|
285
259
|
readonly CanRead: boolean;
|
|
286
260
|
readonly CanSeek: boolean;
|
|
287
261
|
readonly CanWrite: boolean;
|
|
@@ -297,6 +271,8 @@ export interface PipeStream$instance extends PipeStream$protected, Stream {
|
|
|
297
271
|
readonly TransmissionMode: PipeTransmissionMode;
|
|
298
272
|
BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
299
273
|
BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
274
|
+
CheckPipePropertyOperations(): void;
|
|
275
|
+
Dispose(disposing: boolean): void;
|
|
300
276
|
Dispose(): void;
|
|
301
277
|
DisposeAsync(): ValueTask;
|
|
302
278
|
EndRead(asyncResult: IAsyncResult): int;
|
|
@@ -327,9 +303,7 @@ export interface PipeStream$instance extends PipeStream$protected, Stream {
|
|
|
327
303
|
}
|
|
328
304
|
|
|
329
305
|
|
|
330
|
-
export const PipeStream: {
|
|
331
|
-
new(direction: PipeDirection, bufferSize: int): PipeStream;
|
|
332
|
-
new(direction: PipeDirection, transmissionMode: PipeTransmissionMode, outBufferSize: int): PipeStream;
|
|
306
|
+
export const PipeStream: (abstract new(direction: PipeDirection, bufferSize: int) => PipeStream) & (abstract new(direction: PipeDirection, transmissionMode: PipeTransmissionMode, outBufferSize: int) => PipeStream) & {
|
|
333
307
|
};
|
|
334
308
|
|
|
335
309
|
|
|
@@ -199,7 +199,6 @@ export interface Lookup_2$instance<TKey, TElement> {
|
|
|
199
199
|
|
|
200
200
|
|
|
201
201
|
export const Lookup_2: {
|
|
202
|
-
new<TKey, TElement>(): Lookup_2<TKey, TElement>;
|
|
203
202
|
};
|
|
204
203
|
|
|
205
204
|
|
|
@@ -220,7 +219,6 @@ export interface OrderedParallelQuery_1$instance<TSource> extends ParallelQuery_
|
|
|
220
219
|
|
|
221
220
|
|
|
222
221
|
export const OrderedParallelQuery_1: {
|
|
223
|
-
new<TSource>(): OrderedParallelQuery_1<TSource>;
|
|
224
222
|
};
|
|
225
223
|
|
|
226
224
|
|
|
@@ -237,7 +235,6 @@ export interface ParallelQuery$instance {
|
|
|
237
235
|
|
|
238
236
|
|
|
239
237
|
export const ParallelQuery: {
|
|
240
|
-
new(): ParallelQuery;
|
|
241
238
|
};
|
|
242
239
|
|
|
243
240
|
|
|
@@ -256,7 +253,6 @@ export interface ParallelQuery_1$instance<TSource> extends ParallelQuery$instanc
|
|
|
256
253
|
|
|
257
254
|
|
|
258
255
|
export const ParallelQuery_1: {
|
|
259
|
-
new<TSource>(): ParallelQuery_1<TSource>;
|
|
260
256
|
};
|
|
261
257
|
|
|
262
258
|
|