@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";
|
|
@@ -16,31 +16,6 @@ import type { ICollection, IComparer, IDictionary, IDictionaryEnumerator, IEnume
|
|
|
16
16
|
import * as System_Internal from "../../System/internal/index.js";
|
|
17
17
|
import type { Action_1, Array as ClrArray, Boolean as ClrBoolean, Comparison_1, Func_2, Func_3, IDisposable, IEquatable_1, Int32, Object as ClrObject, Predicate_1, Range, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
|
|
18
18
|
|
|
19
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
20
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
21
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
22
|
-
export type CLROf<T> =
|
|
23
|
-
T extends sbyte ? System_Internal.SByte :
|
|
24
|
-
T extends short ? System_Internal.Int16 :
|
|
25
|
-
T extends int ? System_Internal.Int32 :
|
|
26
|
-
T extends long ? System_Internal.Int64 :
|
|
27
|
-
T extends int128 ? System_Internal.Int128 :
|
|
28
|
-
T extends nint ? System_Internal.IntPtr :
|
|
29
|
-
T extends byte ? System_Internal.Byte :
|
|
30
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
31
|
-
T extends uint ? System_Internal.UInt32 :
|
|
32
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
33
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
34
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
35
|
-
T extends half ? System_Internal.Half :
|
|
36
|
-
T extends float ? System_Internal.Single :
|
|
37
|
-
T extends double ? System_Internal.Double :
|
|
38
|
-
T extends decimal ? System_Internal.Decimal :
|
|
39
|
-
T extends char ? System_Internal.Char :
|
|
40
|
-
T extends boolean ? System_Internal.Boolean :
|
|
41
|
-
T extends string ? System_Internal.String :
|
|
42
|
-
T; // Identity fallback for non-primitive types
|
|
43
|
-
|
|
44
19
|
export interface IImmutableDictionary_2$instance<TKey, TValue> extends IReadOnlyDictionary_2<TKey, TValue>, IEnumerable_1<KeyValuePair_2<TKey, TValue>>, IEnumerable, IReadOnlyCollection_1<KeyValuePair_2<TKey, TValue>> {
|
|
45
20
|
readonly item: TValue;
|
|
46
21
|
readonly keys: IEnumerable_1<TKey>;
|
|
@@ -54,8 +29,8 @@ export interface IImmutableDictionary_2$instance<TKey, TValue> extends IReadOnly
|
|
|
54
29
|
getEnumerator(): IEnumerator_1<KeyValuePair_2<TKey, TValue>>;
|
|
55
30
|
getEnumerator(): IEnumerator;
|
|
56
31
|
remove(key: TKey): IImmutableDictionary_2<TKey, TValue>;
|
|
57
|
-
tryGetKey(equalKey: TKey, actualKey:
|
|
58
|
-
tryGetValue(key: TKey, value:
|
|
32
|
+
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
33
|
+
tryGetValue(key: TKey, value: TValue): boolean;
|
|
59
34
|
getEnumerator2(): IEnumerator;
|
|
60
35
|
}
|
|
61
36
|
|
|
@@ -107,7 +82,7 @@ export interface IImmutableSet_1$instance<T> extends IReadOnlyCollection_1<T>, I
|
|
|
107
82
|
getEnumerator(): IEnumerator;
|
|
108
83
|
intersect(other: IEnumerable_1<T>): IImmutableSet_1<T>;
|
|
109
84
|
setEquals(other: IEnumerable_1<T>): boolean;
|
|
110
|
-
tryGetValue(equalValue: T, actualValue:
|
|
85
|
+
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
111
86
|
getEnumerator2(): IEnumerator;
|
|
112
87
|
}
|
|
113
88
|
|
|
@@ -168,7 +143,7 @@ export interface ImmutableArray_1$instance<T> {
|
|
|
168
143
|
insertRange(index: int, items: ImmutableArray_1<T>): ImmutableArray_1<T>;
|
|
169
144
|
insertRange(index: int, items: T[]): ImmutableArray_1<T>;
|
|
170
145
|
insertRange(index: int, items: ReadOnlySpan_1<T>): ImmutableArray_1<T>;
|
|
171
|
-
itemRef(index: int):
|
|
146
|
+
itemRef(index: int): T;
|
|
172
147
|
lastIndexOf(item: T): int;
|
|
173
148
|
lastIndexOf(item: T, startIndex: int): int;
|
|
174
149
|
lastIndexOf(item: T, startIndex: int, count: int): int;
|
|
@@ -399,7 +374,7 @@ export interface ImmutableArray_1_Builder$instance<T> {
|
|
|
399
374
|
insert(index: int, item: T): void;
|
|
400
375
|
insertRange(index: int, items: IEnumerable_1<T>): void;
|
|
401
376
|
insertRange(index: int, items: ImmutableArray_1<T>): void;
|
|
402
|
-
itemRef(index: int):
|
|
377
|
+
itemRef(index: int): T;
|
|
403
378
|
lastIndexOf(item: T): int;
|
|
404
379
|
lastIndexOf(item: T, startIndex: int): int;
|
|
405
380
|
lastIndexOf(item: T, startIndex: int, count: int): int;
|
|
@@ -460,8 +435,8 @@ export interface ImmutableDictionary_2$instance<TKey, TValue> {
|
|
|
460
435
|
setItem(key: TKey, value: TValue): ImmutableDictionary_2<TKey, TValue>;
|
|
461
436
|
setItems(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
462
437
|
toBuilder(): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
463
|
-
tryGetKey(equalKey: TKey, actualKey:
|
|
464
|
-
tryGetValue(key: TKey, value:
|
|
438
|
+
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
439
|
+
tryGetValue(key: TKey, value: TValue): boolean;
|
|
465
440
|
withComparers(keyComparer: IEqualityComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableDictionary_2<TKey, TValue>;
|
|
466
441
|
withComparers(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
|
|
467
442
|
}
|
|
@@ -509,8 +484,8 @@ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
|
|
|
509
484
|
remove(item: KeyValuePair_2<TKey, TValue>): boolean;
|
|
510
485
|
removeRange(keys: IEnumerable_1<TKey>): void;
|
|
511
486
|
toImmutable(): ImmutableDictionary_2<TKey, TValue>;
|
|
512
|
-
tryGetKey(equalKey: TKey, actualKey:
|
|
513
|
-
tryGetValue(key: TKey, value:
|
|
487
|
+
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
488
|
+
tryGetValue(key: TKey, value: TValue): boolean;
|
|
514
489
|
}
|
|
515
490
|
|
|
516
491
|
|
|
@@ -552,7 +527,7 @@ export interface ImmutableHashSet_1$instance<T> {
|
|
|
552
527
|
setEquals(other: IEnumerable_1<T>): boolean;
|
|
553
528
|
symmetricExcept(other: IEnumerable_1<T>): ImmutableHashSet_1<T>;
|
|
554
529
|
toBuilder(): ImmutableHashSet_1_Builder<T>;
|
|
555
|
-
tryGetValue(equalValue: T, actualValue:
|
|
530
|
+
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
556
531
|
union(other: IEnumerable_1<T>): ImmutableHashSet_1<T>;
|
|
557
532
|
withComparer(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1<T>;
|
|
558
533
|
}
|
|
@@ -596,7 +571,7 @@ export interface ImmutableHashSet_1_Builder$instance<T> {
|
|
|
596
571
|
setEquals(other: IEnumerable_1<T>): boolean;
|
|
597
572
|
symmetricExceptWith(other: IEnumerable_1<T>): void;
|
|
598
573
|
toImmutable(): ImmutableHashSet_1<T>;
|
|
599
|
-
tryGetValue(equalValue: T, actualValue:
|
|
574
|
+
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
600
575
|
unionWith(other: IEnumerable_1<T>): void;
|
|
601
576
|
}
|
|
602
577
|
|
|
@@ -649,7 +624,7 @@ export interface ImmutableList_1$instance<T> {
|
|
|
649
624
|
indexOf(value: T): int;
|
|
650
625
|
insert(index: int, item: T): ImmutableList_1<T>;
|
|
651
626
|
insertRange(index: int, items: IEnumerable_1<T>): ImmutableList_1<T>;
|
|
652
|
-
itemRef(index: int):
|
|
627
|
+
itemRef(index: int): T;
|
|
653
628
|
lastIndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
654
629
|
remove(value: T): ImmutableList_1<T>;
|
|
655
630
|
remove(value: T, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
|
|
@@ -725,7 +700,7 @@ export interface ImmutableList_1_Builder$instance<T> {
|
|
|
725
700
|
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
726
701
|
insert(index: int, item: T): void;
|
|
727
702
|
insertRange(index: int, items: IEnumerable_1<T>): void;
|
|
728
|
-
itemRef(index: int):
|
|
703
|
+
itemRef(index: int): T;
|
|
729
704
|
lastIndexOf(item: T): int;
|
|
730
705
|
lastIndexOf(item: T, startIndex: int): int;
|
|
731
706
|
lastIndexOf(item: T, startIndex: int, count: int): int;
|
|
@@ -772,11 +747,11 @@ export interface ImmutableQueue_1$instance<T> {
|
|
|
772
747
|
readonly isEmpty: boolean;
|
|
773
748
|
clear(): ImmutableQueue_1<T>;
|
|
774
749
|
dequeue(): ImmutableQueue_1<T>;
|
|
775
|
-
dequeue(value:
|
|
750
|
+
dequeue(value: T): ImmutableQueue_1<T>;
|
|
776
751
|
enqueue(value: T): ImmutableQueue_1<T>;
|
|
777
752
|
getEnumerator(): ImmutableQueue_1_Enumerator<T>;
|
|
778
753
|
peek(): T;
|
|
779
|
-
peekRef():
|
|
754
|
+
peekRef(): T;
|
|
780
755
|
}
|
|
781
756
|
|
|
782
757
|
|
|
@@ -815,9 +790,9 @@ export interface ImmutableSortedDictionary_2$instance<TKey, TValue> {
|
|
|
815
790
|
setItem(key: TKey, value: TValue): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
816
791
|
setItems(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
817
792
|
toBuilder(): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
|
|
818
|
-
tryGetKey(equalKey: TKey, actualKey:
|
|
819
|
-
tryGetValue(key: TKey, value:
|
|
820
|
-
valueRef(key: TKey):
|
|
793
|
+
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
794
|
+
tryGetValue(key: TKey, value: TValue): boolean;
|
|
795
|
+
valueRef(key: TKey): TValue;
|
|
821
796
|
withComparers(keyComparer: IComparer_1<TKey>, valueComparer: IEqualityComparer_1<TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
822
797
|
withComparers(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
823
798
|
}
|
|
@@ -865,9 +840,9 @@ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
|
|
|
865
840
|
remove(item: KeyValuePair_2<TKey, TValue>): boolean;
|
|
866
841
|
removeRange(keys: IEnumerable_1<TKey>): void;
|
|
867
842
|
toImmutable(): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
868
|
-
tryGetKey(equalKey: TKey, actualKey:
|
|
869
|
-
tryGetValue(key: TKey, value:
|
|
870
|
-
valueRef(key: TKey):
|
|
843
|
+
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
844
|
+
tryGetValue(key: TKey, value: TValue): boolean;
|
|
845
|
+
valueRef(key: TKey): TValue;
|
|
871
846
|
}
|
|
872
847
|
|
|
873
848
|
|
|
@@ -908,14 +883,14 @@ export interface ImmutableSortedSet_1$instance<T> {
|
|
|
908
883
|
isProperSupersetOf(other: IEnumerable_1<T>): boolean;
|
|
909
884
|
isSubsetOf(other: IEnumerable_1<T>): boolean;
|
|
910
885
|
isSupersetOf(other: IEnumerable_1<T>): boolean;
|
|
911
|
-
itemRef(index: int):
|
|
886
|
+
itemRef(index: int): T;
|
|
912
887
|
overlaps(other: IEnumerable_1<T>): boolean;
|
|
913
888
|
remove(value: T): ImmutableSortedSet_1<T>;
|
|
914
889
|
reverse(): IEnumerable_1<T>;
|
|
915
890
|
setEquals(other: IEnumerable_1<T>): boolean;
|
|
916
891
|
symmetricExcept(other: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
|
|
917
892
|
toBuilder(): ImmutableSortedSet_1_Builder<T>;
|
|
918
|
-
tryGetValue(equalValue: T, actualValue:
|
|
893
|
+
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
919
894
|
union(other: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
|
|
920
895
|
withComparer(comparer: IComparer_1<T>): ImmutableSortedSet_1<T>;
|
|
921
896
|
}
|
|
@@ -960,14 +935,14 @@ export interface ImmutableSortedSet_1_Builder$instance<T> {
|
|
|
960
935
|
isProperSupersetOf(other: IEnumerable_1<T>): boolean;
|
|
961
936
|
isSubsetOf(other: IEnumerable_1<T>): boolean;
|
|
962
937
|
isSupersetOf(other: IEnumerable_1<T>): boolean;
|
|
963
|
-
itemRef(index: int):
|
|
938
|
+
itemRef(index: int): T;
|
|
964
939
|
overlaps(other: IEnumerable_1<T>): boolean;
|
|
965
940
|
remove(item: T): boolean;
|
|
966
941
|
reverse(): IEnumerable_1<T>;
|
|
967
942
|
setEquals(other: IEnumerable_1<T>): boolean;
|
|
968
943
|
symmetricExceptWith(other: IEnumerable_1<T>): void;
|
|
969
944
|
toImmutable(): ImmutableSortedSet_1<T>;
|
|
970
|
-
tryGetValue(equalValue: T, actualValue:
|
|
945
|
+
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
971
946
|
unionWith(other: IEnumerable_1<T>): void;
|
|
972
947
|
}
|
|
973
948
|
|
|
@@ -994,9 +969,9 @@ export interface ImmutableStack_1$instance<T> {
|
|
|
994
969
|
clear(): ImmutableStack_1<T>;
|
|
995
970
|
getEnumerator(): ImmutableStack_1_Enumerator<T>;
|
|
996
971
|
peek(): T;
|
|
997
|
-
peekRef():
|
|
972
|
+
peekRef(): T;
|
|
998
973
|
pop(): ImmutableStack_1<T>;
|
|
999
|
-
pop(value:
|
|
974
|
+
pop(value: T): ImmutableStack_1<T>;
|
|
1000
975
|
push(value: T): ImmutableStack_1<T>;
|
|
1001
976
|
}
|
|
1002
977
|
|
|
@@ -1098,25 +1073,25 @@ export abstract class ImmutableHashSet$instance {
|
|
|
1098
1073
|
export type ImmutableHashSet = ImmutableHashSet$instance;
|
|
1099
1074
|
|
|
1100
1075
|
export abstract class ImmutableInterlocked$instance {
|
|
1101
|
-
static addOrUpdate<TKey, TValue>(location:
|
|
1102
|
-
static addOrUpdate<TKey, TValue>(location:
|
|
1103
|
-
static enqueue<T>(location:
|
|
1104
|
-
static getOrAdd<TKey, TValue>(location:
|
|
1105
|
-
static getOrAdd<TKey, TValue, TArg>(location:
|
|
1106
|
-
static getOrAdd<TKey, TValue>(location:
|
|
1107
|
-
static interlockedCompareExchange<T>(location:
|
|
1108
|
-
static interlockedExchange<T>(location:
|
|
1109
|
-
static interlockedInitialize<T>(location:
|
|
1110
|
-
static push<T>(location:
|
|
1111
|
-
static tryAdd<TKey, TValue>(location:
|
|
1112
|
-
static tryDequeue<T>(location:
|
|
1113
|
-
static tryPop<T>(location:
|
|
1114
|
-
static tryRemove<TKey, TValue>(location:
|
|
1115
|
-
static tryUpdate<TKey, TValue>(location:
|
|
1116
|
-
static update<T>(location:
|
|
1117
|
-
static update<T, TArg>(location:
|
|
1118
|
-
static update<T>(location:
|
|
1119
|
-
static update<T, TArg>(location:
|
|
1076
|
+
static addOrUpdate<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, addValueFactory: Func_2<TKey, TValue>, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
|
|
1077
|
+
static addOrUpdate<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, addValue: TValue, updateValueFactory: Func_3<TKey, TValue, TValue>): TValue;
|
|
1078
|
+
static enqueue<T>(location: ImmutableQueue_1<T>, value: T): void;
|
|
1079
|
+
static getOrAdd<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, valueFactory: Func_2<TKey, TValue>): TValue;
|
|
1080
|
+
static getOrAdd<TKey, TValue, TArg>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, valueFactory: Func_3<TKey, TArg, TValue>, factoryArgument: TArg): TValue;
|
|
1081
|
+
static getOrAdd<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): TValue;
|
|
1082
|
+
static interlockedCompareExchange<T>(location: ImmutableArray_1<T>, value: ImmutableArray_1<T>, comparand: ImmutableArray_1<T>): ImmutableArray_1<T>;
|
|
1083
|
+
static interlockedExchange<T>(location: ImmutableArray_1<T>, value: ImmutableArray_1<T>): ImmutableArray_1<T>;
|
|
1084
|
+
static interlockedInitialize<T>(location: ImmutableArray_1<T>, value: ImmutableArray_1<T>): boolean;
|
|
1085
|
+
static push<T>(location: ImmutableStack_1<T>, value: T): void;
|
|
1086
|
+
static tryAdd<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
|
|
1087
|
+
static tryDequeue<T>(location: ImmutableQueue_1<T>, value: T): boolean;
|
|
1088
|
+
static tryPop<T>(location: ImmutableStack_1<T>, value: T): boolean;
|
|
1089
|
+
static tryRemove<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
|
|
1090
|
+
static tryUpdate<TKey, TValue>(location: ImmutableDictionary_2<TKey, TValue>, key: TKey, newValue: TValue, comparisonValue: TValue): boolean;
|
|
1091
|
+
static update<T>(location: ImmutableArray_1<T>, transformer: Func_2<ImmutableArray_1<T>, ImmutableArray_1<T>>): boolean;
|
|
1092
|
+
static update<T, TArg>(location: ImmutableArray_1<T>, transformer: Func_3<ImmutableArray_1<T>, TArg, ImmutableArray_1<T>>, transformerArgument: TArg): boolean;
|
|
1093
|
+
static update<T>(location: T, transformer: Func_2<T, T>): boolean;
|
|
1094
|
+
static update<T, TArg>(location: T, transformer: Func_3<T, TArg, T>, transformerArgument: TArg): boolean;
|
|
1120
1095
|
}
|
|
1121
1096
|
|
|
1122
1097
|
|
|
@@ -1153,7 +1128,7 @@ export abstract class ImmutableQueue$instance {
|
|
|
1153
1128
|
static create<T>(item: T): ImmutableQueue_1<T>;
|
|
1154
1129
|
static create<T>(...items: T[]): ImmutableQueue_1<T>;
|
|
1155
1130
|
static createRange<T>(items: IEnumerable_1<T>): ImmutableQueue_1<T>;
|
|
1156
|
-
static dequeue<T>(queue: IImmutableQueue_1<T>, value:
|
|
1131
|
+
static dequeue<T>(queue: IImmutableQueue_1<T>, value: T): IImmutableQueue_1<T>;
|
|
1157
1132
|
}
|
|
1158
1133
|
|
|
1159
1134
|
|
|
@@ -1208,7 +1183,7 @@ export abstract class ImmutableStack$instance {
|
|
|
1208
1183
|
static create<T>(item: T): ImmutableStack_1<T>;
|
|
1209
1184
|
static create<T>(...items: T[]): ImmutableStack_1<T>;
|
|
1210
1185
|
static createRange<T>(items: IEnumerable_1<T>): ImmutableStack_1<T>;
|
|
1211
|
-
static pop<T>(stack: IImmutableStack_1<T>, value:
|
|
1186
|
+
static pop<T>(stack: IImmutableStack_1<T>, value: T): IImmutableStack_1<T>;
|
|
1212
1187
|
}
|
|
1213
1188
|
|
|
1214
1189
|
|