@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
|
@@ -35,19 +35,19 @@ export type JsonNodeOptions = JsonNodeOptions$instance;
|
|
|
35
35
|
|
|
36
36
|
export interface JsonArray$instance extends JsonNode {
|
|
37
37
|
readonly count: int;
|
|
38
|
-
add<T>(value: T): void;
|
|
39
|
-
add(item: JsonNode): void;
|
|
38
|
+
add<T>(value: T | undefined): void;
|
|
39
|
+
add(item: JsonNode | undefined): void;
|
|
40
40
|
clear(): void;
|
|
41
|
-
contains(item: JsonNode): boolean;
|
|
42
|
-
getEnumerator(): IEnumerator_1<JsonNode>;
|
|
43
|
-
getValues<T>(): IEnumerable_1<T
|
|
44
|
-
indexOf(item: JsonNode): int;
|
|
45
|
-
insert(index: int, item: JsonNode): void;
|
|
46
|
-
remove(item: JsonNode): boolean;
|
|
47
|
-
removeAll(match: Func_2<JsonNode, System_Internal.Boolean>): int;
|
|
41
|
+
contains(item: JsonNode | undefined): boolean;
|
|
42
|
+
getEnumerator(): IEnumerator_1<JsonNode | undefined>;
|
|
43
|
+
getValues<T>(): IEnumerable_1<T | undefined> | undefined;
|
|
44
|
+
indexOf(item: JsonNode | undefined): int;
|
|
45
|
+
insert(index: int, item: JsonNode | undefined): void;
|
|
46
|
+
remove(item: JsonNode | undefined): boolean;
|
|
47
|
+
removeAll(match: Func_2<JsonNode | undefined, System_Internal.Boolean>): int;
|
|
48
48
|
removeAt(index: int): void;
|
|
49
49
|
removeRange(index: int, count: int): void;
|
|
50
|
-
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
50
|
+
writeTo(writer: Utf8JsonWriter | undefined, options?: JsonSerializerOptions | undefined): void;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
|
|
@@ -57,7 +57,7 @@ export const JsonArray: {
|
|
|
57
57
|
new(options: JsonNodeOptions, items: ReadOnlySpan_1<JsonNode>): JsonArray;
|
|
58
58
|
new(items: JsonNode[]): JsonArray;
|
|
59
59
|
new(items: ReadOnlySpan_1<JsonNode>): JsonArray;
|
|
60
|
-
create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonArray;
|
|
60
|
+
create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonArray | undefined;
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
|
|
@@ -87,21 +87,21 @@ export interface JsonNode$instance {
|
|
|
87
87
|
getValue<T>(): T;
|
|
88
88
|
getValueKind(): JsonValueKind;
|
|
89
89
|
replaceWith<T>(value: T): void;
|
|
90
|
-
set_Item(index: int, value: JsonNode): void;
|
|
91
|
-
set_Item(propertyName: string, value: JsonNode): void;
|
|
92
|
-
toJsonString(options?: JsonSerializerOptions): string;
|
|
90
|
+
set_Item(index: int, value: JsonNode | undefined): void;
|
|
91
|
+
set_Item(propertyName: string, value: JsonNode | undefined): void;
|
|
92
|
+
toJsonString(options?: JsonSerializerOptions | undefined): string;
|
|
93
93
|
toString(): string;
|
|
94
|
-
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
94
|
+
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions | undefined): void;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
98
98
|
export const JsonNode: {
|
|
99
99
|
deepEquals(node1: JsonNode, node2: JsonNode): boolean;
|
|
100
|
-
parse(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
101
|
-
parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
102
|
-
parse(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
100
|
+
parse(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
|
|
101
|
+
parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
|
|
102
|
+
parse(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode | undefined;
|
|
103
103
|
parse(reader: Utf8JsonReader, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode;
|
|
104
|
-
parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode>;
|
|
104
|
+
parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode | undefined>;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
|
|
@@ -109,23 +109,23 @@ export type JsonNode = JsonNode$instance;
|
|
|
109
109
|
|
|
110
110
|
export interface JsonObject$instance extends JsonNode {
|
|
111
111
|
readonly count: int;
|
|
112
|
-
add(propertyName: string, value: JsonNode): void;
|
|
112
|
+
add(propertyName: string, value: JsonNode | undefined): void;
|
|
113
113
|
add(property: KeyValuePair_2<System_Internal.String, JsonNode>): void;
|
|
114
114
|
clear(): void;
|
|
115
115
|
containsKey(propertyName: string): boolean;
|
|
116
116
|
getAt(index: int): KeyValuePair_2<System_Internal.String, JsonNode>;
|
|
117
117
|
getEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, JsonNode>>;
|
|
118
118
|
indexOf(propertyName: string): int;
|
|
119
|
-
insert(index: int, propertyName: string, value: JsonNode): void;
|
|
119
|
+
insert(index: int, propertyName: string, value: JsonNode | undefined): void;
|
|
120
120
|
remove(propertyName: string): boolean;
|
|
121
121
|
removeAt(index: int): void;
|
|
122
|
-
setAt(index: int, propertyName: string, value: JsonNode): void;
|
|
122
|
+
setAt(index: int, propertyName: string, value: JsonNode | undefined): void;
|
|
123
123
|
setAt(index: int, value: JsonNode): void;
|
|
124
|
-
tryAdd(propertyName: string, value: JsonNode): boolean;
|
|
125
|
-
tryAdd(propertyName: string, value: JsonNode, index: int): boolean;
|
|
126
|
-
tryGetPropertyValue(propertyName: string, jsonNode: JsonNode): boolean;
|
|
127
|
-
tryGetPropertyValue(propertyName: string, jsonNode: JsonNode, index: int): boolean;
|
|
128
|
-
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
124
|
+
tryAdd(propertyName: string, value: JsonNode | undefined): boolean;
|
|
125
|
+
tryAdd(propertyName: string, value: JsonNode | undefined, index: int): boolean;
|
|
126
|
+
tryGetPropertyValue(propertyName: string, jsonNode: JsonNode | undefined): boolean;
|
|
127
|
+
tryGetPropertyValue(propertyName: string, jsonNode: JsonNode | undefined, index: int): boolean;
|
|
128
|
+
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions | undefined): void;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
|
|
@@ -148,48 +148,48 @@ export type JsonObject = JsonObject$instance & __JsonObject$views;
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
export interface JsonValue$instance extends JsonNode {
|
|
151
|
-
tryGetValue<T>(value: T): boolean;
|
|
151
|
+
tryGetValue<T>(value: T | undefined): boolean;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
|
|
155
155
|
export const JsonValue: {
|
|
156
|
-
create(value: boolean, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
157
|
-
create(value: byte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
158
|
-
create(value: char, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
159
|
-
create(value: DateTime, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
160
|
-
create(value: DateTimeOffset, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
161
|
-
create(value: decimal, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
162
|
-
create(value: double, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
163
|
-
create(value: Guid, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
164
|
-
create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
165
|
-
create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
166
|
-
create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
167
|
-
create(value: Nullable_1<System_Internal.Boolean>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
168
|
-
create(value: Nullable_1<System_Internal.Byte>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
169
|
-
create(value: Nullable_1<System_Internal.Char>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
170
|
-
create(value: Nullable_1<DateTime>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
171
|
-
create(value: Nullable_1<DateTimeOffset>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
172
|
-
create(value: Nullable_1<System_Internal.Decimal>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
173
|
-
create(value: Nullable_1<System_Internal.Double>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
174
|
-
create(value: Nullable_1<Guid>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
175
|
-
create(value: Nullable_1<System_Internal.Int16>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
176
|
-
create(value: Nullable_1<System_Internal.Int32>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
177
|
-
create(value: Nullable_1<System_Internal.Int64>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
178
|
-
create(value: Nullable_1<System_Internal.SByte>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
179
|
-
create(value: Nullable_1<System_Internal.Single>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
180
|
-
create(value: Nullable_1<JsonElement>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
181
|
-
create(value: Nullable_1<System_Internal.UInt16>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
182
|
-
create(value: Nullable_1<System_Internal.UInt32>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
183
|
-
create(value: Nullable_1<System_Internal.UInt64>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
184
|
-
create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
185
|
-
create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
186
|
-
create(value: string, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
187
|
-
create(value: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
188
|
-
create(value: ushort, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
189
|
-
create(value: uint, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
190
|
-
create(value: ulong, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
191
|
-
create<T>(value: T, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
192
|
-
create<T>(value: T, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
156
|
+
create(value: boolean, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
157
|
+
create(value: byte, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
158
|
+
create(value: char, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
159
|
+
create(value: DateTime, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
160
|
+
create(value: DateTimeOffset, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
161
|
+
create(value: decimal, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
162
|
+
create(value: double, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
163
|
+
create(value: Guid, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
164
|
+
create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
165
|
+
create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
166
|
+
create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
167
|
+
create(value: Nullable_1<System_Internal.Boolean>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
168
|
+
create(value: Nullable_1<System_Internal.Byte>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
169
|
+
create(value: Nullable_1<System_Internal.Char>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
170
|
+
create(value: Nullable_1<DateTime>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
171
|
+
create(value: Nullable_1<DateTimeOffset>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
172
|
+
create(value: Nullable_1<System_Internal.Decimal>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
173
|
+
create(value: Nullable_1<System_Internal.Double>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
174
|
+
create(value: Nullable_1<Guid>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
175
|
+
create(value: Nullable_1<System_Internal.Int16>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
176
|
+
create(value: Nullable_1<System_Internal.Int32>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
177
|
+
create(value: Nullable_1<System_Internal.Int64>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
178
|
+
create(value: Nullable_1<System_Internal.SByte>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
179
|
+
create(value: Nullable_1<System_Internal.Single>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
180
|
+
create(value: Nullable_1<JsonElement>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
181
|
+
create(value: Nullable_1<System_Internal.UInt16>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
182
|
+
create(value: Nullable_1<System_Internal.UInt32>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
183
|
+
create(value: Nullable_1<System_Internal.UInt64>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
184
|
+
create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
185
|
+
create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
186
|
+
create(value: string | undefined, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
187
|
+
create(value: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
188
|
+
create(value: ushort, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
189
|
+
create(value: uint, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
190
|
+
create(value: ulong, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
191
|
+
create<T>(value: T | undefined, jsonTypeInfo: JsonTypeInfo_1<T>, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
192
|
+
create<T>(value: T | undefined, options?: Nullable_1<JsonNodeOptions>): JsonValue | undefined;
|
|
193
193
|
};
|
|
194
194
|
|
|
195
195
|
|
|
@@ -13,9 +13,9 @@ import * as System_Internal from "../../System/internal/index.js";
|
|
|
13
13
|
import type { Boolean as ClrBoolean, Func_3, Int32, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, ValueType } from "../../System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface JsonSchemaExporterContext$instance {
|
|
16
|
-
readonly baseTypeInfo: JsonTypeInfo;
|
|
16
|
+
readonly baseTypeInfo: JsonTypeInfo | undefined;
|
|
17
17
|
readonly path: ReadOnlySpan_1<System_Internal.String>;
|
|
18
|
-
readonly propertyInfo: JsonPropertyInfo;
|
|
18
|
+
readonly propertyInfo: JsonPropertyInfo | undefined;
|
|
19
19
|
readonly typeInfo: JsonTypeInfo;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -28,7 +28,7 @@ export const JsonSchemaExporterContext: {
|
|
|
28
28
|
export type JsonSchemaExporterContext = JsonSchemaExporterContext$instance;
|
|
29
29
|
|
|
30
30
|
export interface JsonSchemaExporterOptions$instance {
|
|
31
|
-
transformSchemaNode: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode
|
|
31
|
+
transformSchemaNode: Func_3<JsonSchemaExporterContext, JsonNode, JsonNode> | undefined;
|
|
32
32
|
treatNullObliviousAsNonNullable: boolean;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -42,8 +42,8 @@ export const JsonSchemaExporterOptions: {
|
|
|
42
42
|
export type JsonSchemaExporterOptions = JsonSchemaExporterOptions$instance;
|
|
43
43
|
|
|
44
44
|
export abstract class JsonSchemaExporter$instance {
|
|
45
|
-
static getJsonSchemaAsNode(options: JsonSerializerOptions, type_: Type, exporterOptions?: JsonSchemaExporterOptions): JsonNode;
|
|
46
|
-
static getJsonSchemaAsNode(typeInfo: JsonTypeInfo, exporterOptions?: JsonSchemaExporterOptions): JsonNode;
|
|
45
|
+
static getJsonSchemaAsNode(options: JsonSerializerOptions, type_: Type, exporterOptions?: JsonSchemaExporterOptions | undefined): JsonNode;
|
|
46
|
+
static getJsonSchemaAsNode(typeInfo: JsonTypeInfo, exporterOptions?: JsonSchemaExporterOptions | undefined): JsonNode;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
@@ -133,7 +133,7 @@ export type JsonConstructorAttribute = JsonConstructorAttribute$instance;
|
|
|
133
133
|
|
|
134
134
|
export interface JsonConverter$instance {
|
|
135
135
|
readonly type_: Type;
|
|
136
|
-
canConvert(typeToConvert: Type): boolean;
|
|
136
|
+
canConvert(typeToConvert: Type | undefined): boolean;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
|
|
@@ -147,7 +147,7 @@ export interface JsonConverter_1$instance<T> extends JsonConverter {
|
|
|
147
147
|
readonly handleNull: boolean;
|
|
148
148
|
readonly type_: Type;
|
|
149
149
|
canConvert(typeToConvert: Type): boolean;
|
|
150
|
-
read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T;
|
|
150
|
+
read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T | undefined;
|
|
151
151
|
readAsPropertyName(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T;
|
|
152
152
|
write(writer: Utf8JsonWriter, value: T, options: JsonSerializerOptions): void;
|
|
153
153
|
writeAsPropertyName(writer: Utf8JsonWriter, value: T, options: JsonSerializerOptions): void;
|
|
@@ -161,8 +161,8 @@ export const JsonConverter_1: {
|
|
|
161
161
|
export type JsonConverter_1<T> = JsonConverter_1$instance<T>;
|
|
162
162
|
|
|
163
163
|
export interface JsonConverterAttribute$instance extends JsonAttribute {
|
|
164
|
-
readonly converterType: Type;
|
|
165
|
-
createConverter(typeToConvert: Type): JsonConverter;
|
|
164
|
+
readonly converterType: Type | undefined;
|
|
165
|
+
createConverter(typeToConvert: Type): JsonConverter | undefined;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
|
|
@@ -175,7 +175,7 @@ export type JsonConverterAttribute = JsonConverterAttribute$instance;
|
|
|
175
175
|
|
|
176
176
|
export interface JsonConverterFactory$instance extends JsonConverter {
|
|
177
177
|
readonly type_: Type;
|
|
178
|
-
createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter;
|
|
178
|
+
createConverter(typeToConvert: Type | undefined, options: JsonSerializerOptions | undefined): JsonConverter | undefined;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
|
|
@@ -187,7 +187,7 @@ export type JsonConverterFactory = JsonConverterFactory$instance;
|
|
|
187
187
|
|
|
188
188
|
export interface JsonDerivedTypeAttribute$instance extends JsonAttribute {
|
|
189
189
|
readonly derivedType: Type;
|
|
190
|
-
readonly typeDiscriminator: unknown;
|
|
190
|
+
readonly typeDiscriminator: unknown | undefined;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
|
|
@@ -236,7 +236,7 @@ export type JsonIncludeAttribute = JsonIncludeAttribute$instance;
|
|
|
236
236
|
|
|
237
237
|
export interface JsonNumberEnumConverter_1$instance<TEnum extends number> extends JsonConverterFactory {
|
|
238
238
|
canConvert(typeToConvert: Type): boolean;
|
|
239
|
-
createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter;
|
|
239
|
+
createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter | undefined;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
|
|
@@ -322,12 +322,12 @@ export type JsonRequiredAttribute = JsonRequiredAttribute$instance;
|
|
|
322
322
|
|
|
323
323
|
export interface JsonSerializableAttribute$instance extends JsonAttribute {
|
|
324
324
|
generationMode: JsonSourceGenerationMode;
|
|
325
|
-
typeInfoPropertyName: string;
|
|
325
|
+
typeInfoPropertyName: string | undefined;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
|
|
329
329
|
export const JsonSerializableAttribute: {
|
|
330
|
-
new(type_: Type): JsonSerializableAttribute;
|
|
330
|
+
new(type_: Type | undefined): JsonSerializableAttribute;
|
|
331
331
|
};
|
|
332
332
|
|
|
333
333
|
|
|
@@ -405,7 +405,7 @@ export type JsonStringEnumConverter = JsonStringEnumConverter$instance;
|
|
|
405
405
|
|
|
406
406
|
export interface JsonStringEnumConverter_1$instance<TEnum extends number> extends JsonConverterFactory {
|
|
407
407
|
canConvert(typeToConvert: Type): boolean;
|
|
408
|
-
createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter;
|
|
408
|
+
createConverter(typeToConvert: Type, options: JsonSerializerOptions): JsonConverter | undefined;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
|
|
@@ -33,7 +33,7 @@ export type IJsonTypeInfoResolver = IJsonTypeInfoResolver$instance;
|
|
|
33
33
|
|
|
34
34
|
export interface JsonDerivedType$instance {
|
|
35
35
|
readonly derivedType: Type;
|
|
36
|
-
readonly typeDiscriminator: unknown;
|
|
36
|
+
readonly typeDiscriminator: unknown | undefined;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
|
|
@@ -68,10 +68,10 @@ export type DefaultJsonTypeInfoResolver = DefaultJsonTypeInfoResolver$instance &
|
|
|
68
68
|
|
|
69
69
|
export interface JsonCollectionInfoValues_1$instance<TCollection> {
|
|
70
70
|
elementInfo: JsonTypeInfo;
|
|
71
|
-
keyInfo: JsonTypeInfo;
|
|
71
|
+
keyInfo: JsonTypeInfo | undefined;
|
|
72
72
|
numberHandling: JsonNumberHandling;
|
|
73
|
-
objectCreator: Func_1<TCollection
|
|
74
|
-
serializeHandler: Action_2<Utf8JsonWriter, TCollection
|
|
73
|
+
objectCreator: Func_1<TCollection> | undefined;
|
|
74
|
+
serializeHandler: Action_2<Utf8JsonWriter, TCollection> | undefined;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
|
|
@@ -83,13 +83,13 @@ export const JsonCollectionInfoValues_1: {
|
|
|
83
83
|
export type JsonCollectionInfoValues_1<TCollection> = JsonCollectionInfoValues_1$instance<TCollection>;
|
|
84
84
|
|
|
85
85
|
export interface JsonObjectInfoValues_1$instance<T> {
|
|
86
|
-
constructorAttributeProviderFactory: Func_1<ICustomAttributeProvider
|
|
87
|
-
constructorParameterMetadataInitializer: Func_1<JsonParameterInfoValues[]
|
|
86
|
+
constructorAttributeProviderFactory: Func_1<ICustomAttributeProvider> | undefined;
|
|
87
|
+
constructorParameterMetadataInitializer: Func_1<JsonParameterInfoValues[]> | undefined;
|
|
88
88
|
numberHandling: JsonNumberHandling;
|
|
89
|
-
objectCreator: Func_1<T
|
|
90
|
-
objectWithParameterizedConstructorCreator: Func_2<unknown[], T
|
|
91
|
-
propertyMetadataInitializer: Func_2<JsonSerializerContext, JsonPropertyInfo[]
|
|
92
|
-
serializeHandler: Action_2<Utf8JsonWriter, T
|
|
89
|
+
objectCreator: Func_1<T> | undefined;
|
|
90
|
+
objectWithParameterizedConstructorCreator: Func_2<unknown[], T> | undefined;
|
|
91
|
+
propertyMetadataInitializer: Func_2<JsonSerializerContext, JsonPropertyInfo[]> | undefined;
|
|
92
|
+
serializeHandler: Action_2<Utf8JsonWriter, T> | undefined;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
|
|
@@ -101,7 +101,7 @@ export const JsonObjectInfoValues_1: {
|
|
|
101
101
|
export type JsonObjectInfoValues_1<T> = JsonObjectInfoValues_1$instance<T>;
|
|
102
102
|
|
|
103
103
|
export interface JsonParameterInfo$instance {
|
|
104
|
-
readonly attributeProvider: ICustomAttributeProvider;
|
|
104
|
+
readonly attributeProvider: ICustomAttributeProvider | undefined;
|
|
105
105
|
readonly declaringType: Type;
|
|
106
106
|
readonly defaultValue: unknown;
|
|
107
107
|
readonly hasDefaultValue: boolean;
|
|
@@ -153,11 +153,11 @@ export const JsonPolymorphismOptions: {
|
|
|
153
153
|
export type JsonPolymorphismOptions = JsonPolymorphismOptions$instance;
|
|
154
154
|
|
|
155
155
|
export interface JsonPropertyInfo$instance {
|
|
156
|
-
readonly associatedParameter: JsonParameterInfo;
|
|
157
|
-
attributeProvider: ICustomAttributeProvider;
|
|
158
|
-
customConverter: JsonConverter;
|
|
156
|
+
readonly associatedParameter: JsonParameterInfo | undefined;
|
|
157
|
+
attributeProvider: ICustomAttributeProvider | undefined;
|
|
158
|
+
customConverter: JsonConverter | undefined;
|
|
159
159
|
readonly declaringType: Type;
|
|
160
|
-
get_: Func_2<unknown, unknown
|
|
160
|
+
get_: Func_2<unknown, unknown | undefined> | undefined;
|
|
161
161
|
isExtensionData: boolean;
|
|
162
162
|
isGetNullable: boolean;
|
|
163
163
|
isRequired: boolean;
|
|
@@ -168,8 +168,8 @@ export interface JsonPropertyInfo$instance {
|
|
|
168
168
|
readonly options: JsonSerializerOptions;
|
|
169
169
|
order: int;
|
|
170
170
|
readonly propertyType: Type;
|
|
171
|
-
set_: Action_2<unknown, unknown>;
|
|
172
|
-
shouldSerialize: Func_3<unknown, unknown, System_Internal.Boolean
|
|
171
|
+
set_: Action_2<unknown, unknown | undefined>;
|
|
172
|
+
shouldSerialize: Func_3<unknown, unknown | undefined, System_Internal.Boolean> | undefined;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
|
|
@@ -180,21 +180,21 @@ export const JsonPropertyInfo: {
|
|
|
180
180
|
export type JsonPropertyInfo = JsonPropertyInfo$instance;
|
|
181
181
|
|
|
182
182
|
export interface JsonPropertyInfoValues_1$instance<T> {
|
|
183
|
-
attributeProviderFactory: Func_1<ICustomAttributeProvider
|
|
183
|
+
attributeProviderFactory: Func_1<ICustomAttributeProvider> | undefined;
|
|
184
184
|
converter: JsonConverter_1<T>;
|
|
185
185
|
declaringType: Type;
|
|
186
|
-
getter: Func_2<unknown, T
|
|
186
|
+
getter: Func_2<unknown, T | undefined> | undefined;
|
|
187
187
|
hasJsonInclude: boolean;
|
|
188
188
|
ignoreCondition: Nullable_1<JsonIgnoreCondition>;
|
|
189
189
|
isExtensionData: boolean;
|
|
190
190
|
isProperty: boolean;
|
|
191
191
|
isPublic: boolean;
|
|
192
192
|
isVirtual: boolean;
|
|
193
|
-
jsonPropertyName: string;
|
|
193
|
+
jsonPropertyName: string | undefined;
|
|
194
194
|
numberHandling: Nullable_1<JsonNumberHandling>;
|
|
195
195
|
propertyName: string;
|
|
196
196
|
propertyTypeInfo: JsonTypeInfo;
|
|
197
|
-
setter: Action_2<unknown, T
|
|
197
|
+
setter: Action_2<unknown, T | undefined> | undefined;
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
|
|
@@ -206,41 +206,41 @@ export const JsonPropertyInfoValues_1: {
|
|
|
206
206
|
export type JsonPropertyInfoValues_1<T> = JsonPropertyInfoValues_1$instance<T>;
|
|
207
207
|
|
|
208
208
|
export interface JsonTypeInfo$instance {
|
|
209
|
-
readonly constructorAttributeProvider: ICustomAttributeProvider;
|
|
209
|
+
readonly constructorAttributeProvider: ICustomAttributeProvider | undefined;
|
|
210
210
|
readonly converter: JsonConverter;
|
|
211
|
-
createObject: Func_1<unknown
|
|
211
|
+
createObject: Func_1<unknown> | undefined;
|
|
212
212
|
readonly elementType: Type;
|
|
213
213
|
readonly isReadOnly: boolean;
|
|
214
|
-
readonly keyType: Type;
|
|
214
|
+
readonly keyType: Type | undefined;
|
|
215
215
|
readonly kind: JsonTypeInfoKind;
|
|
216
216
|
numberHandling: Nullable_1<JsonNumberHandling>;
|
|
217
|
-
onDeserialized: Action_1<unknown
|
|
218
|
-
onDeserializing: Action_1<unknown
|
|
219
|
-
onSerialized: Action_1<unknown
|
|
220
|
-
onSerializing: Action_1<unknown
|
|
217
|
+
onDeserialized: Action_1<unknown> | undefined;
|
|
218
|
+
onDeserializing: Action_1<unknown> | undefined;
|
|
219
|
+
onSerialized: Action_1<unknown> | undefined;
|
|
220
|
+
onSerializing: Action_1<unknown> | undefined;
|
|
221
221
|
readonly options: JsonSerializerOptions;
|
|
222
|
-
originatingResolver: IJsonTypeInfoResolver;
|
|
223
|
-
polymorphismOptions: JsonPolymorphismOptions;
|
|
222
|
+
originatingResolver: IJsonTypeInfoResolver | undefined;
|
|
223
|
+
polymorphismOptions: JsonPolymorphismOptions | undefined;
|
|
224
224
|
preferredPropertyObjectCreationHandling: Nullable_1<JsonObjectCreationHandling>;
|
|
225
225
|
readonly properties: IList_1<JsonPropertyInfo>;
|
|
226
226
|
readonly type_: Type;
|
|
227
227
|
unmappedMemberHandling: Nullable_1<JsonUnmappedMemberHandling>;
|
|
228
|
-
createJsonPropertyInfo(propertyType: Type, name: string): JsonPropertyInfo;
|
|
228
|
+
createJsonPropertyInfo(propertyType: Type | undefined, name: string | undefined): JsonPropertyInfo | undefined;
|
|
229
229
|
makeReadOnly(): void;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
|
|
233
233
|
export const JsonTypeInfo: {
|
|
234
|
-
createJsonTypeInfo<T>(options: JsonSerializerOptions): JsonTypeInfo_1<T
|
|
235
|
-
createJsonTypeInfo(type_: Type, options: JsonSerializerOptions): JsonTypeInfo;
|
|
234
|
+
createJsonTypeInfo<T>(options: JsonSerializerOptions | undefined): JsonTypeInfo_1<T | undefined> | undefined;
|
|
235
|
+
createJsonTypeInfo(type_: Type | undefined, options: JsonSerializerOptions | undefined): JsonTypeInfo | undefined;
|
|
236
236
|
};
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
export type JsonTypeInfo = JsonTypeInfo$instance;
|
|
240
240
|
|
|
241
241
|
export interface JsonTypeInfo_1$instance<T> extends JsonTypeInfo {
|
|
242
|
-
createObject: Func_1<T
|
|
243
|
-
readonly serializeHandler: Action_2<Utf8JsonWriter, T
|
|
242
|
+
createObject: Func_1<T> | undefined;
|
|
243
|
+
readonly serializeHandler: Action_2<Utf8JsonWriter, T> | undefined;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
@@ -253,7 +253,7 @@ export type JsonTypeInfo_1<T> = JsonTypeInfo_1$instance<T>;
|
|
|
253
253
|
|
|
254
254
|
export abstract class JsonMetadataServices$instance {
|
|
255
255
|
static readonly booleanConverter: JsonConverter_1<System_Internal.Boolean>;
|
|
256
|
-
static readonly byteArrayConverter: JsonConverter_1<byte[]>;
|
|
256
|
+
static readonly byteArrayConverter: JsonConverter_1<byte[] | undefined>;
|
|
257
257
|
static readonly byteConverter: JsonConverter_1<System_Internal.Byte>;
|
|
258
258
|
static readonly charConverter: JsonConverter_1<System_Internal.Char>;
|
|
259
259
|
static readonly dateTimeConverter: JsonConverter_1<DateTime>;
|
|
@@ -268,25 +268,25 @@ export abstract class JsonMetadataServices$instance {
|
|
|
268
268
|
static readonly int64Converter: JsonConverter_1<System_Internal.Int64>;
|
|
269
269
|
static readonly int128Converter: JsonConverter_1<System_Internal.Int128>;
|
|
270
270
|
static readonly uInt128Converter: JsonConverter_1<System_Internal.UInt128>;
|
|
271
|
-
static readonly jsonArrayConverter: JsonConverter_1<JsonArray>;
|
|
271
|
+
static readonly jsonArrayConverter: JsonConverter_1<JsonArray | undefined>;
|
|
272
272
|
static readonly jsonElementConverter: JsonConverter_1<JsonElement>;
|
|
273
|
-
static readonly jsonNodeConverter: JsonConverter_1<JsonNode>;
|
|
274
|
-
static readonly jsonObjectConverter: JsonConverter_1<JsonObject>;
|
|
275
|
-
static readonly jsonValueConverter: JsonConverter_1<JsonValue>;
|
|
276
|
-
static readonly jsonDocumentConverter: JsonConverter_1<JsonDocument>;
|
|
273
|
+
static readonly jsonNodeConverter: JsonConverter_1<JsonNode | undefined>;
|
|
274
|
+
static readonly jsonObjectConverter: JsonConverter_1<JsonObject | undefined>;
|
|
275
|
+
static readonly jsonValueConverter: JsonConverter_1<JsonValue | undefined>;
|
|
276
|
+
static readonly jsonDocumentConverter: JsonConverter_1<JsonDocument | undefined>;
|
|
277
277
|
static readonly memoryByteConverter: JsonConverter_1<Memory_1<System_Internal.Byte>>;
|
|
278
278
|
static readonly readOnlyMemoryByteConverter: JsonConverter_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
279
|
-
static readonly objectConverter: JsonConverter_1<unknown>;
|
|
279
|
+
static readonly objectConverter: JsonConverter_1<unknown | undefined>;
|
|
280
280
|
static readonly halfConverter: JsonConverter_1<System_Internal.Half>;
|
|
281
281
|
static readonly singleConverter: JsonConverter_1<System_Internal.Single>;
|
|
282
282
|
static readonly sByteConverter: JsonConverter_1<System_Internal.SByte>;
|
|
283
|
-
static readonly stringConverter: JsonConverter_1<
|
|
283
|
+
static readonly stringConverter: JsonConverter_1<string | undefined>;
|
|
284
284
|
static readonly timeSpanConverter: JsonConverter_1<TimeSpan>;
|
|
285
285
|
static readonly uInt16Converter: JsonConverter_1<System_Internal.UInt16>;
|
|
286
286
|
static readonly uInt32Converter: JsonConverter_1<System_Internal.UInt32>;
|
|
287
287
|
static readonly uInt64Converter: JsonConverter_1<System_Internal.UInt64>;
|
|
288
|
-
static readonly uriConverter: JsonConverter_1<Uri>;
|
|
289
|
-
static readonly versionConverter: JsonConverter_1<Version>;
|
|
288
|
+
static readonly uriConverter: JsonConverter_1<Uri | undefined>;
|
|
289
|
+
static readonly versionConverter: JsonConverter_1<Version | undefined>;
|
|
290
290
|
static createArrayInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TElement[]>): JsonTypeInfo_1<TElement[]>;
|
|
291
291
|
static createConcurrentQueueInfo<TCollection extends ConcurrentQueue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
292
292
|
static createConcurrentStackInfo<TCollection extends ConcurrentStack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
@@ -304,10 +304,10 @@ export abstract class JsonMetadataServices$instance {
|
|
|
304
304
|
static createMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<Memory_1<TElement>>): JsonTypeInfo_1<Memory_1<TElement>>;
|
|
305
305
|
static createObjectInfo<T>(options: JsonSerializerOptions, objectInfo: JsonObjectInfoValues_1<T>): JsonTypeInfo_1<T>;
|
|
306
306
|
static createPropertyInfo<T>(options: JsonSerializerOptions, propertyInfo: JsonPropertyInfoValues_1<T>): JsonPropertyInfo;
|
|
307
|
-
static createQueueInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown>): JsonTypeInfo_1<TCollection>;
|
|
307
|
+
static createQueueInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown | undefined>): JsonTypeInfo_1<TCollection>;
|
|
308
308
|
static createQueueInfo<TCollection extends Queue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
309
309
|
static createReadOnlyMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<ReadOnlyMemory_1<TElement>>): JsonTypeInfo_1<ReadOnlyMemory_1<TElement>>;
|
|
310
|
-
static createStackInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown>): JsonTypeInfo_1<TCollection>;
|
|
310
|
+
static createStackInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, unknown | undefined>): JsonTypeInfo_1<TCollection>;
|
|
311
311
|
static createStackInfo<TCollection extends Stack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
312
312
|
static createValueInfo<T>(options: JsonSerializerOptions, converter: JsonConverter): JsonTypeInfo_1<T>;
|
|
313
313
|
static getEnumConverter<T extends number>(options: JsonSerializerOptions): JsonConverter_1<T>;
|
|
@@ -134,7 +134,7 @@ export interface Capture$instance {
|
|
|
134
134
|
readonly length: int;
|
|
135
135
|
readonly value: string;
|
|
136
136
|
readonly valueSpan: ReadOnlySpan_1<System_Internal.Char>;
|
|
137
|
-
toString(): string;
|
|
137
|
+
toString(): string | undefined;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
|
|
@@ -222,7 +222,7 @@ export interface GroupCollection$instance {
|
|
|
222
222
|
get_Item(groupnum: int): Group;
|
|
223
223
|
get_Item(groupname: string): Group;
|
|
224
224
|
getEnumerator(): IEnumerator;
|
|
225
|
-
tryGetValue(key: string, value: Group): boolean;
|
|
225
|
+
tryGetValue(key: string, value: Group | undefined): boolean;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
|
|
@@ -334,8 +334,8 @@ export const Regex: {
|
|
|
334
334
|
new(pattern: string, options: RegexOptions, matchTimeout: TimeSpan): Regex;
|
|
335
335
|
readonly infiniteMatchTimeout: TimeSpan;
|
|
336
336
|
cacheSize: int;
|
|
337
|
-
compileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[], resourceFile: string): void;
|
|
338
|
-
compileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[]): void;
|
|
337
|
+
compileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[] | undefined, resourceFile: string | undefined): void;
|
|
338
|
+
compileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName, attributes: CustomAttributeBuilder[] | undefined): void;
|
|
339
339
|
compileToAssembly(regexinfos: RegexCompilationInfo[], assemblyname: AssemblyName): void;
|
|
340
340
|
count(input: ReadOnlySpan_1<System_Internal.Char>, pattern: string, options: RegexOptions, matchTimeout: TimeSpan): int;
|
|
341
341
|
count(input: ReadOnlySpan_1<System_Internal.Char>, pattern: string, options: RegexOptions): int;
|
|
@@ -449,7 +449,7 @@ export interface RegexRunner$instance {
|
|
|
449
449
|
|
|
450
450
|
|
|
451
451
|
export const RegexRunner: {
|
|
452
|
-
charInClass(ch: char, charClass: string): boolean;
|
|
452
|
+
charInClass(ch: char, charClass: string | undefined): boolean;
|
|
453
453
|
};
|
|
454
454
|
|
|
455
455
|
|
|
@@ -19,9 +19,9 @@ export interface Utf8_TryWriteInterpolatedStringHandler$instance {
|
|
|
19
19
|
appendFormatted<T>(value: T, alignment: int): boolean;
|
|
20
20
|
appendFormatted<T>(value: T, alignment: int, format: string): boolean;
|
|
21
21
|
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
22
|
-
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string): boolean;
|
|
22
|
+
appendFormatted(value: ReadOnlySpan_1<System_Internal.Char>, alignment?: int, format?: string | undefined): boolean;
|
|
23
23
|
appendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
24
|
-
appendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, alignment?: int, format?: string): boolean;
|
|
24
|
+
appendFormatted(utf8Value: ReadOnlySpan_1<System_Internal.Byte>, alignment?: int, format?: string | undefined): boolean;
|
|
25
25
|
appendFormatted(value: string): boolean;
|
|
26
26
|
appendFormatted(value: string, alignment?: int, format?: string): boolean;
|
|
27
27
|
appendFormatted(value: unknown, alignment?: int, format?: string): boolean;
|
|
@@ -31,7 +31,7 @@ export interface Utf8_TryWriteInterpolatedStringHandler$instance {
|
|
|
31
31
|
|
|
32
32
|
export const Utf8_TryWriteInterpolatedStringHandler: {
|
|
33
33
|
new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
|
|
34
|
-
new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, provider: IFormatProvider, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
|
|
34
|
+
new(literalLength: int, formattedCount: int, destination: Span_1<System_Internal.Byte>, provider: IFormatProvider | undefined, shouldAppend: boolean): Utf8_TryWriteInterpolatedStringHandler;
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
|
|
@@ -223,7 +223,7 @@ export abstract class Utf8$instance {
|
|
|
223
223
|
static fromUtf16(source: ReadOnlySpan_1<System_Internal.Char>, destination: Span_1<System_Internal.Byte>, charsRead: int, bytesWritten: int, replaceInvalidSequences?: boolean, isFinalBlock?: boolean): OperationStatus;
|
|
224
224
|
static isValid(value: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
225
225
|
static toUtf16(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Char>, bytesRead: int, charsWritten: int, replaceInvalidSequences?: boolean, isFinalBlock?: boolean): OperationStatus;
|
|
226
|
-
static tryWrite(destination: Span_1<System_Internal.Byte>, provider: IFormatProvider, handler: Utf8_TryWriteInterpolatedStringHandler, bytesWritten: int): boolean;
|
|
226
|
+
static tryWrite(destination: Span_1<System_Internal.Byte>, provider: IFormatProvider | undefined, handler: Utf8_TryWriteInterpolatedStringHandler, bytesWritten: int): boolean;
|
|
227
227
|
static tryWrite(destination: Span_1<System_Internal.Byte>, handler: Utf8_TryWriteInterpolatedStringHandler, bytesWritten: int): boolean;
|
|
228
228
|
}
|
|
229
229
|
|