@tsonic/dotnet 0.5.2 → 0.6.0
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 +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -51,8 +51,8 @@ export type CLROf<T> =
|
|
|
51
51
|
T; // Identity fallback for non-primitive types
|
|
52
52
|
|
|
53
53
|
export enum ApartmentState {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
STA = 0,
|
|
55
|
+
MTA = 1,
|
|
56
56
|
unknown_ = 2
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -100,24 +100,26 @@ export enum ThreadState {
|
|
|
100
100
|
|
|
101
101
|
|
|
102
102
|
export interface IThreadPoolWorkItem$instance {
|
|
103
|
-
|
|
103
|
+
execute(): void;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
export type IThreadPoolWorkItem = IThreadPoolWorkItem$instance;
|
|
108
108
|
|
|
109
|
-
export interface ITimer$instance {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
export interface ITimer$instance extends IDisposable, IAsyncDisposable {
|
|
110
|
+
change(dueTime: TimeSpan, period: TimeSpan): boolean;
|
|
111
|
+
dispose(): void;
|
|
112
|
+
disposeAsync(): ValueTask;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
|
|
116
|
+
export interface ITimer$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
|
|
117
|
+
|
|
116
118
|
export type ITimer = ITimer$instance;
|
|
117
119
|
|
|
118
120
|
export class AsyncFlowControl$instance {
|
|
119
121
|
dispose(): void;
|
|
120
|
-
equals(obj:
|
|
122
|
+
equals(obj: unknown): boolean;
|
|
121
123
|
equals(obj: AsyncFlowControl): boolean;
|
|
122
124
|
getHashCode(): int;
|
|
123
125
|
undo(): void;
|
|
@@ -125,13 +127,15 @@ export class AsyncFlowControl$instance {
|
|
|
125
127
|
|
|
126
128
|
|
|
127
129
|
export interface __AsyncFlowControl$views {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
131
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<AsyncFlowControl>;
|
|
130
132
|
|
|
131
133
|
// Structural method bridges for numeric interface constraints
|
|
132
134
|
Equals(other: AsyncFlowControl): boolean;
|
|
133
135
|
}
|
|
134
136
|
|
|
137
|
+
export interface AsyncFlowControl$instance extends System_Internal.IDisposable$instance {}
|
|
138
|
+
|
|
135
139
|
export type AsyncFlowControl = AsyncFlowControl$instance & __AsyncFlowControl$views;
|
|
136
140
|
|
|
137
141
|
|
|
@@ -150,22 +154,22 @@ export class CancellationToken$instance {
|
|
|
150
154
|
readonly isCancellationRequested: boolean;
|
|
151
155
|
readonly waitHandle: WaitHandle;
|
|
152
156
|
equals(other: CancellationToken): boolean;
|
|
153
|
-
equals(other:
|
|
157
|
+
equals(other: unknown): boolean;
|
|
154
158
|
getHashCode(): int;
|
|
155
159
|
register(callback: Action): CancellationTokenRegistration;
|
|
156
160
|
register(callback: Action, useSynchronizationContext: boolean): CancellationTokenRegistration;
|
|
157
|
-
register(callback: Action_1<
|
|
158
|
-
register(callback: Action_2<
|
|
159
|
-
register(callback: Action_1<
|
|
161
|
+
register(callback: Action_1<unknown>, state: unknown): CancellationTokenRegistration;
|
|
162
|
+
register(callback: Action_2<unknown, CancellationToken>, state: unknown): CancellationTokenRegistration;
|
|
163
|
+
register(callback: Action_1<unknown>, state: unknown, useSynchronizationContext: boolean): CancellationTokenRegistration;
|
|
160
164
|
throwIfCancellationRequested(): void;
|
|
161
|
-
unsafeRegister(callback: Action_1<
|
|
162
|
-
unsafeRegister(callback: Action_2<
|
|
163
|
-
static readonly
|
|
165
|
+
unsafeRegister(callback: Action_1<unknown>, state: unknown): CancellationTokenRegistration;
|
|
166
|
+
unsafeRegister(callback: Action_2<unknown, CancellationToken>, state: unknown): CancellationTokenRegistration;
|
|
167
|
+
static readonly none: CancellationToken;
|
|
164
168
|
}
|
|
165
169
|
|
|
166
170
|
|
|
167
171
|
export interface __CancellationToken$views {
|
|
168
|
-
|
|
172
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CancellationToken>;
|
|
169
173
|
|
|
170
174
|
// Structural method bridges for numeric interface constraints
|
|
171
175
|
Equals(other: CancellationToken): boolean;
|
|
@@ -178,7 +182,7 @@ export class CancellationTokenRegistration$instance {
|
|
|
178
182
|
readonly token: CancellationToken;
|
|
179
183
|
dispose(): void;
|
|
180
184
|
disposeAsync(): ValueTask;
|
|
181
|
-
equals(obj:
|
|
185
|
+
equals(obj: unknown): boolean;
|
|
182
186
|
equals(other: CancellationTokenRegistration): boolean;
|
|
183
187
|
getHashCode(): int;
|
|
184
188
|
unregister(): boolean;
|
|
@@ -186,14 +190,16 @@ export class CancellationTokenRegistration$instance {
|
|
|
186
190
|
|
|
187
191
|
|
|
188
192
|
export interface __CancellationTokenRegistration$views {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
193
|
+
As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
|
|
194
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
195
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CancellationTokenRegistration>;
|
|
192
196
|
|
|
193
197
|
// Structural method bridges for numeric interface constraints
|
|
194
198
|
Equals(other: CancellationTokenRegistration): boolean;
|
|
195
199
|
}
|
|
196
200
|
|
|
201
|
+
export interface CancellationTokenRegistration$instance extends System_Internal.IAsyncDisposable$instance, System_Internal.IDisposable$instance {}
|
|
202
|
+
|
|
197
203
|
export type CancellationTokenRegistration = CancellationTokenRegistration$instance & __CancellationTokenRegistration$views;
|
|
198
204
|
|
|
199
205
|
|
|
@@ -205,14 +211,14 @@ export class Lock_Scope$instance {
|
|
|
205
211
|
export type Lock_Scope = Lock_Scope$instance;
|
|
206
212
|
|
|
207
213
|
export class LockCookie$instance {
|
|
208
|
-
equals(obj:
|
|
214
|
+
equals(obj: unknown): boolean;
|
|
209
215
|
equals(obj: LockCookie): boolean;
|
|
210
216
|
getHashCode(): int;
|
|
211
217
|
}
|
|
212
218
|
|
|
213
219
|
|
|
214
220
|
export interface __LockCookie$views {
|
|
215
|
-
|
|
221
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<LockCookie>;
|
|
216
222
|
|
|
217
223
|
// Structural method bridges for numeric interface constraints
|
|
218
224
|
Equals(other: LockCookie): boolean;
|
|
@@ -230,11 +236,11 @@ export class NamedWaitHandleOptions$instance {
|
|
|
230
236
|
export type NamedWaitHandleOptions = NamedWaitHandleOptions$instance;
|
|
231
237
|
|
|
232
238
|
export class NativeOverlapped$instance {
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
239
|
+
internalLow: nint;
|
|
240
|
+
internalHigh: nint;
|
|
241
|
+
offsetLow: int;
|
|
242
|
+
offsetHigh: int;
|
|
243
|
+
eventHandle: nint;
|
|
238
244
|
}
|
|
239
245
|
|
|
240
246
|
|
|
@@ -262,9 +268,9 @@ export class SpinWait$instance {
|
|
|
262
268
|
reset(): void;
|
|
263
269
|
spinOnce(): void;
|
|
264
270
|
spinOnce(sleep1Threshold: int): void;
|
|
265
|
-
static
|
|
266
|
-
static
|
|
267
|
-
static
|
|
271
|
+
static spinUntil3(condition: Func_1<CLROf<boolean>>, millisecondsTimeout: int): boolean;
|
|
272
|
+
static spinUntil3(condition: Func_1<CLROf<boolean>>, timeout: TimeSpan): boolean;
|
|
273
|
+
static spinUntil3(condition: Func_1<CLROf<boolean>>): void;
|
|
268
274
|
}
|
|
269
275
|
|
|
270
276
|
|
|
@@ -284,7 +290,7 @@ export class AbandonedMutexException$instance extends System_Internal.SystemExce
|
|
|
284
290
|
|
|
285
291
|
|
|
286
292
|
export interface __AbandonedMutexException$views {
|
|
287
|
-
|
|
293
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
288
294
|
}
|
|
289
295
|
|
|
290
296
|
export type AbandonedMutexException = AbandonedMutexException$instance & __AbandonedMutexException$views;
|
|
@@ -306,7 +312,7 @@ export class AutoResetEvent$instance extends EventWaitHandle$instance {
|
|
|
306
312
|
|
|
307
313
|
|
|
308
314
|
export interface __AutoResetEvent$views {
|
|
309
|
-
|
|
315
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
310
316
|
}
|
|
311
317
|
|
|
312
318
|
export type AutoResetEvent = AutoResetEvent$instance & __AutoResetEvent$views;
|
|
@@ -333,9 +339,11 @@ export class Barrier$instance {
|
|
|
333
339
|
|
|
334
340
|
|
|
335
341
|
export interface __Barrier$views {
|
|
336
|
-
|
|
342
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
337
343
|
}
|
|
338
344
|
|
|
345
|
+
export interface Barrier$instance extends System_Internal.IDisposable$instance {}
|
|
346
|
+
|
|
339
347
|
export type Barrier = Barrier$instance & __Barrier$views;
|
|
340
348
|
|
|
341
349
|
|
|
@@ -349,7 +357,7 @@ export class BarrierPostPhaseException$instance extends System_Internal.Exceptio
|
|
|
349
357
|
|
|
350
358
|
|
|
351
359
|
export interface __BarrierPostPhaseException$views {
|
|
352
|
-
|
|
360
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
353
361
|
}
|
|
354
362
|
|
|
355
363
|
export type BarrierPostPhaseException = BarrierPostPhaseException$instance & __BarrierPostPhaseException$views;
|
|
@@ -369,49 +377,53 @@ export class CancellationTokenSource$instance {
|
|
|
369
377
|
cancelAsync(): Task;
|
|
370
378
|
dispose(): void;
|
|
371
379
|
tryReset(): boolean;
|
|
372
|
-
static
|
|
373
|
-
static
|
|
374
|
-
static
|
|
375
|
-
static
|
|
380
|
+
static createLinkedTokenSource4(tokens: ReadOnlySpan_1<CancellationToken>): CancellationTokenSource;
|
|
381
|
+
static createLinkedTokenSource4(token1: CancellationToken, token2: CancellationToken): CancellationTokenSource;
|
|
382
|
+
static createLinkedTokenSource4(token: CancellationToken): CancellationTokenSource;
|
|
383
|
+
static createLinkedTokenSource4(tokens: CancellationToken[]): CancellationTokenSource;
|
|
376
384
|
}
|
|
377
385
|
|
|
378
386
|
|
|
379
387
|
export interface __CancellationTokenSource$views {
|
|
380
|
-
|
|
388
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
381
389
|
}
|
|
382
390
|
|
|
391
|
+
export interface CancellationTokenSource$instance extends System_Internal.IDisposable$instance {}
|
|
392
|
+
|
|
383
393
|
export type CancellationTokenSource = CancellationTokenSource$instance & __CancellationTokenSource$views;
|
|
384
394
|
|
|
385
395
|
|
|
386
396
|
export class CompressedStack$instance {
|
|
387
397
|
createCopy(): CompressedStack;
|
|
388
398
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
389
|
-
static
|
|
390
|
-
static
|
|
391
|
-
static
|
|
399
|
+
static capture(): CompressedStack;
|
|
400
|
+
static getCompressedStack(): CompressedStack;
|
|
401
|
+
static run(compressedStack: CompressedStack, callback: ContextCallback, state: unknown): void;
|
|
392
402
|
}
|
|
393
403
|
|
|
394
404
|
|
|
395
405
|
export interface __CompressedStack$views {
|
|
396
|
-
|
|
406
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
397
407
|
}
|
|
398
408
|
|
|
409
|
+
export interface CompressedStack$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
|
|
410
|
+
|
|
399
411
|
export type CompressedStack = CompressedStack$instance & __CompressedStack$views;
|
|
400
412
|
|
|
401
413
|
|
|
402
414
|
export class ContextCallback$instance extends Function {
|
|
403
|
-
constructor(object_:
|
|
404
|
-
beginInvoke(state:
|
|
405
|
-
clone():
|
|
415
|
+
constructor(object_: unknown, method: nint);
|
|
416
|
+
beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
417
|
+
clone(): unknown;
|
|
406
418
|
endInvoke(result: IAsyncResult): void;
|
|
407
419
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
408
|
-
invoke(state:
|
|
420
|
+
invoke(state: unknown): void;
|
|
409
421
|
}
|
|
410
422
|
|
|
411
423
|
|
|
412
424
|
export interface __ContextCallback$views {
|
|
413
|
-
|
|
414
|
-
|
|
425
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
426
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
415
427
|
}
|
|
416
428
|
|
|
417
429
|
export type ContextCallback = ContextCallback$instance & __ContextCallback$views;
|
|
@@ -442,9 +454,11 @@ export class CountdownEvent$instance {
|
|
|
442
454
|
|
|
443
455
|
|
|
444
456
|
export interface __CountdownEvent$views {
|
|
445
|
-
|
|
457
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
446
458
|
}
|
|
447
459
|
|
|
460
|
+
export interface CountdownEvent$instance extends System_Internal.IDisposable$instance {}
|
|
461
|
+
|
|
448
462
|
export type CountdownEvent = CountdownEvent$instance & __CountdownEvent$views;
|
|
449
463
|
|
|
450
464
|
|
|
@@ -457,15 +471,15 @@ export class EventWaitHandle$instance extends WaitHandle$instance {
|
|
|
457
471
|
dispose(): void;
|
|
458
472
|
reset(): boolean;
|
|
459
473
|
set_(): boolean;
|
|
460
|
-
static
|
|
461
|
-
static
|
|
462
|
-
static
|
|
463
|
-
static
|
|
474
|
+
static openExisting(name: string, options: NamedWaitHandleOptions): EventWaitHandle;
|
|
475
|
+
static openExisting(name: string): EventWaitHandle;
|
|
476
|
+
static tryOpenExisting2(name: string, result: { value: ref<EventWaitHandle> }): boolean;
|
|
477
|
+
static tryOpenExisting2(name: string, options: NamedWaitHandleOptions, result: { value: ref<EventWaitHandle> }): boolean;
|
|
464
478
|
}
|
|
465
479
|
|
|
466
480
|
|
|
467
481
|
export interface __EventWaitHandle$views {
|
|
468
|
-
|
|
482
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
469
483
|
}
|
|
470
484
|
|
|
471
485
|
export type EventWaitHandle = EventWaitHandle$instance & __EventWaitHandle$views;
|
|
@@ -475,26 +489,28 @@ export class ExecutionContext$instance {
|
|
|
475
489
|
createCopy(): ExecutionContext;
|
|
476
490
|
dispose(): void;
|
|
477
491
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
478
|
-
static
|
|
479
|
-
static
|
|
480
|
-
static
|
|
481
|
-
static
|
|
482
|
-
static
|
|
483
|
-
static
|
|
492
|
+
static capture(): ExecutionContext;
|
|
493
|
+
static isFlowSuppressed(): boolean;
|
|
494
|
+
static restore(executionContext: ExecutionContext): void;
|
|
495
|
+
static restoreFlow(): void;
|
|
496
|
+
static run(executionContext: ExecutionContext, callback: ContextCallback, state: unknown): void;
|
|
497
|
+
static suppressFlow(): AsyncFlowControl;
|
|
484
498
|
}
|
|
485
499
|
|
|
486
500
|
|
|
487
501
|
export interface __ExecutionContext$views {
|
|
488
|
-
|
|
489
|
-
|
|
502
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
503
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
490
504
|
}
|
|
491
505
|
|
|
506
|
+
export interface ExecutionContext$instance extends System_Internal.IDisposable$instance, System_Runtime_Serialization_Internal.ISerializable$instance {}
|
|
507
|
+
|
|
492
508
|
export type ExecutionContext = ExecutionContext$instance & __ExecutionContext$views;
|
|
493
509
|
|
|
494
510
|
|
|
495
511
|
export class HostExecutionContext$instance {
|
|
496
512
|
constructor();
|
|
497
|
-
constructor(state:
|
|
513
|
+
constructor(state: unknown);
|
|
498
514
|
createCopy(): HostExecutionContext;
|
|
499
515
|
dispose(): void;
|
|
500
516
|
dispose(disposing: boolean): void;
|
|
@@ -502,26 +518,28 @@ export class HostExecutionContext$instance {
|
|
|
502
518
|
|
|
503
519
|
|
|
504
520
|
export interface __HostExecutionContext$views {
|
|
505
|
-
|
|
521
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
506
522
|
}
|
|
507
523
|
|
|
524
|
+
export interface HostExecutionContext$instance extends System_Internal.IDisposable$instance {}
|
|
525
|
+
|
|
508
526
|
export type HostExecutionContext = HostExecutionContext$instance & __HostExecutionContext$views;
|
|
509
527
|
|
|
510
528
|
|
|
511
529
|
export class HostExecutionContextManager$instance {
|
|
512
530
|
constructor();
|
|
513
531
|
capture(): HostExecutionContext;
|
|
514
|
-
revert(previousState:
|
|
515
|
-
setHostExecutionContext(hostExecutionContext: HostExecutionContext):
|
|
532
|
+
revert(previousState: unknown): void;
|
|
533
|
+
setHostExecutionContext(hostExecutionContext: HostExecutionContext): unknown;
|
|
516
534
|
}
|
|
517
535
|
|
|
518
536
|
|
|
519
537
|
export type HostExecutionContextManager = HostExecutionContextManager$instance;
|
|
520
538
|
|
|
521
539
|
export class IOCompletionCallback$instance extends Function {
|
|
522
|
-
constructor(object_:
|
|
523
|
-
beginInvoke(errorCode: uint, numBytes: uint, pOVERLAP: ptr<NativeOverlapped>, callback: AsyncCallback, object_:
|
|
524
|
-
clone():
|
|
540
|
+
constructor(object_: unknown, method: nint);
|
|
541
|
+
beginInvoke(errorCode: uint, numBytes: uint, pOVERLAP: ptr<NativeOverlapped>, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
542
|
+
clone(): unknown;
|
|
525
543
|
endInvoke(result: IAsyncResult): void;
|
|
526
544
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
527
545
|
invoke(errorCode: uint, numBytes: uint, pOVERLAP: ptr<NativeOverlapped>): void;
|
|
@@ -529,8 +547,8 @@ export class IOCompletionCallback$instance extends Function {
|
|
|
529
547
|
|
|
530
548
|
|
|
531
549
|
export interface __IOCompletionCallback$views {
|
|
532
|
-
|
|
533
|
-
|
|
550
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
551
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
534
552
|
}
|
|
535
553
|
|
|
536
554
|
export type IOCompletionCallback = IOCompletionCallback$instance & __IOCompletionCallback$views;
|
|
@@ -559,7 +577,7 @@ export class LockRecursionException$instance extends System_Internal.Exception$i
|
|
|
559
577
|
|
|
560
578
|
|
|
561
579
|
export interface __LockRecursionException$views {
|
|
562
|
-
|
|
580
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
563
581
|
}
|
|
564
582
|
|
|
565
583
|
export type LockRecursionException = LockRecursionException$instance & __LockRecursionException$views;
|
|
@@ -572,7 +590,7 @@ export class ManualResetEvent$instance extends EventWaitHandle$instance {
|
|
|
572
590
|
|
|
573
591
|
|
|
574
592
|
export interface __ManualResetEvent$views {
|
|
575
|
-
|
|
593
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
576
594
|
}
|
|
577
595
|
|
|
578
596
|
export type ManualResetEvent = ManualResetEvent$instance & __ManualResetEvent$views;
|
|
@@ -598,9 +616,11 @@ export class ManualResetEventSlim$instance {
|
|
|
598
616
|
|
|
599
617
|
|
|
600
618
|
export interface __ManualResetEventSlim$views {
|
|
601
|
-
|
|
619
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
602
620
|
}
|
|
603
621
|
|
|
622
|
+
export interface ManualResetEventSlim$instance extends System_Internal.IDisposable$instance {}
|
|
623
|
+
|
|
604
624
|
export type ManualResetEventSlim = ManualResetEventSlim$instance & __ManualResetEventSlim$views;
|
|
605
625
|
|
|
606
626
|
|
|
@@ -614,15 +634,15 @@ export class Mutex$instance extends WaitHandle$instance {
|
|
|
614
634
|
constructor();
|
|
615
635
|
dispose(): void;
|
|
616
636
|
releaseMutex(): void;
|
|
617
|
-
static
|
|
618
|
-
static
|
|
619
|
-
static
|
|
620
|
-
static
|
|
637
|
+
static openExisting(name: string, options: NamedWaitHandleOptions): Mutex;
|
|
638
|
+
static openExisting(name: string): Mutex;
|
|
639
|
+
static tryOpenExisting2(name: string, result: { value: ref<Mutex> }): boolean;
|
|
640
|
+
static tryOpenExisting2(name: string, options: NamedWaitHandleOptions, result: { value: ref<Mutex> }): boolean;
|
|
621
641
|
}
|
|
622
642
|
|
|
623
643
|
|
|
624
644
|
export interface __Mutex$views {
|
|
625
|
-
|
|
645
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
626
646
|
}
|
|
627
647
|
|
|
628
648
|
export type Mutex = Mutex$instance & __Mutex$views;
|
|
@@ -638,29 +658,29 @@ export class Overlapped$instance {
|
|
|
638
658
|
offsetHigh: int;
|
|
639
659
|
offsetLow: int;
|
|
640
660
|
pack(iocb: IOCompletionCallback): ptr<NativeOverlapped>;
|
|
641
|
-
pack(iocb: IOCompletionCallback, userData:
|
|
661
|
+
pack(iocb: IOCompletionCallback, userData: unknown): ptr<NativeOverlapped>;
|
|
642
662
|
unsafePack(iocb: IOCompletionCallback): ptr<NativeOverlapped>;
|
|
643
|
-
unsafePack(iocb: IOCompletionCallback, userData:
|
|
644
|
-
static
|
|
645
|
-
static
|
|
663
|
+
unsafePack(iocb: IOCompletionCallback, userData: unknown): ptr<NativeOverlapped>;
|
|
664
|
+
static free(nativeOverlappedPtr: ptr<NativeOverlapped>): void;
|
|
665
|
+
static unpack(nativeOverlappedPtr: ptr<NativeOverlapped>): Overlapped;
|
|
646
666
|
}
|
|
647
667
|
|
|
648
668
|
|
|
649
669
|
export type Overlapped = Overlapped$instance;
|
|
650
670
|
|
|
651
671
|
export class ParameterizedThreadStart$instance extends Function {
|
|
652
|
-
constructor(object_:
|
|
653
|
-
beginInvoke(obj:
|
|
654
|
-
clone():
|
|
672
|
+
constructor(object_: unknown, method: nint);
|
|
673
|
+
beginInvoke(obj: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
674
|
+
clone(): unknown;
|
|
655
675
|
endInvoke(result: IAsyncResult): void;
|
|
656
676
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
657
|
-
invoke(obj:
|
|
677
|
+
invoke(obj: unknown): void;
|
|
658
678
|
}
|
|
659
679
|
|
|
660
680
|
|
|
661
681
|
export interface __ParameterizedThreadStart$views {
|
|
662
|
-
|
|
663
|
-
|
|
682
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
683
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
664
684
|
}
|
|
665
685
|
|
|
666
686
|
export type ParameterizedThreadStart = ParameterizedThreadStart$instance & __ParameterizedThreadStart$views;
|
|
@@ -676,23 +696,27 @@ export class PeriodicTimer$instance {
|
|
|
676
696
|
|
|
677
697
|
|
|
678
698
|
export interface __PeriodicTimer$views {
|
|
679
|
-
|
|
699
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
680
700
|
}
|
|
681
701
|
|
|
702
|
+
export interface PeriodicTimer$instance extends System_Internal.IDisposable$instance {}
|
|
703
|
+
|
|
682
704
|
export type PeriodicTimer = PeriodicTimer$instance & __PeriodicTimer$views;
|
|
683
705
|
|
|
684
706
|
|
|
685
707
|
export class PreAllocatedOverlapped$instance {
|
|
686
|
-
constructor(callback: IOCompletionCallback, state:
|
|
708
|
+
constructor(callback: IOCompletionCallback, state: unknown, pinData: unknown);
|
|
687
709
|
dispose(): void;
|
|
688
|
-
static
|
|
710
|
+
static unsafeCreate(callback: IOCompletionCallback, state: unknown, pinData: unknown): PreAllocatedOverlapped;
|
|
689
711
|
}
|
|
690
712
|
|
|
691
713
|
|
|
692
714
|
export interface __PreAllocatedOverlapped$views {
|
|
693
|
-
|
|
715
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
694
716
|
}
|
|
695
717
|
|
|
718
|
+
export interface PreAllocatedOverlapped$instance extends System_Internal.IDisposable$instance {}
|
|
719
|
+
|
|
696
720
|
export type PreAllocatedOverlapped = PreAllocatedOverlapped$instance & __PreAllocatedOverlapped$views;
|
|
697
721
|
|
|
698
722
|
|
|
@@ -749,9 +773,11 @@ export class ReaderWriterLockSlim$instance {
|
|
|
749
773
|
|
|
750
774
|
|
|
751
775
|
export interface __ReaderWriterLockSlim$views {
|
|
752
|
-
|
|
776
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
753
777
|
}
|
|
754
778
|
|
|
779
|
+
export interface ReaderWriterLockSlim$instance extends System_Internal.IDisposable$instance {}
|
|
780
|
+
|
|
755
781
|
export type ReaderWriterLockSlim = ReaderWriterLockSlim$instance & __ReaderWriterLockSlim$views;
|
|
756
782
|
|
|
757
783
|
|
|
@@ -771,15 +797,15 @@ export class Semaphore$instance extends WaitHandle$instance {
|
|
|
771
797
|
dispose(): void;
|
|
772
798
|
release(): int;
|
|
773
799
|
release(releaseCount: int): int;
|
|
774
|
-
static
|
|
775
|
-
static
|
|
776
|
-
static
|
|
777
|
-
static
|
|
800
|
+
static openExisting(name: string, options: NamedWaitHandleOptions): Semaphore;
|
|
801
|
+
static openExisting(name: string): Semaphore;
|
|
802
|
+
static tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: { value: ref<Semaphore> }): boolean;
|
|
803
|
+
static tryOpenExisting(name: string, result: { value: ref<Semaphore> }): boolean;
|
|
778
804
|
}
|
|
779
805
|
|
|
780
806
|
|
|
781
807
|
export interface __Semaphore$views {
|
|
782
|
-
|
|
808
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
783
809
|
}
|
|
784
810
|
|
|
785
811
|
export type Semaphore = Semaphore$instance & __Semaphore$views;
|
|
@@ -794,7 +820,7 @@ export class SemaphoreFullException$instance extends System_Internal.SystemExcep
|
|
|
794
820
|
|
|
795
821
|
|
|
796
822
|
export interface __SemaphoreFullException$views {
|
|
797
|
-
|
|
823
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
798
824
|
}
|
|
799
825
|
|
|
800
826
|
export type SemaphoreFullException = SemaphoreFullException$instance & __SemaphoreFullException$views;
|
|
@@ -824,25 +850,27 @@ export class SemaphoreSlim$instance {
|
|
|
824
850
|
|
|
825
851
|
|
|
826
852
|
export interface __SemaphoreSlim$views {
|
|
827
|
-
|
|
853
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
828
854
|
}
|
|
829
855
|
|
|
856
|
+
export interface SemaphoreSlim$instance extends System_Internal.IDisposable$instance {}
|
|
857
|
+
|
|
830
858
|
export type SemaphoreSlim = SemaphoreSlim$instance & __SemaphoreSlim$views;
|
|
831
859
|
|
|
832
860
|
|
|
833
861
|
export class SendOrPostCallback$instance extends Function {
|
|
834
|
-
constructor(object_:
|
|
835
|
-
beginInvoke(state:
|
|
836
|
-
clone():
|
|
862
|
+
constructor(object_: unknown, method: nint);
|
|
863
|
+
beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
864
|
+
clone(): unknown;
|
|
837
865
|
endInvoke(result: IAsyncResult): void;
|
|
838
866
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
839
|
-
invoke(state:
|
|
867
|
+
invoke(state: unknown): void;
|
|
840
868
|
}
|
|
841
869
|
|
|
842
870
|
|
|
843
871
|
export interface __SendOrPostCallback$views {
|
|
844
|
-
|
|
845
|
-
|
|
872
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
873
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
846
874
|
}
|
|
847
875
|
|
|
848
876
|
export type SendOrPostCallback = SendOrPostCallback$instance & __SendOrPostCallback$views;
|
|
@@ -854,11 +882,11 @@ export class SynchronizationContext$instance {
|
|
|
854
882
|
isWaitNotificationRequired(): boolean;
|
|
855
883
|
operationCompleted(): void;
|
|
856
884
|
operationStarted(): void;
|
|
857
|
-
post(d: SendOrPostCallback, state:
|
|
858
|
-
send(d: SendOrPostCallback, state:
|
|
885
|
+
post(d: SendOrPostCallback, state: unknown): void;
|
|
886
|
+
send(d: SendOrPostCallback, state: unknown): void;
|
|
859
887
|
wait(waitHandles: nint[], waitAll: boolean, millisecondsTimeout: int): int;
|
|
860
|
-
static readonly
|
|
861
|
-
static
|
|
888
|
+
static readonly current: SynchronizationContext;
|
|
889
|
+
static setSynchronizationContext(syncContext: SynchronizationContext): void;
|
|
862
890
|
}
|
|
863
891
|
|
|
864
892
|
|
|
@@ -873,7 +901,7 @@ export class SynchronizationLockException$instance extends System_Internal.Syste
|
|
|
873
901
|
|
|
874
902
|
|
|
875
903
|
export interface __SynchronizationLockException$views {
|
|
876
|
-
|
|
904
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
877
905
|
}
|
|
878
906
|
|
|
879
907
|
export type SynchronizationLockException = SynchronizationLockException$instance & __SynchronizationLockException$views;
|
|
@@ -896,7 +924,7 @@ export class Thread$instance extends System_Runtime_ConstrainedExecution_Interna
|
|
|
896
924
|
priority: ThreadPriority;
|
|
897
925
|
readonly threadState: ThreadState;
|
|
898
926
|
abort(): void;
|
|
899
|
-
abort(stateInfo:
|
|
927
|
+
abort(stateInfo: unknown): void;
|
|
900
928
|
disableComObjectEagerCleanup(): void;
|
|
901
929
|
getApartmentState(): ApartmentState;
|
|
902
930
|
getCompressedStack(): CompressedStack;
|
|
@@ -908,72 +936,72 @@ export class Thread$instance extends System_Runtime_ConstrainedExecution_Interna
|
|
|
908
936
|
resume(): void;
|
|
909
937
|
setApartmentState(state: ApartmentState): void;
|
|
910
938
|
setCompressedStack(stack: CompressedStack): void;
|
|
911
|
-
start(parameter:
|
|
939
|
+
start(parameter: unknown): void;
|
|
912
940
|
start(): void;
|
|
913
941
|
suspend(): void;
|
|
914
942
|
trySetApartmentState(state: ApartmentState): boolean;
|
|
915
|
-
unsafeStart(parameter:
|
|
943
|
+
unsafeStart(parameter: unknown): void;
|
|
916
944
|
unsafeStart(): void;
|
|
917
|
-
static
|
|
918
|
-
static readonly
|
|
919
|
-
static
|
|
920
|
-
static
|
|
921
|
-
static
|
|
922
|
-
static
|
|
923
|
-
static
|
|
924
|
-
static
|
|
925
|
-
static
|
|
926
|
-
static
|
|
927
|
-
static
|
|
928
|
-
static
|
|
929
|
-
static
|
|
930
|
-
static
|
|
931
|
-
static
|
|
932
|
-
static
|
|
933
|
-
static
|
|
934
|
-
static
|
|
935
|
-
static
|
|
936
|
-
static
|
|
937
|
-
static
|
|
938
|
-
static
|
|
939
|
-
static
|
|
940
|
-
static
|
|
941
|
-
static
|
|
942
|
-
static
|
|
943
|
-
static
|
|
944
|
-
static
|
|
945
|
-
static
|
|
946
|
-
static
|
|
947
|
-
static
|
|
948
|
-
static
|
|
949
|
-
static
|
|
950
|
-
static
|
|
951
|
-
static
|
|
952
|
-
static
|
|
953
|
-
static
|
|
954
|
-
static
|
|
955
|
-
static
|
|
956
|
-
static
|
|
957
|
-
static
|
|
958
|
-
static
|
|
959
|
-
static
|
|
960
|
-
static
|
|
961
|
-
static
|
|
962
|
-
static
|
|
963
|
-
static
|
|
945
|
+
static currentPrincipal: IPrincipal;
|
|
946
|
+
static readonly currentThread: Thread;
|
|
947
|
+
static allocateDataSlot(): LocalDataStoreSlot;
|
|
948
|
+
static allocateNamedDataSlot(name: string): LocalDataStoreSlot;
|
|
949
|
+
static beginCriticalRegion(): void;
|
|
950
|
+
static beginThreadAffinity(): void;
|
|
951
|
+
static endCriticalRegion(): void;
|
|
952
|
+
static endThreadAffinity(): void;
|
|
953
|
+
static freeNamedDataSlot(name: string): void;
|
|
954
|
+
static getCurrentProcessorId(): int;
|
|
955
|
+
static getData(slot: LocalDataStoreSlot): unknown;
|
|
956
|
+
static getDomain(): AppDomain;
|
|
957
|
+
static getDomainID(): int;
|
|
958
|
+
static getNamedDataSlot(name: string): LocalDataStoreSlot;
|
|
959
|
+
static memoryBarrier(): void;
|
|
960
|
+
static resetAbort(): void;
|
|
961
|
+
static setData(slot: LocalDataStoreSlot, data: unknown): void;
|
|
962
|
+
static sleep(millisecondsTimeout: int): void;
|
|
963
|
+
static sleep(timeout: TimeSpan): void;
|
|
964
|
+
static spinWait(iterations: int): void;
|
|
965
|
+
static volatileRead(address: { value: ref<byte> }): byte;
|
|
966
|
+
static volatileRead(address: { value: ref<double> }): double;
|
|
967
|
+
static volatileRead(address: { value: ref<short> }): short;
|
|
968
|
+
static volatileRead(address: { value: ref<int> }): int;
|
|
969
|
+
static volatileRead(address: { value: ref<long> }): long;
|
|
970
|
+
static volatileRead(address: { value: ref<nint> }): nint;
|
|
971
|
+
static volatileRead(address: { value: ref<unknown> }): unknown;
|
|
972
|
+
static volatileRead(address: { value: ref<sbyte> }): sbyte;
|
|
973
|
+
static volatileRead(address: { value: ref<float> }): float;
|
|
974
|
+
static volatileRead(address: { value: ref<ushort> }): ushort;
|
|
975
|
+
static volatileRead(address: { value: ref<uint> }): uint;
|
|
976
|
+
static volatileRead(address: { value: ref<ulong> }): ulong;
|
|
977
|
+
static volatileRead(address: { value: ref<nuint> }): nuint;
|
|
978
|
+
static volatileWrite(address: { value: ref<byte> }, value: byte): void;
|
|
979
|
+
static volatileWrite(address: { value: ref<double> }, value: double): void;
|
|
980
|
+
static volatileWrite(address: { value: ref<short> }, value: short): void;
|
|
981
|
+
static volatileWrite(address: { value: ref<int> }, value: int): void;
|
|
982
|
+
static volatileWrite(address: { value: ref<long> }, value: long): void;
|
|
983
|
+
static volatileWrite(address: { value: ref<nint> }, value: nint): void;
|
|
984
|
+
static volatileWrite(address: { value: ref<unknown> }, value: unknown): void;
|
|
985
|
+
static volatileWrite(address: { value: ref<sbyte> }, value: sbyte): void;
|
|
986
|
+
static volatileWrite(address: { value: ref<float> }, value: float): void;
|
|
987
|
+
static volatileWrite(address: { value: ref<ushort> }, value: ushort): void;
|
|
988
|
+
static volatileWrite(address: { value: ref<uint> }, value: uint): void;
|
|
989
|
+
static volatileWrite(address: { value: ref<ulong> }, value: ulong): void;
|
|
990
|
+
static volatileWrite(address: { value: ref<nuint> }, value: nuint): void;
|
|
991
|
+
static yield_(): boolean;
|
|
964
992
|
}
|
|
965
993
|
|
|
966
994
|
|
|
967
995
|
export type Thread = Thread$instance;
|
|
968
996
|
|
|
969
997
|
export class ThreadAbortException$instance extends System_Internal.SystemException$instance {
|
|
970
|
-
readonly exceptionState:
|
|
998
|
+
readonly exceptionState: unknown;
|
|
971
999
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
972
1000
|
}
|
|
973
1001
|
|
|
974
1002
|
|
|
975
1003
|
export interface __ThreadAbortException$views {
|
|
976
|
-
|
|
1004
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
977
1005
|
}
|
|
978
1006
|
|
|
979
1007
|
export type ThreadAbortException = ThreadAbortException$instance & __ThreadAbortException$views;
|
|
@@ -988,18 +1016,18 @@ export class ThreadExceptionEventArgs$instance extends System_Internal.EventArgs
|
|
|
988
1016
|
export type ThreadExceptionEventArgs = ThreadExceptionEventArgs$instance;
|
|
989
1017
|
|
|
990
1018
|
export class ThreadExceptionEventHandler$instance extends Function {
|
|
991
|
-
constructor(object_:
|
|
992
|
-
beginInvoke(sender:
|
|
993
|
-
clone():
|
|
1019
|
+
constructor(object_: unknown, method: nint);
|
|
1020
|
+
beginInvoke(sender: unknown, e: ThreadExceptionEventArgs, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
1021
|
+
clone(): unknown;
|
|
994
1022
|
endInvoke(result: IAsyncResult): void;
|
|
995
1023
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
996
|
-
invoke(sender:
|
|
1024
|
+
invoke(sender: unknown, e: ThreadExceptionEventArgs): void;
|
|
997
1025
|
}
|
|
998
1026
|
|
|
999
1027
|
|
|
1000
1028
|
export interface __ThreadExceptionEventHandler$views {
|
|
1001
|
-
|
|
1002
|
-
|
|
1029
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
1030
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1003
1031
|
}
|
|
1004
1032
|
|
|
1005
1033
|
export type ThreadExceptionEventHandler = ThreadExceptionEventHandler$instance & __ThreadExceptionEventHandler$views;
|
|
@@ -1014,7 +1042,7 @@ export class ThreadInterruptedException$instance extends System_Internal.SystemE
|
|
|
1014
1042
|
|
|
1015
1043
|
|
|
1016
1044
|
export interface __ThreadInterruptedException$views {
|
|
1017
|
-
|
|
1045
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1018
1046
|
}
|
|
1019
1047
|
|
|
1020
1048
|
export type ThreadInterruptedException = ThreadInterruptedException$instance & __ThreadInterruptedException$views;
|
|
@@ -1034,35 +1062,39 @@ export class ThreadLocal_1$instance<T> {
|
|
|
1034
1062
|
|
|
1035
1063
|
|
|
1036
1064
|
export interface __ThreadLocal_1$views<T> {
|
|
1037
|
-
|
|
1065
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1038
1066
|
}
|
|
1039
1067
|
|
|
1068
|
+
export interface ThreadLocal_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
1069
|
+
|
|
1040
1070
|
export type ThreadLocal_1<T> = ThreadLocal_1$instance<T> & __ThreadLocal_1$views<T>;
|
|
1041
1071
|
|
|
1042
1072
|
|
|
1043
1073
|
export class ThreadPoolBoundHandle$instance {
|
|
1044
1074
|
readonly handle: SafeHandle;
|
|
1045
|
-
allocateNativeOverlapped(callback: IOCompletionCallback, state:
|
|
1075
|
+
allocateNativeOverlapped(callback: IOCompletionCallback, state: unknown, pinData: unknown): ptr<NativeOverlapped>;
|
|
1046
1076
|
allocateNativeOverlapped(preAllocated: PreAllocatedOverlapped): ptr<NativeOverlapped>;
|
|
1047
1077
|
dispose(): void;
|
|
1048
1078
|
freeNativeOverlapped(overlapped: ptr<NativeOverlapped>): void;
|
|
1049
|
-
unsafeAllocateNativeOverlapped(callback: IOCompletionCallback, state:
|
|
1050
|
-
static
|
|
1051
|
-
static
|
|
1079
|
+
unsafeAllocateNativeOverlapped(callback: IOCompletionCallback, state: unknown, pinData: unknown): ptr<NativeOverlapped>;
|
|
1080
|
+
static bindHandle(handle: SafeHandle): ThreadPoolBoundHandle;
|
|
1081
|
+
static getNativeOverlappedState(overlapped: ptr<NativeOverlapped>): unknown;
|
|
1052
1082
|
}
|
|
1053
1083
|
|
|
1054
1084
|
|
|
1055
1085
|
export interface __ThreadPoolBoundHandle$views {
|
|
1056
|
-
|
|
1086
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1057
1087
|
}
|
|
1058
1088
|
|
|
1089
|
+
export interface ThreadPoolBoundHandle$instance extends System_Internal.IDisposable$instance {}
|
|
1090
|
+
|
|
1059
1091
|
export type ThreadPoolBoundHandle = ThreadPoolBoundHandle$instance & __ThreadPoolBoundHandle$views;
|
|
1060
1092
|
|
|
1061
1093
|
|
|
1062
1094
|
export class ThreadStart$instance extends Function {
|
|
1063
|
-
constructor(object_:
|
|
1064
|
-
beginInvoke(callback: AsyncCallback, object_:
|
|
1065
|
-
clone():
|
|
1095
|
+
constructor(object_: unknown, method: nint);
|
|
1096
|
+
beginInvoke(callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
1097
|
+
clone(): unknown;
|
|
1066
1098
|
endInvoke(result: IAsyncResult): void;
|
|
1067
1099
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1068
1100
|
invoke(): void;
|
|
@@ -1070,8 +1102,8 @@ export class ThreadStart$instance extends Function {
|
|
|
1070
1102
|
|
|
1071
1103
|
|
|
1072
1104
|
export interface __ThreadStart$views {
|
|
1073
|
-
|
|
1074
|
-
|
|
1105
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
1106
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1075
1107
|
}
|
|
1076
1108
|
|
|
1077
1109
|
export type ThreadStart = ThreadStart$instance & __ThreadStart$views;
|
|
@@ -1083,7 +1115,7 @@ export class ThreadStartException$instance extends System_Internal.SystemExcepti
|
|
|
1083
1115
|
|
|
1084
1116
|
|
|
1085
1117
|
export interface __ThreadStartException$views {
|
|
1086
|
-
|
|
1118
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1087
1119
|
}
|
|
1088
1120
|
|
|
1089
1121
|
export type ThreadStartException = ThreadStartException$instance & __ThreadStartException$views;
|
|
@@ -1098,17 +1130,17 @@ export class ThreadStateException$instance extends System_Internal.SystemExcepti
|
|
|
1098
1130
|
|
|
1099
1131
|
|
|
1100
1132
|
export interface __ThreadStateException$views {
|
|
1101
|
-
|
|
1133
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1102
1134
|
}
|
|
1103
1135
|
|
|
1104
1136
|
export type ThreadStateException = ThreadStateException$instance & __ThreadStateException$views;
|
|
1105
1137
|
|
|
1106
1138
|
|
|
1107
1139
|
export class Timer$instance extends System_Internal.MarshalByRefObject$instance {
|
|
1108
|
-
constructor(callback: TimerCallback, state:
|
|
1109
|
-
constructor(callback: TimerCallback, state:
|
|
1110
|
-
constructor(callback: TimerCallback, state:
|
|
1111
|
-
constructor(callback: TimerCallback, state:
|
|
1140
|
+
constructor(callback: TimerCallback, state: unknown, dueTime: int, period: int);
|
|
1141
|
+
constructor(callback: TimerCallback, state: unknown, dueTime: TimeSpan, period: TimeSpan);
|
|
1142
|
+
constructor(callback: TimerCallback, state: unknown, dueTime: uint, period: uint);
|
|
1143
|
+
constructor(callback: TimerCallback, state: unknown, dueTime: long, period: long);
|
|
1112
1144
|
constructor(callback: TimerCallback);
|
|
1113
1145
|
change(dueTime: int, period: int): boolean;
|
|
1114
1146
|
change(dueTime: TimeSpan, period: TimeSpan): boolean;
|
|
@@ -1117,50 +1149,50 @@ export class Timer$instance extends System_Internal.MarshalByRefObject$instance
|
|
|
1117
1149
|
dispose(notifyObject: WaitHandle): boolean;
|
|
1118
1150
|
dispose(): void;
|
|
1119
1151
|
disposeAsync(): ValueTask;
|
|
1120
|
-
static readonly
|
|
1152
|
+
static readonly activeCount: long;
|
|
1121
1153
|
}
|
|
1122
1154
|
|
|
1123
1155
|
|
|
1124
1156
|
export interface __Timer$views {
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1157
|
+
As_IAsyncDisposable(): System_Internal.IAsyncDisposable$instance;
|
|
1158
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1159
|
+
As_ITimer(): ITimer$instance;
|
|
1128
1160
|
}
|
|
1129
1161
|
|
|
1130
1162
|
export type Timer = Timer$instance & __Timer$views;
|
|
1131
1163
|
|
|
1132
1164
|
|
|
1133
1165
|
export class TimerCallback$instance extends Function {
|
|
1134
|
-
constructor(object_:
|
|
1135
|
-
beginInvoke(state:
|
|
1136
|
-
clone():
|
|
1166
|
+
constructor(object_: unknown, method: nint);
|
|
1167
|
+
beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
1168
|
+
clone(): unknown;
|
|
1137
1169
|
endInvoke(result: IAsyncResult): void;
|
|
1138
1170
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1139
|
-
invoke(state:
|
|
1171
|
+
invoke(state: unknown): void;
|
|
1140
1172
|
}
|
|
1141
1173
|
|
|
1142
1174
|
|
|
1143
1175
|
export interface __TimerCallback$views {
|
|
1144
|
-
|
|
1145
|
-
|
|
1176
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
1177
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1146
1178
|
}
|
|
1147
1179
|
|
|
1148
1180
|
export type TimerCallback = TimerCallback$instance & __TimerCallback$views;
|
|
1149
1181
|
|
|
1150
1182
|
|
|
1151
1183
|
export class WaitCallback$instance extends Function {
|
|
1152
|
-
constructor(object_:
|
|
1153
|
-
beginInvoke(state:
|
|
1154
|
-
clone():
|
|
1184
|
+
constructor(object_: unknown, method: nint);
|
|
1185
|
+
beginInvoke(state: unknown, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
1186
|
+
clone(): unknown;
|
|
1155
1187
|
endInvoke(result: IAsyncResult): void;
|
|
1156
1188
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1157
|
-
invoke(state:
|
|
1189
|
+
invoke(state: unknown): void;
|
|
1158
1190
|
}
|
|
1159
1191
|
|
|
1160
1192
|
|
|
1161
1193
|
export interface __WaitCallback$views {
|
|
1162
|
-
|
|
1163
|
-
|
|
1194
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
1195
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1164
1196
|
}
|
|
1165
1197
|
|
|
1166
1198
|
export type WaitCallback = WaitCallback$instance & __WaitCallback$views;
|
|
@@ -1176,27 +1208,29 @@ export abstract class WaitHandle$instance extends System_Internal.MarshalByRefOb
|
|
|
1176
1208
|
waitOne(): boolean;
|
|
1177
1209
|
waitOne(millisecondsTimeout: int, exitContext: boolean): boolean;
|
|
1178
1210
|
waitOne(timeout: TimeSpan, exitContext: boolean): boolean;
|
|
1179
|
-
static readonly
|
|
1180
|
-
static
|
|
1181
|
-
static
|
|
1182
|
-
static
|
|
1183
|
-
static
|
|
1184
|
-
static
|
|
1185
|
-
static
|
|
1186
|
-
static
|
|
1187
|
-
static
|
|
1188
|
-
static
|
|
1189
|
-
static
|
|
1190
|
-
static
|
|
1191
|
-
static
|
|
1192
|
-
static
|
|
1211
|
+
static readonly waitTimeout: int;
|
|
1212
|
+
static signalAndWait3(toSignal: WaitHandle, toWaitOn: WaitHandle, millisecondsTimeout: int, exitContext: boolean): boolean;
|
|
1213
|
+
static signalAndWait3(toSignal: WaitHandle, toWaitOn: WaitHandle, timeout: TimeSpan, exitContext: boolean): boolean;
|
|
1214
|
+
static signalAndWait3(toSignal: WaitHandle, toWaitOn: WaitHandle): boolean;
|
|
1215
|
+
static waitAll4(waitHandles: WaitHandle[], millisecondsTimeout: int, exitContext: boolean): boolean;
|
|
1216
|
+
static waitAll4(waitHandles: WaitHandle[], millisecondsTimeout: int): boolean;
|
|
1217
|
+
static waitAll4(waitHandles: WaitHandle[], timeout: TimeSpan, exitContext: boolean): boolean;
|
|
1218
|
+
static waitAll4(waitHandles: WaitHandle[], timeout: TimeSpan): boolean;
|
|
1219
|
+
static waitAll4(waitHandles: WaitHandle[]): boolean;
|
|
1220
|
+
static waitAny4(waitHandles: WaitHandle[], millisecondsTimeout: int, exitContext: boolean): int;
|
|
1221
|
+
static waitAny4(waitHandles: WaitHandle[], millisecondsTimeout: int): int;
|
|
1222
|
+
static waitAny4(waitHandles: WaitHandle[], timeout: TimeSpan, exitContext: boolean): int;
|
|
1223
|
+
static waitAny4(waitHandles: WaitHandle[], timeout: TimeSpan): int;
|
|
1224
|
+
static waitAny4(waitHandles: WaitHandle[]): int;
|
|
1193
1225
|
}
|
|
1194
1226
|
|
|
1195
1227
|
|
|
1196
1228
|
export interface __WaitHandle$views {
|
|
1197
|
-
|
|
1229
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1198
1230
|
}
|
|
1199
1231
|
|
|
1232
|
+
export interface WaitHandle$instance extends System_Internal.IDisposable$instance {}
|
|
1233
|
+
|
|
1200
1234
|
export type WaitHandle = WaitHandle$instance & __WaitHandle$views;
|
|
1201
1235
|
|
|
1202
1236
|
|
|
@@ -1209,188 +1243,188 @@ export class WaitHandleCannotBeOpenedException$instance extends System_Internal.
|
|
|
1209
1243
|
|
|
1210
1244
|
|
|
1211
1245
|
export interface __WaitHandleCannotBeOpenedException$views {
|
|
1212
|
-
|
|
1246
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1213
1247
|
}
|
|
1214
1248
|
|
|
1215
1249
|
export type WaitHandleCannotBeOpenedException = WaitHandleCannotBeOpenedException$instance & __WaitHandleCannotBeOpenedException$views;
|
|
1216
1250
|
|
|
1217
1251
|
|
|
1218
1252
|
export class WaitOrTimerCallback$instance extends Function {
|
|
1219
|
-
constructor(object_:
|
|
1220
|
-
beginInvoke(state:
|
|
1221
|
-
clone():
|
|
1253
|
+
constructor(object_: unknown, method: nint);
|
|
1254
|
+
beginInvoke(state: unknown, timedOut: boolean, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
1255
|
+
clone(): unknown;
|
|
1222
1256
|
endInvoke(result: IAsyncResult): void;
|
|
1223
1257
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1224
|
-
invoke(state:
|
|
1258
|
+
invoke(state: unknown, timedOut: boolean): void;
|
|
1225
1259
|
}
|
|
1226
1260
|
|
|
1227
1261
|
|
|
1228
1262
|
export interface __WaitOrTimerCallback$views {
|
|
1229
|
-
|
|
1230
|
-
|
|
1263
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
1264
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1231
1265
|
}
|
|
1232
1266
|
|
|
1233
1267
|
export type WaitOrTimerCallback = WaitOrTimerCallback$instance & __WaitOrTimerCallback$views;
|
|
1234
1268
|
|
|
1235
1269
|
|
|
1236
1270
|
export abstract class EventWaitHandleAcl$instance {
|
|
1237
|
-
static
|
|
1238
|
-
static
|
|
1239
|
-
static
|
|
1271
|
+
static create(initialState: boolean, mode: EventResetMode, name: string, createdNew: { value: ref<boolean> }, eventSecurity: EventWaitHandleSecurity): EventWaitHandle;
|
|
1272
|
+
static openExisting(name: string, rights: EventWaitHandleRights): EventWaitHandle;
|
|
1273
|
+
static tryOpenExisting(name: string, rights: EventWaitHandleRights, result: { value: ref<EventWaitHandle> }): boolean;
|
|
1240
1274
|
}
|
|
1241
1275
|
|
|
1242
1276
|
|
|
1243
1277
|
export type EventWaitHandleAcl = EventWaitHandleAcl$instance;
|
|
1244
1278
|
|
|
1245
1279
|
export abstract class Interlocked$instance {
|
|
1246
|
-
static
|
|
1247
|
-
static
|
|
1248
|
-
static
|
|
1249
|
-
static
|
|
1250
|
-
static
|
|
1251
|
-
static
|
|
1252
|
-
static
|
|
1253
|
-
static
|
|
1254
|
-
static
|
|
1255
|
-
static
|
|
1256
|
-
static
|
|
1257
|
-
static
|
|
1258
|
-
static
|
|
1259
|
-
static
|
|
1260
|
-
static
|
|
1261
|
-
static
|
|
1262
|
-
static
|
|
1263
|
-
static
|
|
1264
|
-
static
|
|
1265
|
-
static
|
|
1266
|
-
static
|
|
1267
|
-
static
|
|
1268
|
-
static
|
|
1269
|
-
static
|
|
1270
|
-
static
|
|
1271
|
-
static
|
|
1272
|
-
static
|
|
1273
|
-
static
|
|
1274
|
-
static
|
|
1275
|
-
static
|
|
1276
|
-
static
|
|
1277
|
-
static
|
|
1278
|
-
static
|
|
1279
|
-
static
|
|
1280
|
-
static
|
|
1281
|
-
static
|
|
1282
|
-
static
|
|
1283
|
-
static
|
|
1284
|
-
static
|
|
1285
|
-
static
|
|
1286
|
-
static
|
|
1287
|
-
static
|
|
1288
|
-
static
|
|
1289
|
-
static
|
|
1290
|
-
static
|
|
1291
|
-
static
|
|
1292
|
-
static
|
|
1293
|
-
static
|
|
1294
|
-
static
|
|
1295
|
-
static
|
|
1296
|
-
static
|
|
1297
|
-
static
|
|
1280
|
+
static add(location1: { value: ref<int> }, value: int): int;
|
|
1281
|
+
static add(location1: { value: ref<long> }, value: long): long;
|
|
1282
|
+
static add(location1: { value: ref<uint> }, value: uint): uint;
|
|
1283
|
+
static add(location1: { value: ref<ulong> }, value: ulong): ulong;
|
|
1284
|
+
static and(location1: { value: ref<int> }, value: int): int;
|
|
1285
|
+
static and(location1: { value: ref<long> }, value: long): long;
|
|
1286
|
+
static and(location1: { value: ref<uint> }, value: uint): uint;
|
|
1287
|
+
static and(location1: { value: ref<ulong> }, value: ulong): ulong;
|
|
1288
|
+
static compareExchange6(location1: { value: ref<byte> }, value: byte, comparand: byte): byte;
|
|
1289
|
+
static compareExchange6(location1: { value: ref<double> }, value: double, comparand: double): double;
|
|
1290
|
+
static compareExchange6(location1: { value: ref<short> }, value: short, comparand: short): short;
|
|
1291
|
+
static compareExchange6(location1: { value: ref<int> }, value: int, comparand: int): int;
|
|
1292
|
+
static compareExchange6(location1: { value: ref<long> }, value: long, comparand: long): long;
|
|
1293
|
+
static compareExchange6(location1: { value: ref<nint> }, value: nint, comparand: nint): nint;
|
|
1294
|
+
static compareExchange6(location1: { value: ref<unknown> }, value: unknown, comparand: unknown): unknown;
|
|
1295
|
+
static compareExchange6(location1: { value: ref<sbyte> }, value: sbyte, comparand: sbyte): sbyte;
|
|
1296
|
+
static compareExchange6(location1: { value: ref<float> }, value: float, comparand: float): float;
|
|
1297
|
+
static compareExchange6(location1: { value: ref<ushort> }, value: ushort, comparand: ushort): ushort;
|
|
1298
|
+
static compareExchange6(location1: { value: ref<uint> }, value: uint, comparand: uint): uint;
|
|
1299
|
+
static compareExchange6(location1: { value: ref<ulong> }, value: ulong, comparand: ulong): ulong;
|
|
1300
|
+
static compareExchange6(location1: { value: ref<nuint> }, value: nuint, comparand: nuint): nuint;
|
|
1301
|
+
static compareExchange6<T>(location1: { value: ref<T> }, value: T, comparand: T): T;
|
|
1302
|
+
static decrement(location: { value: ref<int> }): int;
|
|
1303
|
+
static decrement(location: { value: ref<long> }): long;
|
|
1304
|
+
static decrement(location: { value: ref<uint> }): uint;
|
|
1305
|
+
static decrement(location: { value: ref<ulong> }): ulong;
|
|
1306
|
+
static exchange6(location1: { value: ref<byte> }, value: byte): byte;
|
|
1307
|
+
static exchange6(location1: { value: ref<double> }, value: double): double;
|
|
1308
|
+
static exchange6(location1: { value: ref<short> }, value: short): short;
|
|
1309
|
+
static exchange6(location1: { value: ref<int> }, value: int): int;
|
|
1310
|
+
static exchange6(location1: { value: ref<long> }, value: long): long;
|
|
1311
|
+
static exchange6(location1: { value: ref<nint> }, value: nint): nint;
|
|
1312
|
+
static exchange6(location1: { value: ref<unknown> }, value: unknown): unknown;
|
|
1313
|
+
static exchange6(location1: { value: ref<sbyte> }, value: sbyte): sbyte;
|
|
1314
|
+
static exchange6(location1: { value: ref<float> }, value: float): float;
|
|
1315
|
+
static exchange6(location1: { value: ref<ushort> }, value: ushort): ushort;
|
|
1316
|
+
static exchange6(location1: { value: ref<uint> }, value: uint): uint;
|
|
1317
|
+
static exchange6(location1: { value: ref<ulong> }, value: ulong): ulong;
|
|
1318
|
+
static exchange6(location1: { value: ref<nuint> }, value: nuint): nuint;
|
|
1319
|
+
static exchange6<T>(location1: { value: ref<T> }, value: T): T;
|
|
1320
|
+
static increment(location: { value: ref<int> }): int;
|
|
1321
|
+
static increment(location: { value: ref<long> }): long;
|
|
1322
|
+
static increment(location: { value: ref<uint> }): uint;
|
|
1323
|
+
static increment(location: { value: ref<ulong> }): ulong;
|
|
1324
|
+
static memoryBarrier(): void;
|
|
1325
|
+
static memoryBarrierProcessWide(): void;
|
|
1326
|
+
static or(location1: { value: ref<int> }, value: int): int;
|
|
1327
|
+
static or(location1: { value: ref<long> }, value: long): long;
|
|
1328
|
+
static or(location1: { value: ref<uint> }, value: uint): uint;
|
|
1329
|
+
static or(location1: { value: ref<ulong> }, value: ulong): ulong;
|
|
1330
|
+
static read(location: { value: ref<long> }): long;
|
|
1331
|
+
static read(location: { value: ref<ulong> }): ulong;
|
|
1298
1332
|
}
|
|
1299
1333
|
|
|
1300
1334
|
|
|
1301
1335
|
export type Interlocked = Interlocked$instance;
|
|
1302
1336
|
|
|
1303
1337
|
export abstract class LazyInitializer$instance {
|
|
1304
|
-
static
|
|
1305
|
-
static
|
|
1306
|
-
static
|
|
1307
|
-
static
|
|
1308
|
-
static
|
|
1338
|
+
static ensureInitialized2<T>(target: { value: ref<T> }, valueFactory: Func_1<T>): T;
|
|
1339
|
+
static ensureInitialized2<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<unknown> }, valueFactory: Func_1<T>): T;
|
|
1340
|
+
static ensureInitialized2<T>(target: { value: ref<T> }, initialized: { value: ref<boolean> }, syncLock: { value: ref<unknown> }): T;
|
|
1341
|
+
static ensureInitialized2<T>(target: { value: ref<T> }, syncLock: { value: ref<unknown> }, valueFactory: Func_1<T>): T;
|
|
1342
|
+
static ensureInitialized2<T>(target: { value: ref<T> }): T;
|
|
1309
1343
|
}
|
|
1310
1344
|
|
|
1311
1345
|
|
|
1312
1346
|
export type LazyInitializer = LazyInitializer$instance;
|
|
1313
1347
|
|
|
1314
1348
|
export abstract class Monitor$instance {
|
|
1315
|
-
static readonly
|
|
1316
|
-
static
|
|
1317
|
-
static
|
|
1318
|
-
static
|
|
1319
|
-
static
|
|
1320
|
-
static
|
|
1321
|
-
static
|
|
1322
|
-
static
|
|
1323
|
-
static
|
|
1324
|
-
static
|
|
1325
|
-
static
|
|
1326
|
-
static
|
|
1327
|
-
static
|
|
1328
|
-
static
|
|
1329
|
-
static
|
|
1330
|
-
static
|
|
1331
|
-
static
|
|
1332
|
-
static
|
|
1349
|
+
static readonly lockContentionCount: long;
|
|
1350
|
+
static enter2(obj: unknown, lockTaken: { value: ref<boolean> }): void;
|
|
1351
|
+
static enter2(obj: unknown): void;
|
|
1352
|
+
static exit(obj: unknown): void;
|
|
1353
|
+
static isEntered(obj: unknown): boolean;
|
|
1354
|
+
static pulse(obj: unknown): void;
|
|
1355
|
+
static pulseAll(obj: unknown): void;
|
|
1356
|
+
static tryEnter2(obj: unknown, lockTaken: { value: ref<boolean> }): void;
|
|
1357
|
+
static tryEnter2(obj: unknown, millisecondsTimeout: int, lockTaken: { value: ref<boolean> }): void;
|
|
1358
|
+
static tryEnter2(obj: unknown, millisecondsTimeout: int): boolean;
|
|
1359
|
+
static tryEnter2(obj: unknown, timeout: TimeSpan, lockTaken: { value: ref<boolean> }): void;
|
|
1360
|
+
static tryEnter2(obj: unknown, timeout: TimeSpan): boolean;
|
|
1361
|
+
static tryEnter2(obj: unknown): boolean;
|
|
1362
|
+
static wait4(obj: unknown, millisecondsTimeout: int, exitContext: boolean): boolean;
|
|
1363
|
+
static wait4(obj: unknown, millisecondsTimeout: int): boolean;
|
|
1364
|
+
static wait4(obj: unknown, timeout: TimeSpan, exitContext: boolean): boolean;
|
|
1365
|
+
static wait4(obj: unknown, timeout: TimeSpan): boolean;
|
|
1366
|
+
static wait4(obj: unknown): boolean;
|
|
1333
1367
|
}
|
|
1334
1368
|
|
|
1335
1369
|
|
|
1336
1370
|
export type Monitor = Monitor$instance;
|
|
1337
1371
|
|
|
1338
1372
|
export abstract class MutexAcl$instance {
|
|
1339
|
-
static
|
|
1340
|
-
static
|
|
1341
|
-
static
|
|
1373
|
+
static create(initiallyOwned: boolean, name: string, createdNew: { value: ref<boolean> }, mutexSecurity: MutexSecurity): Mutex;
|
|
1374
|
+
static openExisting(name: string, rights: MutexRights): Mutex;
|
|
1375
|
+
static tryOpenExisting(name: string, rights: MutexRights, result: { value: ref<Mutex> }): boolean;
|
|
1342
1376
|
}
|
|
1343
1377
|
|
|
1344
1378
|
|
|
1345
1379
|
export type MutexAcl = MutexAcl$instance;
|
|
1346
1380
|
|
|
1347
1381
|
export abstract class SemaphoreAcl$instance {
|
|
1348
|
-
static
|
|
1349
|
-
static
|
|
1350
|
-
static
|
|
1382
|
+
static create(initialCount: int, maximumCount: int, name: string, createdNew: { value: ref<boolean> }, semaphoreSecurity: SemaphoreSecurity): Semaphore;
|
|
1383
|
+
static openExisting(name: string, rights: SemaphoreRights): Semaphore;
|
|
1384
|
+
static tryOpenExisting(name: string, rights: SemaphoreRights, result: { value: ref<Semaphore> }): boolean;
|
|
1351
1385
|
}
|
|
1352
1386
|
|
|
1353
1387
|
|
|
1354
1388
|
export type SemaphoreAcl = SemaphoreAcl$instance;
|
|
1355
1389
|
|
|
1356
1390
|
export abstract class ThreadingAclExtensions$instance {
|
|
1357
|
-
static
|
|
1358
|
-
static
|
|
1359
|
-
static
|
|
1360
|
-
static
|
|
1361
|
-
static
|
|
1362
|
-
static
|
|
1391
|
+
static getAccessControl(handle: EventWaitHandle): EventWaitHandleSecurity;
|
|
1392
|
+
static getAccessControl(mutex: Mutex): MutexSecurity;
|
|
1393
|
+
static getAccessControl(semaphore: Semaphore): SemaphoreSecurity;
|
|
1394
|
+
static setAccessControl(handle: EventWaitHandle, eventSecurity: EventWaitHandleSecurity): void;
|
|
1395
|
+
static setAccessControl(mutex: Mutex, mutexSecurity: MutexSecurity): void;
|
|
1396
|
+
static setAccessControl(semaphore: Semaphore, semaphoreSecurity: SemaphoreSecurity): void;
|
|
1363
1397
|
}
|
|
1364
1398
|
|
|
1365
1399
|
|
|
1366
1400
|
export type ThreadingAclExtensions = ThreadingAclExtensions$instance;
|
|
1367
1401
|
|
|
1368
1402
|
export abstract class ThreadPool$instance {
|
|
1369
|
-
static readonly
|
|
1370
|
-
static readonly
|
|
1371
|
-
static readonly
|
|
1372
|
-
static
|
|
1373
|
-
static
|
|
1374
|
-
static
|
|
1375
|
-
static
|
|
1376
|
-
static
|
|
1377
|
-
static
|
|
1378
|
-
static
|
|
1379
|
-
static
|
|
1380
|
-
static
|
|
1381
|
-
static
|
|
1382
|
-
static
|
|
1383
|
-
static
|
|
1384
|
-
static
|
|
1385
|
-
static
|
|
1386
|
-
static
|
|
1387
|
-
static
|
|
1388
|
-
static
|
|
1389
|
-
static
|
|
1390
|
-
static
|
|
1391
|
-
static
|
|
1392
|
-
static
|
|
1393
|
-
static
|
|
1403
|
+
static readonly pendingWorkItemCount: long;
|
|
1404
|
+
static readonly threadCount: int;
|
|
1405
|
+
static readonly completedWorkItemCount: long;
|
|
1406
|
+
static bindHandle(osHandle: nint): boolean;
|
|
1407
|
+
static bindHandle(osHandle: SafeHandle): boolean;
|
|
1408
|
+
static getAvailableThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
|
|
1409
|
+
static getMaxThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
|
|
1410
|
+
static getMinThreads(workerThreads: { value: ref<int> }, completionPortThreads: { value: ref<int> }): void;
|
|
1411
|
+
static queueUserWorkItem3<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
|
|
1412
|
+
static queueUserWorkItem3(callBack: WaitCallback, state: unknown): boolean;
|
|
1413
|
+
static queueUserWorkItem3(callBack: WaitCallback): boolean;
|
|
1414
|
+
static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1415
|
+
static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1416
|
+
static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1417
|
+
static registerWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1418
|
+
static setMaxThreads(workerThreads: int, completionPortThreads: int): boolean;
|
|
1419
|
+
static setMinThreads(workerThreads: int, completionPortThreads: int): boolean;
|
|
1420
|
+
static unsafeQueueNativeOverlapped(overlapped: ptr<NativeOverlapped>): boolean;
|
|
1421
|
+
static unsafeQueueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
|
|
1422
|
+
static unsafeQueueUserWorkItem(callBack: IThreadPoolWorkItem, preferLocal: boolean): boolean;
|
|
1423
|
+
static unsafeQueueUserWorkItem(callBack: WaitCallback, state: unknown): boolean;
|
|
1424
|
+
static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1425
|
+
static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1426
|
+
static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1427
|
+
static unsafeRegisterWaitForSingleObject2(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1394
1428
|
}
|
|
1395
1429
|
|
|
1396
1430
|
|
|
@@ -1398,51 +1432,51 @@ export type ThreadPool = ThreadPool$instance;
|
|
|
1398
1432
|
|
|
1399
1433
|
export abstract class Timeout$instance {
|
|
1400
1434
|
static readonly infiniteTimeSpan: TimeSpan;
|
|
1401
|
-
static readonly
|
|
1435
|
+
static readonly infinite: int;
|
|
1402
1436
|
}
|
|
1403
1437
|
|
|
1404
1438
|
|
|
1405
1439
|
export type Timeout = Timeout$instance;
|
|
1406
1440
|
|
|
1407
1441
|
export abstract class Volatile$instance {
|
|
1408
|
-
static
|
|
1409
|
-
static
|
|
1410
|
-
static
|
|
1411
|
-
static
|
|
1412
|
-
static
|
|
1413
|
-
static
|
|
1414
|
-
static
|
|
1415
|
-
static
|
|
1416
|
-
static
|
|
1417
|
-
static
|
|
1418
|
-
static
|
|
1419
|
-
static
|
|
1420
|
-
static
|
|
1421
|
-
static
|
|
1422
|
-
static
|
|
1423
|
-
static
|
|
1424
|
-
static
|
|
1425
|
-
static
|
|
1426
|
-
static
|
|
1427
|
-
static
|
|
1428
|
-
static
|
|
1429
|
-
static
|
|
1430
|
-
static
|
|
1431
|
-
static
|
|
1432
|
-
static
|
|
1433
|
-
static
|
|
1434
|
-
static
|
|
1435
|
-
static
|
|
1436
|
-
static
|
|
1437
|
-
static
|
|
1442
|
+
static read(location: { value: ref<boolean> }): boolean;
|
|
1443
|
+
static read(location: { value: ref<byte> }): byte;
|
|
1444
|
+
static read(location: { value: ref<double> }): double;
|
|
1445
|
+
static read(location: { value: ref<short> }): short;
|
|
1446
|
+
static read(location: { value: ref<int> }): int;
|
|
1447
|
+
static read(location: { value: ref<long> }): long;
|
|
1448
|
+
static read(location: { value: ref<nint> }): nint;
|
|
1449
|
+
static read(location: { value: ref<sbyte> }): sbyte;
|
|
1450
|
+
static read(location: { value: ref<float> }): float;
|
|
1451
|
+
static read(location: { value: ref<ushort> }): ushort;
|
|
1452
|
+
static read(location: { value: ref<uint> }): uint;
|
|
1453
|
+
static read(location: { value: ref<ulong> }): ulong;
|
|
1454
|
+
static read(location: { value: ref<nuint> }): nuint;
|
|
1455
|
+
static read<T>(location: { value: ref<T> }): T;
|
|
1456
|
+
static readBarrier(): void;
|
|
1457
|
+
static write(location: { value: ref<boolean> }, value: boolean): void;
|
|
1458
|
+
static write(location: { value: ref<byte> }, value: byte): void;
|
|
1459
|
+
static write(location: { value: ref<double> }, value: double): void;
|
|
1460
|
+
static write(location: { value: ref<short> }, value: short): void;
|
|
1461
|
+
static write(location: { value: ref<int> }, value: int): void;
|
|
1462
|
+
static write(location: { value: ref<long> }, value: long): void;
|
|
1463
|
+
static write(location: { value: ref<nint> }, value: nint): void;
|
|
1464
|
+
static write(location: { value: ref<sbyte> }, value: sbyte): void;
|
|
1465
|
+
static write(location: { value: ref<float> }, value: float): void;
|
|
1466
|
+
static write(location: { value: ref<ushort> }, value: ushort): void;
|
|
1467
|
+
static write(location: { value: ref<uint> }, value: uint): void;
|
|
1468
|
+
static write(location: { value: ref<ulong> }, value: ulong): void;
|
|
1469
|
+
static write(location: { value: ref<nuint> }, value: nuint): void;
|
|
1470
|
+
static write<T>(location: { value: ref<T> }, value: T): void;
|
|
1471
|
+
static writeBarrier(): void;
|
|
1438
1472
|
}
|
|
1439
1473
|
|
|
1440
1474
|
|
|
1441
1475
|
export type Volatile = Volatile$instance;
|
|
1442
1476
|
|
|
1443
1477
|
export abstract class WaitHandleExtensions$instance {
|
|
1444
|
-
static
|
|
1445
|
-
static
|
|
1478
|
+
static getSafeWaitHandle(waitHandle: WaitHandle): SafeWaitHandle;
|
|
1479
|
+
static setSafeWaitHandle(waitHandle: WaitHandle, value: SafeWaitHandle): void;
|
|
1446
1480
|
}
|
|
1447
1481
|
|
|
1448
1482
|
|