@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 * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -22,49 +22,24 @@ import type { ISerializable, SerializationInfo, StreamingContext } from "../../S
|
|
|
22
22
|
import * as System_Internal from "../../System/internal/index.js";
|
|
23
23
|
import type { AsyncCallback, Boolean as ClrBoolean, Char, DateTimeOffset, Delegate, IAsyncResult, ICloneable, IDisposable, Int32, Int64, IntPtr, MulticastDelegate, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export type
|
|
29
|
-
T extends sbyte ? System_Internal.SByte :
|
|
30
|
-
T extends short ? System_Internal.Int16 :
|
|
31
|
-
T extends int ? System_Internal.Int32 :
|
|
32
|
-
T extends long ? System_Internal.Int64 :
|
|
33
|
-
T extends int128 ? System_Internal.Int128 :
|
|
34
|
-
T extends nint ? System_Internal.IntPtr :
|
|
35
|
-
T extends byte ? System_Internal.Byte :
|
|
36
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
37
|
-
T extends uint ? System_Internal.UInt32 :
|
|
38
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
39
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
40
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
41
|
-
T extends half ? System_Internal.Half :
|
|
42
|
-
T extends float ? System_Internal.Single :
|
|
43
|
-
T extends double ? System_Internal.Double :
|
|
44
|
-
T extends decimal ? System_Internal.Decimal :
|
|
45
|
-
T extends char ? System_Internal.Char :
|
|
46
|
-
T extends boolean ? System_Internal.Boolean :
|
|
47
|
-
T extends string ? System_Internal.String :
|
|
48
|
-
T; // Identity fallback for non-primitive types
|
|
49
|
-
|
|
50
|
-
export type FileSystemEnumerable_1_FindPredicate<TResult> = (entry: ref<FileSystemEntry>) => boolean;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
export type FileSystemEnumerable_1_FindTransform<TResult> = (entry: ref<FileSystemEntry>) => TResult;
|
|
25
|
+
export type FileSystemEnumerable_1_FindPredicate<TResult> = (entry: FileSystemEntry) => boolean;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
export type FileSystemEnumerable_1_FindTransform<TResult> = (entry: FileSystemEntry) => TResult;
|
|
54
29
|
|
|
55
30
|
|
|
56
31
|
export interface FileSystemEntry$instance {
|
|
57
32
|
readonly attributes: FileAttributes;
|
|
58
33
|
readonly creationTimeUtc: DateTimeOffset;
|
|
59
|
-
readonly directory: ReadOnlySpan_1<
|
|
60
|
-
readonly fileName: ReadOnlySpan_1<
|
|
34
|
+
readonly directory: ReadOnlySpan_1<System_Internal.Char>;
|
|
35
|
+
readonly fileName: ReadOnlySpan_1<System_Internal.Char>;
|
|
61
36
|
readonly isDirectory: boolean;
|
|
62
37
|
readonly isHidden: boolean;
|
|
63
38
|
readonly lastAccessTimeUtc: DateTimeOffset;
|
|
64
39
|
readonly lastWriteTimeUtc: DateTimeOffset;
|
|
65
40
|
readonly length: long;
|
|
66
|
-
readonly originalRootDirectory: ReadOnlySpan_1<
|
|
67
|
-
readonly rootDirectory: ReadOnlySpan_1<
|
|
41
|
+
readonly originalRootDirectory: ReadOnlySpan_1<System_Internal.Char>;
|
|
42
|
+
readonly rootDirectory: ReadOnlySpan_1<System_Internal.Char>;
|
|
68
43
|
toFileSystemInfo(): FileSystemInfo;
|
|
69
44
|
toFullPath(): string;
|
|
70
45
|
toSpecifiedFullPath(): string;
|
|
@@ -120,8 +95,8 @@ export type FileSystemEnumerator_1<TResult> = FileSystemEnumerator_1$instance<TR
|
|
|
120
95
|
|
|
121
96
|
|
|
122
97
|
export abstract class FileSystemName$instance {
|
|
123
|
-
static matchesSimpleExpression(expression: ReadOnlySpan_1<
|
|
124
|
-
static matchesWin32Expression(expression: ReadOnlySpan_1<
|
|
98
|
+
static matchesSimpleExpression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
|
|
99
|
+
static matchesWin32Expression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
|
|
125
100
|
static translateWin32Expression(expression: string): string;
|
|
126
101
|
}
|
|
127
102
|
|
|
@@ -29,7 +29,13 @@
|
|
|
29
29
|
"isSealed": false,
|
|
30
30
|
"arity": 0,
|
|
31
31
|
"parameterCount": 1,
|
|
32
|
-
"isExtensionMethod": false
|
|
32
|
+
"isExtensionMethod": false,
|
|
33
|
+
"parameterModifiers": [
|
|
34
|
+
{
|
|
35
|
+
"index": 0,
|
|
36
|
+
"modifier": "ref"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
33
39
|
},
|
|
34
40
|
{
|
|
35
41
|
"stableId": "System.Private.CoreLib:System.IO.Enumeration.FileSystemEnumerable\u00601\u002BFindPredicate::BeginInvoke(System.IO.Enumeration.FileSystemEntry\u0026,System.AsyncCallback,System.Object):System.IAsyncResult",
|
|
@@ -45,7 +51,13 @@
|
|
|
45
51
|
"isSealed": false,
|
|
46
52
|
"arity": 0,
|
|
47
53
|
"parameterCount": 3,
|
|
48
|
-
"isExtensionMethod": false
|
|
54
|
+
"isExtensionMethod": false,
|
|
55
|
+
"parameterModifiers": [
|
|
56
|
+
{
|
|
57
|
+
"index": 0,
|
|
58
|
+
"modifier": "ref"
|
|
59
|
+
}
|
|
60
|
+
]
|
|
49
61
|
},
|
|
50
62
|
{
|
|
51
63
|
"stableId": "System.Private.CoreLib:System.IO.Enumeration.FileSystemEnumerable\u00601\u002BFindPredicate::EndInvoke(System.IO.Enumeration.FileSystemEntry\u0026,System.IAsyncResult):System.Boolean",
|
|
@@ -61,7 +73,13 @@
|
|
|
61
73
|
"isSealed": false,
|
|
62
74
|
"arity": 0,
|
|
63
75
|
"parameterCount": 2,
|
|
64
|
-
"isExtensionMethod": false
|
|
76
|
+
"isExtensionMethod": false,
|
|
77
|
+
"parameterModifiers": [
|
|
78
|
+
{
|
|
79
|
+
"index": 0,
|
|
80
|
+
"modifier": "ref"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
65
83
|
}
|
|
66
84
|
],
|
|
67
85
|
"properties": [],
|
|
@@ -100,7 +118,13 @@
|
|
|
100
118
|
"isSealed": false,
|
|
101
119
|
"arity": 0,
|
|
102
120
|
"parameterCount": 1,
|
|
103
|
-
"isExtensionMethod": false
|
|
121
|
+
"isExtensionMethod": false,
|
|
122
|
+
"parameterModifiers": [
|
|
123
|
+
{
|
|
124
|
+
"index": 0,
|
|
125
|
+
"modifier": "ref"
|
|
126
|
+
}
|
|
127
|
+
]
|
|
104
128
|
},
|
|
105
129
|
{
|
|
106
130
|
"stableId": "System.Private.CoreLib:System.IO.Enumeration.FileSystemEnumerable\u00601\u002BFindTransform::BeginInvoke(System.IO.Enumeration.FileSystemEntry\u0026,System.AsyncCallback,System.Object):System.IAsyncResult",
|
|
@@ -116,7 +140,13 @@
|
|
|
116
140
|
"isSealed": false,
|
|
117
141
|
"arity": 0,
|
|
118
142
|
"parameterCount": 3,
|
|
119
|
-
"isExtensionMethod": false
|
|
143
|
+
"isExtensionMethod": false,
|
|
144
|
+
"parameterModifiers": [
|
|
145
|
+
{
|
|
146
|
+
"index": 0,
|
|
147
|
+
"modifier": "ref"
|
|
148
|
+
}
|
|
149
|
+
]
|
|
120
150
|
},
|
|
121
151
|
{
|
|
122
152
|
"stableId": "System.Private.CoreLib:System.IO.Enumeration.FileSystemEnumerable\u00601\u002BFindTransform::EndInvoke(System.IO.Enumeration.FileSystemEntry\u0026,System.IAsyncResult):TResult",
|
|
@@ -132,7 +162,13 @@
|
|
|
132
162
|
"isSealed": false,
|
|
133
163
|
"arity": 0,
|
|
134
164
|
"parameterCount": 2,
|
|
135
|
-
"isExtensionMethod": false
|
|
165
|
+
"isExtensionMethod": false,
|
|
166
|
+
"parameterModifiers": [
|
|
167
|
+
{
|
|
168
|
+
"index": 0,
|
|
169
|
+
"modifier": "ref"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
136
172
|
}
|
|
137
173
|
],
|
|
138
174
|
"properties": [],
|
|
@@ -18,31 +18,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
18
18
|
import * as System_Internal from "../../System/internal/index.js";
|
|
19
19
|
import type { AsyncCallback, Boolean as ClrBoolean, Byte, DateTimeOffset, Enum, Exception, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, MarshalByRefObject, Memory_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, Type, TypeCode, UInt64, Void } from "../../System/internal/index.js";
|
|
20
20
|
|
|
21
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
22
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
23
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
24
|
-
export type CLROf<T> =
|
|
25
|
-
T extends sbyte ? System_Internal.SByte :
|
|
26
|
-
T extends short ? System_Internal.Int16 :
|
|
27
|
-
T extends int ? System_Internal.Int32 :
|
|
28
|
-
T extends long ? System_Internal.Int64 :
|
|
29
|
-
T extends int128 ? System_Internal.Int128 :
|
|
30
|
-
T extends nint ? System_Internal.IntPtr :
|
|
31
|
-
T extends byte ? System_Internal.Byte :
|
|
32
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
33
|
-
T extends uint ? System_Internal.UInt32 :
|
|
34
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
35
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
36
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
37
|
-
T extends half ? System_Internal.Half :
|
|
38
|
-
T extends float ? System_Internal.Single :
|
|
39
|
-
T extends double ? System_Internal.Double :
|
|
40
|
-
T extends decimal ? System_Internal.Decimal :
|
|
41
|
-
T extends char ? System_Internal.Char :
|
|
42
|
-
T extends boolean ? System_Internal.Boolean :
|
|
43
|
-
T extends string ? System_Internal.String :
|
|
44
|
-
T; // Identity fallback for non-primitive types
|
|
45
|
-
|
|
46
21
|
export enum IsolatedStorageScope {
|
|
47
22
|
none = 0,
|
|
48
23
|
user = 1,
|
|
@@ -183,23 +158,23 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
|
|
|
183
158
|
flushAsync(): Task;
|
|
184
159
|
lock(position: long, length: long): void;
|
|
185
160
|
read(buffer: byte[], offset: int, count: int): int;
|
|
186
|
-
read(buffer: Span_1<
|
|
187
|
-
read(buffer: Span_1<
|
|
188
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
189
|
-
readAsync(buffer: Memory_1<
|
|
190
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
191
|
-
readAsync(buffer: Memory_1<
|
|
192
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
161
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
162
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
163
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
164
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
165
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
166
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
167
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
193
168
|
readByte(): int;
|
|
194
169
|
seek(offset: long, origin: SeekOrigin): long;
|
|
195
170
|
setLength(value: long): void;
|
|
196
171
|
unlock(position: long, length: long): void;
|
|
197
172
|
write(buffer: byte[], offset: int, count: int): void;
|
|
198
|
-
write(buffer: ReadOnlySpan_1<
|
|
199
|
-
write(buffer: ReadOnlySpan_1<
|
|
173
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
174
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
200
175
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
201
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
202
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
176
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask;
|
|
177
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
203
178
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
204
179
|
writeByte(value: byte): void;
|
|
205
180
|
}
|
|
@@ -14,31 +14,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
14
14
|
import * as System_Internal from "../../System/internal/index.js";
|
|
15
15
|
import type { AsyncCallback, Boolean as ClrBoolean, Byte, Char, Decimal, Double, Enum, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int16, Int32, Int64, ISpanFormattable, Memory_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, SByte, Single, Span_1, String as ClrString, Type, TypeCode, UInt16, UInt32, UInt64, Void } from "../../System/internal/index.js";
|
|
16
16
|
|
|
17
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
18
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
19
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
20
|
-
export type CLROf<T> =
|
|
21
|
-
T extends sbyte ? System_Internal.SByte :
|
|
22
|
-
T extends short ? System_Internal.Int16 :
|
|
23
|
-
T extends int ? System_Internal.Int32 :
|
|
24
|
-
T extends long ? System_Internal.Int64 :
|
|
25
|
-
T extends int128 ? System_Internal.Int128 :
|
|
26
|
-
T extends nint ? System_Internal.IntPtr :
|
|
27
|
-
T extends byte ? System_Internal.Byte :
|
|
28
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
29
|
-
T extends uint ? System_Internal.UInt32 :
|
|
30
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
31
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
32
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
33
|
-
T extends half ? System_Internal.Half :
|
|
34
|
-
T extends float ? System_Internal.Single :
|
|
35
|
-
T extends double ? System_Internal.Double :
|
|
36
|
-
T extends decimal ? System_Internal.Decimal :
|
|
37
|
-
T extends char ? System_Internal.Char :
|
|
38
|
-
T extends boolean ? System_Internal.Boolean :
|
|
39
|
-
T extends string ? System_Internal.String :
|
|
40
|
-
T; // Identity fallback for non-primitive types
|
|
41
|
-
|
|
42
17
|
export enum MemoryMappedFileAccess {
|
|
43
18
|
readWrite = 0,
|
|
44
19
|
read = 1,
|
|
@@ -883,7 +883,13 @@
|
|
|
883
883
|
"parameterCount": 1,
|
|
884
884
|
"declaringClrType": "System.IO.Pipelines.PipeReader",
|
|
885
885
|
"declaringAssemblyName": "System.IO.Pipelines",
|
|
886
|
-
"isExtensionMethod": false
|
|
886
|
+
"isExtensionMethod": false,
|
|
887
|
+
"parameterModifiers": [
|
|
888
|
+
{
|
|
889
|
+
"index": 0,
|
|
890
|
+
"modifier": "out"
|
|
891
|
+
}
|
|
892
|
+
]
|
|
887
893
|
},
|
|
888
894
|
{
|
|
889
895
|
"stableId": "System.IO.Pipelines:System.IO.Pipelines.PipeReader::ReadAsync(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.IO.Pipelines.ReadResult,System.IO.Pipelines,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]]",
|
|
@@ -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 * as System_Buffers_Internal from "../../System.Buffers/internal/index.js";
|
|
@@ -17,31 +17,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
17
17
|
import * as System_Internal from "../../System/internal/index.js";
|
|
18
18
|
import type { Action_1, Action_2, Boolean as ClrBoolean, Byte, Exception, Int32, Int64, Memory_1, Object as ClrObject, ReadOnlyMemory_1, SequencePosition, Span_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
|
|
19
19
|
|
|
20
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
21
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
22
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
23
|
-
export type CLROf<T> =
|
|
24
|
-
T extends sbyte ? System_Internal.SByte :
|
|
25
|
-
T extends short ? System_Internal.Int16 :
|
|
26
|
-
T extends int ? System_Internal.Int32 :
|
|
27
|
-
T extends long ? System_Internal.Int64 :
|
|
28
|
-
T extends int128 ? System_Internal.Int128 :
|
|
29
|
-
T extends nint ? System_Internal.IntPtr :
|
|
30
|
-
T extends byte ? System_Internal.Byte :
|
|
31
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
32
|
-
T extends uint ? System_Internal.UInt32 :
|
|
33
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
34
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
35
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
36
|
-
T extends half ? System_Internal.Half :
|
|
37
|
-
T extends float ? System_Internal.Single :
|
|
38
|
-
T extends double ? System_Internal.Double :
|
|
39
|
-
T extends decimal ? System_Internal.Decimal :
|
|
40
|
-
T extends char ? System_Internal.Char :
|
|
41
|
-
T extends boolean ? System_Internal.Boolean :
|
|
42
|
-
T extends string ? System_Internal.String :
|
|
43
|
-
T; // Identity fallback for non-primitive types
|
|
44
|
-
|
|
45
20
|
export interface IDuplexPipe$instance {
|
|
46
21
|
readonly input: PipeReader;
|
|
47
22
|
readonly output: PipeWriter;
|
|
@@ -64,14 +39,14 @@ export const FlushResult: {
|
|
|
64
39
|
export type FlushResult = FlushResult$instance;
|
|
65
40
|
|
|
66
41
|
export interface ReadResult$instance {
|
|
67
|
-
readonly buffer: ReadOnlySequence_1<
|
|
42
|
+
readonly buffer: ReadOnlySequence_1<System_Internal.Byte>;
|
|
68
43
|
readonly isCanceled: boolean;
|
|
69
44
|
readonly isCompleted: boolean;
|
|
70
45
|
}
|
|
71
46
|
|
|
72
47
|
|
|
73
48
|
export const ReadResult: {
|
|
74
|
-
new(buffer: ReadOnlySequence_1<
|
|
49
|
+
new(buffer: ReadOnlySequence_1<System_Internal.Byte>, isCanceled: boolean, isCompleted: boolean): ReadResult$instance;
|
|
75
50
|
};
|
|
76
51
|
|
|
77
52
|
|
|
@@ -95,7 +70,7 @@ export type Pipe = Pipe$instance;
|
|
|
95
70
|
export interface PipeOptions$instance {
|
|
96
71
|
readonly minimumSegmentSize: int;
|
|
97
72
|
readonly pauseWriterThreshold: long;
|
|
98
|
-
readonly pool: MemoryPool_1<
|
|
73
|
+
readonly pool: MemoryPool_1<System_Internal.Byte>;
|
|
99
74
|
readonly readerScheduler: PipeScheduler;
|
|
100
75
|
readonly resumeWriterThreshold: long;
|
|
101
76
|
readonly useSynchronizationContext: boolean;
|
|
@@ -104,7 +79,7 @@ export interface PipeOptions$instance {
|
|
|
104
79
|
|
|
105
80
|
|
|
106
81
|
export const PipeOptions: {
|
|
107
|
-
new(pool: MemoryPool_1<
|
|
82
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, readerScheduler: PipeScheduler, writerScheduler: PipeScheduler, pauseWriterThreshold: long, resumeWriterThreshold: long, minimumSegmentSize: int, useSynchronizationContext: boolean): PipeOptions$instance;
|
|
108
83
|
readonly default_: PipeOptions;
|
|
109
84
|
};
|
|
110
85
|
|
|
@@ -123,12 +98,12 @@ export interface PipeReader$instance {
|
|
|
123
98
|
onWriterCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
|
|
124
99
|
readAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
125
100
|
readAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
126
|
-
tryRead(result:
|
|
101
|
+
tryRead(result: ReadResult): boolean;
|
|
127
102
|
}
|
|
128
103
|
|
|
129
104
|
|
|
130
105
|
export const PipeReader: {
|
|
131
|
-
create(sequence: ReadOnlySequence_1<
|
|
106
|
+
create(sequence: ReadOnlySequence_1<System_Internal.Byte>): PipeReader;
|
|
132
107
|
create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
|
|
133
108
|
};
|
|
134
109
|
|
|
@@ -157,10 +132,10 @@ export interface PipeWriter$instance {
|
|
|
157
132
|
complete(exception?: Exception): void;
|
|
158
133
|
completeAsync(exception?: Exception): ValueTask;
|
|
159
134
|
flushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
160
|
-
getMemory(sizeHint?: int): Memory_1<
|
|
161
|
-
getSpan(sizeHint?: int): Span_1<
|
|
135
|
+
getMemory(sizeHint?: int): Memory_1<System_Internal.Byte>;
|
|
136
|
+
getSpan(sizeHint?: int): Span_1<System_Internal.Byte>;
|
|
162
137
|
onReaderCompleted(callback: Action_2<Exception, unknown>, state: unknown): void;
|
|
163
|
-
writeAsync(source: ReadOnlyMemory_1<
|
|
138
|
+
writeAsync(source: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
164
139
|
}
|
|
165
140
|
|
|
166
141
|
|
|
@@ -170,10 +145,10 @@ export const PipeWriter: {
|
|
|
170
145
|
|
|
171
146
|
|
|
172
147
|
export interface __PipeWriter$views {
|
|
173
|
-
As_IBufferWriter_1(): System_Buffers_Internal.IBufferWriter_1$instance<
|
|
148
|
+
As_IBufferWriter_1(): System_Buffers_Internal.IBufferWriter_1$instance<System_Internal.Byte>;
|
|
174
149
|
}
|
|
175
150
|
|
|
176
|
-
export interface PipeWriter$instance extends System_Buffers_Internal.IBufferWriter_1$instance<
|
|
151
|
+
export interface PipeWriter$instance extends System_Buffers_Internal.IBufferWriter_1$instance<System_Internal.Byte> {}
|
|
177
152
|
|
|
178
153
|
export type PipeWriter = PipeWriter$instance & __PipeWriter$views;
|
|
179
154
|
|
|
@@ -182,14 +157,14 @@ export interface StreamPipeReaderOptions$instance {
|
|
|
182
157
|
readonly bufferSize: int;
|
|
183
158
|
readonly leaveOpen: boolean;
|
|
184
159
|
readonly minimumReadSize: int;
|
|
185
|
-
readonly pool: MemoryPool_1<
|
|
160
|
+
readonly pool: MemoryPool_1<System_Internal.Byte>;
|
|
186
161
|
readonly useZeroByteReads: boolean;
|
|
187
162
|
}
|
|
188
163
|
|
|
189
164
|
|
|
190
165
|
export const StreamPipeReaderOptions: {
|
|
191
|
-
new(pool: MemoryPool_1<
|
|
192
|
-
new(pool: MemoryPool_1<
|
|
166
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean): StreamPipeReaderOptions$instance;
|
|
167
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, bufferSize: int, minimumReadSize: int, leaveOpen: boolean, useZeroByteReads: boolean): StreamPipeReaderOptions$instance;
|
|
193
168
|
};
|
|
194
169
|
|
|
195
170
|
|
|
@@ -198,12 +173,12 @@ export type StreamPipeReaderOptions = StreamPipeReaderOptions$instance;
|
|
|
198
173
|
export interface StreamPipeWriterOptions$instance {
|
|
199
174
|
readonly leaveOpen: boolean;
|
|
200
175
|
readonly minimumBufferSize: int;
|
|
201
|
-
readonly pool: MemoryPool_1<
|
|
176
|
+
readonly pool: MemoryPool_1<System_Internal.Byte>;
|
|
202
177
|
}
|
|
203
178
|
|
|
204
179
|
|
|
205
180
|
export const StreamPipeWriterOptions: {
|
|
206
|
-
new(pool: MemoryPool_1<
|
|
181
|
+
new(pool: MemoryPool_1<System_Internal.Byte>, minimumBufferSize: int, leaveOpen: boolean): StreamPipeWriterOptions$instance;
|
|
207
182
|
};
|
|
208
183
|
|
|
209
184
|
|
|
@@ -415,7 +415,13 @@
|
|
|
415
415
|
"isSealed": false,
|
|
416
416
|
"arity": 0,
|
|
417
417
|
"parameterCount": 1,
|
|
418
|
-
"isExtensionMethod": false
|
|
418
|
+
"isExtensionMethod": false,
|
|
419
|
+
"parameterModifiers": [
|
|
420
|
+
{
|
|
421
|
+
"index": 0,
|
|
422
|
+
"modifier": "out"
|
|
423
|
+
}
|
|
424
|
+
]
|
|
419
425
|
},
|
|
420
426
|
{
|
|
421
427
|
"stableId": "System.IO.Pipelines:System.IO.Pipelines.PipeReader::ReadAsync(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.IO.Pipelines.ReadResult,System.IO.Pipelines,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]]",
|
|
@@ -20,31 +20,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
20
20
|
import * as System_Internal from "../../System/internal/index.js";
|
|
21
21
|
import type { AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, Enum, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Memory_1, MulticastDelegate, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, Void } from "../../System/internal/index.js";
|
|
22
22
|
|
|
23
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
24
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
25
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
26
|
-
export type CLROf<T> =
|
|
27
|
-
T extends sbyte ? System_Internal.SByte :
|
|
28
|
-
T extends short ? System_Internal.Int16 :
|
|
29
|
-
T extends int ? System_Internal.Int32 :
|
|
30
|
-
T extends long ? System_Internal.Int64 :
|
|
31
|
-
T extends int128 ? System_Internal.Int128 :
|
|
32
|
-
T extends nint ? System_Internal.IntPtr :
|
|
33
|
-
T extends byte ? System_Internal.Byte :
|
|
34
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
35
|
-
T extends uint ? System_Internal.UInt32 :
|
|
36
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
37
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
38
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
39
|
-
T extends half ? System_Internal.Half :
|
|
40
|
-
T extends float ? System_Internal.Single :
|
|
41
|
-
T extends double ? System_Internal.Double :
|
|
42
|
-
T extends decimal ? System_Internal.Decimal :
|
|
43
|
-
T extends char ? System_Internal.Char :
|
|
44
|
-
T extends boolean ? System_Internal.Boolean :
|
|
45
|
-
T extends string ? System_Internal.String :
|
|
46
|
-
T; // Identity fallback for non-primitive types
|
|
47
|
-
|
|
48
23
|
export enum PipeAccessRights {
|
|
49
24
|
readData = 1,
|
|
50
25
|
writeData = 2,
|
|
@@ -291,24 +266,24 @@ export interface PipeStream$instance extends Stream {
|
|
|
291
266
|
flushAsync(cancellationToken: CancellationToken): Task;
|
|
292
267
|
flushAsync(): Task;
|
|
293
268
|
read(buffer: byte[], offset: int, count: int): int;
|
|
294
|
-
read(buffer: Span_1<
|
|
295
|
-
read(buffer: Span_1<
|
|
296
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
297
|
-
readAsync(buffer: Memory_1<
|
|
298
|
-
readAsync(buffer: byte[], offset: int, count: int): Task_1<
|
|
299
|
-
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<
|
|
300
|
-
readAsync(buffer: Memory_1<
|
|
269
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
270
|
+
read(buffer: Span_1<System_Internal.Byte>): int;
|
|
271
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
272
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
273
|
+
readAsync(buffer: byte[], offset: int, count: int): Task_1<System_Internal.Int32>;
|
|
274
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task_1<System_Internal.Int32>;
|
|
275
|
+
readAsync(buffer: Memory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
301
276
|
readByte(): int;
|
|
302
277
|
seek(offset: long, origin: SeekOrigin): long;
|
|
303
278
|
setLength(value: long): void;
|
|
304
279
|
waitForPipeDrain(): void;
|
|
305
280
|
write(buffer: byte[], offset: int, count: int): void;
|
|
306
|
-
write(buffer: ReadOnlySpan_1<
|
|
307
|
-
write(buffer: ReadOnlySpan_1<
|
|
281
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
282
|
+
write(buffer: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
308
283
|
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
309
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
284
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
310
285
|
writeAsync(buffer: byte[], offset: int, count: int): Task;
|
|
311
|
-
writeAsync(buffer: ReadOnlyMemory_1<
|
|
286
|
+
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
312
287
|
writeByte(value: byte): void;
|
|
313
288
|
}
|
|
314
289
|
|
|
@@ -8474,7 +8474,13 @@
|
|
|
8474
8474
|
"parameterCount": 2,
|
|
8475
8475
|
"declaringClrType": "System.Linq.Enumerable",
|
|
8476
8476
|
"declaringAssemblyName": "System.Linq",
|
|
8477
|
-
"isExtensionMethod": true
|
|
8477
|
+
"isExtensionMethod": true,
|
|
8478
|
+
"parameterModifiers": [
|
|
8479
|
+
{
|
|
8480
|
+
"index": 1,
|
|
8481
|
+
"modifier": "out"
|
|
8482
|
+
}
|
|
8483
|
+
]
|
|
8478
8484
|
},
|
|
8479
8485
|
{
|
|
8480
8486
|
"stableId": "System.Linq:System.Linq.Enumerable::LongCount(IEnumerable_1):System.Int64",
|