@tsonic/dotnet 10.0.40 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Text.Json.Serialization.Metadata
|
|
3
3
|
// Assembly: System.Text.Json
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { ConcurrentQueue_1, ConcurrentStack_1 } from "../../System.Collections.Concurrent/internal/index.js";
|
|
@@ -37,7 +38,7 @@ export interface JsonDerivedType$instance {
|
|
|
37
38
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonDerivedType: never;
|
|
38
39
|
|
|
39
40
|
readonly DerivedType: Type;
|
|
40
|
-
readonly TypeDiscriminator:
|
|
41
|
+
readonly TypeDiscriminator: JsValue | null;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
|
|
@@ -76,13 +77,13 @@ export interface JsonCollectionInfoValues_1$instance<TCollection> {
|
|
|
76
77
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonCollectionInfoValues_1: never;
|
|
77
78
|
|
|
78
79
|
ElementInfo: JsonTypeInfo;
|
|
79
|
-
get KeyInfo(): JsonTypeInfo |
|
|
80
|
-
set KeyInfo(value: JsonTypeInfo |
|
|
80
|
+
get KeyInfo(): JsonTypeInfo | null;
|
|
81
|
+
set KeyInfo(value: JsonTypeInfo | null);
|
|
81
82
|
NumberHandling: JsonNumberHandling;
|
|
82
|
-
get ObjectCreator(): Func_1<TCollection> |
|
|
83
|
-
set ObjectCreator(value: Func_1<TCollection> |
|
|
84
|
-
get SerializeHandler(): Action_2<Utf8JsonWriter, TCollection> |
|
|
85
|
-
set SerializeHandler(value: Action_2<Utf8JsonWriter, TCollection> |
|
|
83
|
+
get ObjectCreator(): Func_1<TCollection> | null;
|
|
84
|
+
set ObjectCreator(value: Func_1<TCollection> | null);
|
|
85
|
+
get SerializeHandler(): Action_2<Utf8JsonWriter, TCollection> | null;
|
|
86
|
+
set SerializeHandler(value: Action_2<Utf8JsonWriter, TCollection> | null);
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
|
|
@@ -96,19 +97,19 @@ export type JsonCollectionInfoValues_1<TCollection> = JsonCollectionInfoValues_1
|
|
|
96
97
|
export interface JsonObjectInfoValues_1$instance<T> {
|
|
97
98
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonObjectInfoValues_1: never;
|
|
98
99
|
|
|
99
|
-
get ConstructorAttributeProviderFactory(): Func_1<ICustomAttributeProvider> |
|
|
100
|
-
set ConstructorAttributeProviderFactory(value: Func_1<ICustomAttributeProvider> |
|
|
101
|
-
get ConstructorParameterMetadataInitializer(): Func_1<JsonParameterInfoValues[]> |
|
|
102
|
-
set ConstructorParameterMetadataInitializer(value: Func_1<JsonParameterInfoValues[]> |
|
|
100
|
+
get ConstructorAttributeProviderFactory(): Func_1<ICustomAttributeProvider> | null;
|
|
101
|
+
set ConstructorAttributeProviderFactory(value: Func_1<ICustomAttributeProvider> | null);
|
|
102
|
+
get ConstructorParameterMetadataInitializer(): Func_1<JsonParameterInfoValues[]> | null;
|
|
103
|
+
set ConstructorParameterMetadataInitializer(value: Func_1<JsonParameterInfoValues[]> | null);
|
|
103
104
|
NumberHandling: JsonNumberHandling;
|
|
104
|
-
get ObjectCreator(): Func_1<T> |
|
|
105
|
-
set ObjectCreator(value: Func_1<T> |
|
|
106
|
-
get ObjectWithParameterizedConstructorCreator(): Func_2<
|
|
107
|
-
set ObjectWithParameterizedConstructorCreator(value: Func_2<
|
|
108
|
-
get PropertyMetadataInitializer(): Func_2<JsonSerializerContext, JsonPropertyInfo[]> |
|
|
109
|
-
set PropertyMetadataInitializer(value: Func_2<JsonSerializerContext, JsonPropertyInfo[]> |
|
|
110
|
-
get SerializeHandler(): Action_2<Utf8JsonWriter, T> |
|
|
111
|
-
set SerializeHandler(value: Action_2<Utf8JsonWriter, T> |
|
|
105
|
+
get ObjectCreator(): Func_1<T> | null;
|
|
106
|
+
set ObjectCreator(value: Func_1<T> | null);
|
|
107
|
+
get ObjectWithParameterizedConstructorCreator(): Func_2<JsValue[], T> | null;
|
|
108
|
+
set ObjectWithParameterizedConstructorCreator(value: Func_2<JsValue[], T> | null);
|
|
109
|
+
get PropertyMetadataInitializer(): Func_2<JsonSerializerContext, JsonPropertyInfo[]> | null;
|
|
110
|
+
set PropertyMetadataInitializer(value: Func_2<JsonSerializerContext, JsonPropertyInfo[]> | null);
|
|
111
|
+
get SerializeHandler(): Action_2<Utf8JsonWriter, T> | null;
|
|
112
|
+
set SerializeHandler(value: Action_2<Utf8JsonWriter, T> | null);
|
|
112
113
|
}
|
|
113
114
|
|
|
114
115
|
|
|
@@ -122,9 +123,9 @@ export type JsonObjectInfoValues_1<T> = JsonObjectInfoValues_1$instance<T>;
|
|
|
122
123
|
export interface JsonParameterInfo$instance {
|
|
123
124
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonParameterInfo: never;
|
|
124
125
|
|
|
125
|
-
readonly AttributeProvider: ICustomAttributeProvider |
|
|
126
|
+
readonly AttributeProvider: ICustomAttributeProvider | null;
|
|
126
127
|
readonly DeclaringType: Type;
|
|
127
|
-
readonly DefaultValue:
|
|
128
|
+
readonly DefaultValue: JsValue | null;
|
|
128
129
|
readonly HasDefaultValue: boolean;
|
|
129
130
|
readonly IsMemberInitializer: boolean;
|
|
130
131
|
readonly IsNullable: boolean;
|
|
@@ -143,8 +144,8 @@ export type JsonParameterInfo = JsonParameterInfo$instance;
|
|
|
143
144
|
export interface JsonParameterInfoValues$instance {
|
|
144
145
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonParameterInfoValues: never;
|
|
145
146
|
|
|
146
|
-
get DefaultValue():
|
|
147
|
-
set DefaultValue(value:
|
|
147
|
+
get DefaultValue(): JsValue | null;
|
|
148
|
+
set DefaultValue(value: JsValue | null);
|
|
148
149
|
HasDefaultValue: boolean;
|
|
149
150
|
IsMemberInitializer: boolean;
|
|
150
151
|
IsNullable: boolean;
|
|
@@ -181,15 +182,15 @@ export type JsonPolymorphismOptions = JsonPolymorphismOptions$instance;
|
|
|
181
182
|
export interface JsonPropertyInfo$instance {
|
|
182
183
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonPropertyInfo: never;
|
|
183
184
|
|
|
184
|
-
get AssociatedParameter(): JsonParameterInfo |
|
|
185
|
-
set AssociatedParameter(value: JsonParameterInfo |
|
|
186
|
-
get AttributeProvider(): ICustomAttributeProvider |
|
|
187
|
-
set AttributeProvider(value: ICustomAttributeProvider |
|
|
188
|
-
get CustomConverter(): JsonConverter |
|
|
189
|
-
set CustomConverter(value: JsonConverter |
|
|
185
|
+
get AssociatedParameter(): JsonParameterInfo | null;
|
|
186
|
+
set AssociatedParameter(value: JsonParameterInfo | null);
|
|
187
|
+
get AttributeProvider(): ICustomAttributeProvider | null;
|
|
188
|
+
set AttributeProvider(value: ICustomAttributeProvider | null);
|
|
189
|
+
get CustomConverter(): JsonConverter | null;
|
|
190
|
+
set CustomConverter(value: JsonConverter | null);
|
|
190
191
|
readonly DeclaringType: Type;
|
|
191
|
-
get Get(): Func_2<
|
|
192
|
-
set Get(value: Func_2<
|
|
192
|
+
get Get(): Func_2<JsValue, JsValue | null> | null;
|
|
193
|
+
set Get(value: Func_2<JsValue, JsValue | null> | null);
|
|
193
194
|
IsExtensionData: boolean;
|
|
194
195
|
IsGetNullable: boolean;
|
|
195
196
|
IsRequired: boolean;
|
|
@@ -202,10 +203,10 @@ export interface JsonPropertyInfo$instance {
|
|
|
202
203
|
readonly Options: JsonSerializerOptions;
|
|
203
204
|
Order: int;
|
|
204
205
|
readonly PropertyType: Type;
|
|
205
|
-
get Set(): Action_2<
|
|
206
|
-
set Set(value: Action_2<
|
|
207
|
-
get ShouldSerialize(): Func_3<
|
|
208
|
-
set ShouldSerialize(value: Func_3<
|
|
206
|
+
get Set(): Action_2<JsValue, JsValue | null> | null;
|
|
207
|
+
set Set(value: Action_2<JsValue, JsValue | null> | null);
|
|
208
|
+
get ShouldSerialize(): Func_3<JsValue, JsValue | null, System_Internal.Boolean> | null;
|
|
209
|
+
set ShouldSerialize(value: Func_3<JsValue, JsValue | null, System_Internal.Boolean> | null);
|
|
209
210
|
}
|
|
210
211
|
|
|
211
212
|
|
|
@@ -218,13 +219,13 @@ export type JsonPropertyInfo = JsonPropertyInfo$instance;
|
|
|
218
219
|
export interface JsonPropertyInfoValues_1$instance<T> {
|
|
219
220
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonPropertyInfoValues_1: never;
|
|
220
221
|
|
|
221
|
-
get AttributeProviderFactory(): Func_1<ICustomAttributeProvider> |
|
|
222
|
-
set AttributeProviderFactory(value: Func_1<ICustomAttributeProvider> |
|
|
223
|
-
get Converter(): JsonConverter_1<T> |
|
|
224
|
-
set Converter(value: JsonConverter_1<T> |
|
|
222
|
+
get AttributeProviderFactory(): Func_1<ICustomAttributeProvider> | null;
|
|
223
|
+
set AttributeProviderFactory(value: Func_1<ICustomAttributeProvider> | null);
|
|
224
|
+
get Converter(): JsonConverter_1<T> | null;
|
|
225
|
+
set Converter(value: JsonConverter_1<T> | null);
|
|
225
226
|
DeclaringType: Type;
|
|
226
|
-
get Getter(): Func_2<
|
|
227
|
-
set Getter(value: Func_2<
|
|
227
|
+
get Getter(): Func_2<JsValue, T | null> | null;
|
|
228
|
+
set Getter(value: Func_2<JsValue, T | null> | null);
|
|
228
229
|
HasJsonInclude: boolean;
|
|
229
230
|
get IgnoreCondition(): Nullable_1<JsonIgnoreCondition>;
|
|
230
231
|
set IgnoreCondition(value: Nullable_1<JsonIgnoreCondition> | JsonIgnoreCondition);
|
|
@@ -232,14 +233,14 @@ export interface JsonPropertyInfoValues_1$instance<T> {
|
|
|
232
233
|
IsProperty: boolean;
|
|
233
234
|
IsPublic: boolean;
|
|
234
235
|
IsVirtual: boolean;
|
|
235
|
-
get JsonPropertyName(): string |
|
|
236
|
-
set JsonPropertyName(value: string |
|
|
236
|
+
get JsonPropertyName(): string | null;
|
|
237
|
+
set JsonPropertyName(value: string | null);
|
|
237
238
|
get NumberHandling(): Nullable_1<JsonNumberHandling>;
|
|
238
239
|
set NumberHandling(value: Nullable_1<JsonNumberHandling> | JsonNumberHandling);
|
|
239
240
|
PropertyName: string;
|
|
240
241
|
PropertyTypeInfo: JsonTypeInfo;
|
|
241
|
-
get Setter(): Action_2<
|
|
242
|
-
set Setter(value: Action_2<
|
|
242
|
+
get Setter(): Action_2<JsValue, T | null> | null;
|
|
243
|
+
set Setter(value: Action_2<JsValue, T | null> | null);
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
|
|
@@ -253,30 +254,30 @@ export type JsonPropertyInfoValues_1<T> = JsonPropertyInfoValues_1$instance<T>;
|
|
|
253
254
|
export interface JsonTypeInfo$instance {
|
|
254
255
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonTypeInfo: never;
|
|
255
256
|
|
|
256
|
-
get ConstructorAttributeProvider(): ICustomAttributeProvider |
|
|
257
|
-
set ConstructorAttributeProvider(value: ICustomAttributeProvider |
|
|
257
|
+
get ConstructorAttributeProvider(): ICustomAttributeProvider | null;
|
|
258
|
+
set ConstructorAttributeProvider(value: ICustomAttributeProvider | null);
|
|
258
259
|
readonly Converter: JsonConverter;
|
|
259
|
-
get CreateObject(): Func_1<
|
|
260
|
-
set CreateObject(value: Func_1<
|
|
261
|
-
readonly ElementType: Type |
|
|
260
|
+
get CreateObject(): Func_1<JsValue> | null;
|
|
261
|
+
set CreateObject(value: Func_1<JsValue> | null);
|
|
262
|
+
readonly ElementType: Type | null;
|
|
262
263
|
IsReadOnly: boolean;
|
|
263
|
-
readonly KeyType: Type |
|
|
264
|
+
readonly KeyType: Type | null;
|
|
264
265
|
readonly Kind: JsonTypeInfoKind;
|
|
265
266
|
get NumberHandling(): Nullable_1<JsonNumberHandling>;
|
|
266
267
|
set NumberHandling(value: Nullable_1<JsonNumberHandling> | JsonNumberHandling);
|
|
267
|
-
get OnDeserialized(): Action_1<
|
|
268
|
-
set OnDeserialized(value: Action_1<
|
|
269
|
-
get OnDeserializing(): Action_1<
|
|
270
|
-
set OnDeserializing(value: Action_1<
|
|
271
|
-
get OnSerialized(): Action_1<
|
|
272
|
-
set OnSerialized(value: Action_1<
|
|
273
|
-
get OnSerializing(): Action_1<
|
|
274
|
-
set OnSerializing(value: Action_1<
|
|
268
|
+
get OnDeserialized(): Action_1<JsValue> | null;
|
|
269
|
+
set OnDeserialized(value: Action_1<JsValue> | null);
|
|
270
|
+
get OnDeserializing(): Action_1<JsValue> | null;
|
|
271
|
+
set OnDeserializing(value: Action_1<JsValue> | null);
|
|
272
|
+
get OnSerialized(): Action_1<JsValue> | null;
|
|
273
|
+
set OnSerialized(value: Action_1<JsValue> | null);
|
|
274
|
+
get OnSerializing(): Action_1<JsValue> | null;
|
|
275
|
+
set OnSerializing(value: Action_1<JsValue> | null);
|
|
275
276
|
readonly Options: JsonSerializerOptions;
|
|
276
|
-
get OriginatingResolver(): IJsonTypeInfoResolver |
|
|
277
|
-
set OriginatingResolver(value: IJsonTypeInfoResolver |
|
|
278
|
-
get PolymorphismOptions(): JsonPolymorphismOptions |
|
|
279
|
-
set PolymorphismOptions(value: JsonPolymorphismOptions |
|
|
277
|
+
get OriginatingResolver(): IJsonTypeInfoResolver | null;
|
|
278
|
+
set OriginatingResolver(value: IJsonTypeInfoResolver | null);
|
|
279
|
+
get PolymorphismOptions(): JsonPolymorphismOptions | null;
|
|
280
|
+
set PolymorphismOptions(value: JsonPolymorphismOptions | null);
|
|
280
281
|
get PreferredPropertyObjectCreationHandling(): Nullable_1<JsonObjectCreationHandling>;
|
|
281
282
|
set PreferredPropertyObjectCreationHandling(value: Nullable_1<JsonObjectCreationHandling> | JsonObjectCreationHandling);
|
|
282
283
|
readonly Properties: IList_1<JsonPropertyInfo>;
|
|
@@ -299,10 +300,10 @@ export type JsonTypeInfo = JsonTypeInfo$instance;
|
|
|
299
300
|
export interface JsonTypeInfo_1$instance<T> extends JsonTypeInfo {
|
|
300
301
|
readonly __tsonic_type_System_Text_Json_Serialization_Metadata_JsonTypeInfo_1: never;
|
|
301
302
|
|
|
302
|
-
get CreateObject(): Func_1<T> |
|
|
303
|
-
set CreateObject(value: Func_1<T> |
|
|
304
|
-
get SerializeHandler(): Action_2<Utf8JsonWriter, T> |
|
|
305
|
-
set SerializeHandler(value: Action_2<Utf8JsonWriter, T> |
|
|
303
|
+
get CreateObject(): Func_1<T> | null;
|
|
304
|
+
set CreateObject(value: Func_1<T> | null);
|
|
305
|
+
get SerializeHandler(): Action_2<Utf8JsonWriter, T> | null;
|
|
306
|
+
set SerializeHandler(value: Action_2<Utf8JsonWriter, T> | null);
|
|
306
307
|
}
|
|
307
308
|
|
|
308
309
|
|
|
@@ -314,7 +315,7 @@ export type JsonTypeInfo_1<T> = JsonTypeInfo_1$instance<T>;
|
|
|
314
315
|
|
|
315
316
|
export abstract class JsonMetadataServices$instance {
|
|
316
317
|
static readonly BooleanConverter: JsonConverter_1<System_Internal.Boolean>;
|
|
317
|
-
static readonly ByteArrayConverter: JsonConverter_1<byte[] |
|
|
318
|
+
static readonly ByteArrayConverter: JsonConverter_1<byte[] | null>;
|
|
318
319
|
static readonly ByteConverter: JsonConverter_1<System_Internal.Byte>;
|
|
319
320
|
static readonly CharConverter: JsonConverter_1<System_Internal.Char>;
|
|
320
321
|
static readonly DateTimeConverter: JsonConverter_1<DateTime>;
|
|
@@ -329,25 +330,25 @@ export abstract class JsonMetadataServices$instance {
|
|
|
329
330
|
static readonly Int64Converter: JsonConverter_1<System_Internal.Int64>;
|
|
330
331
|
static readonly Int128Converter: JsonConverter_1<System_Internal.Int128>;
|
|
331
332
|
static readonly UInt128Converter: JsonConverter_1<System_Internal.UInt128>;
|
|
332
|
-
static readonly JsonArrayConverter: JsonConverter_1<JsonArray |
|
|
333
|
+
static readonly JsonArrayConverter: JsonConverter_1<JsonArray | null>;
|
|
333
334
|
static readonly JsonElementConverter: JsonConverter_1<JsonElement>;
|
|
334
|
-
static readonly JsonNodeConverter: JsonConverter_1<JsonNode |
|
|
335
|
-
static readonly JsonObjectConverter: JsonConverter_1<JsonObject |
|
|
336
|
-
static readonly JsonValueConverter: JsonConverter_1<JsonValue |
|
|
337
|
-
static readonly JsonDocumentConverter: JsonConverter_1<JsonDocument |
|
|
335
|
+
static readonly JsonNodeConverter: JsonConverter_1<JsonNode | null>;
|
|
336
|
+
static readonly JsonObjectConverter: JsonConverter_1<JsonObject | null>;
|
|
337
|
+
static readonly JsonValueConverter: JsonConverter_1<JsonValue | null>;
|
|
338
|
+
static readonly JsonDocumentConverter: JsonConverter_1<JsonDocument | null>;
|
|
338
339
|
static readonly MemoryByteConverter: JsonConverter_1<Memory_1<System_Internal.Byte>>;
|
|
339
340
|
static readonly ReadOnlyMemoryByteConverter: JsonConverter_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
340
|
-
static readonly ObjectConverter: JsonConverter_1<
|
|
341
|
+
static readonly ObjectConverter: JsonConverter_1<JsValue | null>;
|
|
341
342
|
static readonly HalfConverter: JsonConverter_1<System_Internal.Half>;
|
|
342
343
|
static readonly SingleConverter: JsonConverter_1<System_Internal.Single>;
|
|
343
344
|
static readonly SByteConverter: JsonConverter_1<System_Internal.SByte>;
|
|
344
|
-
static readonly StringConverter: JsonConverter_1<string |
|
|
345
|
+
static readonly StringConverter: JsonConverter_1<string | null>;
|
|
345
346
|
static readonly TimeSpanConverter: JsonConverter_1<TimeSpan>;
|
|
346
347
|
static readonly UInt16Converter: JsonConverter_1<System_Internal.UInt16>;
|
|
347
348
|
static readonly UInt32Converter: JsonConverter_1<System_Internal.UInt32>;
|
|
348
349
|
static readonly UInt64Converter: JsonConverter_1<System_Internal.UInt64>;
|
|
349
|
-
static readonly UriConverter: JsonConverter_1<Uri |
|
|
350
|
-
static readonly VersionConverter: JsonConverter_1<Version |
|
|
350
|
+
static readonly UriConverter: JsonConverter_1<Uri | null>;
|
|
351
|
+
static readonly VersionConverter: JsonConverter_1<Version | null>;
|
|
351
352
|
static CreateArrayInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TElement[]>): JsonTypeInfo_1<TElement[]>;
|
|
352
353
|
static CreateConcurrentQueueInfo<TCollection extends ConcurrentQueue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
353
354
|
static CreateConcurrentStackInfo<TCollection extends ConcurrentStack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
@@ -365,15 +366,15 @@ export abstract class JsonMetadataServices$instance {
|
|
|
365
366
|
static CreateMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<Memory_1<TElement>>): JsonTypeInfo_1<Memory_1<TElement>>;
|
|
366
367
|
static CreateObjectInfo<T>(options: JsonSerializerOptions, objectInfo: JsonObjectInfoValues_1<T>): JsonTypeInfo_1<T>;
|
|
367
368
|
static CreatePropertyInfo<T>(options: JsonSerializerOptions, propertyInfo: JsonPropertyInfoValues_1<T>): JsonPropertyInfo;
|
|
368
|
-
static CreateQueueInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection,
|
|
369
|
+
static CreateQueueInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, JsValue | null>): JsonTypeInfo_1<TCollection>;
|
|
369
370
|
static CreateQueueInfo<TCollection extends Queue_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
370
371
|
static CreateReadOnlyMemoryInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<ReadOnlyMemory_1<TElement>>): JsonTypeInfo_1<ReadOnlyMemory_1<TElement>>;
|
|
371
|
-
static CreateStackInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection,
|
|
372
|
+
static CreateStackInfo<TCollection extends IEnumerable>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>, addFunc: Action_2<TCollection, JsValue | null>): JsonTypeInfo_1<TCollection>;
|
|
372
373
|
static CreateStackInfo<TCollection extends Stack_1<TElement>, TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TCollection>): JsonTypeInfo_1<TCollection>;
|
|
373
374
|
static CreateValueInfo<T>(options: JsonSerializerOptions, converter: JsonConverter): JsonTypeInfo_1<T>;
|
|
374
|
-
static GetEnumConverter<T extends number
|
|
375
|
-
static GetNullableConverter<T extends
|
|
376
|
-
static GetNullableConverter<T extends
|
|
375
|
+
static GetEnumConverter<T extends number & NonNullable<JsValue>>(options: JsonSerializerOptions): JsonConverter_1<T>;
|
|
376
|
+
static GetNullableConverter<T extends NonNullable<JsValue>>(underlyingTypeInfo: JsonTypeInfo_1<T>): JsonConverter_1<Nullable_1<T>>;
|
|
377
|
+
static GetNullableConverter<T extends NonNullable<JsValue>>(options: JsonSerializerOptions): JsonConverter_1<Nullable_1<T>>;
|
|
377
378
|
static GetUnsupportedTypeConverter<T>(): JsonConverter_1<T>;
|
|
378
379
|
}
|
|
379
380
|
|
|
@@ -382,7 +383,7 @@ export type JsonMetadataServices = JsonMetadataServices$instance;
|
|
|
382
383
|
|
|
383
384
|
export abstract class JsonTypeInfoResolver$instance {
|
|
384
385
|
static Combine(resolvers: ReadOnlySpan_1<IJsonTypeInfoResolver>): IJsonTypeInfoResolver;
|
|
385
|
-
static Combine(...resolvers: IJsonTypeInfoResolver[]): IJsonTypeInfoResolver;
|
|
386
|
+
static Combine(...resolvers: (IJsonTypeInfoResolver | null)[]): IJsonTypeInfoResolver;
|
|
386
387
|
static WithAddedModifier(resolver: IJsonTypeInfoResolver, modifier: Action_1<JsonTypeInfo>): IJsonTypeInfoResolver;
|
|
387
388
|
}
|
|
388
389
|
|
|
@@ -65,7 +65,7 @@ export type JsonStringEnumConverter<
|
|
|
65
65
|
T1 = __,
|
|
66
66
|
> =
|
|
67
67
|
[T1] extends [__] ? Internal.JsonStringEnumConverter :
|
|
68
|
-
[T1] extends [number &
|
|
68
|
+
[T1] extends [number & NonNullable<JsValue>] ? Internal.JsonStringEnumConverter_1<T1> : never;
|
|
69
69
|
|
|
70
70
|
export type ReferenceHandler<
|
|
71
71
|
T1 = __,
|