@tsonic/dotnet 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Enumeration/internal/index.d.ts +7 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/__internal/extensions/index.d.ts +371 -371
- package/package.json +1 -1
|
@@ -165,16 +165,16 @@ export interface CancellationToken$instance {
|
|
|
165
165
|
readonly isCancellationRequested: boolean;
|
|
166
166
|
readonly waitHandle: WaitHandle;
|
|
167
167
|
equals(other: CancellationToken): boolean;
|
|
168
|
-
equals(other: unknown
|
|
168
|
+
equals(other: unknown): boolean;
|
|
169
169
|
getHashCode(): int;
|
|
170
|
-
register(callback: Action
|
|
171
|
-
register(callback: Action
|
|
172
|
-
register(callback: Action_1<unknown
|
|
173
|
-
register(callback: Action_2<unknown
|
|
174
|
-
register(callback: Action_1<unknown
|
|
170
|
+
register(callback: Action): CancellationTokenRegistration;
|
|
171
|
+
register(callback: Action, useSynchronizationContext: boolean): CancellationTokenRegistration;
|
|
172
|
+
register(callback: Action_1<unknown>, state: unknown): CancellationTokenRegistration;
|
|
173
|
+
register(callback: Action_2<unknown, CancellationToken>, state: unknown): CancellationTokenRegistration;
|
|
174
|
+
register(callback: Action_1<unknown>, state: unknown, useSynchronizationContext: boolean): CancellationTokenRegistration;
|
|
175
175
|
throwIfCancellationRequested(): void;
|
|
176
|
-
unsafeRegister(callback: Action_1<unknown
|
|
177
|
-
unsafeRegister(callback: Action_2<unknown
|
|
176
|
+
unsafeRegister(callback: Action_1<unknown>, state: unknown): CancellationTokenRegistration;
|
|
177
|
+
unsafeRegister(callback: Action_2<unknown, CancellationToken>, state: unknown): CancellationTokenRegistration;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
|
|
@@ -335,11 +335,11 @@ export interface AbandonedMutexException$instance extends SystemException {
|
|
|
335
335
|
|
|
336
336
|
export const AbandonedMutexException: {
|
|
337
337
|
new(): AbandonedMutexException;
|
|
338
|
-
new(message: string
|
|
339
|
-
new(message: string
|
|
340
|
-
new(location: int, handle: WaitHandle
|
|
341
|
-
new(message: string
|
|
342
|
-
new(message: string
|
|
338
|
+
new(message: string): AbandonedMutexException;
|
|
339
|
+
new(message: string, inner: Exception): AbandonedMutexException;
|
|
340
|
+
new(location: int, handle: WaitHandle): AbandonedMutexException;
|
|
341
|
+
new(message: string, location: int, handle: WaitHandle): AbandonedMutexException;
|
|
342
|
+
new(message: string, inner: Exception, location: int, handle: WaitHandle): AbandonedMutexException;
|
|
343
343
|
};
|
|
344
344
|
|
|
345
345
|
|
|
@@ -357,7 +357,7 @@ export interface AsyncLocal_1$instance<T> {
|
|
|
357
357
|
|
|
358
358
|
export const AsyncLocal_1: {
|
|
359
359
|
new<T>(): AsyncLocal_1<T>;
|
|
360
|
-
new<T>(valueChangedHandler: Action_1<AsyncLocalValueChangedArgs_1<T>>
|
|
360
|
+
new<T>(valueChangedHandler: Action_1<AsyncLocalValueChangedArgs_1<T>>): AsyncLocal_1<T>;
|
|
361
361
|
};
|
|
362
362
|
|
|
363
363
|
|
|
@@ -400,7 +400,7 @@ export interface Barrier$instance {
|
|
|
400
400
|
|
|
401
401
|
export const Barrier: {
|
|
402
402
|
new(participantCount: int): Barrier;
|
|
403
|
-
new(participantCount: int, postPhaseAction: Action_1<Barrier>
|
|
403
|
+
new(participantCount: int, postPhaseAction: Action_1<Barrier>): Barrier;
|
|
404
404
|
};
|
|
405
405
|
|
|
406
406
|
|
|
@@ -414,15 +414,15 @@ export type Barrier = Barrier$instance & __Barrier$views;
|
|
|
414
414
|
|
|
415
415
|
|
|
416
416
|
export interface BarrierPostPhaseException$instance extends Exception {
|
|
417
|
-
getObjectData(info: SerializationInfo
|
|
417
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
420
|
|
|
421
421
|
export const BarrierPostPhaseException: {
|
|
422
422
|
new(): BarrierPostPhaseException;
|
|
423
|
-
new(innerException: Exception
|
|
424
|
-
new(message: string
|
|
425
|
-
new(message: string
|
|
423
|
+
new(innerException: Exception): BarrierPostPhaseException;
|
|
424
|
+
new(message: string): BarrierPostPhaseException;
|
|
425
|
+
new(message: string, innerException: Exception): BarrierPostPhaseException;
|
|
426
426
|
};
|
|
427
427
|
|
|
428
428
|
|
|
@@ -477,7 +477,7 @@ export const CompressedStack: {
|
|
|
477
477
|
new(): CompressedStack;
|
|
478
478
|
capture(): CompressedStack;
|
|
479
479
|
getCompressedStack(): CompressedStack;
|
|
480
|
-
run(compressedStack: CompressedStack, callback: ContextCallback, state: unknown
|
|
480
|
+
run(compressedStack: CompressedStack, callback: ContextCallback, state: unknown): void;
|
|
481
481
|
};
|
|
482
482
|
|
|
483
483
|
|
|
@@ -542,8 +542,8 @@ export const EventWaitHandle: {
|
|
|
542
542
|
new(initialState: boolean, mode: EventResetMode, name: string, createdNew: boolean): EventWaitHandle;
|
|
543
543
|
openExisting(name: string, options: NamedWaitHandleOptions): EventWaitHandle;
|
|
544
544
|
openExisting(name: string): EventWaitHandle;
|
|
545
|
-
tryOpenExisting(name: string, result: EventWaitHandle
|
|
546
|
-
tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: EventWaitHandle
|
|
545
|
+
tryOpenExisting(name: string, result: EventWaitHandle): boolean;
|
|
546
|
+
tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: EventWaitHandle): boolean;
|
|
547
547
|
};
|
|
548
548
|
|
|
549
549
|
|
|
@@ -563,11 +563,11 @@ export interface ExecutionContext$instance {
|
|
|
563
563
|
|
|
564
564
|
export const ExecutionContext: {
|
|
565
565
|
new(): ExecutionContext;
|
|
566
|
-
capture(): ExecutionContext;
|
|
566
|
+
capture(): ExecutionContext | undefined;
|
|
567
567
|
isFlowSuppressed(): boolean;
|
|
568
568
|
restore(executionContext: ExecutionContext): void;
|
|
569
569
|
restoreFlow(): void;
|
|
570
|
-
run(executionContext: ExecutionContext, callback: ContextCallback, state: unknown
|
|
570
|
+
run(executionContext: ExecutionContext, callback: ContextCallback, state: unknown): void;
|
|
571
571
|
suppressFlow(): AsyncFlowControl;
|
|
572
572
|
};
|
|
573
573
|
|
|
@@ -591,7 +591,7 @@ export interface HostExecutionContext$instance {
|
|
|
591
591
|
|
|
592
592
|
export const HostExecutionContext: {
|
|
593
593
|
new(): HostExecutionContext;
|
|
594
|
-
new(state: unknown
|
|
594
|
+
new(state: unknown): HostExecutionContext;
|
|
595
595
|
};
|
|
596
596
|
|
|
597
597
|
|
|
@@ -603,7 +603,7 @@ export type HostExecutionContext = HostExecutionContext$instance & __HostExecuti
|
|
|
603
603
|
|
|
604
604
|
|
|
605
605
|
export interface HostExecutionContextManager$instance {
|
|
606
|
-
capture(): HostExecutionContext;
|
|
606
|
+
capture(): HostExecutionContext | undefined;
|
|
607
607
|
revert(previousState: unknown): void;
|
|
608
608
|
setHostExecutionContext(hostExecutionContext: HostExecutionContext): unknown;
|
|
609
609
|
}
|
|
@@ -635,14 +635,14 @@ export const Lock: {
|
|
|
635
635
|
export type Lock = Lock$instance;
|
|
636
636
|
|
|
637
637
|
export interface LockRecursionException$instance extends Exception {
|
|
638
|
-
getObjectData(info: SerializationInfo
|
|
638
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
|
|
642
642
|
export const LockRecursionException: {
|
|
643
643
|
new(): LockRecursionException;
|
|
644
|
-
new(message: string
|
|
645
|
-
new(message: string
|
|
644
|
+
new(message: string): LockRecursionException;
|
|
645
|
+
new(message: string, innerException: Exception): LockRecursionException;
|
|
646
646
|
};
|
|
647
647
|
|
|
648
648
|
|
|
@@ -709,17 +709,17 @@ export interface Mutex$instance extends WaitHandle$instance {
|
|
|
709
709
|
|
|
710
710
|
|
|
711
711
|
export const Mutex: {
|
|
712
|
-
new(initiallyOwned: boolean, name: string
|
|
713
|
-
new(initiallyOwned: boolean, name: string
|
|
714
|
-
new(initiallyOwned: boolean, name: string
|
|
715
|
-
new(initiallyOwned: boolean, name: string
|
|
716
|
-
new(name: string
|
|
712
|
+
new(initiallyOwned: boolean, name: string, options: NamedWaitHandleOptions, createdNew: boolean): Mutex;
|
|
713
|
+
new(initiallyOwned: boolean, name: string, createdNew: boolean): Mutex;
|
|
714
|
+
new(initiallyOwned: boolean, name: string, options: NamedWaitHandleOptions): Mutex;
|
|
715
|
+
new(initiallyOwned: boolean, name: string): Mutex;
|
|
716
|
+
new(name: string, options: NamedWaitHandleOptions): Mutex;
|
|
717
717
|
new(initiallyOwned: boolean): Mutex;
|
|
718
718
|
new(): Mutex;
|
|
719
|
-
openExisting(name: string
|
|
720
|
-
openExisting(name: string
|
|
721
|
-
tryOpenExisting(name: string
|
|
722
|
-
tryOpenExisting(name: string
|
|
719
|
+
openExisting(name: string, options: NamedWaitHandleOptions): Mutex;
|
|
720
|
+
openExisting(name: string): Mutex;
|
|
721
|
+
tryOpenExisting(name: string, result: Mutex): boolean;
|
|
722
|
+
tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: Mutex): boolean;
|
|
723
723
|
};
|
|
724
724
|
|
|
725
725
|
|
|
@@ -736,9 +736,9 @@ export interface Overlapped$instance {
|
|
|
736
736
|
eventHandleIntPtr: nint;
|
|
737
737
|
offsetHigh: int;
|
|
738
738
|
offsetLow: int;
|
|
739
|
-
pack(iocb: IOCompletionCallback
|
|
739
|
+
pack(iocb: IOCompletionCallback): ptr<NativeOverlapped>;
|
|
740
740
|
pack(iocb: IOCompletionCallback, userData: unknown): ptr<NativeOverlapped>;
|
|
741
|
-
unsafePack(iocb: IOCompletionCallback
|
|
741
|
+
unsafePack(iocb: IOCompletionCallback): ptr<NativeOverlapped>;
|
|
742
742
|
unsafePack(iocb: IOCompletionCallback, userData: unknown): ptr<NativeOverlapped>;
|
|
743
743
|
}
|
|
744
744
|
|
|
@@ -783,7 +783,7 @@ export interface PreAllocatedOverlapped$instance {
|
|
|
783
783
|
|
|
784
784
|
export const PreAllocatedOverlapped: {
|
|
785
785
|
new(callback: IOCompletionCallback, state: unknown, pinData: unknown): PreAllocatedOverlapped;
|
|
786
|
-
unsafeCreate(callback: IOCompletionCallback, state: unknown
|
|
786
|
+
unsafeCreate(callback: IOCompletionCallback, state: unknown, pinData: unknown): PreAllocatedOverlapped;
|
|
787
787
|
};
|
|
788
788
|
|
|
789
789
|
|
|
@@ -866,7 +866,7 @@ export type ReaderWriterLockSlim = ReaderWriterLockSlim$instance & __ReaderWrite
|
|
|
866
866
|
|
|
867
867
|
|
|
868
868
|
export interface RegisteredWaitHandle$instance extends MarshalByRefObject {
|
|
869
|
-
unregister(waitObject: WaitHandle
|
|
869
|
+
unregister(waitObject: WaitHandle): boolean;
|
|
870
870
|
}
|
|
871
871
|
|
|
872
872
|
|
|
@@ -892,8 +892,8 @@ export const Semaphore: {
|
|
|
892
892
|
new(initialCount: int, maximumCount: int, name: string, createdNew: boolean): Semaphore;
|
|
893
893
|
openExisting(name: string, options: NamedWaitHandleOptions): Semaphore;
|
|
894
894
|
openExisting(name: string): Semaphore;
|
|
895
|
-
tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: Semaphore
|
|
896
|
-
tryOpenExisting(name: string, result: Semaphore
|
|
895
|
+
tryOpenExisting(name: string, options: NamedWaitHandleOptions, result: Semaphore): boolean;
|
|
896
|
+
tryOpenExisting(name: string, result: Semaphore): boolean;
|
|
897
897
|
};
|
|
898
898
|
|
|
899
899
|
|
|
@@ -911,8 +911,8 @@ export interface SemaphoreFullException$instance extends SystemException {
|
|
|
911
911
|
|
|
912
912
|
export const SemaphoreFullException: {
|
|
913
913
|
new(): SemaphoreFullException;
|
|
914
|
-
new(message: string
|
|
915
|
-
new(message: string
|
|
914
|
+
new(message: string): SemaphoreFullException;
|
|
915
|
+
new(message: string, innerException: Exception): SemaphoreFullException;
|
|
916
916
|
};
|
|
917
917
|
|
|
918
918
|
|
|
@@ -964,8 +964,8 @@ export interface SynchronizationContext$instance {
|
|
|
964
964
|
isWaitNotificationRequired(): boolean;
|
|
965
965
|
operationCompleted(): void;
|
|
966
966
|
operationStarted(): void;
|
|
967
|
-
post(d: SendOrPostCallback, state: unknown
|
|
968
|
-
send(d: SendOrPostCallback, state: unknown
|
|
967
|
+
post(d: SendOrPostCallback, state: unknown): void;
|
|
968
|
+
send(d: SendOrPostCallback, state: unknown): void;
|
|
969
969
|
wait(waitHandles: nint[], waitAll: boolean, millisecondsTimeout: int): int;
|
|
970
970
|
}
|
|
971
971
|
|
|
@@ -986,8 +986,8 @@ export interface SynchronizationLockException$instance extends SystemException {
|
|
|
986
986
|
|
|
987
987
|
export const SynchronizationLockException: {
|
|
988
988
|
new(): SynchronizationLockException;
|
|
989
|
-
new(message: string
|
|
990
|
-
new(message: string
|
|
989
|
+
new(message: string): SynchronizationLockException;
|
|
990
|
+
new(message: string, innerException: Exception): SynchronizationLockException;
|
|
991
991
|
};
|
|
992
992
|
|
|
993
993
|
|
|
@@ -1037,7 +1037,8 @@ export const Thread: {
|
|
|
1037
1037
|
new(start: ThreadStart, maxStackSize: int): Thread;
|
|
1038
1038
|
new(start: ParameterizedThreadStart): Thread;
|
|
1039
1039
|
new(start: ParameterizedThreadStart, maxStackSize: int): Thread;
|
|
1040
|
-
currentPrincipal: IPrincipal | undefined;
|
|
1040
|
+
get currentPrincipal(): IPrincipal | undefined;
|
|
1041
|
+
set currentPrincipal(value: IPrincipal);
|
|
1041
1042
|
readonly currentThread: Thread;
|
|
1042
1043
|
allocateDataSlot(): LocalDataStoreSlot;
|
|
1043
1044
|
allocateNamedDataSlot(name: string): LocalDataStoreSlot;
|
|
@@ -1053,7 +1054,7 @@ export const Thread: {
|
|
|
1053
1054
|
getNamedDataSlot(name: string): LocalDataStoreSlot;
|
|
1054
1055
|
memoryBarrier(): void;
|
|
1055
1056
|
resetAbort(): void;
|
|
1056
|
-
setData(slot: LocalDataStoreSlot, data: unknown
|
|
1057
|
+
setData(slot: LocalDataStoreSlot, data: unknown): void;
|
|
1057
1058
|
sleep(millisecondsTimeout: int): void;
|
|
1058
1059
|
sleep(timeout: TimeSpan): void;
|
|
1059
1060
|
spinWait(iterations: int): void;
|
|
@@ -1063,7 +1064,7 @@ export const Thread: {
|
|
|
1063
1064
|
volatileRead(address: int): int;
|
|
1064
1065
|
volatileRead(address: long): long;
|
|
1065
1066
|
volatileRead(address: nint): nint;
|
|
1066
|
-
volatileRead(address: unknown): unknown;
|
|
1067
|
+
volatileRead(address: unknown): unknown | undefined;
|
|
1067
1068
|
volatileRead(address: sbyte): sbyte;
|
|
1068
1069
|
volatileRead(address: float): float;
|
|
1069
1070
|
volatileRead(address: ushort): ushort;
|
|
@@ -1126,8 +1127,8 @@ export interface ThreadInterruptedException$instance extends SystemException {
|
|
|
1126
1127
|
|
|
1127
1128
|
export const ThreadInterruptedException: {
|
|
1128
1129
|
new(): ThreadInterruptedException;
|
|
1129
|
-
new(message: string
|
|
1130
|
-
new(message: string
|
|
1130
|
+
new(message: string): ThreadInterruptedException;
|
|
1131
|
+
new(message: string, innerException: Exception): ThreadInterruptedException;
|
|
1131
1132
|
};
|
|
1132
1133
|
|
|
1133
1134
|
|
|
@@ -1143,7 +1144,7 @@ export interface ThreadLocal_1$instance<T> {
|
|
|
1143
1144
|
value: T;
|
|
1144
1145
|
readonly values: IList_1<T>;
|
|
1145
1146
|
dispose(): void;
|
|
1146
|
-
toString(): string;
|
|
1147
|
+
toString(): string | undefined;
|
|
1147
1148
|
}
|
|
1148
1149
|
|
|
1149
1150
|
|
|
@@ -1214,8 +1215,8 @@ export interface ThreadStateException$instance extends SystemException {
|
|
|
1214
1215
|
|
|
1215
1216
|
export const ThreadStateException: {
|
|
1216
1217
|
new(): ThreadStateException;
|
|
1217
|
-
new(message: string
|
|
1218
|
-
new(message: string
|
|
1218
|
+
new(message: string): ThreadStateException;
|
|
1219
|
+
new(message: string, innerException: Exception): ThreadStateException;
|
|
1219
1220
|
};
|
|
1220
1221
|
|
|
1221
1222
|
|
|
@@ -1238,10 +1239,10 @@ export interface Timer$instance extends MarshalByRefObject {
|
|
|
1238
1239
|
|
|
1239
1240
|
|
|
1240
1241
|
export const Timer: {
|
|
1241
|
-
new(callback: TimerCallback, state: unknown
|
|
1242
|
-
new(callback: TimerCallback, state: unknown
|
|
1243
|
-
new(callback: TimerCallback, state: unknown
|
|
1244
|
-
new(callback: TimerCallback, state: unknown
|
|
1242
|
+
new(callback: TimerCallback, state: unknown, dueTime: int, period: int): Timer;
|
|
1243
|
+
new(callback: TimerCallback, state: unknown, dueTime: TimeSpan, period: TimeSpan): Timer;
|
|
1244
|
+
new(callback: TimerCallback, state: unknown, dueTime: uint, period: uint): Timer;
|
|
1245
|
+
new(callback: TimerCallback, state: unknown, dueTime: long, period: long): Timer;
|
|
1245
1246
|
new(callback: TimerCallback): Timer;
|
|
1246
1247
|
readonly activeCount: long;
|
|
1247
1248
|
};
|
|
@@ -1303,8 +1304,8 @@ export interface WaitHandleCannotBeOpenedException$instance extends ApplicationE
|
|
|
1303
1304
|
|
|
1304
1305
|
export const WaitHandleCannotBeOpenedException: {
|
|
1305
1306
|
new(): WaitHandleCannotBeOpenedException;
|
|
1306
|
-
new(message: string
|
|
1307
|
-
new(message: string
|
|
1307
|
+
new(message: string): WaitHandleCannotBeOpenedException;
|
|
1308
|
+
new(message: string, innerException: Exception): WaitHandleCannotBeOpenedException;
|
|
1308
1309
|
};
|
|
1309
1310
|
|
|
1310
1311
|
|
|
@@ -1318,7 +1319,7 @@ export type WaitHandleCannotBeOpenedException = WaitHandleCannotBeOpenedExceptio
|
|
|
1318
1319
|
export abstract class EventWaitHandleAcl$instance {
|
|
1319
1320
|
static create(initialState: boolean, mode: EventResetMode, name: string, createdNew: boolean, eventSecurity: EventWaitHandleSecurity): EventWaitHandle;
|
|
1320
1321
|
static openExisting(name: string, rights: EventWaitHandleRights): EventWaitHandle;
|
|
1321
|
-
static tryOpenExisting(name: string, rights: EventWaitHandleRights, result: EventWaitHandle
|
|
1322
|
+
static tryOpenExisting(name: string, rights: EventWaitHandleRights, result: EventWaitHandle): boolean;
|
|
1322
1323
|
}
|
|
1323
1324
|
|
|
1324
1325
|
|
|
@@ -1339,7 +1340,7 @@ export abstract class Interlocked$instance {
|
|
|
1339
1340
|
static compareExchange(location1: int, value: int, comparand: int): int;
|
|
1340
1341
|
static compareExchange(location1: long, value: long, comparand: long): long;
|
|
1341
1342
|
static compareExchange(location1: nint, value: nint, comparand: nint): nint;
|
|
1342
|
-
static compareExchange(location1: unknown, value: unknown, comparand: unknown): unknown;
|
|
1343
|
+
static compareExchange(location1: unknown, value: unknown, comparand: unknown): unknown | undefined;
|
|
1343
1344
|
static compareExchange(location1: sbyte, value: sbyte, comparand: sbyte): sbyte;
|
|
1344
1345
|
static compareExchange(location1: float, value: float, comparand: float): float;
|
|
1345
1346
|
static compareExchange(location1: ushort, value: ushort, comparand: ushort): ushort;
|
|
@@ -1357,7 +1358,7 @@ export abstract class Interlocked$instance {
|
|
|
1357
1358
|
static exchange(location1: int, value: int): int;
|
|
1358
1359
|
static exchange(location1: long, value: long): long;
|
|
1359
1360
|
static exchange(location1: nint, value: nint): nint;
|
|
1360
|
-
static exchange(location1: unknown, value: unknown): unknown;
|
|
1361
|
+
static exchange(location1: unknown, value: unknown): unknown | undefined;
|
|
1361
1362
|
static exchange(location1: sbyte, value: sbyte): sbyte;
|
|
1362
1363
|
static exchange(location1: float, value: float): float;
|
|
1363
1364
|
static exchange(location1: ushort, value: ushort): ushort;
|
|
@@ -1383,11 +1384,11 @@ export abstract class Interlocked$instance {
|
|
|
1383
1384
|
export type Interlocked = Interlocked$instance;
|
|
1384
1385
|
|
|
1385
1386
|
export abstract class LazyInitializer$instance {
|
|
1386
|
-
static ensureInitialized<T>(target: T
|
|
1387
|
-
static ensureInitialized<T>(target: T, initialized: boolean, syncLock: unknown
|
|
1388
|
-
static ensureInitialized<T>(target: T, initialized: boolean, syncLock: unknown
|
|
1389
|
-
static ensureInitialized<T>(target: T
|
|
1390
|
-
static ensureInitialized<T>(target: T
|
|
1387
|
+
static ensureInitialized<T>(target: T, valueFactory: Func_1<T>): T;
|
|
1388
|
+
static ensureInitialized<T>(target: T, initialized: boolean, syncLock: unknown, valueFactory: Func_1<T>): T;
|
|
1389
|
+
static ensureInitialized<T>(target: T, initialized: boolean, syncLock: unknown): T;
|
|
1390
|
+
static ensureInitialized<T>(target: T, syncLock: unknown, valueFactory: Func_1<T>): T;
|
|
1391
|
+
static ensureInitialized<T>(target: T): T;
|
|
1391
1392
|
}
|
|
1392
1393
|
|
|
1393
1394
|
|
|
@@ -1420,7 +1421,7 @@ export type Monitor = Monitor$instance;
|
|
|
1420
1421
|
export abstract class MutexAcl$instance {
|
|
1421
1422
|
static create(initiallyOwned: boolean, name: string, createdNew: boolean, mutexSecurity: MutexSecurity): Mutex;
|
|
1422
1423
|
static openExisting(name: string, rights: MutexRights): Mutex;
|
|
1423
|
-
static tryOpenExisting(name: string, rights: MutexRights, result: Mutex
|
|
1424
|
+
static tryOpenExisting(name: string, rights: MutexRights, result: Mutex): boolean;
|
|
1424
1425
|
}
|
|
1425
1426
|
|
|
1426
1427
|
|
|
@@ -1429,7 +1430,7 @@ export type MutexAcl = MutexAcl$instance;
|
|
|
1429
1430
|
export abstract class SemaphoreAcl$instance {
|
|
1430
1431
|
static create(initialCount: int, maximumCount: int, name: string, createdNew: boolean, semaphoreSecurity: SemaphoreSecurity): Semaphore;
|
|
1431
1432
|
static openExisting(name: string, rights: SemaphoreRights): Semaphore;
|
|
1432
|
-
static tryOpenExisting(name: string, rights: SemaphoreRights, result: Semaphore
|
|
1433
|
+
static tryOpenExisting(name: string, rights: SemaphoreRights, result: Semaphore): boolean;
|
|
1433
1434
|
}
|
|
1434
1435
|
|
|
1435
1436
|
|
|
@@ -1457,22 +1458,22 @@ export abstract class ThreadPool$instance {
|
|
|
1457
1458
|
static getMaxThreads(workerThreads: int, completionPortThreads: int): void;
|
|
1458
1459
|
static getMinThreads(workerThreads: int, completionPortThreads: int): void;
|
|
1459
1460
|
static queueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
|
|
1460
|
-
static queueUserWorkItem(callBack: WaitCallback, state: unknown
|
|
1461
|
+
static queueUserWorkItem(callBack: WaitCallback, state: unknown): boolean;
|
|
1461
1462
|
static queueUserWorkItem(callBack: WaitCallback): boolean;
|
|
1462
|
-
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1463
|
-
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1464
|
-
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1465
|
-
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1463
|
+
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1464
|
+
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1465
|
+
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1466
|
+
static registerWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1466
1467
|
static setMaxThreads(workerThreads: int, completionPortThreads: int): boolean;
|
|
1467
1468
|
static setMinThreads(workerThreads: int, completionPortThreads: int): boolean;
|
|
1468
1469
|
static unsafeQueueNativeOverlapped(overlapped: ptr<NativeOverlapped>): boolean;
|
|
1469
1470
|
static unsafeQueueUserWorkItem<TState>(callBack: Action_1<TState>, state: TState, preferLocal: boolean): boolean;
|
|
1470
1471
|
static unsafeQueueUserWorkItem(callBack: IThreadPoolWorkItem, preferLocal: boolean): boolean;
|
|
1471
|
-
static unsafeQueueUserWorkItem(callBack: WaitCallback, state: unknown
|
|
1472
|
-
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1473
|
-
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1474
|
-
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1475
|
-
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown
|
|
1472
|
+
static unsafeQueueUserWorkItem(callBack: WaitCallback, state: unknown): boolean;
|
|
1473
|
+
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: int, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1474
|
+
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: long, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1475
|
+
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, timeout: TimeSpan, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1476
|
+
static unsafeRegisterWaitForSingleObject(waitObject: WaitHandle, callBack: WaitOrTimerCallback, state: unknown, millisecondsTimeOutInterval: uint, executeOnlyOnce: boolean): RegisteredWaitHandle;
|
|
1476
1477
|
}
|
|
1477
1478
|
|
|
1478
1479
|
|
|
@@ -1524,7 +1525,7 @@ export type Volatile = Volatile$instance;
|
|
|
1524
1525
|
|
|
1525
1526
|
export abstract class WaitHandleExtensions$instance {
|
|
1526
1527
|
static getSafeWaitHandle(waitHandle: WaitHandle): SafeWaitHandle;
|
|
1527
|
-
static setSafeWaitHandle(waitHandle: WaitHandle, value: SafeWaitHandle
|
|
1528
|
+
static setSafeWaitHandle(waitHandle: WaitHandle, value: SafeWaitHandle): void;
|
|
1528
1529
|
}
|
|
1529
1530
|
|
|
1530
1531
|
|
|
@@ -69,9 +69,9 @@ export interface ChannelClosedException$instance extends InvalidOperationExcepti
|
|
|
69
69
|
|
|
70
70
|
export const ChannelClosedException: {
|
|
71
71
|
new(): ChannelClosedException;
|
|
72
|
-
new(message: string
|
|
73
|
-
new(innerException: Exception
|
|
74
|
-
new(message: string
|
|
72
|
+
new(message: string): ChannelClosedException;
|
|
73
|
+
new(innerException: Exception): ChannelClosedException;
|
|
74
|
+
new(message: string, innerException: Exception): ChannelClosedException;
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
|
|
@@ -115,11 +115,11 @@ export const ChannelReader_1: {
|
|
|
115
115
|
export type ChannelReader_1<T> = ChannelReader_1$instance<T>;
|
|
116
116
|
|
|
117
117
|
export interface ChannelWriter_1$instance<T> {
|
|
118
|
-
complete(error?: Exception
|
|
119
|
-
tryComplete(error?: Exception
|
|
120
|
-
tryWrite(item: T
|
|
118
|
+
complete(error?: Exception): void;
|
|
119
|
+
tryComplete(error?: Exception): boolean;
|
|
120
|
+
tryWrite(item: T): boolean;
|
|
121
121
|
waitToWriteAsync(cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Boolean>;
|
|
122
|
-
writeAsync(item: T
|
|
122
|
+
writeAsync(item: T, cancellationToken?: CancellationToken): ValueTask;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
|
|
@@ -154,7 +154,7 @@ export type UnboundedPrioritizedChannelOptions_1<T> = UnboundedPrioritizedChanne
|
|
|
154
154
|
|
|
155
155
|
export abstract class Channel$instance {
|
|
156
156
|
static createBounded<T>(capacity: int): Channel_1<T>;
|
|
157
|
-
static createBounded<T>(options: BoundedChannelOptions, itemDropped: Action_1<T>
|
|
157
|
+
static createBounded<T>(options: BoundedChannelOptions, itemDropped: Action_1<T>): Channel_1<T>;
|
|
158
158
|
static createBounded<T>(options: BoundedChannelOptions): Channel_1<T>;
|
|
159
159
|
static createUnbounded<T>(): Channel_1<T>;
|
|
160
160
|
static createUnbounded<T>(options: UnboundedChannelOptions): Channel_1<T>;
|