@tsonic/dotnet 10.0.39 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Collections
|
|
3
3
|
// Assembly: System.Collections, System.Collections.NonGeneric, System.Private.CoreLib
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { CultureInfo } from "../../System.Globalization/internal/index.js";
|
|
@@ -19,7 +17,7 @@ export interface ICollection$instance extends IEnumerable {
|
|
|
19
17
|
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
20
18
|
|
|
21
19
|
readonly Count: int;
|
|
22
|
-
readonly SyncRoot:
|
|
20
|
+
readonly SyncRoot: JsValue;
|
|
23
21
|
readonly IsSynchronized: boolean;
|
|
24
22
|
CopyTo(array: ClrArray, index: int): void;
|
|
25
23
|
GetEnumerator(): IEnumerator;
|
|
@@ -31,7 +29,7 @@ export type ICollection = ICollection$instance;
|
|
|
31
29
|
export interface IComparer$instance {
|
|
32
30
|
readonly __tsonic_iface_System_Collections_IComparer: never;
|
|
33
31
|
|
|
34
|
-
Compare(x:
|
|
32
|
+
Compare(x: JsValue | null, y: JsValue | null): int;
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
|
|
@@ -40,22 +38,22 @@ export type IComparer = IComparer$instance;
|
|
|
40
38
|
export interface IDictionary$instance extends ICollection, IEnumerable {
|
|
41
39
|
readonly __tsonic_iface_System_Collections_IDictionary: never;
|
|
42
40
|
|
|
43
|
-
get Item():
|
|
44
|
-
set Item(value:
|
|
41
|
+
get Item(): JsValue | null;
|
|
42
|
+
set Item(value: JsValue | null);
|
|
45
43
|
readonly Keys: ICollection;
|
|
46
44
|
readonly Values: ICollection;
|
|
47
45
|
readonly IsReadOnly: boolean;
|
|
48
46
|
readonly IsFixedSize: boolean;
|
|
49
47
|
readonly Count: int;
|
|
50
|
-
readonly SyncRoot:
|
|
48
|
+
readonly SyncRoot: JsValue;
|
|
51
49
|
readonly IsSynchronized: boolean;
|
|
52
|
-
Add(key:
|
|
50
|
+
Add(key: JsValue, value: JsValue | null): void;
|
|
53
51
|
Clear(): void;
|
|
54
|
-
Contains(key:
|
|
52
|
+
Contains(key: JsValue): boolean;
|
|
55
53
|
CopyTo(array: ClrArray, index: int): void;
|
|
56
54
|
GetEnumerator(): IDictionaryEnumerator;
|
|
57
55
|
GetEnumerator(): IEnumerator;
|
|
58
|
-
Remove(key:
|
|
56
|
+
Remove(key: JsValue): void;
|
|
59
57
|
}
|
|
60
58
|
|
|
61
59
|
|
|
@@ -64,10 +62,10 @@ export type IDictionary = IDictionary$instance;
|
|
|
64
62
|
export interface IDictionaryEnumerator$instance extends IEnumerator {
|
|
65
63
|
readonly __tsonic_iface_System_Collections_IDictionaryEnumerator: never;
|
|
66
64
|
|
|
67
|
-
readonly Key:
|
|
68
|
-
readonly Value:
|
|
65
|
+
readonly Key: JsValue;
|
|
66
|
+
readonly Value: JsValue | null;
|
|
69
67
|
readonly Entry: DictionaryEntry;
|
|
70
|
-
readonly Current:
|
|
68
|
+
readonly Current: JsValue;
|
|
71
69
|
MoveNext(): boolean;
|
|
72
70
|
Reset(): void;
|
|
73
71
|
}
|
|
@@ -87,7 +85,7 @@ export type IEnumerable = IEnumerable$instance;
|
|
|
87
85
|
export interface IEnumerator$instance {
|
|
88
86
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
89
87
|
|
|
90
|
-
readonly Current:
|
|
88
|
+
readonly Current: JsValue;
|
|
91
89
|
MoveNext(): boolean;
|
|
92
90
|
Reset(): void;
|
|
93
91
|
}
|
|
@@ -98,8 +96,8 @@ export type IEnumerator = IEnumerator$instance;
|
|
|
98
96
|
export interface IEqualityComparer$instance {
|
|
99
97
|
readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
|
|
100
98
|
|
|
101
|
-
Equals(x:
|
|
102
|
-
GetHashCode(obj:
|
|
99
|
+
Equals(x: JsValue | null, y: JsValue | null): boolean;
|
|
100
|
+
GetHashCode(obj: JsValue): int;
|
|
103
101
|
}
|
|
104
102
|
|
|
105
103
|
|
|
@@ -108,7 +106,7 @@ export type IEqualityComparer = IEqualityComparer$instance;
|
|
|
108
106
|
export interface IHashCodeProvider$instance {
|
|
109
107
|
readonly __tsonic_iface_System_Collections_IHashCodeProvider: never;
|
|
110
108
|
|
|
111
|
-
GetHashCode(obj:
|
|
109
|
+
GetHashCode(obj: JsValue): int;
|
|
112
110
|
}
|
|
113
111
|
|
|
114
112
|
|
|
@@ -120,25 +118,25 @@ export interface IList$instance extends ICollection, IEnumerable {
|
|
|
120
118
|
readonly IsReadOnly: boolean;
|
|
121
119
|
readonly IsFixedSize: boolean;
|
|
122
120
|
readonly Count: int;
|
|
123
|
-
readonly SyncRoot:
|
|
121
|
+
readonly SyncRoot: JsValue;
|
|
124
122
|
readonly IsSynchronized: boolean;
|
|
125
|
-
Add(value:
|
|
123
|
+
Add(value: JsValue | null): int;
|
|
126
124
|
Clear(): void;
|
|
127
|
-
Contains(value:
|
|
125
|
+
Contains(value: JsValue | null): boolean;
|
|
128
126
|
CopyTo(array: ClrArray, index: int): void;
|
|
129
127
|
GetEnumerator(): IEnumerator;
|
|
130
|
-
Insert(index: int, value:
|
|
131
|
-
Remove(value:
|
|
128
|
+
Insert(index: int, value: JsValue | null): void;
|
|
129
|
+
Remove(value: JsValue | null): void;
|
|
132
130
|
RemoveAt(index: int): void;
|
|
133
131
|
}
|
|
134
132
|
|
|
135
133
|
|
|
136
|
-
export type IList = IList$instance & { [index: number]:
|
|
134
|
+
export type IList = IList$instance & { [index: number]: JsValue; };
|
|
137
135
|
|
|
138
136
|
export interface IStructuralComparable$instance {
|
|
139
137
|
readonly __tsonic_iface_System_Collections_IStructuralComparable: never;
|
|
140
138
|
|
|
141
|
-
CompareTo(other:
|
|
139
|
+
CompareTo(other: JsValue | null, comparer: IComparer): int;
|
|
142
140
|
}
|
|
143
141
|
|
|
144
142
|
|
|
@@ -147,7 +145,7 @@ export type IStructuralComparable = IStructuralComparable$instance;
|
|
|
147
145
|
export interface IStructuralEquatable$instance {
|
|
148
146
|
readonly __tsonic_iface_System_Collections_IStructuralEquatable: never;
|
|
149
147
|
|
|
150
|
-
Equals(other:
|
|
148
|
+
Equals(other: JsValue | null, comparer: IEqualityComparer): boolean;
|
|
151
149
|
GetHashCode(comparer: IEqualityComparer): int;
|
|
152
150
|
}
|
|
153
151
|
|
|
@@ -157,16 +155,16 @@ export type IStructuralEquatable = IStructuralEquatable$instance;
|
|
|
157
155
|
export interface DictionaryEntry$instance {
|
|
158
156
|
readonly __tsonic_type_System_Collections_DictionaryEntry: never;
|
|
159
157
|
|
|
160
|
-
Key:
|
|
161
|
-
get Value():
|
|
162
|
-
set Value(value:
|
|
163
|
-
Deconstruct(key:
|
|
158
|
+
Key: JsValue;
|
|
159
|
+
get Value(): JsValue | null;
|
|
160
|
+
set Value(value: JsValue | null);
|
|
161
|
+
Deconstruct(key: JsValue, value: JsValue | null): void;
|
|
164
162
|
ToString(): string;
|
|
165
163
|
}
|
|
166
164
|
|
|
167
165
|
|
|
168
166
|
export const DictionaryEntry: {
|
|
169
|
-
new(key:
|
|
167
|
+
new(key: JsValue, value: JsValue | null): DictionaryEntry;
|
|
170
168
|
};
|
|
171
169
|
|
|
172
170
|
|
|
@@ -185,39 +183,39 @@ export interface ArrayList$instance extends System_Internal.ICloneable$instance
|
|
|
185
183
|
readonly IsFixedSize: boolean;
|
|
186
184
|
readonly IsReadOnly: boolean;
|
|
187
185
|
readonly IsSynchronized: boolean;
|
|
188
|
-
readonly SyncRoot:
|
|
189
|
-
Add(value:
|
|
186
|
+
readonly SyncRoot: JsValue;
|
|
187
|
+
Add(value: JsValue | null): int;
|
|
190
188
|
AddRange(c: ICollection): void;
|
|
191
|
-
BinarySearch(index: int, count: int, value:
|
|
192
|
-
BinarySearch(value:
|
|
193
|
-
BinarySearch(value:
|
|
189
|
+
BinarySearch(index: int, count: int, value: JsValue | null, comparer: IComparer | null): int;
|
|
190
|
+
BinarySearch(value: JsValue | null): int;
|
|
191
|
+
BinarySearch(value: JsValue | null, comparer: IComparer | null): int;
|
|
194
192
|
Clear(): void;
|
|
195
|
-
Clone():
|
|
196
|
-
Contains(item:
|
|
193
|
+
Clone(): JsValue;
|
|
194
|
+
Contains(item: JsValue | null): boolean;
|
|
197
195
|
CopyTo(array: ClrArray): void;
|
|
198
196
|
CopyTo(array: ClrArray, arrayIndex: int): void;
|
|
199
197
|
CopyTo(index: int, array: ClrArray, arrayIndex: int, count: int): void;
|
|
200
198
|
GetEnumerator(): IEnumerator;
|
|
201
199
|
GetEnumerator(index: int, count: int): IEnumerator;
|
|
202
200
|
GetRange(index: int, count: int): ArrayList;
|
|
203
|
-
IndexOf(value:
|
|
204
|
-
IndexOf(value:
|
|
205
|
-
IndexOf(value:
|
|
206
|
-
Insert(index: int, value:
|
|
201
|
+
IndexOf(value: JsValue | null): int;
|
|
202
|
+
IndexOf(value: JsValue | null, startIndex: int): int;
|
|
203
|
+
IndexOf(value: JsValue | null, startIndex: int, count: int): int;
|
|
204
|
+
Insert(index: int, value: JsValue | null): void;
|
|
207
205
|
InsertRange(index: int, c: ICollection): void;
|
|
208
|
-
LastIndexOf(value:
|
|
209
|
-
LastIndexOf(value:
|
|
210
|
-
LastIndexOf(value:
|
|
211
|
-
Remove(obj:
|
|
206
|
+
LastIndexOf(value: JsValue | null): int;
|
|
207
|
+
LastIndexOf(value: JsValue | null, startIndex: int): int;
|
|
208
|
+
LastIndexOf(value: JsValue | null, startIndex: int, count: int): int;
|
|
209
|
+
Remove(obj: JsValue | null): void;
|
|
212
210
|
RemoveAt(index: int): void;
|
|
213
211
|
RemoveRange(index: int, count: int): void;
|
|
214
212
|
Reverse(): void;
|
|
215
213
|
Reverse(index: int, count: int): void;
|
|
216
214
|
SetRange(index: int, c: ICollection): void;
|
|
217
215
|
Sort(): void;
|
|
218
|
-
Sort(comparer: IComparer): void;
|
|
219
|
-
Sort(index: int, count: int, comparer: IComparer): void;
|
|
220
|
-
ToArray(): (
|
|
216
|
+
Sort(comparer: IComparer | null): void;
|
|
217
|
+
Sort(index: int, count: int, comparer: IComparer | null): void;
|
|
218
|
+
ToArray(): (JsValue | null)[];
|
|
221
219
|
ToArray(type: Type): ClrArray;
|
|
222
220
|
TrimToSize(): void;
|
|
223
221
|
}
|
|
@@ -232,7 +230,7 @@ export const ArrayList: {
|
|
|
232
230
|
FixedSize(list: IList): IList;
|
|
233
231
|
ReadOnly(list: ArrayList): ArrayList;
|
|
234
232
|
ReadOnly(list: IList): IList;
|
|
235
|
-
Repeat(value:
|
|
233
|
+
Repeat(value: JsValue | null, count: int): ArrayList;
|
|
236
234
|
Synchronized(list: ArrayList): ArrayList;
|
|
237
235
|
Synchronized(list: IList): IList;
|
|
238
236
|
};
|
|
@@ -245,7 +243,7 @@ export interface __ArrayList$views {
|
|
|
245
243
|
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
246
244
|
}
|
|
247
245
|
|
|
248
|
-
export type ArrayList = ArrayList$instance & __ArrayList$views & { [index: number]:
|
|
246
|
+
export type ArrayList = ArrayList$instance & __ArrayList$views & { [index: number]: JsValue; };
|
|
249
247
|
|
|
250
248
|
|
|
251
249
|
export interface BitArray$instance extends System_Internal.ICloneable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {
|
|
@@ -260,9 +258,9 @@ export interface BitArray$instance extends System_Internal.ICloneable$instance,
|
|
|
260
258
|
readonly IsReadOnly: boolean;
|
|
261
259
|
readonly IsSynchronized: boolean;
|
|
262
260
|
Length: int;
|
|
263
|
-
readonly SyncRoot:
|
|
261
|
+
readonly SyncRoot: JsValue;
|
|
264
262
|
And(value: BitArray): BitArray;
|
|
265
|
-
Clone():
|
|
263
|
+
Clone(): JsValue;
|
|
266
264
|
CopyTo(array: ClrArray, index: int): void;
|
|
267
265
|
Get(index: int): boolean;
|
|
268
266
|
GetEnumerator(): IEnumerator;
|
|
@@ -303,7 +301,7 @@ export interface CaseInsensitiveComparer$instance {
|
|
|
303
301
|
|
|
304
302
|
readonly __tsonic_iface_System_Collections_IComparer: never;
|
|
305
303
|
|
|
306
|
-
Compare(a:
|
|
304
|
+
Compare(a: JsValue | null, b: JsValue | null): int;
|
|
307
305
|
}
|
|
308
306
|
|
|
309
307
|
|
|
@@ -327,7 +325,7 @@ export interface CaseInsensitiveHashCodeProvider$instance {
|
|
|
327
325
|
|
|
328
326
|
readonly __tsonic_iface_System_Collections_IHashCodeProvider: never;
|
|
329
327
|
|
|
330
|
-
GetHashCode(obj:
|
|
328
|
+
GetHashCode(obj: JsValue): int;
|
|
331
329
|
GetHashCode(): int;
|
|
332
330
|
}
|
|
333
331
|
|
|
@@ -360,13 +358,13 @@ export interface CollectionBase$instance {
|
|
|
360
358
|
GetEnumerator(): IEnumerator;
|
|
361
359
|
OnClear(): void;
|
|
362
360
|
OnClearComplete(): void;
|
|
363
|
-
OnInsert(index: int, value:
|
|
364
|
-
OnInsertComplete(index: int, value:
|
|
365
|
-
OnRemove(index: int, value:
|
|
366
|
-
OnRemoveComplete(index: int, value:
|
|
367
|
-
OnSet(index: int, oldValue:
|
|
368
|
-
OnSetComplete(index: int, oldValue:
|
|
369
|
-
OnValidate(value:
|
|
361
|
+
OnInsert(index: int, value: JsValue | null): void;
|
|
362
|
+
OnInsertComplete(index: int, value: JsValue | null): void;
|
|
363
|
+
OnRemove(index: int, value: JsValue | null): void;
|
|
364
|
+
OnRemoveComplete(index: int, value: JsValue | null): void;
|
|
365
|
+
OnSet(index: int, oldValue: JsValue | null, newValue: JsValue | null): void;
|
|
366
|
+
OnSetComplete(index: int, oldValue: JsValue | null, newValue: JsValue | null): void;
|
|
367
|
+
OnValidate(value: JsValue): void;
|
|
370
368
|
RemoveAt(index: int): void;
|
|
371
369
|
}
|
|
372
370
|
|
|
@@ -390,7 +388,7 @@ export interface Comparer$instance extends System_Runtime_Serialization_Internal
|
|
|
390
388
|
readonly __tsonic_iface_System_Collections_IComparer: never;
|
|
391
389
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
392
390
|
|
|
393
|
-
Compare(a:
|
|
391
|
+
Compare(a: JsValue | null, b: JsValue | null): int;
|
|
394
392
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
395
393
|
}
|
|
396
394
|
|
|
@@ -423,14 +421,14 @@ export interface DictionaryBase$instance {
|
|
|
423
421
|
GetEnumerator(): IDictionaryEnumerator;
|
|
424
422
|
OnClear(): void;
|
|
425
423
|
OnClearComplete(): void;
|
|
426
|
-
OnGet(key:
|
|
427
|
-
OnInsert(key:
|
|
428
|
-
OnInsertComplete(key:
|
|
429
|
-
OnRemove(key:
|
|
430
|
-
OnRemoveComplete(key:
|
|
431
|
-
OnSet(key:
|
|
432
|
-
OnSetComplete(key:
|
|
433
|
-
OnValidate(key:
|
|
424
|
+
OnGet(key: JsValue, currentValue: JsValue | null): JsValue | null;
|
|
425
|
+
OnInsert(key: JsValue, value: JsValue | null): void;
|
|
426
|
+
OnInsertComplete(key: JsValue, value: JsValue | null): void;
|
|
427
|
+
OnRemove(key: JsValue, value: JsValue | null): void;
|
|
428
|
+
OnRemoveComplete(key: JsValue, value: JsValue | null): void;
|
|
429
|
+
OnSet(key: JsValue, oldValue: JsValue | null, newValue: JsValue | null): void;
|
|
430
|
+
OnSetComplete(key: JsValue, oldValue: JsValue | null, newValue: JsValue | null): void;
|
|
431
|
+
OnValidate(key: JsValue, value: JsValue | null): void;
|
|
434
432
|
}
|
|
435
433
|
|
|
436
434
|
|
|
@@ -461,24 +459,24 @@ export interface Hashtable$instance extends System_Internal.ICloneable$instance,
|
|
|
461
459
|
readonly IsFixedSize: boolean;
|
|
462
460
|
readonly IsReadOnly: boolean;
|
|
463
461
|
readonly IsSynchronized: boolean;
|
|
464
|
-
get Item():
|
|
465
|
-
set Item(value:
|
|
462
|
+
get Item(): JsValue | null;
|
|
463
|
+
set Item(value: JsValue | null);
|
|
466
464
|
readonly Keys: ICollection;
|
|
467
|
-
readonly SyncRoot:
|
|
465
|
+
readonly SyncRoot: JsValue;
|
|
468
466
|
readonly Values: ICollection;
|
|
469
|
-
Add(key:
|
|
467
|
+
Add(key: JsValue, value: JsValue | null): void;
|
|
470
468
|
Clear(): void;
|
|
471
|
-
Clone():
|
|
472
|
-
Contains(key:
|
|
473
|
-
ContainsKey(key:
|
|
474
|
-
ContainsValue(value:
|
|
469
|
+
Clone(): JsValue;
|
|
470
|
+
Contains(key: JsValue): boolean;
|
|
471
|
+
ContainsKey(key: JsValue): boolean;
|
|
472
|
+
ContainsValue(value: JsValue | null): boolean;
|
|
475
473
|
CopyTo(array: ClrArray, arrayIndex: int): void;
|
|
476
474
|
GetEnumerator(): IDictionaryEnumerator;
|
|
477
|
-
GetHash(key:
|
|
475
|
+
GetHash(key: JsValue): int;
|
|
478
476
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
479
|
-
KeyEquals(item:
|
|
480
|
-
OnDeserialization(sender:
|
|
481
|
-
Remove(key:
|
|
477
|
+
KeyEquals(item: JsValue | null, key: JsValue): boolean;
|
|
478
|
+
OnDeserialization(sender: JsValue | null): void;
|
|
479
|
+
Remove(key: JsValue): void;
|
|
482
480
|
}
|
|
483
481
|
|
|
484
482
|
|
|
@@ -486,18 +484,18 @@ export const Hashtable: {
|
|
|
486
484
|
new(): Hashtable;
|
|
487
485
|
new(capacity: int): Hashtable;
|
|
488
486
|
new(capacity: int, loadFactor: float): Hashtable;
|
|
489
|
-
new(capacity: int, loadFactor: float, equalityComparer: IEqualityComparer): Hashtable;
|
|
490
|
-
new(hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
|
|
491
|
-
new(equalityComparer: IEqualityComparer): Hashtable;
|
|
492
|
-
new(capacity: int, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
|
|
493
|
-
new(capacity: int, equalityComparer: IEqualityComparer): Hashtable;
|
|
487
|
+
new(capacity: int, loadFactor: float, equalityComparer: IEqualityComparer | null): Hashtable;
|
|
488
|
+
new(hcp: IHashCodeProvider | null, comparer: IComparer | null): Hashtable;
|
|
489
|
+
new(equalityComparer: IEqualityComparer | null): Hashtable;
|
|
490
|
+
new(capacity: int, hcp: IHashCodeProvider | null, comparer: IComparer | null): Hashtable;
|
|
491
|
+
new(capacity: int, equalityComparer: IEqualityComparer | null): Hashtable;
|
|
494
492
|
new(d: IDictionary): Hashtable;
|
|
495
493
|
new(d: IDictionary, loadFactor: float): Hashtable;
|
|
496
|
-
new(d: IDictionary, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
|
|
497
|
-
new(d: IDictionary, equalityComparer: IEqualityComparer): Hashtable;
|
|
498
|
-
new(capacity: int, loadFactor: float, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
|
|
499
|
-
new(d: IDictionary, loadFactor: float, hcp: IHashCodeProvider, comparer: IComparer): Hashtable;
|
|
500
|
-
new(d: IDictionary, loadFactor: float, equalityComparer: IEqualityComparer): Hashtable;
|
|
494
|
+
new(d: IDictionary, hcp: IHashCodeProvider | null, comparer: IComparer | null): Hashtable;
|
|
495
|
+
new(d: IDictionary, equalityComparer: IEqualityComparer | null): Hashtable;
|
|
496
|
+
new(capacity: int, loadFactor: float, hcp: IHashCodeProvider | null, comparer: IComparer | null): Hashtable;
|
|
497
|
+
new(d: IDictionary, loadFactor: float, hcp: IHashCodeProvider | null, comparer: IComparer | null): Hashtable;
|
|
498
|
+
new(d: IDictionary, loadFactor: float, equalityComparer: IEqualityComparer | null): Hashtable;
|
|
501
499
|
Synchronized(table: Hashtable): Hashtable;
|
|
502
500
|
};
|
|
503
501
|
|
|
@@ -525,17 +523,17 @@ export interface ListDictionaryInternal$instance {
|
|
|
525
523
|
readonly IsFixedSize: boolean;
|
|
526
524
|
readonly IsReadOnly: boolean;
|
|
527
525
|
readonly IsSynchronized: boolean;
|
|
528
|
-
get Item():
|
|
529
|
-
set Item(value:
|
|
526
|
+
get Item(): JsValue | null;
|
|
527
|
+
set Item(value: JsValue | null);
|
|
530
528
|
readonly Keys: ICollection;
|
|
531
|
-
readonly SyncRoot:
|
|
529
|
+
readonly SyncRoot: JsValue;
|
|
532
530
|
readonly Values: ICollection;
|
|
533
|
-
Add(key:
|
|
531
|
+
Add(key: JsValue, value: JsValue | null): void;
|
|
534
532
|
Clear(): void;
|
|
535
|
-
Contains(key:
|
|
533
|
+
Contains(key: JsValue): boolean;
|
|
536
534
|
CopyTo(array: ClrArray, index: int): void;
|
|
537
535
|
GetEnumerator(): IDictionaryEnumerator;
|
|
538
|
-
Remove(key:
|
|
536
|
+
Remove(key: JsValue): void;
|
|
539
537
|
}
|
|
540
538
|
|
|
541
539
|
|
|
@@ -562,16 +560,16 @@ export interface Queue$instance extends System_Internal.ICloneable$instance {
|
|
|
562
560
|
|
|
563
561
|
readonly Count: int;
|
|
564
562
|
readonly IsSynchronized: boolean;
|
|
565
|
-
readonly SyncRoot:
|
|
563
|
+
readonly SyncRoot: JsValue;
|
|
566
564
|
Clear(): void;
|
|
567
|
-
Clone():
|
|
568
|
-
Contains(obj:
|
|
565
|
+
Clone(): JsValue;
|
|
566
|
+
Contains(obj: JsValue | null): boolean;
|
|
569
567
|
CopyTo(array: ClrArray, index: int): void;
|
|
570
|
-
Dequeue():
|
|
571
|
-
Enqueue(obj:
|
|
568
|
+
Dequeue(): JsValue | null;
|
|
569
|
+
Enqueue(obj: JsValue | null): void;
|
|
572
570
|
GetEnumerator(): IEnumerator;
|
|
573
|
-
Peek():
|
|
574
|
-
ToArray(): (
|
|
571
|
+
Peek(): JsValue | null;
|
|
572
|
+
ToArray(): (JsValue | null)[];
|
|
575
573
|
TrimToSize(): void;
|
|
576
574
|
}
|
|
577
575
|
|
|
@@ -630,28 +628,28 @@ export interface SortedList$instance extends System_Internal.ICloneable$instance
|
|
|
630
628
|
readonly IsFixedSize: boolean;
|
|
631
629
|
readonly IsReadOnly: boolean;
|
|
632
630
|
readonly IsSynchronized: boolean;
|
|
633
|
-
get Item():
|
|
634
|
-
set Item(value:
|
|
631
|
+
get Item(): JsValue | null;
|
|
632
|
+
set Item(value: JsValue | null);
|
|
635
633
|
readonly Keys: ICollection;
|
|
636
|
-
readonly SyncRoot:
|
|
634
|
+
readonly SyncRoot: JsValue;
|
|
637
635
|
readonly Values: ICollection;
|
|
638
|
-
Add(key:
|
|
636
|
+
Add(key: JsValue, value: JsValue | null): void;
|
|
639
637
|
Clear(): void;
|
|
640
|
-
Clone():
|
|
641
|
-
Contains(key:
|
|
642
|
-
ContainsKey(key:
|
|
643
|
-
ContainsValue(value:
|
|
638
|
+
Clone(): JsValue;
|
|
639
|
+
Contains(key: JsValue): boolean;
|
|
640
|
+
ContainsKey(key: JsValue): boolean;
|
|
641
|
+
ContainsValue(value: JsValue | null): boolean;
|
|
644
642
|
CopyTo(array: ClrArray, arrayIndex: int): void;
|
|
645
|
-
GetByIndex(index: int):
|
|
643
|
+
GetByIndex(index: int): JsValue | null;
|
|
646
644
|
GetEnumerator(): IDictionaryEnumerator;
|
|
647
|
-
GetKey(index: int):
|
|
645
|
+
GetKey(index: int): JsValue;
|
|
648
646
|
GetKeyList(): IList;
|
|
649
647
|
GetValueList(): IList;
|
|
650
|
-
IndexOfKey(key:
|
|
651
|
-
IndexOfValue(value:
|
|
652
|
-
Remove(key:
|
|
648
|
+
IndexOfKey(key: JsValue): int;
|
|
649
|
+
IndexOfValue(value: JsValue | null): int;
|
|
650
|
+
Remove(key: JsValue): void;
|
|
653
651
|
RemoveAt(index: int): void;
|
|
654
|
-
SetByIndex(index: int, value:
|
|
652
|
+
SetByIndex(index: int, value: JsValue | null): void;
|
|
655
653
|
TrimToSize(): void;
|
|
656
654
|
}
|
|
657
655
|
|
|
@@ -659,10 +657,10 @@ export interface SortedList$instance extends System_Internal.ICloneable$instance
|
|
|
659
657
|
export const SortedList: {
|
|
660
658
|
new(): SortedList;
|
|
661
659
|
new(initialCapacity: int): SortedList;
|
|
662
|
-
new(comparer: IComparer): SortedList;
|
|
663
|
-
new(comparer: IComparer, capacity: int): SortedList;
|
|
660
|
+
new(comparer: IComparer | null): SortedList;
|
|
661
|
+
new(comparer: IComparer | null, capacity: int): SortedList;
|
|
664
662
|
new(d: IDictionary): SortedList;
|
|
665
|
-
new(d: IDictionary, comparer: IComparer): SortedList;
|
|
663
|
+
new(d: IDictionary, comparer: IComparer | null): SortedList;
|
|
666
664
|
Synchronized(list: SortedList): SortedList;
|
|
667
665
|
};
|
|
668
666
|
|
|
@@ -686,16 +684,16 @@ export interface Stack$instance extends System_Internal.ICloneable$instance {
|
|
|
686
684
|
|
|
687
685
|
readonly Count: int;
|
|
688
686
|
readonly IsSynchronized: boolean;
|
|
689
|
-
readonly SyncRoot:
|
|
687
|
+
readonly SyncRoot: JsValue;
|
|
690
688
|
Clear(): void;
|
|
691
|
-
Clone():
|
|
692
|
-
Contains(obj:
|
|
689
|
+
Clone(): JsValue;
|
|
690
|
+
Contains(obj: JsValue | null): boolean;
|
|
693
691
|
CopyTo(array: ClrArray, index: int): void;
|
|
694
692
|
GetEnumerator(): IEnumerator;
|
|
695
|
-
Peek():
|
|
696
|
-
Pop():
|
|
697
|
-
Push(obj:
|
|
698
|
-
ToArray(): (
|
|
693
|
+
Peek(): JsValue | null;
|
|
694
|
+
Pop(): JsValue | null;
|
|
695
|
+
Push(obj: JsValue | null): void;
|
|
696
|
+
ToArray(): (JsValue | null)[];
|
|
699
697
|
}
|
|
700
698
|
|
|
701
699
|
|