@tsonic/dotnet 0.7.4 → 0.7.7
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 +0 -25
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
- package/Microsoft.VisualBasic/bindings.json +203 -29
- package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
- package/Microsoft.VisualBasic/internal/metadata.json +203 -29
- package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
- package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
- package/Microsoft.Win32/internal/index.d.ts +0 -25
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
- package/System/bindings.json +4800 -552
- package/System/internal/index.d.ts +2537 -395
- package/System/internal/metadata.json +4800 -552
- package/System.Buffers/bindings.json +196 -24
- package/System.Buffers/internal/index.d.ts +29 -54
- package/System.Buffers/internal/metadata.json +196 -24
- package/System.Buffers.Binary/bindings.json +182 -26
- package/System.Buffers.Binary/internal/index.d.ts +115 -140
- package/System.Buffers.Binary/internal/metadata.json +182 -26
- package/System.Buffers.Text/bindings.json +431 -49
- package/System.Buffers.Text/internal/index.d.ts +64 -89
- package/System.Buffers.Text/internal/metadata.json +431 -49
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
- package/System.Collections/bindings.json +11 -1
- package/System.Collections/internal/index.d.ts +2 -27
- package/System.Collections/internal/metadata.json +11 -1
- package/System.Collections.Concurrent/bindings.json +211 -29
- package/System.Collections.Concurrent/internal/index.d.ts +31 -56
- package/System.Collections.Concurrent/internal/metadata.json +211 -29
- package/System.Collections.Frozen/bindings.json +56 -8
- package/System.Collections.Frozen/internal/index.d.ts +9 -34
- package/System.Collections.Frozen/internal/metadata.json +56 -8
- package/System.Collections.Generic/bindings.json +273 -35
- package/System.Collections.Generic/internal/index.d.ts +36 -61
- package/System.Collections.Generic/internal/metadata.json +273 -35
- package/System.Collections.Immutable/bindings.json +362 -50
- package/System.Collections.Immutable/internal/index.d.ts +49 -74
- package/System.Collections.Immutable/internal/metadata.json +362 -50
- package/System.Collections.ObjectModel/bindings.json +28 -4
- package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
- package/System.Collections.ObjectModel/internal/metadata.json +28 -4
- package/System.Collections.Specialized/internal/index.d.ts +0 -25
- package/System.ComponentModel/bindings.json +174 -18
- package/System.ComponentModel/internal/index.d.ts +22 -47
- package/System.ComponentModel/internal/metadata.json +174 -18
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
- package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
- package/System.Data/internal/index.d.ts +7 -32
- package/System.Data.Common/bindings.json +14 -2
- package/System.Data.Common/internal/index.d.ts +27 -52
- package/System.Data.Common/internal/metadata.json +14 -2
- package/System.Data.SqlTypes/internal/index.d.ts +1 -26
- package/System.Diagnostics/bindings.json +181 -23
- package/System.Diagnostics/internal/index.d.ts +87 -112
- package/System.Diagnostics/internal/metadata.json +181 -23
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
- package/System.Diagnostics.Contracts/bindings.json +7 -1
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
- package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
- package/System.Diagnostics.Metrics/bindings.json +35 -5
- package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
- package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
- package/System.Diagnostics.Tracing/bindings.json +37 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
- package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
- package/System.Drawing/internal/index.d.ts +0 -25
- package/System.Dynamic/bindings.json +63 -9
- package/System.Dynamic/internal/index.d.ts +17 -42
- package/System.Dynamic/internal/metadata.json +63 -9
- package/System.Formats.Asn1/bindings.json +451 -49
- package/System.Formats.Asn1/internal/index.d.ts +69 -94
- package/System.Formats.Asn1/internal/metadata.json +451 -49
- package/System.Formats.Tar/internal/index.d.ts +4 -29
- package/System.Globalization/bindings.json +28 -4
- package/System.Globalization/internal/index.d.ts +18 -43
- package/System.Globalization/internal/metadata.json +28 -4
- package/System.IO/bindings.json +35 -5
- package/System.IO/internal/index.d.ts +197 -222
- package/System.IO/internal/metadata.json +35 -5
- package/System.IO.Compression/bindings.json +50 -6
- package/System.IO.Compression/internal/index.d.ts +51 -76
- package/System.IO.Compression/internal/metadata.json +50 -6
- package/System.IO.Enumeration/bindings.json +42 -6
- package/System.IO.Enumeration/internal/index.d.ts +11 -36
- package/System.IO.Enumeration/internal/metadata.json +42 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
- package/System.IO.Pipelines/bindings.json +7 -1
- package/System.IO.Pipelines/internal/index.d.ts +17 -42
- package/System.IO.Pipelines/internal/metadata.json +7 -1
- package/System.IO.Pipes/internal/index.d.ts +11 -36
- package/System.Linq/bindings.json +7 -1
- package/System.Linq/internal/index.d.ts +332 -357
- package/System.Linq/internal/metadata.json +7 -1
- package/System.Linq.Expressions/bindings.json +14 -2
- package/System.Linq.Expressions/internal/index.d.ts +3 -28
- package/System.Linq.Expressions/internal/metadata.json +14 -2
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
- package/System.Net/bindings.json +175 -25
- package/System.Net/internal/index.d.ts +36 -61
- package/System.Net/internal/metadata.json +175 -25
- package/System.Net.Cache/internal/index.d.ts +0 -25
- package/System.Net.Http/bindings.json +21 -3
- package/System.Net.Http/internal/index.d.ts +21 -46
- package/System.Net.Http/internal/metadata.json +21 -3
- package/System.Net.Http.Headers/bindings.json +154 -22
- package/System.Net.Http.Headers/internal/index.d.ts +67 -92
- package/System.Net.Http.Headers/internal/metadata.json +154 -22
- package/System.Net.Http.Json/internal/index.d.ts +0 -25
- package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
- package/System.Net.Mail/bindings.json +21 -3
- package/System.Net.Mail/internal/index.d.ts +4 -29
- package/System.Net.Mail/internal/metadata.json +21 -3
- package/System.Net.Mime/internal/index.d.ts +0 -25
- package/System.Net.NetworkInformation/bindings.json +14 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
- package/System.Net.NetworkInformation/internal/metadata.json +14 -2
- package/System.Net.Quic/internal/index.d.ts +14 -39
- package/System.Net.Security/bindings.json +43 -5
- package/System.Net.Security/internal/index.d.ts +29 -54
- package/System.Net.Security/internal/metadata.json +43 -5
- package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
- package/System.Net.Sockets/bindings.json +224 -28
- package/System.Net.Sockets/internal/index.d.ts +108 -133
- package/System.Net.Sockets/internal/metadata.json +224 -28
- package/System.Net.WebSockets/internal/index.d.ts +29 -54
- package/System.Numerics/bindings.json +1030 -142
- package/System.Numerics/internal/index.d.ts +264 -289
- package/System.Numerics/internal/metadata.json +1030 -142
- package/System.Reflection/bindings.json +29 -3
- package/System.Reflection/internal/index.d.ts +4 -29
- package/System.Reflection/internal/metadata.json +29 -3
- package/System.Reflection.Emit/bindings.json +26 -2
- package/System.Reflection.Emit/internal/index.d.ts +3 -28
- package/System.Reflection.Emit/internal/metadata.json +26 -2
- package/System.Reflection.Metadata/bindings.json +46 -6
- package/System.Reflection.Metadata/internal/index.d.ts +31 -56
- package/System.Reflection.Metadata/internal/metadata.json +46 -6
- package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
- package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
- package/System.Reflection.PortableExecutable/bindings.json +18 -2
- package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
- package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
- package/System.Resources/bindings.json +11 -1
- package/System.Resources/internal/index.d.ts +3 -28
- package/System.Resources/internal/metadata.json +11 -1
- package/System.Runtime/internal/index.d.ts +0 -25
- package/System.Runtime.CompilerServices/bindings.json +495 -57
- package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
- package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
- package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices/bindings.json +377 -47
- package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
- package/System.Runtime.InteropServices/internal/metadata.json +377 -47
- package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
- package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
- package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
- package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
- package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
- package/System.Runtime.Intrinsics/bindings.json +112 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
- package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
- package/System.Runtime.Loader/internal/index.d.ts +0 -25
- package/System.Runtime.Remoting/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization/bindings.json +71 -9
- package/System.Runtime.Serialization/internal/index.d.ts +9 -34
- package/System.Runtime.Serialization/internal/metadata.json +71 -9
- package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
- package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
- package/System.Runtime.Versioning/internal/index.d.ts +0 -25
- package/System.Security/internal/index.d.ts +1 -26
- package/System.Security.AccessControl/bindings.json +14 -2
- package/System.Security.AccessControl/internal/index.d.ts +3 -28
- package/System.Security.AccessControl/internal/metadata.json +14 -2
- package/System.Security.Authentication/internal/index.d.ts +0 -25
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
- package/System.Security.Claims/internal/index.d.ts +1 -26
- package/System.Security.Cryptography/bindings.json +1348 -192
- package/System.Security.Cryptography/internal/index.d.ts +593 -618
- package/System.Security.Cryptography/internal/metadata.json +1348 -192
- package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
- package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
- package/System.Security.Permissions/internal/index.d.ts +0 -25
- package/System.Security.Policy/internal/index.d.ts +0 -25
- package/System.Security.Principal/internal/index.d.ts +0 -25
- package/System.Text/bindings.json +494 -58
- package/System.Text/internal/index.d.ts +137 -162
- package/System.Text/internal/metadata.json +494 -58
- package/System.Text.Encodings.Web/bindings.json +29 -3
- package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
- package/System.Text.Encodings.Web/internal/metadata.json +29 -3
- package/System.Text.Json/bindings.json +309 -43
- package/System.Text.Json/internal/index.d.ts +141 -166
- package/System.Text.Json/internal/metadata.json +309 -43
- package/System.Text.Json.Nodes/bindings.json +46 -6
- package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
- package/System.Text.Json.Nodes/internal/metadata.json +46 -6
- package/System.Text.Json.Schema/internal/index.d.ts +1 -26
- package/System.Text.Json.Serialization/bindings.json +21 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
- package/System.Text.Json.Serialization/internal/metadata.json +21 -3
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
- package/System.Text.RegularExpressions/bindings.json +14 -2
- package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
- package/System.Text.RegularExpressions/internal/metadata.json +14 -2
- package/System.Text.Unicode/bindings.json +58 -6
- package/System.Text.Unicode/internal/index.d.ts +12 -37
- package/System.Text.Unicode/internal/metadata.json +58 -6
- package/System.Threading/bindings.json +1012 -140
- package/System.Threading/internal/index.d.ts +149 -174
- package/System.Threading/internal/metadata.json +1012 -140
- package/System.Threading.Channels/bindings.json +14 -2
- package/System.Threading.Channels/internal/index.d.ts +5 -30
- package/System.Threading.Channels/internal/metadata.json +14 -2
- package/System.Threading.Tasks/internal/index.d.ts +23 -48
- package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
- package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
- package/System.Timers/internal/index.d.ts +0 -25
- package/System.Transactions/internal/index.d.ts +0 -25
- package/System.Web/internal/index.d.ts +0 -25
- package/System.Windows.Input/internal/index.d.ts +0 -25
- package/System.Windows.Markup/internal/index.d.ts +0 -25
- package/System.Xml/bindings.json +197 -27
- package/System.Xml/internal/index.d.ts +35 -60
- package/System.Xml/internal/metadata.json +197 -27
- package/System.Xml.Linq/internal/index.d.ts +0 -25
- package/System.Xml.Resolvers/internal/index.d.ts +0 -25
- package/System.Xml.Schema/internal/index.d.ts +0 -25
- package/System.Xml.Serialization/internal/index.d.ts +0 -25
- package/System.Xml.XPath/internal/index.d.ts +1 -26
- package/System.Xml.Xsl/internal/index.d.ts +1 -26
- package/System.Xml.Xsl.Runtime/bindings.json +35 -5
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
- package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
- package/System.d.ts +21 -0
- package/__internal/extensions/index.d.ts +463 -463
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { SafeFileHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -26,31 +26,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
26
26
|
import * as System_Internal from "../../System/internal/index.js";
|
|
27
27
|
import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Char, DateTime, Decimal, Delegate, Double, Enum, EventArgs, Exception, Half, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, ISpanFormattable, MarshalByRefObject, Memory_1, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, SByte, Single, Span_1, String as ClrString, SystemException, TimeSpan, Type, TypeCode, UInt16, UInt32, UInt64, ValueType, Void } from "../../System/internal/index.js";
|
|
28
28
|
|
|
29
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
30
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
31
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
32
|
-
export type CLROf<T> =
|
|
33
|
-
T extends sbyte ? System_Internal.SByte :
|
|
34
|
-
T extends short ? System_Internal.Int16 :
|
|
35
|
-
T extends int ? System_Internal.Int32 :
|
|
36
|
-
T extends long ? System_Internal.Int64 :
|
|
37
|
-
T extends int128 ? System_Internal.Int128 :
|
|
38
|
-
T extends nint ? System_Internal.IntPtr :
|
|
39
|
-
T extends byte ? System_Internal.Byte :
|
|
40
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
41
|
-
T extends uint ? System_Internal.UInt32 :
|
|
42
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
43
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
44
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
45
|
-
T extends half ? System_Internal.Half :
|
|
46
|
-
T extends float ? System_Internal.Single :
|
|
47
|
-
T extends double ? System_Internal.Double :
|
|
48
|
-
T extends decimal ? System_Internal.Decimal :
|
|
49
|
-
T extends char ? System_Internal.Char :
|
|
50
|
-
T extends boolean ? System_Internal.Boolean :
|
|
51
|
-
T extends string ? System_Internal.String :
|
|
52
|
-
T; // Identity fallback for non-primitive types
|
|
53
|
-
|
|
54
29
|
export enum DriveType {
|
|
55
30
|
unknown_ = 0,
|
|
56
31
|
noRootDirectory = 1,
|
|
@@ -222,9 +197,9 @@ export interface BinaryReader$instance {
|
|
|
222
197
|
peekChar(): int;
|
|
223
198
|
read(): int;
|
|
224
199
|
read(buffer: char[], index: int, count: int): int;
|
|
225
|
-
read(buffer: Span_1<
|
|
200
|
+
read(buffer: Span_1<System_Internal.Char>): int;
|
|
226
201
|
read(buffer: byte[], index: int, count: int): int;
|
|
227
|
-
read(buffer: Span_1<
|
|
202
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
228
203
|
read7BitEncodedInt(): int;
|
|
229
204
|
read7BitEncodedInt64(): long;
|
|
230
205
|
readBoolean(): boolean;
|
|
@@ -234,7 +209,7 @@ export interface BinaryReader$instance {
|
|
|
234
209
|
readChars(count: int): char[];
|
|
235
210
|
readDecimal(): decimal;
|
|
236
211
|
readDouble(): double;
|
|
237
|
-
readExactly(buffer: Span_1<
|
|
212
|
+
readExactly(buffer: Span_1<System_Internal.Byte>): void;
|
|
238
213
|
readHalf(): half;
|
|
239
214
|
readInt16(): short;
|
|
240
215
|
readInt32(): int;
|
|
@@ -290,8 +265,8 @@ export interface BinaryWriter$instance {
|
|
|
290
265
|
write(value: float): void;
|
|
291
266
|
write(value: half): void;
|
|
292
267
|
write(value: string): void;
|
|
293
|
-
write(buffer: ReadOnlySpan_1<
|
|
294
|
-
write(chars: ReadOnlySpan_1<
|
|
268
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
269
|
+
write(chars: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
295
270
|
write7BitEncodedInt(value: int): void;
|
|
296
271
|
write7BitEncodedInt64(value: long): void;
|
|
297
272
|
}
|
|
@@ -339,23 +314,23 @@ export interface BufferedStream$instance extends Stream$instance {
|
|
|
339
314
|
flushAsync(cancellationToken: CancellationToken): Task;
|
|
340
315
|
flushAsync(): Task;
|
|
341
316
|
read(buffer: byte[], offset: int, count: int): int;
|
|
342
|
-
read(destination: Span_1<
|
|
343
|
-
read(buffer: Span_1<
|
|
344
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
345
|
-
readAsync(buffer: Memory_1<
|
|
346
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
347
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
348
|
-
readAsync(buffer: Memory_1<
|
|
317
|
+
read(destination: Span_1<System_Internal.Byte>): int;
|
|
318
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
319
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
320
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
321
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
322
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
323
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
349
324
|
readByte(): int;
|
|
350
325
|
seek(offset: long, origin: SeekOrigin): long;
|
|
351
326
|
setLength(value: long): void;
|
|
352
327
|
write(buffer: byte[], offset: int, count: int): void;
|
|
353
|
-
write(buffer: ReadOnlySpan_1<
|
|
354
|
-
write(buffer: ReadOnlySpan_1<
|
|
328
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
329
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
355
330
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
356
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
331
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
357
332
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
358
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
333
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
359
334
|
writeByte(value: byte): void;
|
|
360
335
|
}
|
|
361
336
|
|
|
@@ -659,24 +634,24 @@ export interface FileStream$instance extends Stream$instance {
|
|
|
659
634
|
flushAsync(): Task;
|
|
660
635
|
lock(position: long, length: long): void;
|
|
661
636
|
read(buffer: byte[], offset: int, count: int): int;
|
|
662
|
-
read(buffer: Span_1<
|
|
663
|
-
read(buffer: Span_1<
|
|
664
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
665
|
-
readAsync(buffer: Memory_1<
|
|
666
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
667
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
668
|
-
readAsync(buffer: Memory_1<
|
|
637
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
638
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
639
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
640
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
641
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
642
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
643
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
669
644
|
readByte(): int;
|
|
670
645
|
seek(offset: long, origin: SeekOrigin): long;
|
|
671
646
|
setLength(value: long): void;
|
|
672
647
|
unlock(position: long, length: long): void;
|
|
673
648
|
write(buffer: byte[], offset: int, count: int): void;
|
|
674
|
-
write(buffer: ReadOnlySpan_1<
|
|
675
|
-
write(buffer: ReadOnlySpan_1<
|
|
649
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
650
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
676
651
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
677
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
652
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
678
653
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
679
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
654
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
680
655
|
writeByte(value: byte): void;
|
|
681
656
|
}
|
|
682
657
|
|
|
@@ -778,7 +753,7 @@ export type FileSystemInfo = FileSystemInfo$instance & __FileSystemInfo$views;
|
|
|
778
753
|
export interface FileSystemWatcher$instance extends Component {
|
|
779
754
|
enableRaisingEvents: boolean;
|
|
780
755
|
filter: string;
|
|
781
|
-
readonly filters: Collection_1<
|
|
756
|
+
readonly filters: Collection_1<System_Internal.String>;
|
|
782
757
|
includeSubdirectories: boolean;
|
|
783
758
|
internalBufferSize: int;
|
|
784
759
|
notifyFilter: NotifyFilters;
|
|
@@ -890,25 +865,25 @@ export interface MemoryStream$instance extends Stream$instance {
|
|
|
890
865
|
flushAsync(): Task;
|
|
891
866
|
getBuffer(): byte[];
|
|
892
867
|
read(buffer: byte[], offset: int, count: int): int;
|
|
893
|
-
read(buffer: Span_1<
|
|
894
|
-
read(buffer: Span_1<
|
|
895
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
896
|
-
readAsync(buffer: Memory_1<
|
|
897
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
898
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
899
|
-
readAsync(buffer: Memory_1<
|
|
868
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
869
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
870
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
871
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
872
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
873
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
874
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
900
875
|
readByte(): int;
|
|
901
876
|
seek(offset: long, loc: SeekOrigin): long;
|
|
902
877
|
setLength(value: long): void;
|
|
903
878
|
toArray(): byte[];
|
|
904
|
-
tryGetBuffer(buffer:
|
|
879
|
+
tryGetBuffer(buffer: ArraySegment_1<System_Internal.Byte>): boolean;
|
|
905
880
|
write(buffer: byte[], offset: int, count: int): void;
|
|
906
|
-
write(buffer: ReadOnlySpan_1<
|
|
907
|
-
write(buffer: ReadOnlySpan_1<
|
|
881
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
882
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
908
883
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
909
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
884
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
910
885
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
911
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
886
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
912
887
|
writeByte(value: byte): void;
|
|
913
888
|
writeTo(stream: Stream): void;
|
|
914
889
|
}
|
|
@@ -991,24 +966,24 @@ export interface Stream$instance extends MarshalByRefObject {
|
|
|
991
966
|
flushAsync(): Task;
|
|
992
967
|
flushAsync(cancellationToken: CancellationToken): Task;
|
|
993
968
|
read(buffer: byte[], offset: int, count: int): int;
|
|
994
|
-
read(buffer: Span_1<
|
|
995
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
996
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
997
|
-
readAsync(buffer: Memory_1<
|
|
998
|
-
readAtLeast(buffer: Span_1<
|
|
999
|
-
readAtLeastAsync(buffer: Memory_1<
|
|
969
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
970
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
971
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
972
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
973
|
+
readAtLeast(buffer: Span_1<System_Internal.Byte>, minimumBytes: int, throwOnEndOfStream?: boolean): int;
|
|
974
|
+
readAtLeastAsync(buffer: Memory_1<System_Internal.Byte>, minimumBytes: int, throwOnEndOfStream?: boolean, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1000
975
|
readByte(): int;
|
|
1001
|
-
readExactly(buffer: Span_1<
|
|
976
|
+
readExactly(buffer: Span_1<System_Internal.Byte>): void;
|
|
1002
977
|
readExactly(buffer: byte[], offset: int, count: int): void;
|
|
1003
|
-
readExactlyAsync(buffer: Memory_1<
|
|
978
|
+
readExactlyAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1004
979
|
readExactlyAsync(buffer: byte[], offset: int, count: int, cancellationToken?: CancellationToken): ValueTask;
|
|
1005
980
|
seek(offset: long, origin: SeekOrigin): long;
|
|
1006
981
|
setLength(value: long): void;
|
|
1007
982
|
write(buffer: byte[], offset: int, count: int): void;
|
|
1008
|
-
write(buffer: ReadOnlySpan_1<
|
|
983
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1009
984
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
1010
985
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1011
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
986
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1012
987
|
writeByte(value: byte): void;
|
|
1013
988
|
}
|
|
1014
989
|
|
|
@@ -1039,29 +1014,29 @@ export interface StreamReader$instance extends TextReader$instance {
|
|
|
1039
1014
|
peek(): int;
|
|
1040
1015
|
read(): int;
|
|
1041
1016
|
read(buffer: char[], index: int, count: int): int;
|
|
1042
|
-
read(buffer: Span_1<
|
|
1043
|
-
read(buffer: Span_1<
|
|
1044
|
-
readAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1045
|
-
readAsync(buffer: Memory_1<
|
|
1046
|
-
readAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1047
|
-
readAsync(buffer: Memory_1<
|
|
1017
|
+
read(buffer: Span_1<System_Internal.Char>): int;
|
|
1018
|
+
read(buffer: Span_1<System_Internal.Char>): int;
|
|
1019
|
+
readAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1020
|
+
readAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1021
|
+
readAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1022
|
+
readAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1048
1023
|
readBlock(buffer: char[], index: int, count: int): int;
|
|
1049
|
-
readBlock(buffer: Span_1<
|
|
1050
|
-
readBlock(buffer: Span_1<
|
|
1051
|
-
readBlockAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1052
|
-
readBlockAsync(buffer: Memory_1<
|
|
1053
|
-
readBlockAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1054
|
-
readBlockAsync(buffer: Memory_1<
|
|
1024
|
+
readBlock(buffer: Span_1<System_Internal.Char>): int;
|
|
1025
|
+
readBlock(buffer: Span_1<System_Internal.Char>): int;
|
|
1026
|
+
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1027
|
+
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1028
|
+
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1029
|
+
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1055
1030
|
readLine(): string;
|
|
1056
|
-
readLineAsync(): Task_1<
|
|
1057
|
-
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<
|
|
1058
|
-
readLineAsync(): Task_1<
|
|
1059
|
-
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<
|
|
1031
|
+
readLineAsync(): Task_1<System_Internal.String>;
|
|
1032
|
+
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1033
|
+
readLineAsync(): Task_1<System_Internal.String>;
|
|
1034
|
+
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1060
1035
|
readToEnd(): string;
|
|
1061
|
-
readToEndAsync(): Task_1<
|
|
1062
|
-
readToEndAsync(cancellationToken: CancellationToken): Task_1<
|
|
1063
|
-
readToEndAsync(): Task_1<
|
|
1064
|
-
readToEndAsync(cancellationToken: CancellationToken): Task_1<
|
|
1036
|
+
readToEndAsync(): Task_1<System_Internal.String>;
|
|
1037
|
+
readToEndAsync(cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
1038
|
+
readToEndAsync(): Task_1<System_Internal.String>;
|
|
1039
|
+
readToEndAsync(cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
1065
1040
|
}
|
|
1066
1041
|
|
|
1067
1042
|
|
|
@@ -1102,14 +1077,14 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1102
1077
|
write(value: char): void;
|
|
1103
1078
|
write(buffer: char[]): void;
|
|
1104
1079
|
write(buffer: char[], index: int, count: int): void;
|
|
1105
|
-
write(buffer: ReadOnlySpan_1<
|
|
1080
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1106
1081
|
write(value: string): void;
|
|
1107
1082
|
write(format: string, arg0: unknown): void;
|
|
1108
1083
|
write(format: string, arg0: unknown, arg1: unknown): void;
|
|
1109
1084
|
write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1110
1085
|
write(format: string, ...arg: unknown[]): void;
|
|
1111
1086
|
write(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1112
|
-
write(buffer: ReadOnlySpan_1<
|
|
1087
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1113
1088
|
write(value: boolean): void;
|
|
1114
1089
|
write(value: int): void;
|
|
1115
1090
|
write(value: uint): void;
|
|
@@ -1124,12 +1099,12 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1124
1099
|
writeAsync(value: char): Task;
|
|
1125
1100
|
writeAsync(value: string): Task;
|
|
1126
1101
|
writeAsync(buffer: char[], index: int, count: int): Task;
|
|
1127
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1102
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1128
1103
|
writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1129
1104
|
writeAsync(buffer: char[]): Task;
|
|
1130
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1105
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1131
1106
|
writeLine(value: string): void;
|
|
1132
|
-
writeLine(buffer: ReadOnlySpan_1<
|
|
1107
|
+
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1133
1108
|
writeLine(format: string, arg0: unknown): void;
|
|
1134
1109
|
writeLine(format: string, arg0: unknown, arg1: unknown): void;
|
|
1135
1110
|
writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
@@ -1139,7 +1114,7 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1139
1114
|
writeLine(value: char): void;
|
|
1140
1115
|
writeLine(buffer: char[]): void;
|
|
1141
1116
|
writeLine(buffer: char[], index: int, count: int): void;
|
|
1142
|
-
writeLine(buffer: ReadOnlySpan_1<
|
|
1117
|
+
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1143
1118
|
writeLine(value: boolean): void;
|
|
1144
1119
|
writeLine(value: int): void;
|
|
1145
1120
|
writeLine(value: uint): void;
|
|
@@ -1155,10 +1130,10 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1155
1130
|
writeLineAsync(value: char): Task;
|
|
1156
1131
|
writeLineAsync(value: string): Task;
|
|
1157
1132
|
writeLineAsync(buffer: char[], index: int, count: int): Task;
|
|
1158
|
-
writeLineAsync(buffer: ReadOnlyMemory_1<
|
|
1133
|
+
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1159
1134
|
writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1160
1135
|
writeLineAsync(buffer: char[]): Task;
|
|
1161
|
-
writeLineAsync(buffer: ReadOnlyMemory_1<
|
|
1136
|
+
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1162
1137
|
}
|
|
1163
1138
|
|
|
1164
1139
|
|
|
@@ -1190,29 +1165,29 @@ export interface StringReader$instance extends TextReader$instance {
|
|
|
1190
1165
|
peek(): int;
|
|
1191
1166
|
read(): int;
|
|
1192
1167
|
read(buffer: char[], index: int, count: int): int;
|
|
1193
|
-
read(buffer: Span_1<
|
|
1194
|
-
read(buffer: Span_1<
|
|
1195
|
-
readAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1196
|
-
readAsync(buffer: Memory_1<
|
|
1197
|
-
readAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1198
|
-
readAsync(buffer: Memory_1<
|
|
1199
|
-
readBlock(buffer: Span_1<
|
|
1168
|
+
read(buffer: Span_1<System_Internal.Char>): int;
|
|
1169
|
+
read(buffer: Span_1<System_Internal.Char>): int;
|
|
1170
|
+
readAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1171
|
+
readAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1172
|
+
readAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1173
|
+
readAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1174
|
+
readBlock(buffer: Span_1<System_Internal.Char>): int;
|
|
1200
1175
|
readBlock(buffer: char[], index: int, count: int): int;
|
|
1201
|
-
readBlock(buffer: Span_1<
|
|
1202
|
-
readBlockAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1203
|
-
readBlockAsync(buffer: Memory_1<
|
|
1204
|
-
readBlockAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1205
|
-
readBlockAsync(buffer: Memory_1<
|
|
1176
|
+
readBlock(buffer: Span_1<System_Internal.Char>): int;
|
|
1177
|
+
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1178
|
+
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1179
|
+
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1180
|
+
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1206
1181
|
readLine(): string;
|
|
1207
|
-
readLineAsync(): Task_1<
|
|
1208
|
-
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<
|
|
1209
|
-
readLineAsync(): Task_1<
|
|
1210
|
-
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<
|
|
1182
|
+
readLineAsync(): Task_1<System_Internal.String>;
|
|
1183
|
+
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1184
|
+
readLineAsync(): Task_1<System_Internal.String>;
|
|
1185
|
+
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1211
1186
|
readToEnd(): string;
|
|
1212
|
-
readToEndAsync(): Task_1<
|
|
1213
|
-
readToEndAsync(cancellationToken: CancellationToken): Task_1<
|
|
1214
|
-
readToEndAsync(): Task_1<
|
|
1215
|
-
readToEndAsync(cancellationToken: CancellationToken): Task_1<
|
|
1187
|
+
readToEndAsync(): Task_1<System_Internal.String>;
|
|
1188
|
+
readToEndAsync(cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
1189
|
+
readToEndAsync(): Task_1<System_Internal.String>;
|
|
1190
|
+
readToEndAsync(cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
1216
1191
|
}
|
|
1217
1192
|
|
|
1218
1193
|
|
|
@@ -1239,11 +1214,11 @@ export interface StringWriter$instance extends TextWriter$instance {
|
|
|
1239
1214
|
toString(): string;
|
|
1240
1215
|
write(value: char): void;
|
|
1241
1216
|
write(buffer: char[], index: int, count: int): void;
|
|
1242
|
-
write(buffer: ReadOnlySpan_1<
|
|
1217
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1243
1218
|
write(value: string): void;
|
|
1244
1219
|
write(value: StringBuilder): void;
|
|
1245
1220
|
write(buffer: char[]): void;
|
|
1246
|
-
write(buffer: ReadOnlySpan_1<
|
|
1221
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1247
1222
|
write(value: boolean): void;
|
|
1248
1223
|
write(value: int): void;
|
|
1249
1224
|
write(value: uint): void;
|
|
@@ -1261,17 +1236,17 @@ export interface StringWriter$instance extends TextWriter$instance {
|
|
|
1261
1236
|
writeAsync(value: char): Task;
|
|
1262
1237
|
writeAsync(value: string): Task;
|
|
1263
1238
|
writeAsync(buffer: char[], index: int, count: int): Task;
|
|
1264
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1239
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1265
1240
|
writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1266
1241
|
writeAsync(buffer: char[]): Task;
|
|
1267
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1268
|
-
writeLine(buffer: ReadOnlySpan_1<
|
|
1242
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1243
|
+
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1269
1244
|
writeLine(value: StringBuilder): void;
|
|
1270
1245
|
writeLine(): void;
|
|
1271
1246
|
writeLine(value: char): void;
|
|
1272
1247
|
writeLine(buffer: char[]): void;
|
|
1273
1248
|
writeLine(buffer: char[], index: int, count: int): void;
|
|
1274
|
-
writeLine(buffer: ReadOnlySpan_1<
|
|
1249
|
+
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1275
1250
|
writeLine(value: boolean): void;
|
|
1276
1251
|
writeLine(value: int): void;
|
|
1277
1252
|
writeLine(value: uint): void;
|
|
@@ -1291,9 +1266,9 @@ export interface StringWriter$instance extends TextWriter$instance {
|
|
|
1291
1266
|
writeLineAsync(value: string): Task;
|
|
1292
1267
|
writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1293
1268
|
writeLineAsync(buffer: char[], index: int, count: int): Task;
|
|
1294
|
-
writeLineAsync(buffer: ReadOnlyMemory_1<
|
|
1269
|
+
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1295
1270
|
writeLineAsync(buffer: char[]): Task;
|
|
1296
|
-
writeLineAsync(buffer: ReadOnlyMemory_1<
|
|
1271
|
+
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1297
1272
|
writeLineAsync(): Task;
|
|
1298
1273
|
}
|
|
1299
1274
|
|
|
@@ -1320,19 +1295,19 @@ export interface TextReader$instance extends MarshalByRefObject {
|
|
|
1320
1295
|
peek(): int;
|
|
1321
1296
|
read(): int;
|
|
1322
1297
|
read(buffer: char[], index: int, count: int): int;
|
|
1323
|
-
read(buffer: Span_1<
|
|
1324
|
-
readAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1325
|
-
readAsync(buffer: Memory_1<
|
|
1298
|
+
read(buffer: Span_1<System_Internal.Char>): int;
|
|
1299
|
+
readAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1300
|
+
readAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1326
1301
|
readBlock(buffer: char[], index: int, count: int): int;
|
|
1327
|
-
readBlock(buffer: Span_1<
|
|
1328
|
-
readBlockAsync(buffer: char[], index: int, count: int): Task_1<
|
|
1329
|
-
readBlockAsync(buffer: Memory_1<
|
|
1302
|
+
readBlock(buffer: Span_1<System_Internal.Char>): int;
|
|
1303
|
+
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1304
|
+
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1330
1305
|
readLine(): string;
|
|
1331
|
-
readLineAsync(): Task_1<
|
|
1332
|
-
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<
|
|
1306
|
+
readLineAsync(): Task_1<System_Internal.String>;
|
|
1307
|
+
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1333
1308
|
readToEnd(): string;
|
|
1334
|
-
readToEndAsync(): Task_1<
|
|
1335
|
-
readToEndAsync(cancellationToken: CancellationToken): Task_1<
|
|
1309
|
+
readToEndAsync(): Task_1<System_Internal.String>;
|
|
1310
|
+
readToEndAsync(cancellationToken: CancellationToken): Task_1<System_Internal.String>;
|
|
1336
1311
|
}
|
|
1337
1312
|
|
|
1338
1313
|
|
|
@@ -1364,7 +1339,7 @@ export interface TextWriter$instance extends MarshalByRefObject {
|
|
|
1364
1339
|
write(value: char): void;
|
|
1365
1340
|
write(buffer: char[]): void;
|
|
1366
1341
|
write(buffer: char[], index: int, count: int): void;
|
|
1367
|
-
write(buffer: ReadOnlySpan_1<
|
|
1342
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1368
1343
|
write(value: boolean): void;
|
|
1369
1344
|
write(value: int): void;
|
|
1370
1345
|
write(value: uint): void;
|
|
@@ -1386,12 +1361,12 @@ export interface TextWriter$instance extends MarshalByRefObject {
|
|
|
1386
1361
|
writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1387
1362
|
writeAsync(buffer: char[]): Task;
|
|
1388
1363
|
writeAsync(buffer: char[], index: int, count: int): Task;
|
|
1389
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1364
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1390
1365
|
writeLine(): void;
|
|
1391
1366
|
writeLine(value: char): void;
|
|
1392
1367
|
writeLine(buffer: char[]): void;
|
|
1393
1368
|
writeLine(buffer: char[], index: int, count: int): void;
|
|
1394
|
-
writeLine(buffer: ReadOnlySpan_1<
|
|
1369
|
+
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1395
1370
|
writeLine(value: boolean): void;
|
|
1396
1371
|
writeLine(value: int): void;
|
|
1397
1372
|
writeLine(value: uint): void;
|
|
@@ -1413,7 +1388,7 @@ export interface TextWriter$instance extends MarshalByRefObject {
|
|
|
1413
1388
|
writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1414
1389
|
writeLineAsync(buffer: char[]): Task;
|
|
1415
1390
|
writeLineAsync(buffer: char[], index: int, count: int): Task;
|
|
1416
|
-
writeLineAsync(buffer: ReadOnlyMemory_1<
|
|
1391
|
+
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1417
1392
|
writeLineAsync(): Task;
|
|
1418
1393
|
}
|
|
1419
1394
|
|
|
@@ -1440,7 +1415,7 @@ export interface UnmanagedMemoryAccessor$instance {
|
|
|
1440
1415
|
readonly canWrite: boolean;
|
|
1441
1416
|
readonly capacity: long;
|
|
1442
1417
|
dispose(): void;
|
|
1443
|
-
read<T extends unknown>(position: long, structure:
|
|
1418
|
+
read<T extends unknown>(position: long, structure: T): void;
|
|
1444
1419
|
readArray<T extends unknown>(position: long, array: T[], offset: int, count: int): int;
|
|
1445
1420
|
readBoolean(position: long): boolean;
|
|
1446
1421
|
readByte(position: long): byte;
|
|
@@ -1468,7 +1443,7 @@ export interface UnmanagedMemoryAccessor$instance {
|
|
|
1468
1443
|
write(position: long, value: ushort): void;
|
|
1469
1444
|
write(position: long, value: uint): void;
|
|
1470
1445
|
write(position: long, value: ulong): void;
|
|
1471
|
-
write<T extends unknown>(position: long, structure:
|
|
1446
|
+
write<T extends unknown>(position: long, structure: T): void;
|
|
1472
1447
|
writeArray<T extends unknown>(position: long, array: T[], offset: int, count: int): void;
|
|
1473
1448
|
}
|
|
1474
1449
|
|
|
@@ -1502,23 +1477,23 @@ export interface UnmanagedMemoryStream$instance extends Stream$instance {
|
|
|
1502
1477
|
flushAsync(cancellationToken: CancellationToken): Task;
|
|
1503
1478
|
flushAsync(): Task;
|
|
1504
1479
|
read(buffer: byte[], offset: int, count: int): int;
|
|
1505
|
-
read(buffer: Span_1<
|
|
1506
|
-
read(buffer: Span_1<
|
|
1507
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
1508
|
-
readAsync(buffer: Memory_1<
|
|
1509
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
1510
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
1511
|
-
readAsync(buffer: Memory_1<
|
|
1480
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
1481
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
1482
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
1483
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1484
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
1485
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
1486
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1512
1487
|
readByte(): int;
|
|
1513
1488
|
seek(offset: long, loc: SeekOrigin): long;
|
|
1514
1489
|
setLength(value: long): void;
|
|
1515
1490
|
write(buffer: byte[], offset: int, count: int): void;
|
|
1516
|
-
write(buffer: ReadOnlySpan_1<
|
|
1517
|
-
write(buffer: ReadOnlySpan_1<
|
|
1491
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1492
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1518
1493
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1519
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1494
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1520
1495
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
1521
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
1496
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1522
1497
|
writeByte(value: byte): void;
|
|
1523
1498
|
}
|
|
1524
1499
|
|
|
@@ -1546,18 +1521,18 @@ export abstract class Directory$instance {
|
|
|
1546
1521
|
static createTempSubdirectory(prefix?: string): DirectoryInfo;
|
|
1547
1522
|
static delete_(path: string, recursive: boolean): void;
|
|
1548
1523
|
static delete_(path: string): void;
|
|
1549
|
-
static enumerateDirectories(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<
|
|
1550
|
-
static enumerateDirectories(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<
|
|
1551
|
-
static enumerateDirectories(path: string, searchPattern: string): IEnumerable_1<
|
|
1552
|
-
static enumerateDirectories(path: string): IEnumerable_1<
|
|
1553
|
-
static enumerateFiles(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<
|
|
1554
|
-
static enumerateFiles(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<
|
|
1555
|
-
static enumerateFiles(path: string, searchPattern: string): IEnumerable_1<
|
|
1556
|
-
static enumerateFiles(path: string): IEnumerable_1<
|
|
1557
|
-
static enumerateFileSystemEntries(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<
|
|
1558
|
-
static enumerateFileSystemEntries(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<
|
|
1559
|
-
static enumerateFileSystemEntries(path: string, searchPattern: string): IEnumerable_1<
|
|
1560
|
-
static enumerateFileSystemEntries(path: string): IEnumerable_1<
|
|
1524
|
+
static enumerateDirectories(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<System_Internal.String>;
|
|
1525
|
+
static enumerateDirectories(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<System_Internal.String>;
|
|
1526
|
+
static enumerateDirectories(path: string, searchPattern: string): IEnumerable_1<System_Internal.String>;
|
|
1527
|
+
static enumerateDirectories(path: string): IEnumerable_1<System_Internal.String>;
|
|
1528
|
+
static enumerateFiles(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<System_Internal.String>;
|
|
1529
|
+
static enumerateFiles(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<System_Internal.String>;
|
|
1530
|
+
static enumerateFiles(path: string, searchPattern: string): IEnumerable_1<System_Internal.String>;
|
|
1531
|
+
static enumerateFiles(path: string): IEnumerable_1<System_Internal.String>;
|
|
1532
|
+
static enumerateFileSystemEntries(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<System_Internal.String>;
|
|
1533
|
+
static enumerateFileSystemEntries(path: string, searchPattern: string, searchOption: SearchOption): IEnumerable_1<System_Internal.String>;
|
|
1534
|
+
static enumerateFileSystemEntries(path: string, searchPattern: string): IEnumerable_1<System_Internal.String>;
|
|
1535
|
+
static enumerateFileSystemEntries(path: string): IEnumerable_1<System_Internal.String>;
|
|
1561
1536
|
static exists(path: string): boolean;
|
|
1562
1537
|
static getCreationTime(path: string): DateTime;
|
|
1563
1538
|
static getCreationTimeUtc(path: string): DateTime;
|
|
@@ -1597,19 +1572,19 @@ export type Directory = Directory$instance;
|
|
|
1597
1572
|
|
|
1598
1573
|
export abstract class File$instance {
|
|
1599
1574
|
static appendAllBytes(path: string, bytes: byte[]): void;
|
|
1600
|
-
static appendAllBytes(path: string, bytes: ReadOnlySpan_1<
|
|
1575
|
+
static appendAllBytes(path: string, bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1601
1576
|
static appendAllBytesAsync(path: string, bytes: byte[], cancellationToken?: CancellationToken): Task;
|
|
1602
|
-
static appendAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<
|
|
1603
|
-
static appendAllLines(path: string, contents: IEnumerable_1<
|
|
1604
|
-
static appendAllLines(path: string, contents: IEnumerable_1<
|
|
1605
|
-
static appendAllLinesAsync(path: string, contents: IEnumerable_1<
|
|
1606
|
-
static appendAllLinesAsync(path: string, contents: IEnumerable_1<
|
|
1607
|
-
static appendAllText(path: string, contents: ReadOnlySpan_1<
|
|
1608
|
-
static appendAllText(path: string, contents: ReadOnlySpan_1<
|
|
1577
|
+
static appendAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): Task;
|
|
1578
|
+
static appendAllLines(path: string, contents: IEnumerable_1<System_Internal.String>, encoding: Encoding): void;
|
|
1579
|
+
static appendAllLines(path: string, contents: IEnumerable_1<System_Internal.String>): void;
|
|
1580
|
+
static appendAllLinesAsync(path: string, contents: IEnumerable_1<System_Internal.String>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1581
|
+
static appendAllLinesAsync(path: string, contents: IEnumerable_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
1582
|
+
static appendAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>, encoding: Encoding): void;
|
|
1583
|
+
static appendAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1609
1584
|
static appendAllText(path: string, contents: string, encoding: Encoding): void;
|
|
1610
1585
|
static appendAllText(path: string, contents: string): void;
|
|
1611
|
-
static appendAllTextAsync(path: string, contents: ReadOnlyMemory_1<
|
|
1612
|
-
static appendAllTextAsync(path: string, contents: ReadOnlyMemory_1<
|
|
1586
|
+
static appendAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1587
|
+
static appendAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1613
1588
|
static appendAllTextAsync(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1614
1589
|
static appendAllTextAsync(path: string, contents: string, cancellationToken?: CancellationToken): Task;
|
|
1615
1590
|
static appendText(path: string): StreamWriter;
|
|
@@ -1658,12 +1633,12 @@ export abstract class File$instance {
|
|
|
1658
1633
|
static readAllLinesAsync(path: string, cancellationToken?: CancellationToken): Task_1<string[]>;
|
|
1659
1634
|
static readAllText(path: string, encoding: Encoding): string;
|
|
1660
1635
|
static readAllText(path: string): string;
|
|
1661
|
-
static readAllTextAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): Task_1<
|
|
1662
|
-
static readAllTextAsync(path: string, cancellationToken?: CancellationToken): Task_1<
|
|
1663
|
-
static readLines(path: string, encoding: Encoding): IEnumerable_1<
|
|
1664
|
-
static readLines(path: string): IEnumerable_1<
|
|
1665
|
-
static readLinesAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): IAsyncEnumerable_1<
|
|
1666
|
-
static readLinesAsync(path: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<
|
|
1636
|
+
static readAllTextAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): Task_1<System_Internal.String>;
|
|
1637
|
+
static readAllTextAsync(path: string, cancellationToken?: CancellationToken): Task_1<System_Internal.String>;
|
|
1638
|
+
static readLines(path: string, encoding: Encoding): IEnumerable_1<System_Internal.String>;
|
|
1639
|
+
static readLines(path: string): IEnumerable_1<System_Internal.String>;
|
|
1640
|
+
static readLinesAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): IAsyncEnumerable_1<System_Internal.String>;
|
|
1641
|
+
static readLinesAsync(path: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<System_Internal.String>;
|
|
1667
1642
|
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string, ignoreMetadataErrors: boolean): void;
|
|
1668
1643
|
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string): void;
|
|
1669
1644
|
static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
|
|
@@ -1684,21 +1659,21 @@ export abstract class File$instance {
|
|
|
1684
1659
|
static setUnixFileMode(fileHandle: SafeFileHandle, mode: UnixFileMode): void;
|
|
1685
1660
|
static setUnixFileMode(path: string, mode: UnixFileMode): void;
|
|
1686
1661
|
static writeAllBytes(path: string, bytes: byte[]): void;
|
|
1687
|
-
static writeAllBytes(path: string, bytes: ReadOnlySpan_1<
|
|
1662
|
+
static writeAllBytes(path: string, bytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1688
1663
|
static writeAllBytesAsync(path: string, bytes: byte[], cancellationToken?: CancellationToken): Task;
|
|
1689
|
-
static writeAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<
|
|
1690
|
-
static writeAllLines(path: string, contents: IEnumerable_1<
|
|
1691
|
-
static writeAllLines(path: string, contents: IEnumerable_1<
|
|
1664
|
+
static writeAllBytesAsync(path: string, bytes: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): Task;
|
|
1665
|
+
static writeAllLines(path: string, contents: IEnumerable_1<System_Internal.String>, encoding: Encoding): void;
|
|
1666
|
+
static writeAllLines(path: string, contents: IEnumerable_1<System_Internal.String>): void;
|
|
1692
1667
|
static writeAllLines(path: string, contents: string[], encoding: Encoding): void;
|
|
1693
1668
|
static writeAllLines(path: string, contents: string[]): void;
|
|
1694
|
-
static writeAllLinesAsync(path: string, contents: IEnumerable_1<
|
|
1695
|
-
static writeAllLinesAsync(path: string, contents: IEnumerable_1<
|
|
1696
|
-
static writeAllText(path: string, contents: ReadOnlySpan_1<
|
|
1697
|
-
static writeAllText(path: string, contents: ReadOnlySpan_1<
|
|
1669
|
+
static writeAllLinesAsync(path: string, contents: IEnumerable_1<System_Internal.String>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1670
|
+
static writeAllLinesAsync(path: string, contents: IEnumerable_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
1671
|
+
static writeAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>, encoding: Encoding): void;
|
|
1672
|
+
static writeAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1698
1673
|
static writeAllText(path: string, contents: string, encoding: Encoding): void;
|
|
1699
1674
|
static writeAllText(path: string, contents: string): void;
|
|
1700
|
-
static writeAllTextAsync(path: string, contents: ReadOnlyMemory_1<
|
|
1701
|
-
static writeAllTextAsync(path: string, contents: ReadOnlyMemory_1<
|
|
1675
|
+
static writeAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1676
|
+
static writeAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1702
1677
|
static writeAllTextAsync(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1703
1678
|
static writeAllTextAsync(path: string, contents: string, cancellationToken?: CancellationToken): Task;
|
|
1704
1679
|
}
|
|
@@ -1730,50 +1705,50 @@ export abstract class Path$instance {
|
|
|
1730
1705
|
static readonly pathSeparator: char;
|
|
1731
1706
|
static readonly invalidPathChars: char[];
|
|
1732
1707
|
static changeExtension(path: string, extension: string): string;
|
|
1733
|
-
static combine(paths: ReadOnlySpan_1<
|
|
1708
|
+
static combine(paths: ReadOnlySpan_1<System_Internal.String>): string;
|
|
1734
1709
|
static combine(path1: string, path2: string, path3: string, path4: string): string;
|
|
1735
1710
|
static combine(path1: string, path2: string, path3: string): string;
|
|
1736
1711
|
static combine(path1: string, path2: string): string;
|
|
1737
1712
|
static combine(...paths: string[]): string;
|
|
1738
|
-
static endsInDirectorySeparator(path: ReadOnlySpan_1<
|
|
1713
|
+
static endsInDirectorySeparator(path: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
1739
1714
|
static endsInDirectorySeparator(path: string): boolean;
|
|
1740
1715
|
static exists(path: string): boolean;
|
|
1741
|
-
static getDirectoryName(path: ReadOnlySpan_1<
|
|
1716
|
+
static getDirectoryName(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1742
1717
|
static getDirectoryName(path: string): string;
|
|
1743
|
-
static getExtension(path: ReadOnlySpan_1<
|
|
1718
|
+
static getExtension(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1744
1719
|
static getExtension(path: string): string;
|
|
1745
|
-
static getFileName(path: ReadOnlySpan_1<
|
|
1720
|
+
static getFileName(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1746
1721
|
static getFileName(path: string): string;
|
|
1747
|
-
static getFileNameWithoutExtension(path: ReadOnlySpan_1<
|
|
1722
|
+
static getFileNameWithoutExtension(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1748
1723
|
static getFileNameWithoutExtension(path: string): string;
|
|
1749
1724
|
static getFullPath(path: string, basePath: string): string;
|
|
1750
1725
|
static getFullPath(path: string): string;
|
|
1751
1726
|
static getInvalidFileNameChars(): char[];
|
|
1752
1727
|
static getInvalidPathChars(): char[];
|
|
1753
|
-
static getPathRoot(path: ReadOnlySpan_1<
|
|
1728
|
+
static getPathRoot(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1754
1729
|
static getPathRoot(path: string): string;
|
|
1755
1730
|
static getRandomFileName(): string;
|
|
1756
1731
|
static getRelativePath(relativeTo: string, path: string): string;
|
|
1757
1732
|
static getTempFileName(): string;
|
|
1758
1733
|
static getTempPath(): string;
|
|
1759
|
-
static hasExtension(path: ReadOnlySpan_1<
|
|
1734
|
+
static hasExtension(path: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
1760
1735
|
static hasExtension(path: string): boolean;
|
|
1761
|
-
static isPathFullyQualified(path: ReadOnlySpan_1<
|
|
1736
|
+
static isPathFullyQualified(path: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
1762
1737
|
static isPathFullyQualified(path: string): boolean;
|
|
1763
|
-
static isPathRooted(path: ReadOnlySpan_1<
|
|
1738
|
+
static isPathRooted(path: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
1764
1739
|
static isPathRooted(path: string): boolean;
|
|
1765
|
-
static join(path1: ReadOnlySpan_1<
|
|
1766
|
-
static join(path1: ReadOnlySpan_1<
|
|
1767
|
-
static join(path1: ReadOnlySpan_1<
|
|
1768
|
-
static join(paths: ReadOnlySpan_1<
|
|
1740
|
+
static join(path1: ReadOnlySpan_1<System_Internal.Char>, path2: ReadOnlySpan_1<System_Internal.Char>, path3: ReadOnlySpan_1<System_Internal.Char>, path4: ReadOnlySpan_1<System_Internal.Char>): string;
|
|
1741
|
+
static join(path1: ReadOnlySpan_1<System_Internal.Char>, path2: ReadOnlySpan_1<System_Internal.Char>, path3: ReadOnlySpan_1<System_Internal.Char>): string;
|
|
1742
|
+
static join(path1: ReadOnlySpan_1<System_Internal.Char>, path2: ReadOnlySpan_1<System_Internal.Char>): string;
|
|
1743
|
+
static join(paths: ReadOnlySpan_1<System_Internal.String>): string;
|
|
1769
1744
|
static join(path1: string, path2: string, path3: string, path4: string): string;
|
|
1770
1745
|
static join(path1: string, path2: string, path3: string): string;
|
|
1771
1746
|
static join(path1: string, path2: string): string;
|
|
1772
1747
|
static join(...paths: string[]): string;
|
|
1773
|
-
static trimEndingDirectorySeparator(path: ReadOnlySpan_1<
|
|
1748
|
+
static trimEndingDirectorySeparator(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1774
1749
|
static trimEndingDirectorySeparator(path: string): string;
|
|
1775
|
-
static tryJoin(path1: ReadOnlySpan_1<
|
|
1776
|
-
static tryJoin(path1: ReadOnlySpan_1<
|
|
1750
|
+
static tryJoin(path1: ReadOnlySpan_1<System_Internal.Char>, path2: ReadOnlySpan_1<System_Internal.Char>, path3: ReadOnlySpan_1<System_Internal.Char>, destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
1751
|
+
static tryJoin(path1: ReadOnlySpan_1<System_Internal.Char>, path2: ReadOnlySpan_1<System_Internal.Char>, destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
1777
1752
|
}
|
|
1778
1753
|
|
|
1779
1754
|
|
|
@@ -1782,15 +1757,15 @@ export type Path = Path$instance;
|
|
|
1782
1757
|
export abstract class RandomAccess$instance {
|
|
1783
1758
|
static flushToDisk(handle: SafeFileHandle): void;
|
|
1784
1759
|
static getLength(handle: SafeFileHandle): long;
|
|
1785
|
-
static read(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<
|
|
1786
|
-
static read(handle: SafeFileHandle, buffer: Span_1<
|
|
1787
|
-
static readAsync(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<
|
|
1788
|
-
static readAsync(handle: SafeFileHandle, buffer: Memory_1<
|
|
1760
|
+
static read(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<System_Internal.Byte>>, fileOffset: long): long;
|
|
1761
|
+
static read(handle: SafeFileHandle, buffer: Span_1<System_Internal.Byte>, fileOffset: long): int;
|
|
1762
|
+
static readAsync(handle: SafeFileHandle, buffers: IReadOnlyList_1<Memory_1<System_Internal.Byte>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int64>;
|
|
1763
|
+
static readAsync(handle: SafeFileHandle, buffer: Memory_1<System_Internal.Byte>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1789
1764
|
static setLength(handle: SafeFileHandle, length: long): void;
|
|
1790
|
-
static write(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<
|
|
1791
|
-
static write(handle: SafeFileHandle, buffer: ReadOnlySpan_1<
|
|
1792
|
-
static writeAsync(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<
|
|
1793
|
-
static writeAsync(handle: SafeFileHandle, buffer: ReadOnlyMemory_1<
|
|
1765
|
+
static write(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<System_Internal.Byte>>, fileOffset: long): void;
|
|
1766
|
+
static write(handle: SafeFileHandle, buffer: ReadOnlySpan_1<System_Internal.Byte>, fileOffset: long): void;
|
|
1767
|
+
static writeAsync(handle: SafeFileHandle, buffers: IReadOnlyList_1<ReadOnlyMemory_1<System_Internal.Byte>>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask;
|
|
1768
|
+
static writeAsync(handle: SafeFileHandle, buffer: ReadOnlyMemory_1<System_Internal.Byte>, fileOffset: long, cancellationToken?: CancellationToken): ValueTask;
|
|
1794
1769
|
}
|
|
1795
1770
|
|
|
1796
1771
|
|