@tsonic/dotnet 10.0.40 → 10.0.42
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/bindings.json +5 -5
- package/Internal/internal/index.d.ts +4 -3
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +83 -104
- package/System/bindings.json +1858 -2297
- package/System/internal/index.d.ts +1972 -2010
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +56 -58
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +90 -92
- package/System.Collections.Concurrent/bindings.json +311 -311
- package/System.Collections.Concurrent/internal/index.d.ts +83 -85
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +490 -648
- package/System.Collections.Frozen/internal/index.d.ts +95 -109
- package/System.Collections.Frozen.d.ts +18 -2
- package/System.Collections.Generic/bindings.json +9628 -14043
- package/System.Collections.Generic/internal/index.d.ts +632 -827
- package/System.Collections.Generic.d.ts +20 -16
- package/System.Collections.Immutable/bindings.json +6134 -9214
- package/System.Collections.Immutable/internal/index.d.ts +414 -502
- package/System.Collections.Immutable.d.ts +58 -17
- package/System.Collections.ObjectModel/bindings.json +328 -850
- package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -202
- package/System.Collections.Specialized/internal/index.d.ts +72 -85
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +271 -210
- package/System.ComponentModel/internal/index.d.ts +562 -547
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +40 -310
- package/System.ComponentModel.Design/internal/index.d.ts +85 -93
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +5 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +128 -125
- package/System.Data/internal/index.d.ts +341 -340
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +135 -136
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +55 -54
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +6324 -6509
- package/System.Diagnostics/internal/index.d.ts +435 -437
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +291 -231
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +6 -1
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +35 -36
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +30 -37
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +35 -37
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +183 -185
- package/System.IO.Compression/internal/index.d.ts +33 -35
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +402 -402
- package/System.IO.Enumeration/internal/index.d.ts +21 -23
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.IO.Pipes.d.ts +4 -0
- package/System.IO.d.ts +4 -0
- package/System.Linq/bindings.json +22 -22
- package/System.Linq/internal/index.d.ts +705 -705
- package/System.Linq.Expressions/internal/index.d.ts +219 -195
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Linq.Expressions.Interpreter.d.ts +4 -0
- package/System.Linq.Expressions.d.ts +6 -2
- package/System.Linq.d.ts +18 -14
- package/System.Net/bindings.json +131 -131
- package/System.Net/internal/index.d.ts +276 -278
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +36 -200
- package/System.Net.Http.Headers/internal/index.d.ts +114 -128
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Http.Metrics.d.ts +4 -0
- package/System.Net.Http.d.ts +5 -1
- package/System.Net.Mail/bindings.json +96 -96
- package/System.Net.Mail/internal/index.d.ts +78 -80
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +11 -10
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +90 -92
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +49 -48
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +547 -119
- package/System.Numerics/internal/index.d.ts +302 -304
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +257 -259
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +114 -114
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +535 -3018
- package/System.Reflection.Metadata/internal/index.d.ts +188 -369
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
- package/System.Reflection.PortableExecutable.d.ts +5 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +11 -10
- package/System.Runtime.CompilerServices/bindings.json +962 -1160
- package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
- package/System.Runtime.CompilerServices.d.ts +30 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +666 -666
- package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
- package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
- package/System.Runtime.InteropServices.Java/bindings.json +12 -12
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
- package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
- package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
- package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
- package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +124 -126
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
- package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters.d.ts +4 -0
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Serialization.Json.d.ts +4 -0
- package/System.Runtime.Serialization.d.ts +4 -0
- package/System.Runtime.Versioning/bindings.json +13 -13
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Runtime.Versioning.d.ts +4 -0
- package/System.Runtime.d.ts +4 -0
- package/System.Security/bindings.json +5 -5
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +137 -33
- package/System.Security.AccessControl/internal/index.d.ts +62 -61
- package/System.Security.AccessControl.d.ts +13 -8
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
- package/System.Security.Authentication.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +509 -509
- package/System.Security.Cryptography/internal/index.d.ts +268 -269
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
- package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Permissions.d.ts +4 -0
- package/System.Security.Policy/bindings.json +5 -5
- package/System.Security.Policy/internal/index.d.ts +9 -8
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +30 -29
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +1577 -1577
- package/System.Text/internal/index.d.ts +121 -123
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +143 -161
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
- package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
- package/System.Text.Json.Serialization.d.ts +10 -6
- package/System.Text.Json.d.ts +4 -0
- package/System.Text.RegularExpressions/bindings.json +414 -578
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +61 -61
- package/System.Threading/internal/index.d.ts +156 -158
- package/System.Threading.Channels/internal/index.d.ts +31 -33
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +142 -39
- package/System.Threading.Tasks/internal/index.d.ts +250 -247
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
- package/System.Threading.Tasks.Dataflow.d.ts +18 -14
- package/System.Threading.Tasks.Sources/bindings.json +9 -9
- package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
- package/System.Threading.Tasks.Sources.d.ts +6 -2
- package/System.Threading.Tasks.d.ts +12 -8
- package/System.Threading.d.ts +4 -0
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +376 -378
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +101 -100
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +100 -100
- package/System.Xml.Schema/internal/index.d.ts +231 -230
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +250 -57
- package/System.Xml.Serialization/internal/index.d.ts +274 -242
- package/System.Xml.Serialization.d.ts +6 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +37 -36
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +50 -49
- package/System.Xml.Xsl.Runtime/bindings.json +74 -71
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
- package/System.Xml.Xsl.Runtime.d.ts +4 -0
- package/System.Xml.Xsl.d.ts +4 -0
- package/System.Xml.d.ts +4 -0
- package/System.d.ts +126 -122
- package/__internal/extensions/index.d.ts +1335 -1338
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -1104,7 +1104,10 @@
|
|
|
1104
1104
|
"isLiteral": false,
|
|
1105
1105
|
"visibility": "Public",
|
|
1106
1106
|
"declaringClrType": "System.Buffers.ReadOnlySequence\u00601",
|
|
1107
|
-
"declaringAssemblyName": "System.Memory"
|
|
1107
|
+
"declaringAssemblyName": "System.Memory",
|
|
1108
|
+
"emitSemantics": {
|
|
1109
|
+
"callableStaticAccessorKind": "field"
|
|
1110
|
+
}
|
|
1108
1111
|
}
|
|
1109
1112
|
],
|
|
1110
1113
|
"events": [],
|
|
@@ -2784,7 +2787,10 @@
|
|
|
2784
2787
|
"isOverride": false,
|
|
2785
2788
|
"visibility": "Public",
|
|
2786
2789
|
"declaringClrType": "System.Buffers.ArrayPool\u00601",
|
|
2787
|
-
"declaringAssemblyName": "System.Private.CoreLib"
|
|
2790
|
+
"declaringAssemblyName": "System.Private.CoreLib",
|
|
2791
|
+
"emitSemantics": {
|
|
2792
|
+
"callableStaticAccessorKind": "property"
|
|
2793
|
+
}
|
|
2788
2794
|
}
|
|
2789
2795
|
],
|
|
2790
2796
|
"fields": [],
|
|
@@ -3231,7 +3237,10 @@
|
|
|
3231
3237
|
"isOverride": false,
|
|
3232
3238
|
"visibility": "Public",
|
|
3233
3239
|
"declaringClrType": "System.Buffers.MemoryPool\u00601",
|
|
3234
|
-
"declaringAssemblyName": "System.Memory"
|
|
3240
|
+
"declaringAssemblyName": "System.Memory",
|
|
3241
|
+
"emitSemantics": {
|
|
3242
|
+
"callableStaticAccessorKind": "property"
|
|
3243
|
+
}
|
|
3235
3244
|
},
|
|
3236
3245
|
{
|
|
3237
3246
|
"stableId": "System.Memory:System.Buffers.MemoryPool\u00601::MaxBufferSize:System.Int32",
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Buffers
|
|
3
3
|
// Assembly: System.Memory, System.Private.CoreLib
|
|
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 { 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
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { MethodInfo } from "../../System.Reflection/internal/index.js";
|
|
@@ -24,13 +22,13 @@ export enum OperationStatus {
|
|
|
24
22
|
}
|
|
25
23
|
|
|
26
24
|
|
|
27
|
-
export type ReadOnlySpanAction_2<T, TArg> = (span: ReadOnlySpan_1<T>, arg: TArg) => void;
|
|
25
|
+
export type ReadOnlySpanAction_2<T extends unknown, TArg extends unknown> = (span: ReadOnlySpan_1<T>, arg: TArg) => void;
|
|
28
26
|
|
|
29
27
|
|
|
30
|
-
export type SpanAction_2<T, TArg> = (span: Span_1<T>, arg: TArg) => void;
|
|
28
|
+
export type SpanAction_2<T extends unknown, TArg extends unknown> = (span: Span_1<T>, arg: TArg) => void;
|
|
31
29
|
|
|
32
30
|
|
|
33
|
-
export interface IBufferWriter_1$instance<T> {
|
|
31
|
+
export interface IBufferWriter_1$instance<T extends unknown> {
|
|
34
32
|
readonly __tsonic_iface_System_Buffers_IBufferWriter_1: never;
|
|
35
33
|
|
|
36
34
|
Advance(count: int): void;
|
|
@@ -39,9 +37,9 @@ export interface IBufferWriter_1$instance<T> {
|
|
|
39
37
|
}
|
|
40
38
|
|
|
41
39
|
|
|
42
|
-
export type IBufferWriter_1<T> = IBufferWriter_1$instance<T>;
|
|
40
|
+
export type IBufferWriter_1<T extends unknown> = IBufferWriter_1$instance<T>;
|
|
43
41
|
|
|
44
|
-
export interface IMemoryOwner_1$instance<T> extends IDisposable {
|
|
42
|
+
export interface IMemoryOwner_1$instance<T extends unknown> extends IDisposable {
|
|
45
43
|
readonly __tsonic_iface_System_Buffers_IMemoryOwner_1: never;
|
|
46
44
|
|
|
47
45
|
readonly Memory: Memory_1<T>;
|
|
@@ -49,9 +47,9 @@ export interface IMemoryOwner_1$instance<T> extends IDisposable {
|
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
|
|
52
|
-
export interface IMemoryOwner_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
50
|
+
export interface IMemoryOwner_1$instance<T extends unknown> extends System_Internal.IDisposable$instance {}
|
|
53
51
|
|
|
54
|
-
export type IMemoryOwner_1<T> = IMemoryOwner_1$instance<T>;
|
|
52
|
+
export type IMemoryOwner_1<T extends unknown> = IMemoryOwner_1$instance<T>;
|
|
55
53
|
|
|
56
54
|
export interface IPinnable$instance {
|
|
57
55
|
readonly __tsonic_iface_System_Buffers_IPinnable: never;
|
|
@@ -74,7 +72,7 @@ export interface MemoryHandle$instance extends System_Internal.IDisposable$insta
|
|
|
74
72
|
|
|
75
73
|
|
|
76
74
|
export const MemoryHandle: {
|
|
77
|
-
new(pointer: ptr<void>, handle: GCHandle, pinnable: IPinnable): MemoryHandle;
|
|
75
|
+
new(pointer: ptr<void>, handle: GCHandle, pinnable: IPinnable | null): MemoryHandle;
|
|
78
76
|
};
|
|
79
77
|
|
|
80
78
|
|
|
@@ -85,7 +83,7 @@ export interface __MemoryHandle$views {
|
|
|
85
83
|
export type MemoryHandle = MemoryHandle$instance & __MemoryHandle$views;
|
|
86
84
|
|
|
87
85
|
|
|
88
|
-
export interface ReadOnlySequence_1$instance<T> {
|
|
86
|
+
export interface ReadOnlySequence_1$instance<T extends unknown> {
|
|
89
87
|
readonly __tsonic_type_System_Buffers_ReadOnlySequence_1: never;
|
|
90
88
|
|
|
91
89
|
readonly End: SequencePosition;
|
|
@@ -114,17 +112,17 @@ export interface ReadOnlySequence_1$instance<T> {
|
|
|
114
112
|
|
|
115
113
|
|
|
116
114
|
export const ReadOnlySequence_1: {
|
|
117
|
-
new<T>(startSegment: ReadOnlySequenceSegment_1<T>, startIndex: int, endSegment: ReadOnlySequenceSegment_1<T>, endIndex: int): ReadOnlySequence_1<T>;
|
|
118
|
-
new<T>(array: T[]): ReadOnlySequence_1<T>;
|
|
119
|
-
new<T>(array: T[], start: int, length: int): ReadOnlySequence_1<T>;
|
|
120
|
-
new<T>(memory: ReadOnlyMemory_1<T>): ReadOnlySequence_1<T>;
|
|
121
|
-
readonly Empty: unknown
|
|
115
|
+
new<T extends unknown>(startSegment: ReadOnlySequenceSegment_1<T>, startIndex: int, endSegment: ReadOnlySequenceSegment_1<T>, endIndex: int): ReadOnlySequence_1<T>;
|
|
116
|
+
new<T extends unknown>(array: T[]): ReadOnlySequence_1<T>;
|
|
117
|
+
new<T extends unknown>(array: T[], start: int, length: int): ReadOnlySequence_1<T>;
|
|
118
|
+
new<T extends unknown>(memory: ReadOnlyMemory_1<T>): ReadOnlySequence_1<T>;
|
|
119
|
+
readonly Empty: <T extends unknown>() => ReadOnlySequence_1<T>;
|
|
122
120
|
};
|
|
123
121
|
|
|
124
122
|
|
|
125
|
-
export type ReadOnlySequence_1<T> = ReadOnlySequence_1$instance<T>;
|
|
123
|
+
export type ReadOnlySequence_1<T extends unknown> = ReadOnlySequence_1$instance<T>;
|
|
126
124
|
|
|
127
|
-
export interface ReadOnlySequence_1_Enumerator$instance<T> {
|
|
125
|
+
export interface ReadOnlySequence_1_Enumerator$instance<T extends unknown> {
|
|
128
126
|
readonly __tsonic_type_System_Buffers_ReadOnlySequence_1_Enumerator: never;
|
|
129
127
|
|
|
130
128
|
readonly Current: ReadOnlyMemory_1<T>;
|
|
@@ -133,13 +131,13 @@ export interface ReadOnlySequence_1_Enumerator$instance<T> {
|
|
|
133
131
|
|
|
134
132
|
|
|
135
133
|
export const ReadOnlySequence_1_Enumerator: {
|
|
136
|
-
new<T>(sequence: ReadOnlySequence_1<T>): ReadOnlySequence_1_Enumerator<T>;
|
|
134
|
+
new<T extends unknown>(sequence: ReadOnlySequence_1<T>): ReadOnlySequence_1_Enumerator<T>;
|
|
137
135
|
};
|
|
138
136
|
|
|
139
137
|
|
|
140
|
-
export type ReadOnlySequence_1_Enumerator<T> = ReadOnlySequence_1_Enumerator$instance<T>;
|
|
138
|
+
export type ReadOnlySequence_1_Enumerator<T extends unknown> = ReadOnlySequence_1_Enumerator$instance<T>;
|
|
141
139
|
|
|
142
|
-
export interface SequenceReader_1$instance<T extends (IEquatable_1<T> | number | string | boolean)> {
|
|
140
|
+
export interface SequenceReader_1$instance<T extends NonNullable<unknown> & (IEquatable_1<T> | number | string | boolean)> {
|
|
143
141
|
readonly __tsonic_type_System_Buffers_SequenceReader_1: never;
|
|
144
142
|
|
|
145
143
|
Consumed: long;
|
|
@@ -181,11 +179,11 @@ export interface SequenceReader_1$instance<T extends (IEquatable_1<T> | number |
|
|
|
181
179
|
|
|
182
180
|
|
|
183
181
|
export const SequenceReader_1: {
|
|
184
|
-
new<T extends (IEquatable_1<T> | number | string | boolean)>(sequence: ReadOnlySequence_1<T>): SequenceReader_1<T>;
|
|
182
|
+
new<T extends NonNullable<unknown> & (IEquatable_1<T> | number | string | boolean)>(sequence: ReadOnlySequence_1<T>): SequenceReader_1<T>;
|
|
185
183
|
};
|
|
186
184
|
|
|
187
185
|
|
|
188
|
-
export type SequenceReader_1<T extends (IEquatable_1<T> | number | string | boolean)> = SequenceReader_1$instance<T>;
|
|
186
|
+
export type SequenceReader_1<T extends NonNullable<unknown> & (IEquatable_1<T> | number | string | boolean)> = SequenceReader_1$instance<T>;
|
|
189
187
|
|
|
190
188
|
export interface StandardFormat$instance {
|
|
191
189
|
readonly __tsonic_type_System_Buffers_StandardFormat: never;
|
|
@@ -196,7 +194,7 @@ export interface StandardFormat$instance {
|
|
|
196
194
|
readonly IsDefault: boolean;
|
|
197
195
|
readonly Precision: byte;
|
|
198
196
|
readonly Symbol: char;
|
|
199
|
-
Equals(obj: unknown): boolean;
|
|
197
|
+
Equals(obj: unknown | null): boolean;
|
|
200
198
|
Equals(other: StandardFormat): boolean;
|
|
201
199
|
GetHashCode(): int;
|
|
202
200
|
ToString(): string;
|
|
@@ -208,7 +206,7 @@ export const StandardFormat: {
|
|
|
208
206
|
readonly NoPrecision: byte;
|
|
209
207
|
readonly MaxPrecision: byte;
|
|
210
208
|
Parse(format: ReadOnlySpan_1<System_Internal.Char>): StandardFormat;
|
|
211
|
-
Parse(format: string): StandardFormat;
|
|
209
|
+
Parse(format: string | null): StandardFormat;
|
|
212
210
|
TryParse(format: ReadOnlySpan_1<System_Internal.Char>, result: StandardFormat): boolean;
|
|
213
211
|
};
|
|
214
212
|
|
|
@@ -223,7 +221,7 @@ export interface __StandardFormat$views {
|
|
|
223
221
|
export type StandardFormat = StandardFormat$instance & __StandardFormat$views;
|
|
224
222
|
|
|
225
223
|
|
|
226
|
-
export interface ArrayBufferWriter_1$instance<T> extends IBufferWriter_1$instance<T> {
|
|
224
|
+
export interface ArrayBufferWriter_1$instance<T extends unknown> extends IBufferWriter_1$instance<T> {
|
|
227
225
|
readonly __tsonic_type_System_Buffers_ArrayBufferWriter_1: never;
|
|
228
226
|
|
|
229
227
|
readonly __tsonic_iface_System_Buffers_IBufferWriter_1: never;
|
|
@@ -242,19 +240,19 @@ export interface ArrayBufferWriter_1$instance<T> extends IBufferWriter_1$instanc
|
|
|
242
240
|
|
|
243
241
|
|
|
244
242
|
export const ArrayBufferWriter_1: {
|
|
245
|
-
new<T>(): ArrayBufferWriter_1<T>;
|
|
246
|
-
new<T>(initialCapacity: int): ArrayBufferWriter_1<T>;
|
|
243
|
+
new<T extends unknown>(): ArrayBufferWriter_1<T>;
|
|
244
|
+
new<T extends unknown>(initialCapacity: int): ArrayBufferWriter_1<T>;
|
|
247
245
|
};
|
|
248
246
|
|
|
249
247
|
|
|
250
|
-
export interface __ArrayBufferWriter_1$views<T> {
|
|
248
|
+
export interface __ArrayBufferWriter_1$views<T extends unknown> {
|
|
251
249
|
As_IBufferWriter_1(): IBufferWriter_1$instance<T>;
|
|
252
250
|
}
|
|
253
251
|
|
|
254
|
-
export type ArrayBufferWriter_1<T> = ArrayBufferWriter_1$instance<T> & __ArrayBufferWriter_1$views<T>;
|
|
252
|
+
export type ArrayBufferWriter_1<T extends unknown> = ArrayBufferWriter_1$instance<T> & __ArrayBufferWriter_1$views<T>;
|
|
255
253
|
|
|
256
254
|
|
|
257
|
-
export interface ArrayPool_1$instance<T> {
|
|
255
|
+
export interface ArrayPool_1$instance<T extends unknown> {
|
|
258
256
|
readonly __tsonic_type_System_Buffers_ArrayPool_1: never;
|
|
259
257
|
|
|
260
258
|
Rent(minimumLength: int): T[];
|
|
@@ -262,16 +260,16 @@ export interface ArrayPool_1$instance<T> {
|
|
|
262
260
|
}
|
|
263
261
|
|
|
264
262
|
|
|
265
|
-
export const ArrayPool_1: (abstract new<T>() => ArrayPool_1<T>) & {
|
|
266
|
-
readonly Shared: unknown
|
|
267
|
-
Create<T>(): ArrayPool_1<T>;
|
|
268
|
-
Create<T>(maxArrayLength: int, maxArraysPerBucket: int): ArrayPool_1<T>;
|
|
263
|
+
export const ArrayPool_1: (abstract new<T extends unknown>() => ArrayPool_1<T>) & {
|
|
264
|
+
readonly Shared: <T extends unknown>() => ArrayPool_1<T>;
|
|
265
|
+
Create<T extends unknown>(): ArrayPool_1<T>;
|
|
266
|
+
Create<T extends unknown>(maxArrayLength: int, maxArraysPerBucket: int): ArrayPool_1<T>;
|
|
269
267
|
};
|
|
270
268
|
|
|
271
269
|
|
|
272
|
-
export type ArrayPool_1<T> = ArrayPool_1$instance<T>;
|
|
270
|
+
export type ArrayPool_1<T extends unknown> = ArrayPool_1$instance<T>;
|
|
273
271
|
|
|
274
|
-
export interface MemoryManager_1$instance<T> {
|
|
272
|
+
export interface MemoryManager_1$instance<T extends unknown> {
|
|
275
273
|
readonly __tsonic_type_System_Buffers_MemoryManager_1: never;
|
|
276
274
|
|
|
277
275
|
readonly __tsonic_iface_System_Buffers_IMemoryOwner_1: never;
|
|
@@ -287,20 +285,20 @@ export interface MemoryManager_1$instance<T> {
|
|
|
287
285
|
}
|
|
288
286
|
|
|
289
287
|
|
|
290
|
-
export const MemoryManager_1: (abstract new<T>() => MemoryManager_1<T>) & {
|
|
288
|
+
export const MemoryManager_1: (abstract new<T extends unknown>() => MemoryManager_1<T>) & {
|
|
291
289
|
};
|
|
292
290
|
|
|
293
291
|
|
|
294
|
-
export interface __MemoryManager_1$views<T> {
|
|
292
|
+
export interface __MemoryManager_1$views<T extends unknown> {
|
|
295
293
|
As_IMemoryOwner_1(): IMemoryOwner_1$instance<T>;
|
|
296
294
|
As_IPinnable(): IPinnable$instance;
|
|
297
295
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
298
296
|
}
|
|
299
297
|
|
|
300
|
-
export type MemoryManager_1<T> = MemoryManager_1$instance<T> & __MemoryManager_1$views<T>;
|
|
298
|
+
export type MemoryManager_1<T extends unknown> = MemoryManager_1$instance<T> & __MemoryManager_1$views<T>;
|
|
301
299
|
|
|
302
300
|
|
|
303
|
-
export interface MemoryPool_1$instance<T> {
|
|
301
|
+
export interface MemoryPool_1$instance<T extends unknown> {
|
|
304
302
|
readonly __tsonic_type_System_Buffers_MemoryPool_1: never;
|
|
305
303
|
|
|
306
304
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -312,35 +310,35 @@ export interface MemoryPool_1$instance<T> {
|
|
|
312
310
|
}
|
|
313
311
|
|
|
314
312
|
|
|
315
|
-
export const MemoryPool_1: (abstract new<T>() => MemoryPool_1<T>) & {
|
|
316
|
-
readonly Shared: unknown
|
|
313
|
+
export const MemoryPool_1: (abstract new<T extends unknown>() => MemoryPool_1<T>) & {
|
|
314
|
+
readonly Shared: <T extends unknown>() => MemoryPool_1<T>;
|
|
317
315
|
};
|
|
318
316
|
|
|
319
317
|
|
|
320
|
-
export interface __MemoryPool_1$views<T> {
|
|
318
|
+
export interface __MemoryPool_1$views<T extends unknown> {
|
|
321
319
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
322
320
|
}
|
|
323
321
|
|
|
324
|
-
export type MemoryPool_1<T> = MemoryPool_1$instance<T> & __MemoryPool_1$views<T>;
|
|
322
|
+
export type MemoryPool_1<T extends unknown> = MemoryPool_1$instance<T> & __MemoryPool_1$views<T>;
|
|
325
323
|
|
|
326
324
|
|
|
327
|
-
export interface ReadOnlySequenceSegment_1$instance<T> {
|
|
325
|
+
export interface ReadOnlySequenceSegment_1$instance<T extends unknown> {
|
|
328
326
|
readonly __tsonic_type_System_Buffers_ReadOnlySequenceSegment_1: never;
|
|
329
327
|
|
|
330
328
|
Memory: ReadOnlyMemory_1<T>;
|
|
331
|
-
get Next(): ReadOnlySequenceSegment_1<T> |
|
|
332
|
-
set Next(value: ReadOnlySequenceSegment_1<T> |
|
|
329
|
+
get Next(): ReadOnlySequenceSegment_1<T> | null;
|
|
330
|
+
set Next(value: ReadOnlySequenceSegment_1<T> | null);
|
|
333
331
|
RunningIndex: long;
|
|
334
332
|
}
|
|
335
333
|
|
|
336
334
|
|
|
337
|
-
export const ReadOnlySequenceSegment_1: (abstract new<T>() => ReadOnlySequenceSegment_1<T>) & {
|
|
335
|
+
export const ReadOnlySequenceSegment_1: (abstract new<T extends unknown>() => ReadOnlySequenceSegment_1<T>) & {
|
|
338
336
|
};
|
|
339
337
|
|
|
340
338
|
|
|
341
|
-
export type ReadOnlySequenceSegment_1<T> = ReadOnlySequenceSegment_1$instance<T>;
|
|
339
|
+
export type ReadOnlySequenceSegment_1<T extends unknown> = ReadOnlySequenceSegment_1$instance<T>;
|
|
342
340
|
|
|
343
|
-
export interface SearchValues_1$instance<T extends (IEquatable_1<T> | number | string | boolean)> {
|
|
341
|
+
export interface SearchValues_1$instance<T extends unknown & (IEquatable_1<T> | number | string | boolean)> {
|
|
344
342
|
readonly __tsonic_type_System_Buffers_SearchValues_1: never;
|
|
345
343
|
|
|
346
344
|
Contains(value: T): boolean;
|
|
@@ -351,13 +349,13 @@ export const SearchValues_1: {
|
|
|
351
349
|
};
|
|
352
350
|
|
|
353
351
|
|
|
354
|
-
export type SearchValues_1<T extends (IEquatable_1<T> | number | string | boolean)> = SearchValues_1$instance<T>;
|
|
352
|
+
export type SearchValues_1<T extends unknown & (IEquatable_1<T> | number | string | boolean)> = SearchValues_1$instance<T>;
|
|
355
353
|
|
|
356
354
|
export abstract class BuffersExtensions$instance {
|
|
357
|
-
static CopyTo<T>(source: ReadOnlySequence_1<T>, destination: Span_1<T>): void;
|
|
358
|
-
static PositionOf<T extends IEquatable_1<T>>(source: ReadOnlySequence_1<T>, value: T): Nullable_1<SequencePosition>;
|
|
359
|
-
static ToArray<T>(sequence: ReadOnlySequence_1<T>): T[];
|
|
360
|
-
static Write<T>(writer: IBufferWriter_1<T>, value: ReadOnlySpan_1<T>): void;
|
|
355
|
+
static CopyTo<T extends unknown>(source: ReadOnlySequence_1<T>, destination: Span_1<T>): void;
|
|
356
|
+
static PositionOf<T extends unknown & IEquatable_1<T>>(source: ReadOnlySequence_1<T>, value: T): Nullable_1<SequencePosition>;
|
|
357
|
+
static ToArray<T extends unknown>(sequence: ReadOnlySequence_1<T>): T[];
|
|
358
|
+
static Write<T extends unknown>(writer: IBufferWriter_1<T>, value: ReadOnlySpan_1<T>): void;
|
|
361
359
|
}
|
|
362
360
|
|
|
363
361
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Buffers.Binary
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
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 { 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
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as System_Internal from "../../System/internal/index.js";
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Buffers.Binary/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { Boolean as ClrBoolean, Byte, Double, Half, Int128, Int16, Int32, Int64, IntPtr, Object as ClrObject, ReadOnlySpan_1, SByte, Single, Span_1, String as ClrString, Type, UInt128, UInt16, UInt32, UInt64, UIntPtr, Void } from './System/internal/index.js';
|
|
10
14
|
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Buffers.Text
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
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 { 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
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { OperationStatus, StandardFormat } from "../../System.Buffers/internal/index.js";
|
package/System.Buffers.Text.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Buffers.Text/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { OperationStatus, StandardFormat } from './System.Buffers/internal/index.js';
|
|
10
14
|
import type { Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeOffset, Decimal, Double, Guid, Int16, Int32, Int64, Object as ClrObject, ReadOnlySpan_1, SByte, Single, Span_1, String as ClrString, TimeSpan, Type, UInt16, UInt32, UInt64, Void } from './System/internal/index.js';
|
package/System.Buffers.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Buffers/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { MethodInfo } from './System.Reflection/internal/index.js';
|
|
10
14
|
import type { GCHandle } from './System.Runtime.InteropServices/internal/index.js';
|
|
@@ -13,17 +17,17 @@ import type { ArraySegment_1, AsyncCallback, Boolean as ClrBoolean, Byte, Char,
|
|
|
13
17
|
|
|
14
18
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
15
19
|
export { BuffersExtensions$instance as BuffersExtensions } from './System.Buffers/internal/index.js';
|
|
16
|
-
export type IBufferWriter<T> = Internal.IBufferWriter_1<T>;
|
|
20
|
+
export type IBufferWriter<T extends unknown> = Internal.IBufferWriter_1<T>;
|
|
17
21
|
export { MemoryPool_1 as MemoryPool } from './System.Buffers/internal/index.js';
|
|
18
22
|
export { ReadOnlySequence_1 as ReadOnlySequence } from './System.Buffers/internal/index.js';
|
|
19
23
|
export { ReadOnlySequenceSegment_1 as ReadOnlySequenceSegment } from './System.Buffers/internal/index.js';
|
|
20
24
|
export { SequenceReader_1 as SequenceReader } from './System.Buffers/internal/index.js';
|
|
21
25
|
export { SequenceReaderExtensions$instance as SequenceReaderExtensions } from './System.Buffers/internal/index.js';
|
|
22
26
|
export { ArrayBufferWriter_1 as ArrayBufferWriter } from './System.Buffers/internal/index.js';
|
|
23
|
-
export type SpanAction<T, TArg> = Internal.SpanAction_2<T, TArg>;
|
|
24
|
-
export type ReadOnlySpanAction<T, TArg> = Internal.ReadOnlySpanAction_2<T, TArg>;
|
|
27
|
+
export type SpanAction<T extends unknown, TArg extends unknown> = Internal.SpanAction_2<T, TArg>;
|
|
28
|
+
export type ReadOnlySpanAction<T extends unknown, TArg extends unknown> = Internal.ReadOnlySpanAction_2<T, TArg>;
|
|
25
29
|
export { ArrayPool_1 as ArrayPool } from './System.Buffers/internal/index.js';
|
|
26
|
-
export type IMemoryOwner<T> = Internal.IMemoryOwner_1<T>;
|
|
30
|
+
export type IMemoryOwner<T extends unknown> = Internal.IMemoryOwner_1<T>;
|
|
27
31
|
export type IPinnable = Internal.IPinnable;
|
|
28
32
|
export { MemoryHandle as MemoryHandle } from './System.Buffers/internal/index.js';
|
|
29
33
|
export { MemoryManager_1 as MemoryManager } from './System.Buffers/internal/index.js';
|
|
@@ -38,10 +42,10 @@ declare const __unspecified: unique symbol;
|
|
|
38
42
|
export type __ = typeof __unspecified;
|
|
39
43
|
|
|
40
44
|
export type SearchValues<
|
|
41
|
-
T1 = __,
|
|
45
|
+
T1 extends unknown & IEquatable_1<T1> | __ = __,
|
|
42
46
|
> =
|
|
43
47
|
[T1] extends [__] ? Internal.SearchValues :
|
|
44
|
-
[T1] extends [IEquatable_1<T1>] ? Internal.SearchValues_1<T1> : never;
|
|
48
|
+
[T1] extends [unknown & IEquatable_1<T1>] ? Internal.SearchValues_1<T1> : never;
|
|
45
49
|
|
|
46
50
|
// Extension methods (C# using semantics)
|
|
47
51
|
export type { ExtensionMethods_System_Buffers as ExtensionMethods } from './__internal/extensions/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.CodeDom.Compiler
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
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 { 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 * as System_IO_Internal from "../../System.IO/internal/index.js";
|
|
@@ -17,19 +18,19 @@ import type { Attribute, Boolean as ClrBoolean, Char, Decimal, Double, IAsyncDis
|
|
|
17
18
|
export interface GeneratedCodeAttribute$instance extends Attribute {
|
|
18
19
|
readonly __tsonic_type_System_CodeDom_Compiler_GeneratedCodeAttribute: never;
|
|
19
20
|
|
|
20
|
-
readonly Tool: string |
|
|
21
|
-
readonly Version: string |
|
|
21
|
+
readonly Tool: string | null;
|
|
22
|
+
readonly Version: string | null;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
export const GeneratedCodeAttribute: {
|
|
26
|
-
new(tool: string, version: string): GeneratedCodeAttribute;
|
|
27
|
+
new(tool: string | null, version: string | null): GeneratedCodeAttribute;
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
export type GeneratedCodeAttribute = GeneratedCodeAttribute$instance;
|
|
31
32
|
|
|
32
|
-
export interface IndentedTextWriter$instance extends TextWriter {
|
|
33
|
+
export interface IndentedTextWriter$instance extends TextWriter, System_Internal.IAsyncDisposable$instance {
|
|
33
34
|
readonly __tsonic_type_System_CodeDom_Compiler_IndentedTextWriter: never;
|
|
34
35
|
|
|
35
36
|
readonly __tsonic_iface_System_IAsyncDisposable: never;
|
|
@@ -46,62 +47,62 @@ export interface IndentedTextWriter$instance extends TextWriter {
|
|
|
46
47
|
FlushAsync(cancellationToken: CancellationToken): Task;
|
|
47
48
|
OutputTabs(): void;
|
|
48
49
|
OutputTabsAsync(): Task;
|
|
49
|
-
Write(s: string): void;
|
|
50
|
+
Write(s: string | null): void;
|
|
50
51
|
Write(value: boolean): void;
|
|
51
52
|
Write(value: char): void;
|
|
52
|
-
Write(buffer: char[]): void;
|
|
53
|
+
Write(buffer: char[] | null): void;
|
|
53
54
|
Write(buffer: char[], index: int, count: int): void;
|
|
54
55
|
Write(value: double): void;
|
|
55
56
|
Write(value: float): void;
|
|
56
57
|
Write(value: int): void;
|
|
57
58
|
Write(value: long): void;
|
|
58
|
-
Write(value: unknown): void;
|
|
59
|
-
Write(format: string, arg0: unknown): void;
|
|
60
|
-
Write(format: string, arg0: unknown, arg1: unknown): void;
|
|
61
|
-
Write(format: string, ...arg: unknown[]): void;
|
|
59
|
+
Write(value: unknown | null): void;
|
|
60
|
+
Write(format: string, arg0: unknown | null): void;
|
|
61
|
+
Write(format: string, arg0: unknown | null, arg1: unknown | null): void;
|
|
62
|
+
Write(format: string, ...arg: (unknown | null)[]): void;
|
|
62
63
|
Write(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
63
64
|
Write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
64
65
|
Write(value: uint): void;
|
|
65
66
|
Write(value: ulong): void;
|
|
66
67
|
Write(value: decimal): void;
|
|
67
|
-
Write(value: StringBuilder): void;
|
|
68
|
-
Write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
68
|
+
Write(value: StringBuilder | null): void;
|
|
69
|
+
Write(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
|
|
69
70
|
WriteAsync(value: char): Task;
|
|
70
71
|
WriteAsync(buffer: char[], index: int, count: int): Task;
|
|
71
|
-
WriteAsync(value: string): Task;
|
|
72
|
+
WriteAsync(value: string | null): Task;
|
|
72
73
|
WriteAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
73
|
-
WriteAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
74
|
-
WriteAsync(buffer: char[]): Task;
|
|
75
|
-
WriteLine(s: string): void;
|
|
74
|
+
WriteAsync(value: StringBuilder | null, cancellationToken?: CancellationToken): Task;
|
|
75
|
+
WriteAsync(buffer: char[] | null): Task;
|
|
76
|
+
WriteLine(s: string | null): void;
|
|
76
77
|
WriteLine(): void;
|
|
77
78
|
WriteLine(value: boolean): void;
|
|
78
79
|
WriteLine(value: char): void;
|
|
79
|
-
WriteLine(buffer: char[]): void;
|
|
80
|
+
WriteLine(buffer: char[] | null): void;
|
|
80
81
|
WriteLine(buffer: char[], index: int, count: int): void;
|
|
81
82
|
WriteLine(value: double): void;
|
|
82
83
|
WriteLine(value: float): void;
|
|
83
84
|
WriteLine(value: int): void;
|
|
84
85
|
WriteLine(value: long): void;
|
|
85
|
-
WriteLine(value: unknown): void;
|
|
86
|
-
WriteLine(format: string, arg0: unknown): void;
|
|
87
|
-
WriteLine(format: string, arg0: unknown, arg1: unknown): void;
|
|
88
|
-
WriteLine(format: string, ...arg: unknown[]): void;
|
|
86
|
+
WriteLine(value: unknown | null): void;
|
|
87
|
+
WriteLine(format: string, arg0: unknown | null): void;
|
|
88
|
+
WriteLine(format: string, arg0: unknown | null, arg1: unknown | null): void;
|
|
89
|
+
WriteLine(format: string, ...arg: (unknown | null)[]): void;
|
|
89
90
|
WriteLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
90
91
|
WriteLine(value: uint): void;
|
|
91
92
|
WriteLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
92
93
|
WriteLine(value: ulong): void;
|
|
93
94
|
WriteLine(value: decimal): void;
|
|
94
|
-
WriteLine(value: StringBuilder): void;
|
|
95
|
-
WriteLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
95
|
+
WriteLine(value: StringBuilder | null): void;
|
|
96
|
+
WriteLine(format: string, arg0: unknown | null, arg1: unknown | null, arg2: unknown | null): void;
|
|
96
97
|
WriteLineAsync(): Task;
|
|
97
98
|
WriteLineAsync(value: char): Task;
|
|
98
99
|
WriteLineAsync(buffer: char[], index: int, count: int): Task;
|
|
99
|
-
WriteLineAsync(value: string): Task;
|
|
100
|
+
WriteLineAsync(value: string | null): Task;
|
|
100
101
|
WriteLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
101
|
-
WriteLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
102
|
-
WriteLineAsync(buffer: char[]): Task;
|
|
103
|
-
WriteLineNoTabs(s: string): void;
|
|
104
|
-
WriteLineNoTabsAsync(s: string): Task;
|
|
102
|
+
WriteLineAsync(value: StringBuilder | null, cancellationToken?: CancellationToken): Task;
|
|
103
|
+
WriteLineAsync(buffer: char[] | null): Task;
|
|
104
|
+
WriteLineNoTabs(s: string | null): void;
|
|
105
|
+
WriteLineNoTabsAsync(s: string | null): Task;
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.CodeDom.Compiler/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { TextWriter } from './System.IO/internal/index.js';
|
|
10
14
|
import type { Encoding, StringBuilder } from './System.Text/internal/index.js';
|