@tsonic/dotnet 0.7.4 → 0.7.7
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 +0 -25
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
- package/Microsoft.VisualBasic/bindings.json +203 -29
- package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
- package/Microsoft.VisualBasic/internal/metadata.json +203 -29
- package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
- package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
- package/Microsoft.Win32/internal/index.d.ts +0 -25
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
- package/System/bindings.json +4800 -552
- package/System/internal/index.d.ts +2537 -395
- package/System/internal/metadata.json +4800 -552
- package/System.Buffers/bindings.json +196 -24
- package/System.Buffers/internal/index.d.ts +29 -54
- package/System.Buffers/internal/metadata.json +196 -24
- package/System.Buffers.Binary/bindings.json +182 -26
- package/System.Buffers.Binary/internal/index.d.ts +115 -140
- package/System.Buffers.Binary/internal/metadata.json +182 -26
- package/System.Buffers.Text/bindings.json +431 -49
- package/System.Buffers.Text/internal/index.d.ts +64 -89
- package/System.Buffers.Text/internal/metadata.json +431 -49
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
- package/System.Collections/bindings.json +11 -1
- package/System.Collections/internal/index.d.ts +2 -27
- package/System.Collections/internal/metadata.json +11 -1
- package/System.Collections.Concurrent/bindings.json +211 -29
- package/System.Collections.Concurrent/internal/index.d.ts +31 -56
- package/System.Collections.Concurrent/internal/metadata.json +211 -29
- package/System.Collections.Frozen/bindings.json +56 -8
- package/System.Collections.Frozen/internal/index.d.ts +9 -34
- package/System.Collections.Frozen/internal/metadata.json +56 -8
- package/System.Collections.Generic/bindings.json +273 -35
- package/System.Collections.Generic/internal/index.d.ts +36 -61
- package/System.Collections.Generic/internal/metadata.json +273 -35
- package/System.Collections.Immutable/bindings.json +362 -50
- package/System.Collections.Immutable/internal/index.d.ts +49 -74
- package/System.Collections.Immutable/internal/metadata.json +362 -50
- package/System.Collections.ObjectModel/bindings.json +28 -4
- package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
- package/System.Collections.ObjectModel/internal/metadata.json +28 -4
- package/System.Collections.Specialized/internal/index.d.ts +0 -25
- package/System.ComponentModel/bindings.json +174 -18
- package/System.ComponentModel/internal/index.d.ts +22 -47
- package/System.ComponentModel/internal/metadata.json +174 -18
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
- package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
- package/System.Data/internal/index.d.ts +7 -32
- package/System.Data.Common/bindings.json +14 -2
- package/System.Data.Common/internal/index.d.ts +27 -52
- package/System.Data.Common/internal/metadata.json +14 -2
- package/System.Data.SqlTypes/internal/index.d.ts +1 -26
- package/System.Diagnostics/bindings.json +181 -23
- package/System.Diagnostics/internal/index.d.ts +87 -112
- package/System.Diagnostics/internal/metadata.json +181 -23
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
- package/System.Diagnostics.Contracts/bindings.json +7 -1
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
- package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
- package/System.Diagnostics.Metrics/bindings.json +35 -5
- package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
- package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
- package/System.Diagnostics.Tracing/bindings.json +37 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
- package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
- package/System.Drawing/internal/index.d.ts +0 -25
- package/System.Dynamic/bindings.json +63 -9
- package/System.Dynamic/internal/index.d.ts +17 -42
- package/System.Dynamic/internal/metadata.json +63 -9
- package/System.Formats.Asn1/bindings.json +451 -49
- package/System.Formats.Asn1/internal/index.d.ts +69 -94
- package/System.Formats.Asn1/internal/metadata.json +451 -49
- package/System.Formats.Tar/internal/index.d.ts +4 -29
- package/System.Globalization/bindings.json +28 -4
- package/System.Globalization/internal/index.d.ts +18 -43
- package/System.Globalization/internal/metadata.json +28 -4
- package/System.IO/bindings.json +35 -5
- package/System.IO/internal/index.d.ts +197 -222
- package/System.IO/internal/metadata.json +35 -5
- package/System.IO.Compression/bindings.json +50 -6
- package/System.IO.Compression/internal/index.d.ts +51 -76
- package/System.IO.Compression/internal/metadata.json +50 -6
- package/System.IO.Enumeration/bindings.json +42 -6
- package/System.IO.Enumeration/internal/index.d.ts +11 -36
- package/System.IO.Enumeration/internal/metadata.json +42 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
- package/System.IO.Pipelines/bindings.json +7 -1
- package/System.IO.Pipelines/internal/index.d.ts +17 -42
- package/System.IO.Pipelines/internal/metadata.json +7 -1
- package/System.IO.Pipes/internal/index.d.ts +11 -36
- package/System.Linq/bindings.json +7 -1
- package/System.Linq/internal/index.d.ts +332 -357
- package/System.Linq/internal/metadata.json +7 -1
- package/System.Linq.Expressions/bindings.json +14 -2
- package/System.Linq.Expressions/internal/index.d.ts +3 -28
- package/System.Linq.Expressions/internal/metadata.json +14 -2
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
- package/System.Net/bindings.json +175 -25
- package/System.Net/internal/index.d.ts +36 -61
- package/System.Net/internal/metadata.json +175 -25
- package/System.Net.Cache/internal/index.d.ts +0 -25
- package/System.Net.Http/bindings.json +21 -3
- package/System.Net.Http/internal/index.d.ts +21 -46
- package/System.Net.Http/internal/metadata.json +21 -3
- package/System.Net.Http.Headers/bindings.json +154 -22
- package/System.Net.Http.Headers/internal/index.d.ts +67 -92
- package/System.Net.Http.Headers/internal/metadata.json +154 -22
- package/System.Net.Http.Json/internal/index.d.ts +0 -25
- package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
- package/System.Net.Mail/bindings.json +21 -3
- package/System.Net.Mail/internal/index.d.ts +4 -29
- package/System.Net.Mail/internal/metadata.json +21 -3
- package/System.Net.Mime/internal/index.d.ts +0 -25
- package/System.Net.NetworkInformation/bindings.json +14 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
- package/System.Net.NetworkInformation/internal/metadata.json +14 -2
- package/System.Net.Quic/internal/index.d.ts +14 -39
- package/System.Net.Security/bindings.json +43 -5
- package/System.Net.Security/internal/index.d.ts +29 -54
- package/System.Net.Security/internal/metadata.json +43 -5
- package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
- package/System.Net.Sockets/bindings.json +224 -28
- package/System.Net.Sockets/internal/index.d.ts +108 -133
- package/System.Net.Sockets/internal/metadata.json +224 -28
- package/System.Net.WebSockets/internal/index.d.ts +29 -54
- package/System.Numerics/bindings.json +1030 -142
- package/System.Numerics/internal/index.d.ts +264 -289
- package/System.Numerics/internal/metadata.json +1030 -142
- package/System.Reflection/bindings.json +29 -3
- package/System.Reflection/internal/index.d.ts +4 -29
- package/System.Reflection/internal/metadata.json +29 -3
- package/System.Reflection.Emit/bindings.json +26 -2
- package/System.Reflection.Emit/internal/index.d.ts +3 -28
- package/System.Reflection.Emit/internal/metadata.json +26 -2
- package/System.Reflection.Metadata/bindings.json +46 -6
- package/System.Reflection.Metadata/internal/index.d.ts +31 -56
- package/System.Reflection.Metadata/internal/metadata.json +46 -6
- package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
- package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
- package/System.Reflection.PortableExecutable/bindings.json +18 -2
- package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
- package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
- package/System.Resources/bindings.json +11 -1
- package/System.Resources/internal/index.d.ts +3 -28
- package/System.Resources/internal/metadata.json +11 -1
- package/System.Runtime/internal/index.d.ts +0 -25
- package/System.Runtime.CompilerServices/bindings.json +495 -57
- package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
- package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
- package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices/bindings.json +377 -47
- package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
- package/System.Runtime.InteropServices/internal/metadata.json +377 -47
- package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
- package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
- package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
- package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
- package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
- package/System.Runtime.Intrinsics/bindings.json +112 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
- package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
- package/System.Runtime.Loader/internal/index.d.ts +0 -25
- package/System.Runtime.Remoting/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization/bindings.json +71 -9
- package/System.Runtime.Serialization/internal/index.d.ts +9 -34
- package/System.Runtime.Serialization/internal/metadata.json +71 -9
- package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
- package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
- package/System.Runtime.Versioning/internal/index.d.ts +0 -25
- package/System.Security/internal/index.d.ts +1 -26
- package/System.Security.AccessControl/bindings.json +14 -2
- package/System.Security.AccessControl/internal/index.d.ts +3 -28
- package/System.Security.AccessControl/internal/metadata.json +14 -2
- package/System.Security.Authentication/internal/index.d.ts +0 -25
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
- package/System.Security.Claims/internal/index.d.ts +1 -26
- package/System.Security.Cryptography/bindings.json +1348 -192
- package/System.Security.Cryptography/internal/index.d.ts +593 -618
- package/System.Security.Cryptography/internal/metadata.json +1348 -192
- package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
- package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
- package/System.Security.Permissions/internal/index.d.ts +0 -25
- package/System.Security.Policy/internal/index.d.ts +0 -25
- package/System.Security.Principal/internal/index.d.ts +0 -25
- package/System.Text/bindings.json +494 -58
- package/System.Text/internal/index.d.ts +137 -162
- package/System.Text/internal/metadata.json +494 -58
- package/System.Text.Encodings.Web/bindings.json +29 -3
- package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
- package/System.Text.Encodings.Web/internal/metadata.json +29 -3
- package/System.Text.Json/bindings.json +309 -43
- package/System.Text.Json/internal/index.d.ts +141 -166
- package/System.Text.Json/internal/metadata.json +309 -43
- package/System.Text.Json.Nodes/bindings.json +46 -6
- package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
- package/System.Text.Json.Nodes/internal/metadata.json +46 -6
- package/System.Text.Json.Schema/internal/index.d.ts +1 -26
- package/System.Text.Json.Serialization/bindings.json +21 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
- package/System.Text.Json.Serialization/internal/metadata.json +21 -3
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
- package/System.Text.RegularExpressions/bindings.json +14 -2
- package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
- package/System.Text.RegularExpressions/internal/metadata.json +14 -2
- package/System.Text.Unicode/bindings.json +58 -6
- package/System.Text.Unicode/internal/index.d.ts +12 -37
- package/System.Text.Unicode/internal/metadata.json +58 -6
- package/System.Threading/bindings.json +1012 -140
- package/System.Threading/internal/index.d.ts +149 -174
- package/System.Threading/internal/metadata.json +1012 -140
- package/System.Threading.Channels/bindings.json +14 -2
- package/System.Threading.Channels/internal/index.d.ts +5 -30
- package/System.Threading.Channels/internal/metadata.json +14 -2
- package/System.Threading.Tasks/internal/index.d.ts +23 -48
- package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
- package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
- package/System.Timers/internal/index.d.ts +0 -25
- package/System.Transactions/internal/index.d.ts +0 -25
- package/System.Web/internal/index.d.ts +0 -25
- package/System.Windows.Input/internal/index.d.ts +0 -25
- package/System.Windows.Markup/internal/index.d.ts +0 -25
- package/System.Xml/bindings.json +197 -27
- package/System.Xml/internal/index.d.ts +35 -60
- package/System.Xml/internal/metadata.json +197 -27
- package/System.Xml.Linq/internal/index.d.ts +0 -25
- package/System.Xml.Resolvers/internal/index.d.ts +0 -25
- package/System.Xml.Schema/internal/index.d.ts +0 -25
- package/System.Xml.Serialization/internal/index.d.ts +0 -25
- package/System.Xml.XPath/internal/index.d.ts +1 -26
- package/System.Xml.Xsl/internal/index.d.ts +1 -26
- package/System.Xml.Xsl.Runtime/bindings.json +35 -5
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
- package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
- package/System.d.ts +21 -0
- package/__internal/extensions/index.d.ts +463 -463
- package/package.json +1 -1
|
@@ -1295,7 +1295,13 @@
|
|
|
1295
1295
|
"parameterCount": 2,
|
|
1296
1296
|
"declaringClrType": "System.Text.Json.Nodes.JsonNode",
|
|
1297
1297
|
"declaringAssemblyName": "System.Text.Json",
|
|
1298
|
-
"isExtensionMethod": false
|
|
1298
|
+
"isExtensionMethod": false,
|
|
1299
|
+
"parameterModifiers": [
|
|
1300
|
+
{
|
|
1301
|
+
"index": 0,
|
|
1302
|
+
"modifier": "ref"
|
|
1303
|
+
}
|
|
1304
|
+
]
|
|
1299
1305
|
},
|
|
1300
1306
|
{
|
|
1301
1307
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonNode::Parse(System.String,System.Nullable_1[[System.Text.Json.Nodes.JsonNodeOptions,System.Text.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]],System.Text.Json.JsonDocumentOptions):System.Text.Json.Nodes.JsonNode",
|
|
@@ -1847,7 +1853,13 @@
|
|
|
1847
1853
|
"parameterCount": 2,
|
|
1848
1854
|
"declaringClrType": "System.Text.Json.Nodes.JsonObject",
|
|
1849
1855
|
"declaringAssemblyName": "System.Text.Json",
|
|
1850
|
-
"isExtensionMethod": false
|
|
1856
|
+
"isExtensionMethod": false,
|
|
1857
|
+
"parameterModifiers": [
|
|
1858
|
+
{
|
|
1859
|
+
"index": 1,
|
|
1860
|
+
"modifier": "out"
|
|
1861
|
+
}
|
|
1862
|
+
]
|
|
1851
1863
|
},
|
|
1852
1864
|
{
|
|
1853
1865
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonObject::TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode\u0026,System.Int32\u0026):System.Boolean",
|
|
@@ -1861,7 +1873,17 @@
|
|
|
1861
1873
|
"parameterCount": 3,
|
|
1862
1874
|
"declaringClrType": "System.Text.Json.Nodes.JsonObject",
|
|
1863
1875
|
"declaringAssemblyName": "System.Text.Json",
|
|
1864
|
-
"isExtensionMethod": false
|
|
1876
|
+
"isExtensionMethod": false,
|
|
1877
|
+
"parameterModifiers": [
|
|
1878
|
+
{
|
|
1879
|
+
"index": 1,
|
|
1880
|
+
"modifier": "out"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"index": 2,
|
|
1884
|
+
"modifier": "out"
|
|
1885
|
+
}
|
|
1886
|
+
]
|
|
1865
1887
|
},
|
|
1866
1888
|
{
|
|
1867
1889
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonObject::WriteTo(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonSerializerOptions):System.Void",
|
|
@@ -1917,7 +1939,13 @@
|
|
|
1917
1939
|
"parameterCount": 3,
|
|
1918
1940
|
"declaringClrType": "System.Text.Json.Nodes.JsonObject",
|
|
1919
1941
|
"declaringAssemblyName": "System.Text.Json",
|
|
1920
|
-
"isExtensionMethod": false
|
|
1942
|
+
"isExtensionMethod": false,
|
|
1943
|
+
"parameterModifiers": [
|
|
1944
|
+
{
|
|
1945
|
+
"index": 2,
|
|
1946
|
+
"modifier": "out"
|
|
1947
|
+
}
|
|
1948
|
+
]
|
|
1921
1949
|
},
|
|
1922
1950
|
{
|
|
1923
1951
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonObject::Add(System.Collections.Generic.KeyValuePair_2[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e],[System.Text.Json.Nodes.JsonNode,System.Text.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]]):System.Void",
|
|
@@ -2113,7 +2141,13 @@
|
|
|
2113
2141
|
"parameterCount": 2,
|
|
2114
2142
|
"declaringClrType": "System.Collections.Generic.IDictionary\u00602",
|
|
2115
2143
|
"declaringAssemblyName": "System.Private.CoreLib",
|
|
2116
|
-
"isExtensionMethod": false
|
|
2144
|
+
"isExtensionMethod": false,
|
|
2145
|
+
"parameterModifiers": [
|
|
2146
|
+
{
|
|
2147
|
+
"index": 1,
|
|
2148
|
+
"modifier": "out"
|
|
2149
|
+
}
|
|
2150
|
+
]
|
|
2117
2151
|
},
|
|
2118
2152
|
{
|
|
2119
2153
|
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Add(T):System.Void",
|
|
@@ -3502,7 +3536,13 @@
|
|
|
3502
3536
|
"parameterCount": 1,
|
|
3503
3537
|
"declaringClrType": "System.Text.Json.Nodes.JsonValue",
|
|
3504
3538
|
"declaringAssemblyName": "System.Text.Json",
|
|
3505
|
-
"isExtensionMethod": false
|
|
3539
|
+
"isExtensionMethod": false,
|
|
3540
|
+
"parameterModifiers": [
|
|
3541
|
+
{
|
|
3542
|
+
"index": 0,
|
|
3543
|
+
"modifier": "out"
|
|
3544
|
+
}
|
|
3545
|
+
]
|
|
3506
3546
|
},
|
|
3507
3547
|
{
|
|
3508
3548
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonValue::Create(T,System.Nullable_1[[System.Text.Json.Nodes.JsonNodeOptions,System.Text.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]]):System.Text.Json.Nodes.JsonValue",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import * as System_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -21,31 +21,6 @@ import type { CancellationToken } from "../../System.Threading/internal/index.js
|
|
|
21
21
|
import * as System_Internal from "../../System/internal/index.js";
|
|
22
22
|
import type { Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Func_2, Guid, Int16, Int32, Int64, Nullable_1, Object as ClrObject, ReadOnlySpan_1, SByte, Single, String as ClrString, Type, UInt16, UInt32, UInt64, ValueType, Void } from "../../System/internal/index.js";
|
|
23
23
|
|
|
24
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
25
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
26
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
27
|
-
export type CLROf<T> =
|
|
28
|
-
T extends sbyte ? System_Internal.SByte :
|
|
29
|
-
T extends short ? System_Internal.Int16 :
|
|
30
|
-
T extends int ? System_Internal.Int32 :
|
|
31
|
-
T extends long ? System_Internal.Int64 :
|
|
32
|
-
T extends int128 ? System_Internal.Int128 :
|
|
33
|
-
T extends nint ? System_Internal.IntPtr :
|
|
34
|
-
T extends byte ? System_Internal.Byte :
|
|
35
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
36
|
-
T extends uint ? System_Internal.UInt32 :
|
|
37
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
38
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
39
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
40
|
-
T extends half ? System_Internal.Half :
|
|
41
|
-
T extends float ? System_Internal.Single :
|
|
42
|
-
T extends double ? System_Internal.Double :
|
|
43
|
-
T extends decimal ? System_Internal.Decimal :
|
|
44
|
-
T extends char ? System_Internal.Char :
|
|
45
|
-
T extends boolean ? System_Internal.Boolean :
|
|
46
|
-
T extends string ? System_Internal.String :
|
|
47
|
-
T; // Identity fallback for non-primitive types
|
|
48
|
-
|
|
49
24
|
export interface JsonNodeOptions$instance {
|
|
50
25
|
propertyNameCaseInsensitive: boolean;
|
|
51
26
|
}
|
|
@@ -69,7 +44,7 @@ export interface JsonArray$instance extends JsonNode {
|
|
|
69
44
|
indexOf(item: JsonNode): int;
|
|
70
45
|
insert(index: int, item: JsonNode): void;
|
|
71
46
|
remove(item: JsonNode): boolean;
|
|
72
|
-
removeAll(match: Func_2<JsonNode,
|
|
47
|
+
removeAll(match: Func_2<JsonNode, System_Internal.Boolean>): int;
|
|
73
48
|
removeAt(index: int): void;
|
|
74
49
|
removeRange(index: int, count: int): void;
|
|
75
50
|
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
@@ -123,9 +98,9 @@ export interface JsonNode$instance {
|
|
|
123
98
|
export const JsonNode: {
|
|
124
99
|
deepEquals(node1: JsonNode, node2: JsonNode): boolean;
|
|
125
100
|
parse(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
126
|
-
parse(utf8Json: ReadOnlySpan_1<
|
|
101
|
+
parse(utf8Json: ReadOnlySpan_1<System_Internal.Byte>, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
127
102
|
parse(json: string, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions): JsonNode;
|
|
128
|
-
parse(reader:
|
|
103
|
+
parse(reader: Utf8JsonReader, nodeOptions?: Nullable_1<JsonNodeOptions>): JsonNode;
|
|
129
104
|
parseAsync(utf8Json: Stream, nodeOptions?: Nullable_1<JsonNodeOptions>, documentOptions?: JsonDocumentOptions, cancellationToken?: CancellationToken): Task_1<JsonNode>;
|
|
130
105
|
};
|
|
131
106
|
|
|
@@ -135,11 +110,11 @@ export type JsonNode = JsonNode$instance;
|
|
|
135
110
|
export interface JsonObject$instance extends JsonNode {
|
|
136
111
|
readonly count: int;
|
|
137
112
|
add(propertyName: string, value: JsonNode): void;
|
|
138
|
-
add(property: KeyValuePair_2<
|
|
113
|
+
add(property: KeyValuePair_2<System_Internal.String, JsonNode>): void;
|
|
139
114
|
clear(): void;
|
|
140
115
|
containsKey(propertyName: string): boolean;
|
|
141
|
-
getAt(index: int): KeyValuePair_2<
|
|
142
|
-
getEnumerator(): IEnumerator_1<KeyValuePair_2<
|
|
116
|
+
getAt(index: int): KeyValuePair_2<System_Internal.String, JsonNode>;
|
|
117
|
+
getEnumerator(): IEnumerator_1<KeyValuePair_2<System_Internal.String, JsonNode>>;
|
|
143
118
|
indexOf(propertyName: string): int;
|
|
144
119
|
insert(index: int, propertyName: string, value: JsonNode): void;
|
|
145
120
|
remove(propertyName: string): boolean;
|
|
@@ -147,25 +122,25 @@ export interface JsonObject$instance extends JsonNode {
|
|
|
147
122
|
setAt(index: int, propertyName: string, value: JsonNode): void;
|
|
148
123
|
setAt(index: int, value: JsonNode): void;
|
|
149
124
|
tryAdd(propertyName: string, value: JsonNode): boolean;
|
|
150
|
-
tryAdd(propertyName: string, value: JsonNode, index:
|
|
151
|
-
tryGetPropertyValue(propertyName: string, jsonNode:
|
|
152
|
-
tryGetPropertyValue(propertyName: string, jsonNode:
|
|
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;
|
|
153
128
|
writeTo(writer: Utf8JsonWriter, options?: JsonSerializerOptions): void;
|
|
154
129
|
}
|
|
155
130
|
|
|
156
131
|
|
|
157
132
|
export const JsonObject: {
|
|
158
133
|
new(options: Nullable_1<JsonNodeOptions>): JsonObject$instance;
|
|
159
|
-
new(properties: IEnumerable_1<KeyValuePair_2<
|
|
134
|
+
new(properties: IEnumerable_1<KeyValuePair_2<System_Internal.String, JsonNode>>, options: Nullable_1<JsonNodeOptions>): JsonObject$instance;
|
|
160
135
|
create(element: JsonElement, options?: Nullable_1<JsonNodeOptions>): JsonObject;
|
|
161
136
|
};
|
|
162
137
|
|
|
163
138
|
|
|
164
139
|
export interface __JsonObject$views {
|
|
165
|
-
As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<
|
|
166
|
-
As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<
|
|
167
|
-
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<
|
|
168
|
-
As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<KeyValuePair_2<
|
|
140
|
+
As_ICollection_1(): System_Collections_Generic_Internal.ICollection_1$instance<KeyValuePair_2<System_Internal.String, JsonNode>>;
|
|
141
|
+
As_IDictionary_2(): System_Collections_Generic_Internal.IDictionary_2$instance<System_Internal.String, JsonNode>;
|
|
142
|
+
As_IEnumerable_1(): System_Collections_Generic_Internal.IEnumerable_1$instance<KeyValuePair_2<System_Internal.String, JsonNode>>;
|
|
143
|
+
As_IList_1(): System_Collections_Generic_Internal.IList_1$instance<KeyValuePair_2<System_Internal.String, JsonNode>>;
|
|
169
144
|
As_IEnumerable(): System_Collections_Internal.IEnumerable$instance;
|
|
170
145
|
}
|
|
171
146
|
|
|
@@ -173,7 +148,7 @@ export type JsonObject = JsonObject$instance & __JsonObject$views;
|
|
|
173
148
|
|
|
174
149
|
|
|
175
150
|
export interface JsonValue$instance extends JsonNode {
|
|
176
|
-
tryGetValue<T>(value:
|
|
151
|
+
tryGetValue<T>(value: T): boolean;
|
|
177
152
|
}
|
|
178
153
|
|
|
179
154
|
|
|
@@ -189,23 +164,23 @@ export const JsonValue: {
|
|
|
189
164
|
create(value: short, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
190
165
|
create(value: int, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
191
166
|
create(value: long, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
192
|
-
create(value: Nullable_1<
|
|
193
|
-
create(value: Nullable_1<
|
|
194
|
-
create(value: Nullable_1<
|
|
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;
|
|
195
170
|
create(value: Nullable_1<DateTime>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
196
171
|
create(value: Nullable_1<DateTimeOffset>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
197
|
-
create(value: Nullable_1<
|
|
198
|
-
create(value: Nullable_1<
|
|
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;
|
|
199
174
|
create(value: Nullable_1<Guid>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
200
|
-
create(value: Nullable_1<
|
|
201
|
-
create(value: Nullable_1<
|
|
202
|
-
create(value: Nullable_1<
|
|
203
|
-
create(value: Nullable_1<
|
|
204
|
-
create(value: Nullable_1<
|
|
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;
|
|
205
180
|
create(value: Nullable_1<JsonElement>, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
206
|
-
create(value: Nullable_1<
|
|
207
|
-
create(value: Nullable_1<
|
|
208
|
-
create(value: Nullable_1<
|
|
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;
|
|
209
184
|
create(value: sbyte, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
210
185
|
create(value: float, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
211
186
|
create(value: string, options?: Nullable_1<JsonNodeOptions>): JsonValue;
|
|
@@ -705,7 +705,13 @@
|
|
|
705
705
|
"isSealed": false,
|
|
706
706
|
"arity": 0,
|
|
707
707
|
"parameterCount": 2,
|
|
708
|
-
"isExtensionMethod": false
|
|
708
|
+
"isExtensionMethod": false,
|
|
709
|
+
"parameterModifiers": [
|
|
710
|
+
{
|
|
711
|
+
"index": 0,
|
|
712
|
+
"modifier": "ref"
|
|
713
|
+
}
|
|
714
|
+
]
|
|
709
715
|
},
|
|
710
716
|
{
|
|
711
717
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonNode::Parse(System.String,System.Nullable_1[[System.Text.Json.Nodes.JsonNodeOptions,System.Text.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]],System.Text.Json.JsonDocumentOptions):System.Text.Json.Nodes.JsonNode",
|
|
@@ -976,7 +982,13 @@
|
|
|
976
982
|
"isSealed": false,
|
|
977
983
|
"arity": 0,
|
|
978
984
|
"parameterCount": 2,
|
|
979
|
-
"isExtensionMethod": false
|
|
985
|
+
"isExtensionMethod": false,
|
|
986
|
+
"parameterModifiers": [
|
|
987
|
+
{
|
|
988
|
+
"index": 1,
|
|
989
|
+
"modifier": "out"
|
|
990
|
+
}
|
|
991
|
+
]
|
|
980
992
|
},
|
|
981
993
|
{
|
|
982
994
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonObject::TryGetPropertyValue(System.String,System.Text.Json.Nodes.JsonNode\u0026,System.Int32\u0026):System.Boolean",
|
|
@@ -992,7 +1004,17 @@
|
|
|
992
1004
|
"isSealed": false,
|
|
993
1005
|
"arity": 0,
|
|
994
1006
|
"parameterCount": 3,
|
|
995
|
-
"isExtensionMethod": false
|
|
1007
|
+
"isExtensionMethod": false,
|
|
1008
|
+
"parameterModifiers": [
|
|
1009
|
+
{
|
|
1010
|
+
"index": 1,
|
|
1011
|
+
"modifier": "out"
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"index": 2,
|
|
1015
|
+
"modifier": "out"
|
|
1016
|
+
}
|
|
1017
|
+
]
|
|
996
1018
|
},
|
|
997
1019
|
{
|
|
998
1020
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonObject::WriteTo(System.Text.Json.Utf8JsonWriter,System.Text.Json.JsonSerializerOptions):System.Void",
|
|
@@ -1056,7 +1078,13 @@
|
|
|
1056
1078
|
"isSealed": false,
|
|
1057
1079
|
"arity": 0,
|
|
1058
1080
|
"parameterCount": 3,
|
|
1059
|
-
"isExtensionMethod": false
|
|
1081
|
+
"isExtensionMethod": false,
|
|
1082
|
+
"parameterModifiers": [
|
|
1083
|
+
{
|
|
1084
|
+
"index": 2,
|
|
1085
|
+
"modifier": "out"
|
|
1086
|
+
}
|
|
1087
|
+
]
|
|
1060
1088
|
},
|
|
1061
1089
|
{
|
|
1062
1090
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonObject::Add(System.Collections.Generic.KeyValuePair_2[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e],[System.Text.Json.Nodes.JsonNode,System.Text.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]]):System.Void",
|
|
@@ -1283,7 +1311,13 @@
|
|
|
1283
1311
|
"arity": 0,
|
|
1284
1312
|
"parameterCount": 2,
|
|
1285
1313
|
"sourceInterface": "System.Collections.Generic.IDictionary\u00602",
|
|
1286
|
-
"isExtensionMethod": false
|
|
1314
|
+
"isExtensionMethod": false,
|
|
1315
|
+
"parameterModifiers": [
|
|
1316
|
+
{
|
|
1317
|
+
"index": 1,
|
|
1318
|
+
"modifier": "out"
|
|
1319
|
+
}
|
|
1320
|
+
]
|
|
1287
1321
|
},
|
|
1288
1322
|
{
|
|
1289
1323
|
"stableId": "System.Private.CoreLib:System.Collections.Generic.ICollection\u00601::Add(T):System.Void",
|
|
@@ -2120,7 +2154,13 @@
|
|
|
2120
2154
|
"isSealed": false,
|
|
2121
2155
|
"arity": 1,
|
|
2122
2156
|
"parameterCount": 1,
|
|
2123
|
-
"isExtensionMethod": false
|
|
2157
|
+
"isExtensionMethod": false,
|
|
2158
|
+
"parameterModifiers": [
|
|
2159
|
+
{
|
|
2160
|
+
"index": 0,
|
|
2161
|
+
"modifier": "out"
|
|
2162
|
+
}
|
|
2163
|
+
]
|
|
2124
2164
|
},
|
|
2125
2165
|
{
|
|
2126
2166
|
"stableId": "System.Text.Json:System.Text.Json.Nodes.JsonValue::Create(T,System.Nullable_1[[System.Text.Json.Nodes.JsonNodeOptions,System.Text.Json,Version=10.0.0.0,Culture=neutral,PublicKeyToken=cc7b13ffcd2ddd51]]):System.Text.Json.Nodes.JsonValue",
|
|
@@ -12,34 +12,9 @@ import type { JsonSerializerOptions } from "../../System.Text.Json/internal/inde
|
|
|
12
12
|
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
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
16
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
17
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
18
|
-
export type CLROf<T> =
|
|
19
|
-
T extends sbyte ? System_Internal.SByte :
|
|
20
|
-
T extends short ? System_Internal.Int16 :
|
|
21
|
-
T extends int ? System_Internal.Int32 :
|
|
22
|
-
T extends long ? System_Internal.Int64 :
|
|
23
|
-
T extends int128 ? System_Internal.Int128 :
|
|
24
|
-
T extends nint ? System_Internal.IntPtr :
|
|
25
|
-
T extends byte ? System_Internal.Byte :
|
|
26
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
27
|
-
T extends uint ? System_Internal.UInt32 :
|
|
28
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
29
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
30
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
31
|
-
T extends half ? System_Internal.Half :
|
|
32
|
-
T extends float ? System_Internal.Single :
|
|
33
|
-
T extends double ? System_Internal.Double :
|
|
34
|
-
T extends decimal ? System_Internal.Decimal :
|
|
35
|
-
T extends char ? System_Internal.Char :
|
|
36
|
-
T extends boolean ? System_Internal.Boolean :
|
|
37
|
-
T extends string ? System_Internal.String :
|
|
38
|
-
T; // Identity fallback for non-primitive types
|
|
39
|
-
|
|
40
15
|
export interface JsonSchemaExporterContext$instance {
|
|
41
16
|
readonly baseTypeInfo: JsonTypeInfo;
|
|
42
|
-
readonly path: ReadOnlySpan_1<
|
|
17
|
+
readonly path: ReadOnlySpan_1<System_Internal.String>;
|
|
43
18
|
readonly propertyInfo: JsonPropertyInfo;
|
|
44
19
|
readonly typeInfo: JsonTypeInfo;
|
|
45
20
|
}
|
|
@@ -6453,7 +6453,13 @@
|
|
|
6453
6453
|
"parameterCount": 3,
|
|
6454
6454
|
"declaringClrType": "System.Text.Json.Serialization.JsonConverter\u00601",
|
|
6455
6455
|
"declaringAssemblyName": "System.Text.Json",
|
|
6456
|
-
"isExtensionMethod": false
|
|
6456
|
+
"isExtensionMethod": false,
|
|
6457
|
+
"parameterModifiers": [
|
|
6458
|
+
{
|
|
6459
|
+
"index": 0,
|
|
6460
|
+
"modifier": "ref"
|
|
6461
|
+
}
|
|
6462
|
+
]
|
|
6457
6463
|
},
|
|
6458
6464
|
{
|
|
6459
6465
|
"stableId": "System.Text.Json:System.Text.Json.Serialization.JsonConverter\u00601::Write(System.Text.Json.Utf8JsonWriter,T,System.Text.Json.JsonSerializerOptions):System.Void",
|
|
@@ -6481,7 +6487,13 @@
|
|
|
6481
6487
|
"parameterCount": 3,
|
|
6482
6488
|
"declaringClrType": "System.Text.Json.Serialization.JsonConverter\u00601",
|
|
6483
6489
|
"declaringAssemblyName": "System.Text.Json",
|
|
6484
|
-
"isExtensionMethod": false
|
|
6490
|
+
"isExtensionMethod": false,
|
|
6491
|
+
"parameterModifiers": [
|
|
6492
|
+
{
|
|
6493
|
+
"index": 0,
|
|
6494
|
+
"modifier": "ref"
|
|
6495
|
+
}
|
|
6496
|
+
]
|
|
6485
6497
|
},
|
|
6486
6498
|
{
|
|
6487
6499
|
"stableId": "System.Text.Json:System.Text.Json.Serialization.JsonConverter\u00601::WriteAsPropertyName(System.Text.Json.Utf8JsonWriter,T,System.Text.Json.JsonSerializerOptions):System.Void",
|
|
@@ -11859,7 +11871,13 @@
|
|
|
11859
11871
|
"parameterCount": 2,
|
|
11860
11872
|
"declaringClrType": "System.Text.Json.Serialization.ReferenceResolver",
|
|
11861
11873
|
"declaringAssemblyName": "System.Text.Json",
|
|
11862
|
-
"isExtensionMethod": false
|
|
11874
|
+
"isExtensionMethod": false,
|
|
11875
|
+
"parameterModifiers": [
|
|
11876
|
+
{
|
|
11877
|
+
"index": 1,
|
|
11878
|
+
"modifier": "out"
|
|
11879
|
+
}
|
|
11880
|
+
]
|
|
11863
11881
|
},
|
|
11864
11882
|
{
|
|
11865
11883
|
"stableId": "System.Text.Json:System.Text.Json.Serialization.ReferenceResolver::ResolveReference(System.String):System.Object",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import * as System_Text_Json_Serialization_Metadata_Internal from "../../System.Text.Json.Serialization.Metadata/internal/index.js";
|
|
@@ -15,31 +15,6 @@ import type { JsonCommentHandling, JsonNamingPolicy, JsonSerializerDefaults, Jso
|
|
|
15
15
|
import * as System_Internal from "../../System/internal/index.js";
|
|
16
16
|
import type { Attribute, Boolean as ClrBoolean, Char, Enum, IComparable, IConvertible, IFormatProvider, IFormattable, Int32, ISpanFormattable, Object as ClrObject, String as ClrString, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
|
|
17
17
|
|
|
18
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
19
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
20
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
21
|
-
export type CLROf<T> =
|
|
22
|
-
T extends sbyte ? System_Internal.SByte :
|
|
23
|
-
T extends short ? System_Internal.Int16 :
|
|
24
|
-
T extends int ? System_Internal.Int32 :
|
|
25
|
-
T extends long ? System_Internal.Int64 :
|
|
26
|
-
T extends int128 ? System_Internal.Int128 :
|
|
27
|
-
T extends nint ? System_Internal.IntPtr :
|
|
28
|
-
T extends byte ? System_Internal.Byte :
|
|
29
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
30
|
-
T extends uint ? System_Internal.UInt32 :
|
|
31
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
32
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
33
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
34
|
-
T extends half ? System_Internal.Half :
|
|
35
|
-
T extends float ? System_Internal.Single :
|
|
36
|
-
T extends double ? System_Internal.Double :
|
|
37
|
-
T extends decimal ? System_Internal.Decimal :
|
|
38
|
-
T extends char ? System_Internal.Char :
|
|
39
|
-
T extends boolean ? System_Internal.Boolean :
|
|
40
|
-
T extends string ? System_Internal.String :
|
|
41
|
-
T; // Identity fallback for non-primitive types
|
|
42
|
-
|
|
43
18
|
export enum JsonIgnoreCondition {
|
|
44
19
|
never_ = 0,
|
|
45
20
|
always = 1,
|
|
@@ -172,8 +147,8 @@ export interface JsonConverter_1$instance<T> extends JsonConverter {
|
|
|
172
147
|
readonly handleNull: boolean;
|
|
173
148
|
readonly type_: Type;
|
|
174
149
|
canConvert(typeToConvert: Type): boolean;
|
|
175
|
-
read(reader:
|
|
176
|
-
readAsPropertyName(reader:
|
|
150
|
+
read(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T;
|
|
151
|
+
readAsPropertyName(reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions): T;
|
|
177
152
|
write(writer: Utf8JsonWriter, value: T, options: JsonSerializerOptions): void;
|
|
178
153
|
writeAsPropertyName(writer: Utf8JsonWriter, value: T, options: JsonSerializerOptions): void;
|
|
179
154
|
}
|
|
@@ -493,7 +468,7 @@ export type ReferenceHandler_1<T extends ReferenceResolver> = ReferenceHandler_1
|
|
|
493
468
|
|
|
494
469
|
export interface ReferenceResolver$instance {
|
|
495
470
|
addReference(referenceId: string, value: unknown): void;
|
|
496
|
-
getReference(value: unknown, alreadyExists:
|
|
471
|
+
getReference(value: unknown, alreadyExists: boolean): string;
|
|
497
472
|
resolveReference(referenceId: string): unknown;
|
|
498
473
|
}
|
|
499
474
|
|
|
@@ -777,7 +777,13 @@
|
|
|
777
777
|
"isSealed": false,
|
|
778
778
|
"arity": 0,
|
|
779
779
|
"parameterCount": 3,
|
|
780
|
-
"isExtensionMethod": false
|
|
780
|
+
"isExtensionMethod": false,
|
|
781
|
+
"parameterModifiers": [
|
|
782
|
+
{
|
|
783
|
+
"index": 0,
|
|
784
|
+
"modifier": "ref"
|
|
785
|
+
}
|
|
786
|
+
]
|
|
781
787
|
},
|
|
782
788
|
{
|
|
783
789
|
"stableId": "System.Text.Json:System.Text.Json.Serialization.JsonConverter\u00601::Write(System.Text.Json.Utf8JsonWriter,T,System.Text.Json.JsonSerializerOptions):System.Void",
|
|
@@ -809,7 +815,13 @@
|
|
|
809
815
|
"isSealed": false,
|
|
810
816
|
"arity": 0,
|
|
811
817
|
"parameterCount": 3,
|
|
812
|
-
"isExtensionMethod": false
|
|
818
|
+
"isExtensionMethod": false,
|
|
819
|
+
"parameterModifiers": [
|
|
820
|
+
{
|
|
821
|
+
"index": 0,
|
|
822
|
+
"modifier": "ref"
|
|
823
|
+
}
|
|
824
|
+
]
|
|
813
825
|
},
|
|
814
826
|
{
|
|
815
827
|
"stableId": "System.Text.Json:System.Text.Json.Serialization.JsonConverter\u00601::WriteAsPropertyName(System.Text.Json.Utf8JsonWriter,T,System.Text.Json.JsonSerializerOptions):System.Void",
|
|
@@ -2302,7 +2314,13 @@
|
|
|
2302
2314
|
"isSealed": false,
|
|
2303
2315
|
"arity": 0,
|
|
2304
2316
|
"parameterCount": 2,
|
|
2305
|
-
"isExtensionMethod": false
|
|
2317
|
+
"isExtensionMethod": false,
|
|
2318
|
+
"parameterModifiers": [
|
|
2319
|
+
{
|
|
2320
|
+
"index": 1,
|
|
2321
|
+
"modifier": "out"
|
|
2322
|
+
}
|
|
2323
|
+
]
|
|
2306
2324
|
},
|
|
2307
2325
|
{
|
|
2308
2326
|
"stableId": "System.Text.Json:System.Text.Json.Serialization.ReferenceResolver::ResolveReference(System.String):System.Object",
|
|
@@ -16,31 +16,6 @@ import type { JsonDocument, JsonElement, JsonSerializerOptions, Utf8JsonWriter }
|
|
|
16
16
|
import * as System_Internal from "../../System/internal/index.js";
|
|
17
17
|
import type { Action_1, Action_2, Boolean as ClrBoolean, Byte, Char, DateOnly, DateTime, DateTimeOffset, Decimal, Double, Enum, Func_1, Func_2, Func_3, Guid, Half, IComparable, IConvertible, IFormatProvider, IFormattable, Int128, Int16, Int32, Int64, ISpanFormattable, Memory_1, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, SByte, Single, String as ClrString, TimeOnly, TimeSpan, Type, TypeCode, UInt128, UInt16, UInt32, UInt64, Uri, ValueType, Version, Void } from "../../System/internal/index.js";
|
|
18
18
|
|
|
19
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
20
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
21
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
22
|
-
export type CLROf<T> =
|
|
23
|
-
T extends sbyte ? System_Internal.SByte :
|
|
24
|
-
T extends short ? System_Internal.Int16 :
|
|
25
|
-
T extends int ? System_Internal.Int32 :
|
|
26
|
-
T extends long ? System_Internal.Int64 :
|
|
27
|
-
T extends int128 ? System_Internal.Int128 :
|
|
28
|
-
T extends nint ? System_Internal.IntPtr :
|
|
29
|
-
T extends byte ? System_Internal.Byte :
|
|
30
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
31
|
-
T extends uint ? System_Internal.UInt32 :
|
|
32
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
33
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
34
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
35
|
-
T extends half ? System_Internal.Half :
|
|
36
|
-
T extends float ? System_Internal.Single :
|
|
37
|
-
T extends double ? System_Internal.Double :
|
|
38
|
-
T extends decimal ? System_Internal.Decimal :
|
|
39
|
-
T extends char ? System_Internal.Char :
|
|
40
|
-
T extends boolean ? System_Internal.Boolean :
|
|
41
|
-
T extends string ? System_Internal.String :
|
|
42
|
-
T; // Identity fallback for non-primitive types
|
|
43
|
-
|
|
44
19
|
export enum JsonTypeInfoKind {
|
|
45
20
|
none = 0,
|
|
46
21
|
object_ = 1,
|
|
@@ -194,7 +169,7 @@ export interface JsonPropertyInfo$instance {
|
|
|
194
169
|
order: int;
|
|
195
170
|
readonly propertyType: Type;
|
|
196
171
|
set_: Action_2<unknown, unknown>;
|
|
197
|
-
shouldSerialize: Func_3<unknown, unknown,
|
|
172
|
+
shouldSerialize: Func_3<unknown, unknown, System_Internal.Boolean>;
|
|
198
173
|
}
|
|
199
174
|
|
|
200
175
|
|
|
@@ -277,39 +252,39 @@ export const JsonTypeInfo_1: {
|
|
|
277
252
|
export type JsonTypeInfo_1<T> = JsonTypeInfo_1$instance<T>;
|
|
278
253
|
|
|
279
254
|
export abstract class JsonMetadataServices$instance {
|
|
280
|
-
static readonly booleanConverter: JsonConverter_1<
|
|
255
|
+
static readonly booleanConverter: JsonConverter_1<System_Internal.Boolean>;
|
|
281
256
|
static readonly byteArrayConverter: JsonConverter_1<byte[]>;
|
|
282
|
-
static readonly byteConverter: JsonConverter_1<
|
|
283
|
-
static readonly charConverter: JsonConverter_1<
|
|
257
|
+
static readonly byteConverter: JsonConverter_1<System_Internal.Byte>;
|
|
258
|
+
static readonly charConverter: JsonConverter_1<System_Internal.Char>;
|
|
284
259
|
static readonly dateTimeConverter: JsonConverter_1<DateTime>;
|
|
285
260
|
static readonly dateTimeOffsetConverter: JsonConverter_1<DateTimeOffset>;
|
|
286
261
|
static readonly dateOnlyConverter: JsonConverter_1<DateOnly>;
|
|
287
262
|
static readonly timeOnlyConverter: JsonConverter_1<TimeOnly>;
|
|
288
|
-
static readonly decimalConverter: JsonConverter_1<
|
|
289
|
-
static readonly doubleConverter: JsonConverter_1<
|
|
263
|
+
static readonly decimalConverter: JsonConverter_1<System_Internal.Decimal>;
|
|
264
|
+
static readonly doubleConverter: JsonConverter_1<System_Internal.Double>;
|
|
290
265
|
static readonly guidConverter: JsonConverter_1<Guid>;
|
|
291
|
-
static readonly int16Converter: JsonConverter_1<
|
|
292
|
-
static readonly int32Converter: JsonConverter_1<
|
|
293
|
-
static readonly int64Converter: JsonConverter_1<
|
|
294
|
-
static readonly int128Converter: JsonConverter_1<
|
|
295
|
-
static readonly uInt128Converter: JsonConverter_1<
|
|
266
|
+
static readonly int16Converter: JsonConverter_1<System_Internal.Int16>;
|
|
267
|
+
static readonly int32Converter: JsonConverter_1<System_Internal.Int32>;
|
|
268
|
+
static readonly int64Converter: JsonConverter_1<System_Internal.Int64>;
|
|
269
|
+
static readonly int128Converter: JsonConverter_1<System_Internal.Int128>;
|
|
270
|
+
static readonly uInt128Converter: JsonConverter_1<System_Internal.UInt128>;
|
|
296
271
|
static readonly jsonArrayConverter: JsonConverter_1<JsonArray>;
|
|
297
272
|
static readonly jsonElementConverter: JsonConverter_1<JsonElement>;
|
|
298
273
|
static readonly jsonNodeConverter: JsonConverter_1<JsonNode>;
|
|
299
274
|
static readonly jsonObjectConverter: JsonConverter_1<JsonObject>;
|
|
300
275
|
static readonly jsonValueConverter: JsonConverter_1<JsonValue>;
|
|
301
276
|
static readonly jsonDocumentConverter: JsonConverter_1<JsonDocument>;
|
|
302
|
-
static readonly memoryByteConverter: JsonConverter_1<Memory_1<
|
|
303
|
-
static readonly readOnlyMemoryByteConverter: JsonConverter_1<ReadOnlyMemory_1<
|
|
277
|
+
static readonly memoryByteConverter: JsonConverter_1<Memory_1<System_Internal.Byte>>;
|
|
278
|
+
static readonly readOnlyMemoryByteConverter: JsonConverter_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
304
279
|
static readonly objectConverter: JsonConverter_1<unknown>;
|
|
305
|
-
static readonly halfConverter: JsonConverter_1<
|
|
306
|
-
static readonly singleConverter: JsonConverter_1<
|
|
307
|
-
static readonly sByteConverter: JsonConverter_1<
|
|
308
|
-
static readonly stringConverter: JsonConverter_1<
|
|
280
|
+
static readonly halfConverter: JsonConverter_1<System_Internal.Half>;
|
|
281
|
+
static readonly singleConverter: JsonConverter_1<System_Internal.Single>;
|
|
282
|
+
static readonly sByteConverter: JsonConverter_1<System_Internal.SByte>;
|
|
283
|
+
static readonly stringConverter: JsonConverter_1<System_Internal.String>;
|
|
309
284
|
static readonly timeSpanConverter: JsonConverter_1<TimeSpan>;
|
|
310
|
-
static readonly uInt16Converter: JsonConverter_1<
|
|
311
|
-
static readonly uInt32Converter: JsonConverter_1<
|
|
312
|
-
static readonly uInt64Converter: JsonConverter_1<
|
|
285
|
+
static readonly uInt16Converter: JsonConverter_1<System_Internal.UInt16>;
|
|
286
|
+
static readonly uInt32Converter: JsonConverter_1<System_Internal.UInt32>;
|
|
287
|
+
static readonly uInt64Converter: JsonConverter_1<System_Internal.UInt64>;
|
|
313
288
|
static readonly uriConverter: JsonConverter_1<Uri>;
|
|
314
289
|
static readonly versionConverter: JsonConverter_1<Version>;
|
|
315
290
|
static createArrayInfo<TElement>(options: JsonSerializerOptions, collectionInfo: JsonCollectionInfoValues_1<TElement[]>): JsonTypeInfo_1<TElement[]>;
|