@tsonic/dotnet 0.8.0 → 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 +21 -21
- package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
- package/Microsoft.Win32/internal/index.d.ts +12 -12
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +1277 -1289
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +13 -13
- package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
- package/System.Collections/internal/index.d.ts +66 -68
- package/System.Collections.Concurrent/internal/index.d.ts +24 -24
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +10 -10
- 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 +141 -133
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +121 -121
- package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
- package/System.Collections.Specialized/internal/index.d.ts +85 -87
- package/System.ComponentModel/internal/index.d.ts +595 -597
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
- package/System.ComponentModel.Design/internal/index.d.ts +90 -90
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
- package/System.Data/internal/index.d.ts +225 -225
- package/System.Data.Common/internal/index.d.ts +62 -62
- package/System.Data.SqlTypes/internal/index.d.ts +73 -73
- package/System.Diagnostics/internal/index.d.ts +343 -343
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
- package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
- package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
- package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
- package/System.Drawing/internal/index.d.ts +99 -99
- package/System.Dynamic/internal/index.d.ts +33 -33
- package/System.Formats.Asn1/internal/index.d.ts +12 -12
- package/System.Formats.Tar/internal/index.d.ts +17 -17
- package/System.Globalization/internal/index.d.ts +51 -51
- package/System.IO/internal/index.d.ts +172 -172
- package/System.IO.Compression/internal/index.d.ts +56 -56
- package/System.IO.Enumeration/internal/index.d.ts +6 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
- package/System.IO.Pipelines/internal/index.d.ts +13 -13
- package/System.IO.Pipes/internal/index.d.ts +32 -32
- package/System.Linq/internal/index.d.ts +187 -187
- package/System.Linq.Expressions/internal/index.d.ts +203 -203
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- package/System.Net/internal/index.d.ts +218 -220
- package/System.Net.Cache/internal/index.d.ts +10 -10
- package/System.Net.Http/internal/index.d.ts +89 -89
- package/System.Net.Http.Headers/internal/index.d.ts +86 -86
- package/System.Net.Http.Json/internal/index.d.ts +59 -59
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/internal/index.d.ts +92 -92
- package/System.Net.Mime/internal/index.d.ts +6 -6
- package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
- package/System.Net.Quic/internal/index.d.ts +13 -13
- package/System.Net.Security/internal/index.d.ts +70 -70
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
- package/System.Net.Sockets/internal/index.d.ts +94 -94
- package/System.Net.WebSockets/internal/index.d.ts +46 -46
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +128 -130
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +271 -271
- package/System.Reflection.Emit/internal/index.d.ts +123 -123
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +179 -179
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
- package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
- package/System.Resources/internal/index.d.ts +38 -38
- package/System.Runtime/internal/index.d.ts +9 -9
- package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Loader/internal/index.d.ts +9 -9
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +113 -115
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
- package/System.Runtime.Versioning/internal/index.d.ts +22 -22
- package/System.Security/internal/index.d.ts +63 -63
- package/System.Security.AccessControl/internal/index.d.ts +84 -84
- package/System.Security.Authentication/internal/index.d.ts +6 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
- package/System.Security.Claims/internal/index.d.ts +38 -40
- package/System.Security.Cryptography/internal/index.d.ts +378 -378
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
- package/System.Security.Permissions/internal/index.d.ts +1 -1
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +29 -31
- package/System.Text/internal/index.d.ts +94 -94
- package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
- package/System.Text.Json/internal/index.d.ts +103 -103
- package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
- package/System.Text.Json.Schema/internal/index.d.ts +7 -7
- package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
- package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Threading/internal/index.d.ts +160 -160
- package/System.Threading.Channels/internal/index.d.ts +12 -12
- package/System.Threading.Tasks/internal/index.d.ts +125 -135
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
- package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
- package/System.Timers/internal/index.d.ts +8 -8
- package/System.Transactions/internal/index.d.ts +51 -51
- package/System.Web/internal/index.d.ts +32 -32
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Windows.Markup/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +281 -281
- package/System.Xml.Linq/internal/index.d.ts +76 -76
- package/System.Xml.Resolvers/internal/index.d.ts +8 -8
- package/System.Xml.Schema/internal/index.d.ts +173 -173
- package/System.Xml.Serialization/internal/index.d.ts +200 -200
- package/System.Xml.XPath/internal/index.d.ts +28 -28
- package/System.Xml.Xsl/internal/index.d.ts +53 -53
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -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,33 +147,33 @@ 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
|
|
|
174
174
|
|
|
175
175
|
export const ImmutableArray_1: {
|
|
176
|
-
new<T>(): ImmutableArray_1
|
|
176
|
+
new<T>(): ImmutableArray_1<T>;
|
|
177
177
|
readonly empty: unknown;
|
|
178
178
|
castUp<T, TDerived extends T>(items: ImmutableArray_1<TDerived>): ImmutableArray_1<T>;
|
|
179
179
|
};
|
|
@@ -208,7 +208,7 @@ export interface ImmutableArray_1_Enumerator$instance<T> {
|
|
|
208
208
|
|
|
209
209
|
|
|
210
210
|
export const ImmutableArray_1_Enumerator: {
|
|
211
|
-
new<T>(): ImmutableArray_1_Enumerator
|
|
211
|
+
new<T>(): ImmutableArray_1_Enumerator<T>;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
214
|
|
|
@@ -223,7 +223,7 @@ export interface ImmutableDictionary_2_Enumerator$instance<TKey, TValue> extends
|
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
export const ImmutableDictionary_2_Enumerator: {
|
|
226
|
-
new<TKey, TValue>(): ImmutableDictionary_2_Enumerator
|
|
226
|
+
new<TKey, TValue>(): ImmutableDictionary_2_Enumerator<TKey, TValue>;
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
|
|
@@ -244,7 +244,7 @@ export interface ImmutableHashSet_1_Enumerator$instance<T> extends IDisposable {
|
|
|
244
244
|
|
|
245
245
|
|
|
246
246
|
export const ImmutableHashSet_1_Enumerator: {
|
|
247
|
-
new<T>(): ImmutableHashSet_1_Enumerator
|
|
247
|
+
new<T>(): ImmutableHashSet_1_Enumerator<T>;
|
|
248
248
|
};
|
|
249
249
|
|
|
250
250
|
|
|
@@ -265,7 +265,7 @@ export interface ImmutableList_1_Enumerator$instance<T> extends IDisposable {
|
|
|
265
265
|
|
|
266
266
|
|
|
267
267
|
export const ImmutableList_1_Enumerator: {
|
|
268
|
-
new<T>(): ImmutableList_1_Enumerator
|
|
268
|
+
new<T>(): ImmutableList_1_Enumerator<T>;
|
|
269
269
|
};
|
|
270
270
|
|
|
271
271
|
|
|
@@ -284,7 +284,7 @@ export interface ImmutableQueue_1_Enumerator$instance<T> {
|
|
|
284
284
|
|
|
285
285
|
|
|
286
286
|
export const ImmutableQueue_1_Enumerator: {
|
|
287
|
-
new<T>(): ImmutableQueue_1_Enumerator
|
|
287
|
+
new<T>(): ImmutableQueue_1_Enumerator<T>;
|
|
288
288
|
};
|
|
289
289
|
|
|
290
290
|
|
|
@@ -299,7 +299,7 @@ export interface ImmutableSortedDictionary_2_Enumerator$instance<TKey, TValue> e
|
|
|
299
299
|
|
|
300
300
|
|
|
301
301
|
export const ImmutableSortedDictionary_2_Enumerator: {
|
|
302
|
-
new<TKey, TValue>(): ImmutableSortedDictionary_2_Enumerator
|
|
302
|
+
new<TKey, TValue>(): ImmutableSortedDictionary_2_Enumerator<TKey, TValue>;
|
|
303
303
|
};
|
|
304
304
|
|
|
305
305
|
|
|
@@ -320,7 +320,7 @@ export interface ImmutableSortedSet_1_Enumerator$instance<T> extends IDisposable
|
|
|
320
320
|
|
|
321
321
|
|
|
322
322
|
export const ImmutableSortedSet_1_Enumerator: {
|
|
323
|
-
new<T>(): ImmutableSortedSet_1_Enumerator
|
|
323
|
+
new<T>(): ImmutableSortedSet_1_Enumerator<T>;
|
|
324
324
|
};
|
|
325
325
|
|
|
326
326
|
|
|
@@ -339,7 +339,7 @@ export interface ImmutableStack_1_Enumerator$instance<T> {
|
|
|
339
339
|
|
|
340
340
|
|
|
341
341
|
export const ImmutableStack_1_Enumerator: {
|
|
342
|
-
new<T>(): ImmutableStack_1_Enumerator
|
|
342
|
+
new<T>(): ImmutableStack_1_Enumerator<T>;
|
|
343
343
|
};
|
|
344
344
|
|
|
345
345
|
|
|
@@ -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,29 +378,29 @@ 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
|
}
|
|
400
400
|
|
|
401
401
|
|
|
402
402
|
export const ImmutableArray_1_Builder: {
|
|
403
|
-
new<T>(): ImmutableArray_1_Builder
|
|
403
|
+
new<T>(): ImmutableArray_1_Builder<T>;
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
|
|
@@ -437,13 +437,13 @@ 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
|
|
|
445
445
|
export const ImmutableDictionary_2: {
|
|
446
|
-
new<TKey, TValue>(): ImmutableDictionary_2
|
|
446
|
+
new<TKey, TValue>(): ImmutableDictionary_2<TKey, TValue>;
|
|
447
447
|
readonly empty: unknown;
|
|
448
448
|
};
|
|
449
449
|
|
|
@@ -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;
|
|
@@ -490,7 +490,7 @@ export interface ImmutableDictionary_2_Builder$instance<TKey, TValue> {
|
|
|
490
490
|
|
|
491
491
|
|
|
492
492
|
export const ImmutableDictionary_2_Builder: {
|
|
493
|
-
new<TKey, TValue>(): ImmutableDictionary_2_Builder
|
|
493
|
+
new<TKey, TValue>(): ImmutableDictionary_2_Builder<TKey, TValue>;
|
|
494
494
|
};
|
|
495
495
|
|
|
496
496
|
|
|
@@ -529,12 +529,12 @@ 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
|
|
|
536
536
|
export const ImmutableHashSet_1: {
|
|
537
|
-
new<T>(): ImmutableHashSet_1
|
|
537
|
+
new<T>(): ImmutableHashSet_1<T>;
|
|
538
538
|
readonly empty: unknown;
|
|
539
539
|
};
|
|
540
540
|
|
|
@@ -577,7 +577,7 @@ export interface ImmutableHashSet_1_Builder$instance<T> {
|
|
|
577
577
|
|
|
578
578
|
|
|
579
579
|
export const ImmutableHashSet_1_Builder: {
|
|
580
|
-
new<T>(): ImmutableHashSet_1_Builder
|
|
580
|
+
new<T>(): ImmutableHashSet_1_Builder<T>;
|
|
581
581
|
};
|
|
582
582
|
|
|
583
583
|
|
|
@@ -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,47 +608,47 @@ 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
|
}
|
|
648
648
|
|
|
649
649
|
|
|
650
650
|
export const ImmutableList_1: {
|
|
651
|
-
new<T>(): ImmutableList_1
|
|
651
|
+
new<T>(): ImmutableList_1<T>;
|
|
652
652
|
readonly empty: unknown;
|
|
653
653
|
};
|
|
654
654
|
|
|
@@ -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,36 +697,36 @@ 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
|
}
|
|
726
726
|
|
|
727
727
|
|
|
728
728
|
export const ImmutableList_1_Builder: {
|
|
729
|
-
new<T>(): ImmutableList_1_Builder
|
|
729
|
+
new<T>(): ImmutableList_1_Builder<T>;
|
|
730
730
|
};
|
|
731
731
|
|
|
732
732
|
|
|
@@ -756,7 +756,7 @@ export interface ImmutableQueue_1$instance<T> {
|
|
|
756
756
|
|
|
757
757
|
|
|
758
758
|
export const ImmutableQueue_1: {
|
|
759
|
-
new<T>(): ImmutableQueue_1
|
|
759
|
+
new<T>(): ImmutableQueue_1<T>;
|
|
760
760
|
readonly empty: unknown;
|
|
761
761
|
};
|
|
762
762
|
|
|
@@ -793,13 +793,13 @@ 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
|
|
|
801
801
|
export const ImmutableSortedDictionary_2: {
|
|
802
|
-
new<TKey, TValue>(): ImmutableSortedDictionary_2
|
|
802
|
+
new<TKey, TValue>(): ImmutableSortedDictionary_2<TKey, TValue>;
|
|
803
803
|
readonly empty: unknown;
|
|
804
804
|
};
|
|
805
805
|
|
|
@@ -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;
|
|
@@ -847,7 +847,7 @@ export interface ImmutableSortedDictionary_2_Builder$instance<TKey, TValue> {
|
|
|
847
847
|
|
|
848
848
|
|
|
849
849
|
export const ImmutableSortedDictionary_2_Builder: {
|
|
850
|
-
new<TKey, TValue>(): ImmutableSortedDictionary_2_Builder
|
|
850
|
+
new<TKey, TValue>(): ImmutableSortedDictionary_2_Builder<TKey, TValue>;
|
|
851
851
|
};
|
|
852
852
|
|
|
853
853
|
|
|
@@ -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,12 +892,12 @@ 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
|
|
|
899
899
|
export const ImmutableSortedSet_1: {
|
|
900
|
-
new<T>(): ImmutableSortedSet_1
|
|
900
|
+
new<T>(): ImmutableSortedSet_1<T>;
|
|
901
901
|
readonly empty: unknown;
|
|
902
902
|
};
|
|
903
903
|
|
|
@@ -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;
|
|
@@ -948,7 +948,7 @@ export interface ImmutableSortedSet_1_Builder$instance<T> {
|
|
|
948
948
|
|
|
949
949
|
|
|
950
950
|
export const ImmutableSortedSet_1_Builder: {
|
|
951
|
-
new<T>(): ImmutableSortedSet_1_Builder
|
|
951
|
+
new<T>(): ImmutableSortedSet_1_Builder<T>;
|
|
952
952
|
};
|
|
953
953
|
|
|
954
954
|
|
|
@@ -977,7 +977,7 @@ export interface ImmutableStack_1$instance<T> {
|
|
|
977
977
|
|
|
978
978
|
|
|
979
979
|
export const ImmutableStack_1: {
|
|
980
|
-
new<T>(): ImmutableStack_1
|
|
980
|
+
new<T>(): ImmutableStack_1<T>;
|
|
981
981
|
readonly empty: unknown;
|
|
982
982
|
};
|
|
983
983
|
|
|
@@ -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
|
|