@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
|
@@ -1513,7 +1513,13 @@
|
|
|
1513
1513
|
"parameterCount": 1,
|
|
1514
1514
|
"declaringClrType": "System.Threading.Channels.ChannelReader\u00601",
|
|
1515
1515
|
"declaringAssemblyName": "System.Threading.Channels",
|
|
1516
|
-
"isExtensionMethod": false
|
|
1516
|
+
"isExtensionMethod": false,
|
|
1517
|
+
"parameterModifiers": [
|
|
1518
|
+
{
|
|
1519
|
+
"index": 0,
|
|
1520
|
+
"modifier": "out"
|
|
1521
|
+
}
|
|
1522
|
+
]
|
|
1517
1523
|
},
|
|
1518
1524
|
{
|
|
1519
1525
|
"stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::TryPeek(T\u0026):System.Boolean",
|
|
@@ -1527,7 +1533,13 @@
|
|
|
1527
1533
|
"parameterCount": 1,
|
|
1528
1534
|
"declaringClrType": "System.Threading.Channels.ChannelReader\u00601",
|
|
1529
1535
|
"declaringAssemblyName": "System.Threading.Channels",
|
|
1530
|
-
"isExtensionMethod": false
|
|
1536
|
+
"isExtensionMethod": false,
|
|
1537
|
+
"parameterModifiers": [
|
|
1538
|
+
{
|
|
1539
|
+
"index": 0,
|
|
1540
|
+
"modifier": "out"
|
|
1541
|
+
}
|
|
1542
|
+
]
|
|
1531
1543
|
},
|
|
1532
1544
|
{
|
|
1533
1545
|
"stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::WaitToReadAsync(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Boolean,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
@@ -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 { IAsyncEnumerable_1, IComparer_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -19,31 +19,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
19
19
|
import * as System_Internal from "../../System/internal/index.js";
|
|
20
20
|
import type { Action_1, Boolean as ClrBoolean, Enum, Exception, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, InvalidOperationException, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, Void } from "../../System/internal/index.js";
|
|
21
21
|
|
|
22
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
23
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
24
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
25
|
-
export type CLROf<T> =
|
|
26
|
-
T extends sbyte ? System_Internal.SByte :
|
|
27
|
-
T extends short ? System_Internal.Int16 :
|
|
28
|
-
T extends int ? System_Internal.Int32 :
|
|
29
|
-
T extends long ? System_Internal.Int64 :
|
|
30
|
-
T extends int128 ? System_Internal.Int128 :
|
|
31
|
-
T extends nint ? System_Internal.IntPtr :
|
|
32
|
-
T extends byte ? System_Internal.Byte :
|
|
33
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
34
|
-
T extends uint ? System_Internal.UInt32 :
|
|
35
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
36
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
37
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
38
|
-
T extends half ? System_Internal.Half :
|
|
39
|
-
T extends float ? System_Internal.Single :
|
|
40
|
-
T extends double ? System_Internal.Double :
|
|
41
|
-
T extends decimal ? System_Internal.Decimal :
|
|
42
|
-
T extends char ? System_Internal.Char :
|
|
43
|
-
T extends boolean ? System_Internal.Boolean :
|
|
44
|
-
T extends string ? System_Internal.String :
|
|
45
|
-
T; // Identity fallback for non-primitive types
|
|
46
|
-
|
|
47
22
|
export enum BoundedChannelFullMode {
|
|
48
23
|
wait = 0,
|
|
49
24
|
dropNewest = 1,
|
|
@@ -127,9 +102,9 @@ export interface ChannelReader_1$instance<T> {
|
|
|
127
102
|
readonly count: int;
|
|
128
103
|
readAllAsync(cancellationToken?: CancellationToken): IAsyncEnumerable_1<T>;
|
|
129
104
|
readAsync(cancellationToken?: CancellationToken): ValueTask_1<T>;
|
|
130
|
-
tryPeek(item:
|
|
131
|
-
tryRead(item:
|
|
132
|
-
waitToReadAsync(cancellationToken?: CancellationToken): ValueTask_1<
|
|
105
|
+
tryPeek(item: T): boolean;
|
|
106
|
+
tryRead(item: T): boolean;
|
|
107
|
+
waitToReadAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
|
|
133
108
|
}
|
|
134
109
|
|
|
135
110
|
|
|
@@ -143,7 +118,7 @@ export interface ChannelWriter_1$instance<T> {
|
|
|
143
118
|
complete(error?: Exception): void;
|
|
144
119
|
tryComplete(error?: Exception): boolean;
|
|
145
120
|
tryWrite(item: T): boolean;
|
|
146
|
-
waitToWriteAsync(cancellationToken?: CancellationToken): ValueTask_1<
|
|
121
|
+
waitToWriteAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
|
|
147
122
|
writeAsync(item: T, cancellationToken?: CancellationToken): ValueTask;
|
|
148
123
|
}
|
|
149
124
|
|
|
@@ -340,7 +340,13 @@
|
|
|
340
340
|
"isSealed": false,
|
|
341
341
|
"arity": 0,
|
|
342
342
|
"parameterCount": 1,
|
|
343
|
-
"isExtensionMethod": false
|
|
343
|
+
"isExtensionMethod": false,
|
|
344
|
+
"parameterModifiers": [
|
|
345
|
+
{
|
|
346
|
+
"index": 0,
|
|
347
|
+
"modifier": "out"
|
|
348
|
+
}
|
|
349
|
+
]
|
|
344
350
|
},
|
|
345
351
|
{
|
|
346
352
|
"stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::TryPeek(T\u0026):System.Boolean",
|
|
@@ -356,7 +362,13 @@
|
|
|
356
362
|
"isSealed": false,
|
|
357
363
|
"arity": 0,
|
|
358
364
|
"parameterCount": 1,
|
|
359
|
-
"isExtensionMethod": false
|
|
365
|
+
"isExtensionMethod": false,
|
|
366
|
+
"parameterModifiers": [
|
|
367
|
+
{
|
|
368
|
+
"index": 0,
|
|
369
|
+
"modifier": "out"
|
|
370
|
+
}
|
|
371
|
+
]
|
|
360
372
|
},
|
|
361
373
|
{
|
|
362
374
|
"stableId": "System.Threading.Channels:System.Threading.Channels.ChannelReader\u00601::WaitToReadAsync(System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1[[System.Boolean,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
@@ -19,31 +19,6 @@ import type { CancellationToken, WaitHandle } from "../../System.Threading/inter
|
|
|
19
19
|
import * as System_Internal from "../../System/internal/index.js";
|
|
20
20
|
import type { Action, Action_1, Action_2, Action_3, AggregateException, AsyncCallback, Boolean as ClrBoolean, Enum, EventArgs, EventHandler_1, Exception, Func_1, Func_2, Func_3, Func_4, Func_5, Func_6, IAsyncDisposable, IAsyncResult, IComparable, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, OperationCanceledException, ReadOnlySpan_1, String as ClrString, TimeProvider, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
|
|
21
21
|
|
|
22
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
23
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
24
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
25
|
-
export type CLROf<T> =
|
|
26
|
-
T extends sbyte ? System_Internal.SByte :
|
|
27
|
-
T extends short ? System_Internal.Int16 :
|
|
28
|
-
T extends int ? System_Internal.Int32 :
|
|
29
|
-
T extends long ? System_Internal.Int64 :
|
|
30
|
-
T extends int128 ? System_Internal.Int128 :
|
|
31
|
-
T extends nint ? System_Internal.IntPtr :
|
|
32
|
-
T extends byte ? System_Internal.Byte :
|
|
33
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
34
|
-
T extends uint ? System_Internal.UInt32 :
|
|
35
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
36
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
37
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
38
|
-
T extends half ? System_Internal.Half :
|
|
39
|
-
T extends float ? System_Internal.Single :
|
|
40
|
-
T extends double ? System_Internal.Double :
|
|
41
|
-
T extends decimal ? System_Internal.Decimal :
|
|
42
|
-
T extends char ? System_Internal.Char :
|
|
43
|
-
T extends boolean ? System_Internal.Boolean :
|
|
44
|
-
T extends string ? System_Internal.String :
|
|
45
|
-
T; // Identity fallback for non-primitive types
|
|
46
|
-
|
|
47
22
|
export enum ConfigureAwaitOptions {
|
|
48
23
|
none = 0,
|
|
49
24
|
continueOnCapturedContext = 1,
|
|
@@ -96,7 +71,7 @@ export enum TaskStatus {
|
|
|
96
71
|
|
|
97
72
|
export interface ParallelLoopResult$instance {
|
|
98
73
|
readonly isCompleted: boolean;
|
|
99
|
-
readonly lowestBreakIteration: Nullable_1<
|
|
74
|
+
readonly lowestBreakIteration: Nullable_1<System_Internal.Int64>;
|
|
100
75
|
}
|
|
101
76
|
|
|
102
77
|
|
|
@@ -199,7 +174,7 @@ export type ConcurrentExclusiveSchedulerPair = ConcurrentExclusiveSchedulerPair$
|
|
|
199
174
|
export interface ParallelLoopState$instance {
|
|
200
175
|
readonly isExceptional: boolean;
|
|
201
176
|
readonly isStopped: boolean;
|
|
202
|
-
readonly lowestBreakIteration: Nullable_1<
|
|
177
|
+
readonly lowestBreakIteration: Nullable_1<System_Internal.Int64>;
|
|
203
178
|
readonly shouldExitCurrentIteration: boolean;
|
|
204
179
|
break_(): void;
|
|
205
180
|
stop(): void;
|
|
@@ -288,7 +263,7 @@ export const Task: {
|
|
|
288
263
|
new(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken): Task$instance;
|
|
289
264
|
new(action: Action_1<unknown>, state: unknown, creationOptions: TaskCreationOptions): Task$instance;
|
|
290
265
|
new(action: Action_1<unknown>, state: unknown, cancellationToken: CancellationToken, creationOptions: TaskCreationOptions): Task$instance;
|
|
291
|
-
readonly currentId: Nullable_1<
|
|
266
|
+
readonly currentId: Nullable_1<System_Internal.Int32>;
|
|
292
267
|
readonly factory: TaskFactory;
|
|
293
268
|
readonly completedTask: Task;
|
|
294
269
|
delay(millisecondsDelay: int, cancellationToken: CancellationToken): Task;
|
|
@@ -702,35 +677,35 @@ export const UnobservedTaskExceptionEventArgs: {
|
|
|
702
677
|
export type UnobservedTaskExceptionEventArgs = UnobservedTaskExceptionEventArgs$instance;
|
|
703
678
|
|
|
704
679
|
export abstract class Parallel$instance {
|
|
705
|
-
static for_<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<
|
|
706
|
-
static for_(fromInclusive: int, toExclusive: int, body: Action_1<
|
|
707
|
-
static for_(fromInclusive: int, toExclusive: int, body: Action_2<
|
|
708
|
-
static for_<TLocal>(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<
|
|
709
|
-
static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<
|
|
710
|
-
static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<
|
|
711
|
-
static for_<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<
|
|
712
|
-
static for_(fromInclusive: long, toExclusive: long, body: Action_1<
|
|
713
|
-
static for_(fromInclusive: long, toExclusive: long, body: Action_2<
|
|
714
|
-
static for_<TLocal>(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<
|
|
715
|
-
static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<
|
|
716
|
-
static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<
|
|
680
|
+
static for_<TLocal>(fromInclusive: int, toExclusive: int, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int32, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
681
|
+
static for_(fromInclusive: int, toExclusive: int, body: Action_1<System_Internal.Int32>): ParallelLoopResult;
|
|
682
|
+
static for_(fromInclusive: int, toExclusive: int, body: Action_2<System_Internal.Int32, ParallelLoopState>): ParallelLoopResult;
|
|
683
|
+
static for_<TLocal>(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int32, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
684
|
+
static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_1<System_Internal.Int32>): ParallelLoopResult;
|
|
685
|
+
static for_(fromInclusive: int, toExclusive: int, parallelOptions: ParallelOptions, body: Action_2<System_Internal.Int32, ParallelLoopState>): ParallelLoopResult;
|
|
686
|
+
static for_<TLocal>(fromInclusive: long, toExclusive: long, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int64, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
687
|
+
static for_(fromInclusive: long, toExclusive: long, body: Action_1<System_Internal.Int64>): ParallelLoopResult;
|
|
688
|
+
static for_(fromInclusive: long, toExclusive: long, body: Action_2<System_Internal.Int64, ParallelLoopState>): ParallelLoopResult;
|
|
689
|
+
static for_<TLocal>(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<System_Internal.Int64, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
690
|
+
static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_1<System_Internal.Int64>): ParallelLoopResult;
|
|
691
|
+
static for_(fromInclusive: long, toExclusive: long, parallelOptions: ParallelOptions, body: Action_2<System_Internal.Int64, ParallelLoopState>): ParallelLoopResult;
|
|
717
692
|
static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, body: Func_3<T, CancellationToken, ValueTask>): Task;
|
|
718
693
|
static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, cancellationToken: CancellationToken, body: Func_3<T, CancellationToken, ValueTask>): Task;
|
|
719
694
|
static forAsync<T extends IBinaryInteger_1<T>>(fromInclusive: T, toExclusive: T, parallelOptions: ParallelOptions, body: Func_3<T, CancellationToken, ValueTask>): Task;
|
|
720
695
|
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
|
|
721
696
|
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
722
|
-
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState,
|
|
697
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
|
|
723
698
|
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
724
|
-
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState,
|
|
699
|
+
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
725
700
|
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_1<TSource>): ParallelLoopResult;
|
|
726
701
|
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
727
|
-
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState,
|
|
702
|
+
static forEach<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
|
|
728
703
|
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
729
|
-
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState,
|
|
730
|
-
static forEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState,
|
|
731
|
-
static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState,
|
|
732
|
-
static forEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState,
|
|
733
|
-
static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState,
|
|
704
|
+
static forEach<TSource, TLocal>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
705
|
+
static forEach<TSource>(source: OrderablePartitioner_1<TSource>, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
|
|
706
|
+
static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
707
|
+
static forEach<TSource>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, body: Action_3<TSource, ParallelLoopState, System_Internal.Int64>): ParallelLoopResult;
|
|
708
|
+
static forEach<TSource, TLocal>(source: OrderablePartitioner_1<TSource>, parallelOptions: ParallelOptions, localInit: Func_1<TLocal>, body: Func_5<TSource, ParallelLoopState, System_Internal.Int64, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|
|
734
709
|
static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_1<TSource>): ParallelLoopResult;
|
|
735
710
|
static forEach<TSource>(source: Partitioner_1<TSource>, body: Action_2<TSource, ParallelLoopState>): ParallelLoopResult;
|
|
736
711
|
static forEach<TSource, TLocal>(source: Partitioner_1<TSource>, localInit: Func_1<TLocal>, body: Func_4<TSource, ParallelLoopState, TLocal, TLocal>, localFinally: Action_1<TLocal>): ParallelLoopResult;
|