@tsonic/dotnet 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -1439,6 +1439,22 @@
|
|
|
1439
1439
|
"parameterCount": 0,
|
|
1440
1440
|
"isExtensionMethod": false
|
|
1441
1441
|
},
|
|
1442
|
+
{
|
|
1443
|
+
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
|
|
1444
|
+
"clrName": "Contains",
|
|
1445
|
+
"tsEmitName": "contains",
|
|
1446
|
+
"normalizedSignature": "Contains|(T):System.Boolean|static=false",
|
|
1447
|
+
"provenance": "Original",
|
|
1448
|
+
"emitScope": "ClassSurface",
|
|
1449
|
+
"isStatic": false,
|
|
1450
|
+
"isAbstract": true,
|
|
1451
|
+
"isVirtual": true,
|
|
1452
|
+
"isOverride": false,
|
|
1453
|
+
"isSealed": false,
|
|
1454
|
+
"arity": 0,
|
|
1455
|
+
"parameterCount": 1,
|
|
1456
|
+
"isExtensionMethod": false
|
|
1457
|
+
},
|
|
1442
1458
|
{
|
|
1443
1459
|
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
|
|
1444
1460
|
"clrName": "CopyTo",
|
|
@@ -17787,10 +17803,10 @@
|
|
|
17787
17803
|
"isExtensionMethod": false
|
|
17788
17804
|
},
|
|
17789
17805
|
{
|
|
17790
|
-
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::
|
|
17791
|
-
"clrName": "
|
|
17792
|
-
"tsEmitName": "
|
|
17793
|
-
"normalizedSignature": "
|
|
17806
|
+
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Contains(T):System.Boolean",
|
|
17807
|
+
"clrName": "Contains",
|
|
17808
|
+
"tsEmitName": "contains$view",
|
|
17809
|
+
"normalizedSignature": "Contains|(T):System.Boolean|static=false",
|
|
17794
17810
|
"provenance": "ExplicitView",
|
|
17795
17811
|
"emitScope": "ViewOnly",
|
|
17796
17812
|
"isStatic": false,
|
|
@@ -17799,15 +17815,15 @@
|
|
|
17799
17815
|
"isOverride": false,
|
|
17800
17816
|
"isSealed": false,
|
|
17801
17817
|
"arity": 0,
|
|
17802
|
-
"parameterCount":
|
|
17818
|
+
"parameterCount": 1,
|
|
17803
17819
|
"sourceInterface": "System.Collections.Generic.ICollection\u00601",
|
|
17804
17820
|
"isExtensionMethod": false
|
|
17805
17821
|
},
|
|
17806
17822
|
{
|
|
17807
|
-
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::
|
|
17808
|
-
"clrName": "
|
|
17809
|
-
"tsEmitName": "
|
|
17810
|
-
"normalizedSignature": "
|
|
17823
|
+
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::CopyTo(T[],System.Int32):System.Void",
|
|
17824
|
+
"clrName": "CopyTo",
|
|
17825
|
+
"tsEmitName": "copyTo$view",
|
|
17826
|
+
"normalizedSignature": "CopyTo|(T[],System.Int32):System.Void|static=false",
|
|
17811
17827
|
"provenance": "ExplicitView",
|
|
17812
17828
|
"emitScope": "ViewOnly",
|
|
17813
17829
|
"isStatic": false,
|
|
@@ -17816,7 +17832,7 @@
|
|
|
17816
17832
|
"isOverride": false,
|
|
17817
17833
|
"isSealed": false,
|
|
17818
17834
|
"arity": 0,
|
|
17819
|
-
"parameterCount":
|
|
17835
|
+
"parameterCount": 2,
|
|
17820
17836
|
"sourceInterface": "System.Collections.Generic.ICollection\u00601",
|
|
17821
17837
|
"isExtensionMethod": false
|
|
17822
17838
|
},
|
|
@@ -45,15 +45,15 @@ export interface IImmutableList_1$instance<T> extends IReadOnlyList_1<T>, IEnume
|
|
|
45
45
|
clear(): IImmutableList_1<T>;
|
|
46
46
|
getEnumerator(): IEnumerator_1<T>;
|
|
47
47
|
getEnumerator(): IEnumerator;
|
|
48
|
-
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
48
|
+
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
49
49
|
insert(index: int, element: T): IImmutableList_1<T>;
|
|
50
50
|
insertRange(index: int, items: IEnumerable_1<T>): IImmutableList_1<T>;
|
|
51
|
-
remove(value: T, equalityComparer: IEqualityComparer_1<T>): IImmutableList_1<T>;
|
|
51
|
+
remove(value: T, equalityComparer: IEqualityComparer_1<T> | undefined): IImmutableList_1<T>;
|
|
52
52
|
removeAll(match: Predicate_1<T>): IImmutableList_1<T>;
|
|
53
53
|
removeAt(index: int): IImmutableList_1<T>;
|
|
54
|
-
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): IImmutableList_1<T>;
|
|
54
|
+
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | undefined): IImmutableList_1<T>;
|
|
55
55
|
removeRange(index: int, count: int): IImmutableList_1<T>;
|
|
56
|
-
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): IImmutableList_1<T>;
|
|
56
|
+
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | undefined): IImmutableList_1<T>;
|
|
57
57
|
getEnumerator2(): IEnumerator;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -124,7 +124,7 @@ export interface ImmutableArray_1$instance<T> {
|
|
|
124
124
|
castArray<TOther>(): ImmutableArray_1<TOther>;
|
|
125
125
|
clear(): ImmutableArray_1<T>;
|
|
126
126
|
contains(item: T): boolean;
|
|
127
|
-
contains(item: T, equalityComparer: IEqualityComparer_1<T>): boolean;
|
|
127
|
+
contains(item: T, equalityComparer: IEqualityComparer_1<T> | undefined): boolean;
|
|
128
128
|
copyTo(destination: Span_1<T>): void;
|
|
129
129
|
copyTo(destination: T[]): void;
|
|
130
130
|
copyTo(destination: T[], destinationIndex: int): void;
|
|
@@ -134,10 +134,10 @@ export interface ImmutableArray_1$instance<T> {
|
|
|
134
134
|
getEnumerator(): ImmutableArray_1_Enumerator<T>;
|
|
135
135
|
getHashCode(): int;
|
|
136
136
|
indexOf(item: T): int;
|
|
137
|
-
indexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
137
|
+
indexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
138
138
|
indexOf(item: T, startIndex: int): int;
|
|
139
139
|
indexOf(item: T, startIndex: int, count: int): int;
|
|
140
|
-
indexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
140
|
+
indexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
141
141
|
insert(index: int, item: T): ImmutableArray_1<T>;
|
|
142
142
|
insertRange(index: int, items: IEnumerable_1<T>): ImmutableArray_1<T>;
|
|
143
143
|
insertRange(index: int, items: ImmutableArray_1<T>): ImmutableArray_1<T>;
|
|
@@ -147,27 +147,27 @@ export interface ImmutableArray_1$instance<T> {
|
|
|
147
147
|
lastIndexOf(item: T): int;
|
|
148
148
|
lastIndexOf(item: T, startIndex: int): int;
|
|
149
149
|
lastIndexOf(item: T, startIndex: int, count: int): int;
|
|
150
|
-
lastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
150
|
+
lastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
151
151
|
ofType<TResult>(): IEnumerable_1<TResult>;
|
|
152
152
|
remove(item: T): ImmutableArray_1<T>;
|
|
153
|
-
remove(item: T, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
|
|
153
|
+
remove(item: T, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
154
154
|
removeAll(match: Predicate_1<T>): ImmutableArray_1<T>;
|
|
155
155
|
removeAt(index: int): ImmutableArray_1<T>;
|
|
156
156
|
removeRange(index: int, length: int): ImmutableArray_1<T>;
|
|
157
157
|
removeRange(items: IEnumerable_1<T>): ImmutableArray_1<T>;
|
|
158
|
-
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
|
|
158
|
+
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
159
159
|
removeRange(items: ImmutableArray_1<T>): ImmutableArray_1<T>;
|
|
160
|
-
removeRange(items: ImmutableArray_1<T>, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
|
|
161
|
-
removeRange(items: ReadOnlySpan_1<T>, equalityComparer?: IEqualityComparer_1<T>): ImmutableArray_1<T>;
|
|
162
|
-
removeRange(items: T[], equalityComparer?: IEqualityComparer_1<T>): ImmutableArray_1<T>;
|
|
160
|
+
removeRange(items: ImmutableArray_1<T>, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
161
|
+
removeRange(items: ReadOnlySpan_1<T>, equalityComparer?: IEqualityComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
162
|
+
removeRange(items: T[], equalityComparer?: IEqualityComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
163
163
|
replace(oldValue: T, newValue: T): ImmutableArray_1<T>;
|
|
164
|
-
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): ImmutableArray_1<T>;
|
|
164
|
+
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
165
165
|
setItem(index: int, item: T): ImmutableArray_1<T>;
|
|
166
166
|
slice(start: int, length: int): ImmutableArray_1<T>;
|
|
167
167
|
sort(): ImmutableArray_1<T>;
|
|
168
168
|
sort(comparison: Comparison_1<T>): ImmutableArray_1<T>;
|
|
169
|
-
sort(comparer: IComparer_1<T>): ImmutableArray_1<T>;
|
|
170
|
-
sort(index: int, count: int, comparer: IComparer_1<T>): ImmutableArray_1<T>;
|
|
169
|
+
sort(comparer: IComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
170
|
+
sort(index: int, count: int, comparer: IComparer_1<T> | undefined): ImmutableArray_1<T>;
|
|
171
171
|
toBuilder(): ImmutableArray_1_Builder<T>;
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -369,8 +369,8 @@ export interface ImmutableArray_1_Builder$instance<T> {
|
|
|
369
369
|
indexOf(item: T): int;
|
|
370
370
|
indexOf(item: T, startIndex: int): int;
|
|
371
371
|
indexOf(item: T, startIndex: int, count: int): int;
|
|
372
|
-
indexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
373
|
-
indexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
372
|
+
indexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
373
|
+
indexOf(item: T, startIndex: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
374
374
|
insert(index: int, item: T): void;
|
|
375
375
|
insertRange(index: int, items: IEnumerable_1<T>): void;
|
|
376
376
|
insertRange(index: int, items: ImmutableArray_1<T>): void;
|
|
@@ -378,22 +378,22 @@ export interface ImmutableArray_1_Builder$instance<T> {
|
|
|
378
378
|
lastIndexOf(item: T): int;
|
|
379
379
|
lastIndexOf(item: T, startIndex: int): int;
|
|
380
380
|
lastIndexOf(item: T, startIndex: int, count: int): int;
|
|
381
|
-
lastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
381
|
+
lastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
382
382
|
moveToImmutable(): ImmutableArray_1<T>;
|
|
383
383
|
remove(element: T): boolean;
|
|
384
|
-
remove(element: T, equalityComparer: IEqualityComparer_1<T>): boolean;
|
|
384
|
+
remove(element: T, equalityComparer: IEqualityComparer_1<T> | undefined): boolean;
|
|
385
385
|
removeAll(match: Predicate_1<T>): void;
|
|
386
386
|
removeAt(index: int): void;
|
|
387
387
|
removeRange(index: int, length: int): void;
|
|
388
388
|
removeRange(items: IEnumerable_1<T>): void;
|
|
389
|
-
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): void;
|
|
389
|
+
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | undefined): void;
|
|
390
390
|
replace(oldValue: T, newValue: T): void;
|
|
391
|
-
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): void;
|
|
391
|
+
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | undefined): void;
|
|
392
392
|
reverse(): void;
|
|
393
393
|
sort(): void;
|
|
394
394
|
sort(comparison: Comparison_1<T>): void;
|
|
395
|
-
sort(comparer: IComparer_1<T>): void;
|
|
396
|
-
sort(index: int, count: int, comparer: IComparer_1<T>): void;
|
|
395
|
+
sort(comparer: IComparer_1<T> | undefined): void;
|
|
396
|
+
sort(index: int, count: int, comparer: IComparer_1<T> | undefined): void;
|
|
397
397
|
toArray(): T[];
|
|
398
398
|
toImmutable(): ImmutableArray_1<T>;
|
|
399
399
|
}
|
|
@@ -437,8 +437,8 @@ export interface ImmutableDictionary_2$instance<TKey, TValue> {
|
|
|
437
437
|
toBuilder(): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
438
438
|
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
439
439
|
tryGetValue(key: TKey, value: TValue): boolean;
|
|
440
|
-
withComparers(keyComparer: IEqualityComparer_1<TKey
|
|
441
|
-
withComparers(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
|
|
440
|
+
withComparers(keyComparer: IEqualityComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
441
|
+
withComparers(keyComparer: IEqualityComparer_1<TKey> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
|
|
@@ -478,7 +478,7 @@ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
|
|
|
478
478
|
containsKey(key: TKey): boolean;
|
|
479
479
|
containsValue(value: TValue): boolean;
|
|
480
480
|
getEnumerator(): ImmutableDictionary_2_Enumerator<TKey, TValue>;
|
|
481
|
-
getValueOrDefault(key: TKey): TValue;
|
|
481
|
+
getValueOrDefault(key: TKey): TValue | undefined;
|
|
482
482
|
getValueOrDefault(key: TKey, defaultValue: TValue): TValue;
|
|
483
483
|
remove(key: TKey): boolean;
|
|
484
484
|
remove(item: KeyValuePair_2<TKey, TValue>): boolean;
|
|
@@ -529,7 +529,7 @@ export interface ImmutableHashSet_1$instance<T> {
|
|
|
529
529
|
toBuilder(): ImmutableHashSet_1_Builder<T>;
|
|
530
530
|
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
531
531
|
union(other: IEnumerable_1<T>): ImmutableHashSet_1<T>;
|
|
532
|
-
withComparer(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1<T>;
|
|
532
|
+
withComparer(equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableHashSet_1<T>;
|
|
533
533
|
}
|
|
534
534
|
|
|
535
535
|
|
|
@@ -599,8 +599,8 @@ export interface ImmutableList_1$instance<T> {
|
|
|
599
599
|
add(value: T): ImmutableList_1<T>;
|
|
600
600
|
addRange(items: IEnumerable_1<T>): ImmutableList_1<T>;
|
|
601
601
|
binarySearch(item: T): int;
|
|
602
|
-
binarySearch(item: T, comparer: IComparer_1<T>): int;
|
|
603
|
-
binarySearch(index: int, count: int, item: T, comparer: IComparer_1<T>): int;
|
|
602
|
+
binarySearch(item: T, comparer: IComparer_1<T> | undefined): int;
|
|
603
|
+
binarySearch(index: int, count: int, item: T, comparer: IComparer_1<T> | undefined): int;
|
|
604
604
|
clear(): ImmutableList_1<T>;
|
|
605
605
|
contains(value: T): boolean;
|
|
606
606
|
convertAll<TOutput>(converter: Func_2<T, TOutput>): ImmutableList_1<TOutput>;
|
|
@@ -608,40 +608,40 @@ export interface ImmutableList_1$instance<T> {
|
|
|
608
608
|
copyTo(array: T[], arrayIndex: int): void;
|
|
609
609
|
copyTo(index: int, array: T[], arrayIndex: int, count: int): void;
|
|
610
610
|
exists(match: Predicate_1<T>): boolean;
|
|
611
|
-
find(match: Predicate_1<T>): T;
|
|
611
|
+
find(match: Predicate_1<T>): T | undefined;
|
|
612
612
|
findAll(match: Predicate_1<T>): ImmutableList_1<T>;
|
|
613
613
|
findIndex(match: Predicate_1<T>): int;
|
|
614
614
|
findIndex(startIndex: int, match: Predicate_1<T>): int;
|
|
615
615
|
findIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
|
|
616
|
-
findLast(match: Predicate_1<T>): T;
|
|
616
|
+
findLast(match: Predicate_1<T>): T | undefined;
|
|
617
617
|
findLastIndex(match: Predicate_1<T>): int;
|
|
618
618
|
findLastIndex(startIndex: int, match: Predicate_1<T>): int;
|
|
619
619
|
findLastIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
|
|
620
620
|
forEach(action: Action_1<T>): void;
|
|
621
621
|
getEnumerator(): ImmutableList_1_Enumerator<T>;
|
|
622
622
|
getRange(index: int, count: int): ImmutableList_1<T>;
|
|
623
|
-
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
623
|
+
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
624
624
|
indexOf(value: T): int;
|
|
625
625
|
insert(index: int, item: T): ImmutableList_1<T>;
|
|
626
626
|
insertRange(index: int, items: IEnumerable_1<T>): ImmutableList_1<T>;
|
|
627
627
|
itemRef(index: int): T;
|
|
628
|
-
lastIndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
628
|
+
lastIndexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
629
629
|
remove(value: T): ImmutableList_1<T>;
|
|
630
|
-
remove(value: T, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
|
|
630
|
+
remove(value: T, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableList_1<T>;
|
|
631
631
|
removeAll(match: Predicate_1<T>): ImmutableList_1<T>;
|
|
632
632
|
removeAt(index: int): ImmutableList_1<T>;
|
|
633
633
|
removeRange(index: int, count: int): ImmutableList_1<T>;
|
|
634
634
|
removeRange(items: IEnumerable_1<T>): ImmutableList_1<T>;
|
|
635
|
-
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
|
|
635
|
+
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableList_1<T>;
|
|
636
636
|
replace(oldValue: T, newValue: T): ImmutableList_1<T>;
|
|
637
|
-
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): ImmutableList_1<T>;
|
|
637
|
+
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableList_1<T>;
|
|
638
638
|
reverse(): ImmutableList_1<T>;
|
|
639
639
|
reverse(index: int, count: int): ImmutableList_1<T>;
|
|
640
640
|
setItem(index: int, value: T): ImmutableList_1<T>;
|
|
641
641
|
sort(): ImmutableList_1<T>;
|
|
642
642
|
sort(comparison: Comparison_1<T>): ImmutableList_1<T>;
|
|
643
|
-
sort(comparer: IComparer_1<T>): ImmutableList_1<T>;
|
|
644
|
-
sort(index: int, count: int, comparer: IComparer_1<T>): ImmutableList_1<T>;
|
|
643
|
+
sort(comparer: IComparer_1<T> | undefined): ImmutableList_1<T>;
|
|
644
|
+
sort(index: int, count: int, comparer: IComparer_1<T> | undefined): ImmutableList_1<T>;
|
|
645
645
|
toBuilder(): ImmutableList_1_Builder<T>;
|
|
646
646
|
trueForAll(match: Predicate_1<T>): boolean;
|
|
647
647
|
}
|
|
@@ -673,8 +673,8 @@ export interface ImmutableList_1_Builder$instance<T> {
|
|
|
673
673
|
add(item: T): void;
|
|
674
674
|
addRange(items: IEnumerable_1<T>): void;
|
|
675
675
|
binarySearch(item: T): int;
|
|
676
|
-
binarySearch(item: T, comparer: IComparer_1<T>): int;
|
|
677
|
-
binarySearch(index: int, count: int, item: T, comparer: IComparer_1<T>): int;
|
|
676
|
+
binarySearch(item: T, comparer: IComparer_1<T> | undefined): int;
|
|
677
|
+
binarySearch(index: int, count: int, item: T, comparer: IComparer_1<T> | undefined): int;
|
|
678
678
|
clear(): void;
|
|
679
679
|
contains(item: T): boolean;
|
|
680
680
|
convertAll<TOutput>(converter: Func_2<T, TOutput>): ImmutableList_1<TOutput>;
|
|
@@ -682,12 +682,12 @@ export interface ImmutableList_1_Builder$instance<T> {
|
|
|
682
682
|
copyTo(array: T[], arrayIndex: int): void;
|
|
683
683
|
copyTo(index: int, array: T[], arrayIndex: int, count: int): void;
|
|
684
684
|
exists(match: Predicate_1<T>): boolean;
|
|
685
|
-
find(match: Predicate_1<T>): T;
|
|
685
|
+
find(match: Predicate_1<T>): T | undefined;
|
|
686
686
|
findAll(match: Predicate_1<T>): ImmutableList_1<T>;
|
|
687
687
|
findIndex(match: Predicate_1<T>): int;
|
|
688
688
|
findIndex(startIndex: int, match: Predicate_1<T>): int;
|
|
689
689
|
findIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
|
|
690
|
-
findLast(match: Predicate_1<T>): T;
|
|
690
|
+
findLast(match: Predicate_1<T>): T | undefined;
|
|
691
691
|
findLastIndex(match: Predicate_1<T>): int;
|
|
692
692
|
findLastIndex(startIndex: int, match: Predicate_1<T>): int;
|
|
693
693
|
findLastIndex(startIndex: int, count: int, match: Predicate_1<T>): int;
|
|
@@ -697,29 +697,29 @@ export interface ImmutableList_1_Builder$instance<T> {
|
|
|
697
697
|
indexOf(item: T): int;
|
|
698
698
|
indexOf(item: T, index: int): int;
|
|
699
699
|
indexOf(item: T, index: int, count: int): int;
|
|
700
|
-
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
700
|
+
indexOf(item: T, index: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
701
701
|
insert(index: int, item: T): void;
|
|
702
702
|
insertRange(index: int, items: IEnumerable_1<T>): void;
|
|
703
703
|
itemRef(index: int): T;
|
|
704
704
|
lastIndexOf(item: T): int;
|
|
705
705
|
lastIndexOf(item: T, startIndex: int): int;
|
|
706
706
|
lastIndexOf(item: T, startIndex: int, count: int): int;
|
|
707
|
-
lastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T>): int;
|
|
707
|
+
lastIndexOf(item: T, startIndex: int, count: int, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
708
708
|
remove(item: T): boolean;
|
|
709
|
-
remove(item: T, equalityComparer: IEqualityComparer_1<T>): boolean;
|
|
709
|
+
remove(item: T, equalityComparer: IEqualityComparer_1<T> | undefined): boolean;
|
|
710
710
|
removeAll(match: Predicate_1<T>): int;
|
|
711
711
|
removeAt(index: int): void;
|
|
712
712
|
removeRange(index: int, count: int): void;
|
|
713
|
-
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T>): void;
|
|
713
|
+
removeRange(items: IEnumerable_1<T>, equalityComparer: IEqualityComparer_1<T> | undefined): void;
|
|
714
714
|
removeRange(items: IEnumerable_1<T>): void;
|
|
715
715
|
replace(oldValue: T, newValue: T): void;
|
|
716
|
-
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T>): void;
|
|
716
|
+
replace(oldValue: T, newValue: T, equalityComparer: IEqualityComparer_1<T> | undefined): void;
|
|
717
717
|
reverse(): void;
|
|
718
718
|
reverse(index: int, count: int): void;
|
|
719
719
|
sort(): void;
|
|
720
720
|
sort(comparison: Comparison_1<T>): void;
|
|
721
|
-
sort(comparer: IComparer_1<T>): void;
|
|
722
|
-
sort(index: int, count: int, comparer: IComparer_1<T>): void;
|
|
721
|
+
sort(comparer: IComparer_1<T> | undefined): void;
|
|
722
|
+
sort(index: int, count: int, comparer: IComparer_1<T> | undefined): void;
|
|
723
723
|
toImmutable(): ImmutableList_1<T>;
|
|
724
724
|
trueForAll(match: Predicate_1<T>): boolean;
|
|
725
725
|
}
|
|
@@ -793,8 +793,8 @@ export interface ImmutableSortedDictionary_2$instance<TKey, TValue> {
|
|
|
793
793
|
tryGetKey(equalKey: TKey, actualKey: TKey): boolean;
|
|
794
794
|
tryGetValue(key: TKey, value: TValue): boolean;
|
|
795
795
|
valueRef(key: TKey): TValue;
|
|
796
|
-
withComparers(keyComparer: IComparer_1<TKey
|
|
797
|
-
withComparers(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
796
|
+
withComparers(keyComparer: IComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
797
|
+
withComparers(keyComparer: IComparer_1<TKey> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
798
798
|
}
|
|
799
799
|
|
|
800
800
|
|
|
@@ -834,7 +834,7 @@ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
|
|
|
834
834
|
containsKey(key: TKey): boolean;
|
|
835
835
|
containsValue(value: TValue): boolean;
|
|
836
836
|
getEnumerator(): ImmutableSortedDictionary_2_Enumerator<TKey, TValue>;
|
|
837
|
-
getValueOrDefault(key: TKey): TValue;
|
|
837
|
+
getValueOrDefault(key: TKey): TValue | undefined;
|
|
838
838
|
getValueOrDefault(key: TKey, defaultValue: TValue): TValue;
|
|
839
839
|
remove(key: TKey): boolean;
|
|
840
840
|
remove(item: KeyValuePair_2<TKey, TValue>): boolean;
|
|
@@ -870,8 +870,8 @@ export interface ImmutableSortedSet_1$instance<T> {
|
|
|
870
870
|
readonly isEmpty: boolean;
|
|
871
871
|
readonly item: T;
|
|
872
872
|
readonly keyComparer: IComparer_1<T>;
|
|
873
|
-
readonly max: T;
|
|
874
|
-
readonly min: T;
|
|
873
|
+
readonly max: T | undefined;
|
|
874
|
+
readonly min: T | undefined;
|
|
875
875
|
add(value: T): ImmutableSortedSet_1<T>;
|
|
876
876
|
clear(): ImmutableSortedSet_1<T>;
|
|
877
877
|
contains(value: T): boolean;
|
|
@@ -892,7 +892,7 @@ export interface ImmutableSortedSet_1$instance<T> {
|
|
|
892
892
|
toBuilder(): ImmutableSortedSet_1_Builder<T>;
|
|
893
893
|
tryGetValue(equalValue: T, actualValue: T): boolean;
|
|
894
894
|
union(other: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
|
|
895
|
-
withComparer(comparer: IComparer_1<T>): ImmutableSortedSet_1<T>;
|
|
895
|
+
withComparer(comparer: IComparer_1<T> | undefined): ImmutableSortedSet_1<T>;
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
|
|
@@ -922,8 +922,8 @@ export interface ImmutableSortedSet_1_Builder$instance<T> {
|
|
|
922
922
|
readonly count: int;
|
|
923
923
|
readonly item: T;
|
|
924
924
|
keyComparer: IComparer_1<T>;
|
|
925
|
-
readonly max: T;
|
|
926
|
-
readonly min: T;
|
|
925
|
+
readonly max: T | undefined;
|
|
926
|
+
readonly min: T | undefined;
|
|
927
927
|
add(item: T): boolean;
|
|
928
928
|
clear(): void;
|
|
929
929
|
contains(item: T): boolean;
|
|
@@ -992,9 +992,9 @@ export type ImmutableStack_1<T> = ImmutableStack_1$instance<T> & __ImmutableStac
|
|
|
992
992
|
|
|
993
993
|
|
|
994
994
|
export abstract class ImmutableArray$instance {
|
|
995
|
-
static binarySearch<T>(array: ImmutableArray_1<T>, index: int, length: int, value: T, comparer: IComparer_1<T>): int;
|
|
995
|
+
static binarySearch<T>(array: ImmutableArray_1<T>, index: int, length: int, value: T, comparer: IComparer_1<T> | undefined): int;
|
|
996
996
|
static binarySearch<T>(array: ImmutableArray_1<T>, index: int, length: int, value: T): int;
|
|
997
|
-
static binarySearch<T>(array: ImmutableArray_1<T>, value: T, comparer: IComparer_1<T>): int;
|
|
997
|
+
static binarySearch<T>(array: ImmutableArray_1<T>, value: T, comparer: IComparer_1<T> | undefined): int;
|
|
998
998
|
static binarySearch<T>(array: ImmutableArray_1<T>, value: T): int;
|
|
999
999
|
static create<T>(): ImmutableArray_1<T>;
|
|
1000
1000
|
static create<T>(items: ImmutableArray_1<T>, start: int, length: int): ImmutableArray_1<T>;
|
|
@@ -1025,26 +1025,26 @@ export type ImmutableArray = ImmutableArray$instance;
|
|
|
1025
1025
|
export abstract class ImmutableDictionary$instance {
|
|
1026
1026
|
static contains<TKey, TValue>(map: IImmutableDictionary_2<TKey, TValue>, key: TKey, value: TValue): boolean;
|
|
1027
1027
|
static create<TKey, TValue>(): ImmutableDictionary_2<TKey, TValue>;
|
|
1028
|
-
static create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey
|
|
1029
|
-
static create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
|
|
1028
|
+
static create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
1029
|
+
static create<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
1030
1030
|
static createBuilder<TKey, TValue>(): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
1031
|
-
static createBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey
|
|
1032
|
-
static createBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
1031
|
+
static createBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
1032
|
+
static createBuilder<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
1033
1033
|
static createRange<TKey, TValue>(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
1034
|
-
static createRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey
|
|
1035
|
-
static createRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey
|
|
1036
|
-
static createRangeWithOverwrite<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey
|
|
1034
|
+
static createRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
1035
|
+
static createRange<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
1036
|
+
static createRangeWithOverwrite<TKey, TValue>(keyComparer: IEqualityComparer_1<TKey> | undefined, items: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
1037
1037
|
static createRangeWithOverwrite<TKey, TValue>(items: ReadOnlySpan_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
1038
1038
|
static getValueOrDefault<TKey, TValue>(dictionary: IImmutableDictionary_2<TKey, TValue>, key: TKey, defaultValue: TValue): TValue;
|
|
1039
|
-
static getValueOrDefault<TKey, TValue>(dictionary: IImmutableDictionary_2<TKey, TValue>, key: TKey): TValue;
|
|
1039
|
+
static getValueOrDefault<TKey, TValue>(dictionary: IImmutableDictionary_2<TKey, TValue>, key: TKey): TValue | undefined;
|
|
1040
1040
|
static toImmutableDictionary<TKey, TValue>(builder: ImmutableDictionary_2_Builder<TKey, TValue>): ImmutableDictionary_2<TKey, TValue>;
|
|
1041
|
-
static toImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey
|
|
1042
|
-
static toImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
|
|
1041
|
+
static toImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
1042
|
+
static toImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IEqualityComparer_1<TKey> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
1043
1043
|
static toImmutableDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>): ImmutableDictionary_2<TKey, TValue>;
|
|
1044
|
-
static toImmutableDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TSource>;
|
|
1044
|
+
static toImmutableDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, keyComparer: IEqualityComparer_1<TKey> | undefined): ImmutableDictionary_2<TKey, TSource>;
|
|
1045
1045
|
static toImmutableDictionary<TSource, TKey>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>): ImmutableDictionary_2<TKey, TSource>;
|
|
1046
|
-
static toImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey
|
|
1047
|
-
static toImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey>): ImmutableDictionary_2<TKey, TValue>;
|
|
1046
|
+
static toImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
1047
|
+
static toImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IEqualityComparer_1<TKey> | undefined): ImmutableDictionary_2<TKey, TValue>;
|
|
1048
1048
|
static toImmutableDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableDictionary_2<TKey, TValue>;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
@@ -1053,19 +1053,19 @@ export type ImmutableDictionary = ImmutableDictionary$instance;
|
|
|
1053
1053
|
|
|
1054
1054
|
export abstract class ImmutableHashSet$instance {
|
|
1055
1055
|
static create<T>(): ImmutableHashSet_1<T>;
|
|
1056
|
-
static create<T>(equalityComparer: IEqualityComparer_1<T
|
|
1057
|
-
static create<T>(equalityComparer: IEqualityComparer_1<T
|
|
1058
|
-
static create<T>(equalityComparer: IEqualityComparer_1<T
|
|
1059
|
-
static create<T>(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1<T>;
|
|
1056
|
+
static create<T>(equalityComparer: IEqualityComparer_1<T> | undefined, items: ReadOnlySpan_1<T>): ImmutableHashSet_1<T>;
|
|
1057
|
+
static create<T>(equalityComparer: IEqualityComparer_1<T> | undefined, item: T): ImmutableHashSet_1<T>;
|
|
1058
|
+
static create<T>(equalityComparer: IEqualityComparer_1<T> | undefined, ...items: T[]): ImmutableHashSet_1<T>;
|
|
1059
|
+
static create<T>(equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableHashSet_1<T>;
|
|
1060
1060
|
static create<T>(items: ReadOnlySpan_1<T>): ImmutableHashSet_1<T>;
|
|
1061
1061
|
static create<T>(item: T): ImmutableHashSet_1<T>;
|
|
1062
1062
|
static create<T>(...items: T[]): ImmutableHashSet_1<T>;
|
|
1063
1063
|
static createBuilder<T>(): ImmutableHashSet_1_Builder<T>;
|
|
1064
|
-
static createBuilder<T>(equalityComparer: IEqualityComparer_1<T>): ImmutableHashSet_1_Builder<T>;
|
|
1064
|
+
static createBuilder<T>(equalityComparer: IEqualityComparer_1<T> | undefined): ImmutableHashSet_1_Builder<T>;
|
|
1065
1065
|
static createRange<T>(items: IEnumerable_1<T>): ImmutableHashSet_1<T>;
|
|
1066
|
-
static createRange<T>(equalityComparer: IEqualityComparer_1<T
|
|
1066
|
+
static createRange<T>(equalityComparer: IEqualityComparer_1<T> | undefined, items: IEnumerable_1<T>): ImmutableHashSet_1<T>;
|
|
1067
1067
|
static toImmutableHashSet<TSource>(builder: ImmutableHashSet_1_Builder<TSource>): ImmutableHashSet_1<TSource>;
|
|
1068
|
-
static toImmutableHashSet<TSource>(source: IEnumerable_1<TSource>, equalityComparer: IEqualityComparer_1<TSource>): ImmutableHashSet_1<TSource>;
|
|
1068
|
+
static toImmutableHashSet<TSource>(source: IEnumerable_1<TSource>, equalityComparer: IEqualityComparer_1<TSource> | undefined): ImmutableHashSet_1<TSource>;
|
|
1069
1069
|
static toImmutableHashSet<TSource>(source: IEnumerable_1<TSource>): ImmutableHashSet_1<TSource>;
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
@@ -1104,11 +1104,11 @@ export abstract class ImmutableList$instance {
|
|
|
1104
1104
|
static create<T>(...items: T[]): ImmutableList_1<T>;
|
|
1105
1105
|
static createBuilder<T>(): ImmutableList_1_Builder<T>;
|
|
1106
1106
|
static createRange<T>(items: IEnumerable_1<T>): ImmutableList_1<T>;
|
|
1107
|
-
static indexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T>): int;
|
|
1107
|
+
static indexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
1108
1108
|
static indexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int, count: int): int;
|
|
1109
1109
|
static indexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int): int;
|
|
1110
1110
|
static indexOf<T>(list: IImmutableList_1<T>, item: T): int;
|
|
1111
|
-
static lastIndexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T>): int;
|
|
1111
|
+
static lastIndexOf<T>(list: IImmutableList_1<T>, item: T, equalityComparer: IEqualityComparer_1<T> | undefined): int;
|
|
1112
1112
|
static lastIndexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int, count: int): int;
|
|
1113
1113
|
static lastIndexOf<T>(list: IImmutableList_1<T>, item: T, startIndex: int): int;
|
|
1114
1114
|
static lastIndexOf<T>(list: IImmutableList_1<T>, item: T): int;
|
|
@@ -1136,20 +1136,20 @@ export type ImmutableQueue = ImmutableQueue$instance;
|
|
|
1136
1136
|
|
|
1137
1137
|
export abstract class ImmutableSortedDictionary$instance {
|
|
1138
1138
|
static create<TKey, TValue>(): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1139
|
-
static create<TKey, TValue>(keyComparer: IComparer_1<TKey
|
|
1140
|
-
static create<TKey, TValue>(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1139
|
+
static create<TKey, TValue>(keyComparer: IComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1140
|
+
static create<TKey, TValue>(keyComparer: IComparer_1<TKey> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1141
1141
|
static createBuilder<TKey, TValue>(): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
|
|
1142
|
-
static createBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey
|
|
1143
|
-
static createBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
|
|
1144
|
-
static createRange<TKey, TValue>(keyComparer: IComparer_1<TKey
|
|
1145
|
-
static createRange<TKey, TValue>(keyComparer: IComparer_1<TKey
|
|
1142
|
+
static createBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
|
|
1143
|
+
static createBuilder<TKey, TValue>(keyComparer: IComparer_1<TKey> | undefined): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
|
|
1144
|
+
static createRange<TKey, TValue>(keyComparer: IComparer_1<TKey> | undefined, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1145
|
+
static createRange<TKey, TValue>(keyComparer: IComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined, items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1146
1146
|
static createRange<TKey, TValue>(items: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1147
1147
|
static toImmutableSortedDictionary<TKey, TValue>(builder: ImmutableSortedDictionary_2_Builder<TKey, TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1148
|
-
static toImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey
|
|
1149
|
-
static toImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1148
|
+
static toImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1149
|
+
static toImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>, keyComparer: IComparer_1<TKey> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1150
1150
|
static toImmutableSortedDictionary<TSource, TKey, TValue>(source: IEnumerable_1<TSource>, keySelector: Func_2<TSource, TKey>, elementSelector: Func_2<TSource, TValue>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1151
|
-
static toImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey
|
|
1152
|
-
static toImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1151
|
+
static toImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey> | undefined, valueComparer: IEqualityComparer_1<TValue> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1152
|
+
static toImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>, keyComparer: IComparer_1<TKey> | undefined): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1153
1153
|
static toImmutableSortedDictionary<TKey, TValue>(source: IEnumerable_1<KeyValuePair_2<TKey, TValue>>): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
@@ -1158,19 +1158,19 @@ export type ImmutableSortedDictionary = ImmutableSortedDictionary$instance;
|
|
|
1158
1158
|
|
|
1159
1159
|
export abstract class ImmutableSortedSet$instance {
|
|
1160
1160
|
static create<T>(): ImmutableSortedSet_1<T>;
|
|
1161
|
-
static create<T>(comparer: IComparer_1<T
|
|
1162
|
-
static create<T>(comparer: IComparer_1<T
|
|
1163
|
-
static create<T>(comparer: IComparer_1<T
|
|
1164
|
-
static create<T>(comparer: IComparer_1<T>): ImmutableSortedSet_1<T>;
|
|
1161
|
+
static create<T>(comparer: IComparer_1<T> | undefined, items: ReadOnlySpan_1<T>): ImmutableSortedSet_1<T>;
|
|
1162
|
+
static create<T>(comparer: IComparer_1<T> | undefined, item: T): ImmutableSortedSet_1<T>;
|
|
1163
|
+
static create<T>(comparer: IComparer_1<T> | undefined, ...items: T[]): ImmutableSortedSet_1<T>;
|
|
1164
|
+
static create<T>(comparer: IComparer_1<T> | undefined): ImmutableSortedSet_1<T>;
|
|
1165
1165
|
static create<T>(items: ReadOnlySpan_1<T>): ImmutableSortedSet_1<T>;
|
|
1166
1166
|
static create<T>(item: T): ImmutableSortedSet_1<T>;
|
|
1167
1167
|
static create<T>(...items: T[]): ImmutableSortedSet_1<T>;
|
|
1168
1168
|
static createBuilder<T>(): ImmutableSortedSet_1_Builder<T>;
|
|
1169
|
-
static createBuilder<T>(comparer: IComparer_1<T>): ImmutableSortedSet_1_Builder<T>;
|
|
1170
|
-
static createRange<T>(comparer: IComparer_1<T
|
|
1169
|
+
static createBuilder<T>(comparer: IComparer_1<T> | undefined): ImmutableSortedSet_1_Builder<T>;
|
|
1170
|
+
static createRange<T>(comparer: IComparer_1<T> | undefined, items: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
|
|
1171
1171
|
static createRange<T>(items: IEnumerable_1<T>): ImmutableSortedSet_1<T>;
|
|
1172
1172
|
static toImmutableSortedSet<TSource>(builder: ImmutableSortedSet_1_Builder<TSource>): ImmutableSortedSet_1<TSource>;
|
|
1173
|
-
static toImmutableSortedSet<TSource>(source: IEnumerable_1<TSource>, comparer: IComparer_1<TSource>): ImmutableSortedSet_1<TSource>;
|
|
1173
|
+
static toImmutableSortedSet<TSource>(source: IEnumerable_1<TSource>, comparer: IComparer_1<TSource> | undefined): ImmutableSortedSet_1<TSource>;
|
|
1174
1174
|
static toImmutableSortedSet<TSource>(source: IEnumerable_1<TSource>): ImmutableSortedSet_1<TSource>;
|
|
1175
1175
|
}
|
|
1176
1176
|
|