@tsonic/dotnet 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -68,10 +68,10 @@ export enum TransactionStatus {
|
|
|
68
68
|
export type HostCurrentTransactionCallback = () => Transaction;
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
export type TransactionCompletedEventHandler = (sender: unknown, e: TransactionEventArgs) => void;
|
|
71
|
+
export type TransactionCompletedEventHandler = (sender: unknown | undefined, e: TransactionEventArgs) => void;
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
export type TransactionStartedEventHandler = (sender: unknown, e: TransactionEventArgs) => void;
|
|
74
|
+
export type TransactionStartedEventHandler = (sender: unknown | undefined, e: TransactionEventArgs) => void;
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
export interface IDtcTransaction$instance {
|
|
@@ -93,7 +93,7 @@ export type IEnlistmentNotification = IEnlistmentNotification$instance;
|
|
|
93
93
|
|
|
94
94
|
export interface IPromotableSinglePhaseNotification$instance extends ITransactionPromoter {
|
|
95
95
|
initialize(): void;
|
|
96
|
-
promote(): byte[];
|
|
96
|
+
promote(): byte[] | undefined;
|
|
97
97
|
singlePhaseCommit(singlePhaseEnlistment: SinglePhaseEnlistment): void;
|
|
98
98
|
}
|
|
99
99
|
|
|
@@ -103,7 +103,7 @@ export interface IPromotableSinglePhaseNotification$instance extends ITransactio
|
|
|
103
103
|
export type IPromotableSinglePhaseNotification = IPromotableSinglePhaseNotification$instance;
|
|
104
104
|
|
|
105
105
|
export interface ISimpleTransactionSuperior$instance extends ITransactionPromoter {
|
|
106
|
-
promote(): byte[];
|
|
106
|
+
promote(): byte[] | undefined;
|
|
107
107
|
rollback(): void;
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -124,7 +124,7 @@ export interface ISinglePhaseNotification$instance extends IEnlistmentNotificati
|
|
|
124
124
|
export type ISinglePhaseNotification = ISinglePhaseNotification$instance;
|
|
125
125
|
|
|
126
126
|
export interface ITransactionPromoter$instance {
|
|
127
|
-
promote(): byte[];
|
|
127
|
+
promote(): byte[] | undefined;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
|
|
@@ -232,10 +232,10 @@ export type PreparingEnlistment = PreparingEnlistment$instance;
|
|
|
232
232
|
|
|
233
233
|
export interface SinglePhaseEnlistment$instance extends Enlistment {
|
|
234
234
|
aborted(): void;
|
|
235
|
-
aborted(e: Exception): void;
|
|
235
|
+
aborted(e: Exception | undefined): void;
|
|
236
236
|
committed(): void;
|
|
237
237
|
inDoubt(): void;
|
|
238
|
-
inDoubt(e: Exception): void;
|
|
238
|
+
inDoubt(e: Exception | undefined): void;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
|
|
@@ -292,7 +292,7 @@ export interface Transaction$instance {
|
|
|
292
292
|
|
|
293
293
|
export const Transaction: {
|
|
294
294
|
new(): Transaction;
|
|
295
|
-
current: Transaction;
|
|
295
|
+
current: Transaction | undefined;
|
|
296
296
|
};
|
|
297
297
|
|
|
298
298
|
|
|
@@ -313,8 +313,8 @@ export interface TransactionAbortedException$instance extends TransactionExcepti
|
|
|
313
313
|
|
|
314
314
|
export const TransactionAbortedException: {
|
|
315
315
|
new(): TransactionAbortedException;
|
|
316
|
-
new(message: string): TransactionAbortedException;
|
|
317
|
-
new(message: string, innerException: Exception): TransactionAbortedException;
|
|
316
|
+
new(message: string | undefined): TransactionAbortedException;
|
|
317
|
+
new(message: string | undefined, innerException: Exception | undefined): TransactionAbortedException;
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
|
|
@@ -326,7 +326,7 @@ export type TransactionAbortedException = TransactionAbortedException$instance &
|
|
|
326
326
|
|
|
327
327
|
|
|
328
328
|
export interface TransactionEventArgs$instance extends EventArgs {
|
|
329
|
-
readonly transaction: Transaction;
|
|
329
|
+
readonly transaction: Transaction | undefined;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
|
|
@@ -344,8 +344,8 @@ export interface TransactionException$instance extends SystemException {
|
|
|
344
344
|
|
|
345
345
|
export const TransactionException: {
|
|
346
346
|
new(): TransactionException;
|
|
347
|
-
new(message: string): TransactionException;
|
|
348
|
-
new(message: string, innerException: Exception): TransactionException;
|
|
347
|
+
new(message: string | undefined): TransactionException;
|
|
348
|
+
new(message: string | undefined, innerException: Exception | undefined): TransactionException;
|
|
349
349
|
};
|
|
350
350
|
|
|
351
351
|
|
|
@@ -363,8 +363,8 @@ export interface TransactionInDoubtException$instance extends TransactionExcepti
|
|
|
363
363
|
|
|
364
364
|
export const TransactionInDoubtException: {
|
|
365
365
|
new(): TransactionInDoubtException;
|
|
366
|
-
new(message: string): TransactionInDoubtException;
|
|
367
|
-
new(message: string, innerException: Exception): TransactionInDoubtException;
|
|
366
|
+
new(message: string | undefined): TransactionInDoubtException;
|
|
367
|
+
new(message: string | undefined, innerException: Exception | undefined): TransactionInDoubtException;
|
|
368
368
|
};
|
|
369
369
|
|
|
370
370
|
|
|
@@ -397,8 +397,8 @@ export interface TransactionManagerCommunicationException$instance extends Trans
|
|
|
397
397
|
|
|
398
398
|
export const TransactionManagerCommunicationException: {
|
|
399
399
|
new(): TransactionManagerCommunicationException;
|
|
400
|
-
new(message: string): TransactionManagerCommunicationException;
|
|
401
|
-
new(message: string, innerException: Exception): TransactionManagerCommunicationException;
|
|
400
|
+
new(message: string | undefined): TransactionManagerCommunicationException;
|
|
401
|
+
new(message: string | undefined, innerException: Exception | undefined): TransactionManagerCommunicationException;
|
|
402
402
|
};
|
|
403
403
|
|
|
404
404
|
|
|
@@ -416,8 +416,8 @@ export interface TransactionPromotionException$instance extends TransactionExcep
|
|
|
416
416
|
|
|
417
417
|
export const TransactionPromotionException: {
|
|
418
418
|
new(): TransactionPromotionException;
|
|
419
|
-
new(message: string): TransactionPromotionException;
|
|
420
|
-
new(message: string, innerException: Exception): TransactionPromotionException;
|
|
419
|
+
new(message: string | undefined): TransactionPromotionException;
|
|
420
|
+
new(message: string | undefined, innerException: Exception | undefined): TransactionPromotionException;
|
|
421
421
|
};
|
|
422
422
|
|
|
423
423
|
|
|
@@ -476,7 +476,7 @@ export abstract class TransactionInterop$instance {
|
|
|
476
476
|
export type TransactionInterop = TransactionInterop$instance;
|
|
477
477
|
|
|
478
478
|
export abstract class TransactionManager$instance {
|
|
479
|
-
static hostCurrentCallback: HostCurrentTransactionCallback;
|
|
479
|
+
static hostCurrentCallback: HostCurrentTransactionCallback | undefined;
|
|
480
480
|
static defaultTimeout: TimeSpan;
|
|
481
481
|
static maximumTimeout: TimeSpan;
|
|
482
482
|
static implicitDistributedTransactions: boolean;
|
|
@@ -13,7 +13,7 @@ import * as System_Internal from "../../System/internal/index.js";
|
|
|
13
13
|
import type { Boolean as ClrBoolean, Byte, Int32, Object as ClrObject, String as ClrString, Type, Void } from "../../System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface IHtmlString$instance {
|
|
16
|
-
toHtmlString(): string;
|
|
16
|
+
toHtmlString(): string | undefined;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
|
|
@@ -25,36 +25,36 @@ export interface HttpUtility$instance {
|
|
|
25
25
|
|
|
26
26
|
export const HttpUtility: {
|
|
27
27
|
new(): HttpUtility;
|
|
28
|
-
htmlAttributeEncode(s: string, output: TextWriter): void;
|
|
29
|
-
htmlAttributeEncode(s: string): string;
|
|
30
|
-
htmlDecode(s: string, output: TextWriter): void;
|
|
31
|
-
htmlDecode(s: string): string;
|
|
32
|
-
htmlEncode(value: unknown): string;
|
|
33
|
-
htmlEncode(s: string, output: TextWriter): void;
|
|
34
|
-
htmlEncode(s: string): string;
|
|
35
|
-
javaScriptStringEncode(value: string, addDoubleQuotes: boolean): string;
|
|
36
|
-
javaScriptStringEncode(value: string): string;
|
|
37
|
-
parseQueryString(query: string, encoding: Encoding): NameValueCollection;
|
|
38
|
-
parseQueryString(query: string): NameValueCollection;
|
|
39
|
-
urlDecode(bytes: byte[], offset: int, count: int, e: Encoding): string;
|
|
40
|
-
urlDecode(bytes: byte[], e: Encoding): string;
|
|
41
|
-
urlDecode(str: string, e: Encoding): string;
|
|
42
|
-
urlDecode(str: string): string;
|
|
43
|
-
urlDecodeToBytes(bytes: byte[], offset: int, count: int): byte[];
|
|
44
|
-
urlDecodeToBytes(bytes: byte[]): byte[];
|
|
45
|
-
urlDecodeToBytes(str: string, e: Encoding): byte[];
|
|
46
|
-
urlDecodeToBytes(str: string): byte[];
|
|
47
|
-
urlEncode(bytes: byte[], offset: int, count: int): string;
|
|
48
|
-
urlEncode(bytes: byte[]): string;
|
|
49
|
-
urlEncode(str: string, e: Encoding): string;
|
|
50
|
-
urlEncode(str: string): string;
|
|
51
|
-
urlEncodeToBytes(bytes: byte[], offset: int, count: int): byte[];
|
|
52
|
-
urlEncodeToBytes(bytes: byte[]): byte[];
|
|
53
|
-
urlEncodeToBytes(str: string, e: Encoding): byte[];
|
|
54
|
-
urlEncodeToBytes(str: string): byte[];
|
|
55
|
-
urlEncodeUnicode(str: string): string;
|
|
56
|
-
urlEncodeUnicodeToBytes(str: string): byte[];
|
|
57
|
-
urlPathEncode(str: string): string;
|
|
28
|
+
htmlAttributeEncode(s: string | undefined, output: TextWriter | undefined): void;
|
|
29
|
+
htmlAttributeEncode(s: string | undefined): string | undefined;
|
|
30
|
+
htmlDecode(s: string | undefined, output: TextWriter | undefined): void;
|
|
31
|
+
htmlDecode(s: string | undefined): string | undefined;
|
|
32
|
+
htmlEncode(value: unknown | undefined): string | undefined;
|
|
33
|
+
htmlEncode(s: string | undefined, output: TextWriter | undefined): void;
|
|
34
|
+
htmlEncode(s: string | undefined): string | undefined;
|
|
35
|
+
javaScriptStringEncode(value: string | undefined, addDoubleQuotes: boolean): string | undefined;
|
|
36
|
+
javaScriptStringEncode(value: string | undefined): string | undefined;
|
|
37
|
+
parseQueryString(query: string | undefined, encoding: Encoding | undefined): NameValueCollection | undefined;
|
|
38
|
+
parseQueryString(query: string | undefined): NameValueCollection | undefined;
|
|
39
|
+
urlDecode(bytes: byte[] | undefined, offset: int, count: int, e: Encoding): string | undefined;
|
|
40
|
+
urlDecode(bytes: byte[] | undefined, e: Encoding): string | undefined;
|
|
41
|
+
urlDecode(str: string | undefined, e: Encoding): string | undefined;
|
|
42
|
+
urlDecode(str: string | undefined): string | undefined;
|
|
43
|
+
urlDecodeToBytes(bytes: byte[] | undefined, offset: int, count: int): byte[] | undefined;
|
|
44
|
+
urlDecodeToBytes(bytes: byte[] | undefined): byte[] | undefined;
|
|
45
|
+
urlDecodeToBytes(str: string | undefined, e: Encoding): byte[] | undefined;
|
|
46
|
+
urlDecodeToBytes(str: string | undefined): byte[] | undefined;
|
|
47
|
+
urlEncode(bytes: byte[] | undefined, offset: int, count: int): string | undefined;
|
|
48
|
+
urlEncode(bytes: byte[] | undefined): string | undefined;
|
|
49
|
+
urlEncode(str: string | undefined, e: Encoding): string | undefined;
|
|
50
|
+
urlEncode(str: string | undefined): string | undefined;
|
|
51
|
+
urlEncodeToBytes(bytes: byte[] | undefined, offset: int, count: int): byte[] | undefined;
|
|
52
|
+
urlEncodeToBytes(bytes: byte[] | undefined): byte[] | undefined;
|
|
53
|
+
urlEncodeToBytes(str: string | undefined, e: Encoding): byte[] | undefined;
|
|
54
|
+
urlEncodeToBytes(str: string | undefined): byte[] | undefined;
|
|
55
|
+
urlEncodeUnicode(str: string | undefined): string | undefined;
|
|
56
|
+
urlEncodeUnicodeToBytes(str: string | undefined): byte[] | undefined;
|
|
57
|
+
urlPathEncode(str: string | undefined): string | undefined;
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
|
|
@@ -10,8 +10,8 @@ import * as System_Internal from "../../System/internal/index.js";
|
|
|
10
10
|
import type { Boolean as ClrBoolean, EventHandler, Object as ClrObject, Void } from "../../System/internal/index.js";
|
|
11
11
|
|
|
12
12
|
export interface ICommand$instance {
|
|
13
|
-
canExecute(parameter: unknown): boolean;
|
|
14
|
-
execute(parameter: unknown): void;
|
|
13
|
+
canExecute(parameter: unknown | undefined): boolean;
|
|
14
|
+
execute(parameter: unknown | undefined): void;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
|