@tsonic/dotnet 10.0.41 → 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 +1 -1
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +1 -1
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +51 -51
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +116 -116
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +1 -1
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +8 -1
- package/System/bindings.json +204 -124
- package/System/internal/index.d.ts +1041 -1026
- package/System.Buffers/internal/index.d.ts +51 -51
- package/System.Buffers.Binary/internal/index.d.ts +1 -1
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +1 -1
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +14 -14
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +113 -113
- package/System.Collections.Concurrent/bindings.json +93 -93
- package/System.Collections.Concurrent/internal/index.d.ts +65 -65
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +90 -50
- package/System.Collections.Frozen/internal/index.d.ts +35 -33
- package/System.Collections.Frozen.d.ts +6 -2
- package/System.Collections.Generic/bindings.json +932 -612
- package/System.Collections.Generic/internal/index.d.ts +303 -287
- package/System.Collections.Generic.d.ts +19 -15
- package/System.Collections.Immutable/bindings.json +189 -189
- package/System.Collections.Immutable/internal/index.d.ts +235 -234
- package/System.Collections.Immutable.d.ts +21 -17
- package/System.Collections.ObjectModel/bindings.json +229 -229
- package/System.Collections.ObjectModel/internal/index.d.ts +41 -41
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -79
- package/System.Collections.Specialized/internal/index.d.ts +46 -46
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +108 -108
- package/System.ComponentModel/internal/index.d.ts +368 -363
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +78 -78
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +18 -18
- package/System.ComponentModel.Design/internal/index.d.ts +47 -47
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +38 -38
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +4 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +124 -124
- package/System.Data/internal/index.d.ts +156 -156
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +42 -42
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +40 -40
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +251 -231
- package/System.Diagnostics/internal/index.d.ts +167 -154
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +7 -7
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +9 -9
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +86 -86
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +3 -3
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +212 -212
- package/System.Diagnostics.Tracing/internal/index.d.ts +7 -7
- package/System.Diagnostics.Tracing.d.ts +4 -0
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +48 -48
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +36 -35
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/internal/index.d.ts +11 -11
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +19 -19
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +55 -55
- package/System.IO.Compression/internal/index.d.ts +13 -13
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +47 -47
- package/System.IO.Enumeration/internal/index.d.ts +11 -11
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +10 -10
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +1 -1
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +4 -4
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- 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 +703 -701
- package/System.Linq.Expressions/internal/index.d.ts +67 -41
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- 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 +27 -27
- package/System.Net/internal/index.d.ts +53 -53
- package/System.Net.Cache/internal/index.d.ts +1 -1
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +16 -16
- package/System.Net.Http.Headers/bindings.json +66 -26
- package/System.Net.Http.Headers/internal/index.d.ts +26 -24
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- 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 +8 -8
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +3 -3
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +15 -15
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +29 -29
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +9 -9
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +42 -42
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +5 -5
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +3 -3
- package/System.Numerics/internal/index.d.ts +218 -218
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +107 -107
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +27 -25
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +607 -87
- package/System.Reflection.Metadata/internal/index.d.ts +144 -118
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +9 -9
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.PortableExecutable.d.ts +4 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +7 -7
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +7 -7
- package/System.Runtime.CompilerServices/bindings.json +383 -383
- package/System.Runtime.CompilerServices/internal/index.d.ts +226 -226
- package/System.Runtime.CompilerServices.d.ts +20 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +1 -1
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +559 -559
- package/System.Runtime.InteropServices/internal/index.d.ts +182 -182
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +19 -19
- 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 +2 -2
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +38 -38
- package/System.Runtime.InteropServices.JavaScript.d.ts +6 -2
- package/System.Runtime.InteropServices.Marshalling/bindings.json +117 -117
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +81 -81
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +15 -15
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +2 -2
- 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 +4 -4
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/internal/index.d.ts +514 -514
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
- 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 +1 -1
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/internal/index.d.ts +1 -1
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +3 -3
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +102 -102
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -3
- 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 +13 -13
- 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 +2 -2
- 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 +10 -10
- package/System.Security.AccessControl/bindings.json +33 -33
- package/System.Security.AccessControl/internal/index.d.ts +21 -21
- package/System.Security.AccessControl.d.ts +10 -6
- package/System.Security.Authentication/internal/index.d.ts +1 -1
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -3
- 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 +3 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +40 -40
- package/System.Security.Cryptography/internal/index.d.ts +28 -27
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -312
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +10 -10
- 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 +1 -1
- 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 -9
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +8 -8
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +20 -20
- package/System.Text/internal/index.d.ts +48 -48
- package/System.Text.Encodings.Web/internal/index.d.ts +1 -1
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/internal/index.d.ts +109 -109
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +8 -8
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +18 -18
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -67
- 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 +158 -118
- package/System.Text.RegularExpressions/internal/index.d.ts +9 -7
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +19 -19
- package/System.Threading/internal/index.d.ts +97 -97
- package/System.Threading.Channels/internal/index.d.ts +23 -23
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +138 -38
- package/System.Threading.Tasks/internal/index.d.ts +229 -227
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +95 -95
- 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 +9 -9
- 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 +2 -2
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +6 -6
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +2 -2
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +3 -3
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +1 -1
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +29 -29
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +49 -49
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +24 -24
- package/System.Xml.Schema/internal/index.d.ts +24 -24
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +57 -57
- package/System.Xml.Serialization/internal/index.d.ts +49 -49
- package/System.Xml.Serialization.d.ts +4 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +18 -18
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +12 -12
- package/System.Xml.Xsl.Runtime/bindings.json +70 -70
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +21 -21
- 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 +1288 -1293
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Data.Common, System.Private.DataContractSerialization, System.Private.Xml
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -196,7 +196,7 @@ export enum XmlTokenizedType {
|
|
|
196
196
|
export type OnXmlDictionaryReaderClose = (reader: XmlDictionaryReader) => void;
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
export type XmlNodeChangedEventHandler = (sender:
|
|
199
|
+
export type XmlNodeChangedEventHandler = (sender: unknown, e: XmlNodeChangedEventArgs) => void;
|
|
200
200
|
|
|
201
201
|
|
|
202
202
|
export interface IApplicationResourceStreamResolver$instance {
|
|
@@ -331,7 +331,7 @@ export interface UniqueId$instance {
|
|
|
331
331
|
|
|
332
332
|
readonly CharArrayLength: int;
|
|
333
333
|
readonly IsGuid: boolean;
|
|
334
|
-
Equals(obj:
|
|
334
|
+
Equals(obj: unknown | null): boolean;
|
|
335
335
|
GetHashCode(): int;
|
|
336
336
|
ToCharArray(chars: char[], offset: int): int;
|
|
337
337
|
ToString(): string;
|
|
@@ -789,7 +789,7 @@ export interface XmlDictionaryReader$instance extends XmlReader$instance {
|
|
|
789
789
|
ReadArray(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString, array: TimeSpan[], offset: int, count: int): int;
|
|
790
790
|
ReadBooleanArray(localName: string, namespaceUri: string): boolean[];
|
|
791
791
|
ReadBooleanArray(localName: XmlDictionaryString, namespaceUri: XmlDictionaryString): boolean[];
|
|
792
|
-
ReadContentAs(type: Type, namespaceResolver: IXmlNamespaceResolver | null):
|
|
792
|
+
ReadContentAs(type: Type, namespaceResolver: IXmlNamespaceResolver | null): unknown;
|
|
793
793
|
ReadContentAsBase642(): byte[];
|
|
794
794
|
ReadContentAsBase642(buffer: byte[], index: int, count: int): int;
|
|
795
795
|
ReadContentAsBinHex(): byte[];
|
|
@@ -1003,7 +1003,7 @@ export interface XmlDictionaryWriter$instance extends XmlWriter$instance, System
|
|
|
1003
1003
|
WriteValue(value: Guid): void;
|
|
1004
1004
|
WriteValue(value: TimeSpan): void;
|
|
1005
1005
|
WriteValue(value: IStreamProvider): void;
|
|
1006
|
-
WriteValue(value:
|
|
1006
|
+
WriteValue(value: unknown): void;
|
|
1007
1007
|
WriteValue(value: string | null): void;
|
|
1008
1008
|
WriteValue(value: boolean): void;
|
|
1009
1009
|
WriteValue(value: DateTime): void;
|
|
@@ -1322,7 +1322,7 @@ export interface __XmlEntityReference$views {
|
|
|
1322
1322
|
export type XmlEntityReference = XmlEntityReference$instance & __XmlEntityReference$views;
|
|
1323
1323
|
|
|
1324
1324
|
|
|
1325
|
-
export interface XmlException$instance extends SystemException {
|
|
1325
|
+
export interface XmlException$instance extends SystemException, System_Runtime_Serialization_Internal.ISerializable$instance {
|
|
1326
1326
|
readonly __tsonic_type_System_Xml_XmlException: never;
|
|
1327
1327
|
|
|
1328
1328
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
@@ -1580,7 +1580,7 @@ export interface __XmlNodeList$views {
|
|
|
1580
1580
|
export type XmlNodeList = XmlNodeList$instance & __XmlNodeList$views & { readonly [i: number]: XmlNode | null; };
|
|
1581
1581
|
|
|
1582
1582
|
|
|
1583
|
-
export interface XmlNodeReader$instance extends XmlReader$instance {
|
|
1583
|
+
export interface XmlNodeReader$instance extends XmlReader$instance, IXmlNamespaceResolver$instance {
|
|
1584
1584
|
readonly __tsonic_type_System_Xml_XmlNodeReader: never;
|
|
1585
1585
|
|
|
1586
1586
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -1745,7 +1745,7 @@ export interface XmlQualifiedName$instance {
|
|
|
1745
1745
|
readonly IsEmpty: boolean;
|
|
1746
1746
|
Name: string;
|
|
1747
1747
|
Namespace: string;
|
|
1748
|
-
Equals(other:
|
|
1748
|
+
Equals(other: unknown | null): boolean;
|
|
1749
1749
|
GetHashCode(): int;
|
|
1750
1750
|
ToString(): string;
|
|
1751
1751
|
}
|
|
@@ -1817,8 +1817,8 @@ export interface XmlReader$instance {
|
|
|
1817
1817
|
Read(): boolean;
|
|
1818
1818
|
ReadAsync(): Task_1<System_Internal.Boolean>;
|
|
1819
1819
|
ReadAttributeValue(): boolean;
|
|
1820
|
-
ReadContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver | null):
|
|
1821
|
-
ReadContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver | null): Task_1<
|
|
1820
|
+
ReadContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver | null): unknown;
|
|
1821
|
+
ReadContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver | null): Task_1<unknown>;
|
|
1822
1822
|
ReadContentAsBase64(buffer: byte[], index: int, count: int): int;
|
|
1823
1823
|
ReadContentAsBase64Async(buffer: byte[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1824
1824
|
ReadContentAsBinHex(buffer: byte[], index: int, count: int): int;
|
|
@@ -1831,13 +1831,13 @@ export interface XmlReader$instance {
|
|
|
1831
1831
|
ReadContentAsFloat(): float;
|
|
1832
1832
|
ReadContentAsInt(): int;
|
|
1833
1833
|
ReadContentAsLong(): long;
|
|
1834
|
-
ReadContentAsObject():
|
|
1835
|
-
ReadContentAsObjectAsync(): Task_1<
|
|
1834
|
+
ReadContentAsObject(): unknown;
|
|
1835
|
+
ReadContentAsObjectAsync(): Task_1<unknown>;
|
|
1836
1836
|
ReadContentAsString(): string;
|
|
1837
1837
|
ReadContentAsStringAsync(): Task_1<System_Internal.String>;
|
|
1838
|
-
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver):
|
|
1839
|
-
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver, localName: string, namespaceURI: string):
|
|
1840
|
-
ReadElementContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver): Task_1<
|
|
1838
|
+
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver): unknown;
|
|
1839
|
+
ReadElementContentAs(returnType: Type, namespaceResolver: IXmlNamespaceResolver, localName: string, namespaceURI: string): unknown;
|
|
1840
|
+
ReadElementContentAsAsync(returnType: Type, namespaceResolver: IXmlNamespaceResolver): Task_1<unknown>;
|
|
1841
1841
|
ReadElementContentAsBase64(buffer: byte[], index: int, count: int): int;
|
|
1842
1842
|
ReadElementContentAsBase64Async(buffer: byte[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1843
1843
|
ReadElementContentAsBinHex(buffer: byte[], index: int, count: int): int;
|
|
@@ -1856,9 +1856,9 @@ export interface XmlReader$instance {
|
|
|
1856
1856
|
ReadElementContentAsInt(localName: string, namespaceURI: string): int;
|
|
1857
1857
|
ReadElementContentAsLong(): long;
|
|
1858
1858
|
ReadElementContentAsLong(localName: string, namespaceURI: string): long;
|
|
1859
|
-
ReadElementContentAsObject():
|
|
1860
|
-
ReadElementContentAsObject(localName: string, namespaceURI: string):
|
|
1861
|
-
ReadElementContentAsObjectAsync(): Task_1<
|
|
1859
|
+
ReadElementContentAsObject(): unknown;
|
|
1860
|
+
ReadElementContentAsObject(localName: string, namespaceURI: string): unknown;
|
|
1861
|
+
ReadElementContentAsObjectAsync(): Task_1<unknown>;
|
|
1862
1862
|
ReadElementContentAsString(): string;
|
|
1863
1863
|
ReadElementContentAsString(localName: string, namespaceURI: string): string;
|
|
1864
1864
|
ReadElementContentAsStringAsync(): Task_1<System_Internal.String>;
|
|
@@ -1952,8 +1952,8 @@ export interface XmlResolver$instance {
|
|
|
1952
1952
|
readonly __tsonic_type_System_Xml_XmlResolver: never;
|
|
1953
1953
|
|
|
1954
1954
|
Credentials: ICredentials;
|
|
1955
|
-
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null):
|
|
1956
|
-
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<
|
|
1955
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): unknown | null;
|
|
1956
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<unknown>;
|
|
1957
1957
|
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
1958
1958
|
SupportsType(absoluteUri: Uri, type: Type | null): boolean;
|
|
1959
1959
|
}
|
|
@@ -1971,8 +1971,8 @@ export interface XmlSecureResolver$instance extends XmlResolver {
|
|
|
1971
1971
|
readonly __tsonic_type_System_Xml_XmlSecureResolver: never;
|
|
1972
1972
|
|
|
1973
1973
|
Credentials: ICredentials;
|
|
1974
|
-
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null):
|
|
1975
|
-
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<
|
|
1974
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): unknown | null;
|
|
1975
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<unknown>;
|
|
1976
1976
|
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
1977
1977
|
}
|
|
1978
1978
|
|
|
@@ -2051,7 +2051,7 @@ export interface __XmlText$views {
|
|
|
2051
2051
|
export type XmlText = XmlText$instance & __XmlText$views;
|
|
2052
2052
|
|
|
2053
2053
|
|
|
2054
|
-
export interface XmlTextReader$instance extends XmlReader$instance, IXmlLineInfo$instance {
|
|
2054
|
+
export interface XmlTextReader$instance extends XmlReader$instance, IXmlLineInfo$instance, IXmlNamespaceResolver$instance {
|
|
2055
2055
|
readonly __tsonic_type_System_Xml_XmlTextReader: never;
|
|
2056
2056
|
|
|
2057
2057
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -2215,8 +2215,8 @@ export interface XmlUrlResolver$instance extends XmlResolver {
|
|
|
2215
2215
|
CachePolicy: RequestCachePolicy;
|
|
2216
2216
|
Credentials: ICredentials;
|
|
2217
2217
|
Proxy: IWebProxy | null;
|
|
2218
|
-
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null):
|
|
2219
|
-
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<
|
|
2218
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): unknown | null;
|
|
2219
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<unknown>;
|
|
2220
2220
|
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
2221
2221
|
}
|
|
2222
2222
|
|
|
@@ -2228,7 +2228,7 @@ export const XmlUrlResolver: {
|
|
|
2228
2228
|
|
|
2229
2229
|
export type XmlUrlResolver = XmlUrlResolver$instance;
|
|
2230
2230
|
|
|
2231
|
-
export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLineInfo$instance {
|
|
2231
|
+
export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLineInfo$instance, IXmlNamespaceResolver$instance {
|
|
2232
2232
|
readonly __tsonic_type_System_Xml_XmlValidatingReader: never;
|
|
2233
2233
|
|
|
2234
2234
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -2259,7 +2259,7 @@ export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLi
|
|
|
2259
2259
|
readonly Reader: XmlReader;
|
|
2260
2260
|
readonly ReadState: ReadState;
|
|
2261
2261
|
readonly Schemas: XmlSchemaCollection;
|
|
2262
|
-
readonly SchemaType:
|
|
2262
|
+
readonly SchemaType: unknown | null;
|
|
2263
2263
|
ValidationType: ValidationType;
|
|
2264
2264
|
readonly Value: string;
|
|
2265
2265
|
readonly XmlLang: string;
|
|
@@ -2284,7 +2284,7 @@ export interface XmlValidatingReader$instance extends XmlReader$instance, IXmlLi
|
|
|
2284
2284
|
ReadElementContentAsBase64(buffer: byte[], index: int, count: int): int;
|
|
2285
2285
|
ReadElementContentAsBinHex(buffer: byte[], index: int, count: int): int;
|
|
2286
2286
|
ReadString(): string;
|
|
2287
|
-
ReadTypedValue():
|
|
2287
|
+
ReadTypedValue(): unknown | null;
|
|
2288
2288
|
ResolveEntity(): void;
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
@@ -2422,7 +2422,7 @@ export interface XmlWriter$instance extends System_Internal.IAsyncDisposable$ins
|
|
|
2422
2422
|
WriteStringAsync(text: string | null): Task;
|
|
2423
2423
|
WriteSurrogateCharEntity(lowChar: char, highChar: char): void;
|
|
2424
2424
|
WriteSurrogateCharEntityAsync(lowChar: char, highChar: char): Task;
|
|
2425
|
-
WriteValue(value:
|
|
2425
|
+
WriteValue(value: unknown): void;
|
|
2426
2426
|
WriteValue(value: string | null): void;
|
|
2427
2427
|
WriteValue(value: boolean): void;
|
|
2428
2428
|
WriteValue(value: DateTime): void;
|
|
@@ -5023,7 +5023,7 @@
|
|
|
5023
5023
|
{
|
|
5024
5024
|
"stableId": "System.Private.CoreLib:System.Collections.Generic.IComparer\u00601::Compare(T,T):System.Int32",
|
|
5025
5025
|
"clrName": "Compare",
|
|
5026
|
-
"metadataToken":
|
|
5026
|
+
"metadataToken": 100704550,
|
|
5027
5027
|
"canonicalSignature": "(T,T):System.Int32",
|
|
5028
5028
|
"normalizedSignature": "Compare|(T,T):System.Int32|static=false",
|
|
5029
5029
|
"emitScope": "ViewOnly",
|
|
@@ -5044,7 +5044,7 @@
|
|
|
5044
5044
|
{
|
|
5045
5045
|
"stableId": "System.Private.CoreLib:System.Collections.IComparer::Compare(System.Object,System.Object):System.Int32",
|
|
5046
5046
|
"clrName": "Compare",
|
|
5047
|
-
"metadataToken":
|
|
5047
|
+
"metadataToken": 100703835,
|
|
5048
5048
|
"canonicalSignature": "(System.Object,System.Object):System.Int32",
|
|
5049
5049
|
"normalizedSignature": "Compare|(System.Object,System.Object):System.Int32|static=false",
|
|
5050
5050
|
"emitScope": "ViewOnly",
|
|
@@ -5152,7 +5152,7 @@
|
|
|
5152
5152
|
{
|
|
5153
5153
|
"stableId": "System.Private.CoreLib:System.Collections.Generic.IEqualityComparer\u00601::Equals(T,T):System.Boolean",
|
|
5154
5154
|
"clrName": "Equals",
|
|
5155
|
-
"metadataToken":
|
|
5155
|
+
"metadataToken": 100704567,
|
|
5156
5156
|
"canonicalSignature": "(T,T):System.Boolean",
|
|
5157
5157
|
"normalizedSignature": "Equals|(T,T):System.Boolean|static=false",
|
|
5158
5158
|
"emitScope": "ViewOnly",
|
|
@@ -5173,7 +5173,7 @@
|
|
|
5173
5173
|
{
|
|
5174
5174
|
"stableId": "System.Private.CoreLib:System.Collections.Generic.IEqualityComparer\u00601::GetHashCode(T):System.Int32",
|
|
5175
5175
|
"clrName": "GetHashCode",
|
|
5176
|
-
"metadataToken":
|
|
5176
|
+
"metadataToken": 100704568,
|
|
5177
5177
|
"canonicalSignature": "(T):System.Int32",
|
|
5178
5178
|
"normalizedSignature": "GetHashCode|(T):System.Int32|static=false",
|
|
5179
5179
|
"emitScope": "ViewOnly",
|
|
@@ -5194,7 +5194,7 @@
|
|
|
5194
5194
|
{
|
|
5195
5195
|
"stableId": "System.Private.CoreLib:System.Collections.IEqualityComparer::Equals(System.Object,System.Object):System.Boolean",
|
|
5196
5196
|
"clrName": "Equals",
|
|
5197
|
-
"metadataToken":
|
|
5197
|
+
"metadataToken": 100703854,
|
|
5198
5198
|
"canonicalSignature": "(System.Object,System.Object):System.Boolean",
|
|
5199
5199
|
"normalizedSignature": "Equals|(System.Object,System.Object):System.Boolean|static=false",
|
|
5200
5200
|
"emitScope": "ViewOnly",
|
|
@@ -5215,7 +5215,7 @@
|
|
|
5215
5215
|
{
|
|
5216
5216
|
"stableId": "System.Private.CoreLib:System.Collections.IEqualityComparer::GetHashCode(System.Object):System.Int32",
|
|
5217
5217
|
"clrName": "GetHashCode",
|
|
5218
|
-
"metadataToken":
|
|
5218
|
+
"metadataToken": 100703855,
|
|
5219
5219
|
"canonicalSignature": "(System.Object):System.Int32",
|
|
5220
5220
|
"normalizedSignature": "GetHashCode|(System.Object):System.Int32|static=false",
|
|
5221
5221
|
"emitScope": "ViewOnly",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Private.Xml.Linq
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -65,13 +65,13 @@ export interface XAttribute$instance extends XObject$instance, System_Xml_Intern
|
|
|
65
65
|
readonly PreviousAttribute: XAttribute | null;
|
|
66
66
|
Value: string;
|
|
67
67
|
Remove(): void;
|
|
68
|
-
SetValue(value:
|
|
68
|
+
SetValue(value: unknown): void;
|
|
69
69
|
ToString(): string;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
export const XAttribute: {
|
|
74
|
-
new(name: XName, value:
|
|
74
|
+
new(name: XName, value: unknown): XAttribute;
|
|
75
75
|
new(other: XAttribute): XAttribute;
|
|
76
76
|
readonly EmptySequence: IEnumerable_1<XAttribute>;
|
|
77
77
|
};
|
|
@@ -140,10 +140,10 @@ export interface XContainer$instance extends XNode$instance, System_Xml_Internal
|
|
|
140
140
|
|
|
141
141
|
readonly FirstNode: XNode | null;
|
|
142
142
|
readonly LastNode: XNode | null;
|
|
143
|
-
Add(content:
|
|
144
|
-
Add(...content: (
|
|
145
|
-
AddFirst(content:
|
|
146
|
-
AddFirst(...content: (
|
|
143
|
+
Add(content: unknown | null): void;
|
|
144
|
+
Add(...content: (unknown | null)[]): void;
|
|
145
|
+
AddFirst(content: unknown | null): void;
|
|
146
|
+
AddFirst(...content: (unknown | null)[]): void;
|
|
147
147
|
CreateWriter(): XmlWriter;
|
|
148
148
|
DescendantNodes(): IEnumerable_1<XNode>;
|
|
149
149
|
Descendants(): IEnumerable_1<XElement>;
|
|
@@ -153,8 +153,8 @@ export interface XContainer$instance extends XNode$instance, System_Xml_Internal
|
|
|
153
153
|
Elements(name: XName | null): IEnumerable_1<XElement>;
|
|
154
154
|
Nodes(): IEnumerable_1<XNode>;
|
|
155
155
|
RemoveNodes(): void;
|
|
156
|
-
ReplaceNodes(content:
|
|
157
|
-
ReplaceNodes(...content: (
|
|
156
|
+
ReplaceNodes(content: unknown | null): void;
|
|
157
|
+
ReplaceNodes(...content: (unknown | null)[]): void;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
|
|
@@ -217,8 +217,8 @@ export interface XDocument$instance extends XContainer$instance, System_Xml_Inte
|
|
|
217
217
|
|
|
218
218
|
export const XDocument: {
|
|
219
219
|
new(): XDocument;
|
|
220
|
-
new(content: (
|
|
221
|
-
new(declaration: XDeclaration | null, content: (
|
|
220
|
+
new(content: (unknown | null)[]): XDocument;
|
|
221
|
+
new(declaration: XDeclaration | null, content: (unknown | null)[]): XDocument;
|
|
222
222
|
new(other: XDocument): XDocument;
|
|
223
223
|
Load(stream: Stream, options: LoadOptions): XDocument;
|
|
224
224
|
Load(stream: Stream): XDocument;
|
|
@@ -301,10 +301,10 @@ export interface XElement$instance extends XContainer$instance, System_Xml_Inter
|
|
|
301
301
|
GetPrefixOfNamespace(ns: XNamespace): string | null;
|
|
302
302
|
RemoveAll(): void;
|
|
303
303
|
RemoveAttributes(): void;
|
|
304
|
-
ReplaceAll(content:
|
|
305
|
-
ReplaceAll(...content: (
|
|
306
|
-
ReplaceAttributes(content:
|
|
307
|
-
ReplaceAttributes(...content: (
|
|
304
|
+
ReplaceAll(content: unknown | null): void;
|
|
305
|
+
ReplaceAll(...content: (unknown | null)[]): void;
|
|
306
|
+
ReplaceAttributes(content: unknown | null): void;
|
|
307
|
+
ReplaceAttributes(...content: (unknown | null)[]): void;
|
|
308
308
|
Save(fileName: string): void;
|
|
309
309
|
Save(fileName: string, options: SaveOptions): void;
|
|
310
310
|
Save(stream: Stream): void;
|
|
@@ -315,9 +315,9 @@ export interface XElement$instance extends XContainer$instance, System_Xml_Inter
|
|
|
315
315
|
SaveAsync(stream: Stream, options: SaveOptions, cancellationToken: CancellationToken): Task;
|
|
316
316
|
SaveAsync(textWriter: TextWriter, options: SaveOptions, cancellationToken: CancellationToken): Task;
|
|
317
317
|
SaveAsync(writer: XmlWriter, cancellationToken: CancellationToken): Task;
|
|
318
|
-
SetAttributeValue(name: XName, value:
|
|
319
|
-
SetElementValue(name: XName, value:
|
|
320
|
-
SetValue(value:
|
|
318
|
+
SetAttributeValue(name: XName, value: unknown | null): void;
|
|
319
|
+
SetElementValue(name: XName, value: unknown | null): void;
|
|
320
|
+
SetValue(value: unknown): void;
|
|
321
321
|
WriteTo(writer: XmlWriter): void;
|
|
322
322
|
WriteToAsync(writer: XmlWriter, cancellationToken: CancellationToken): Task;
|
|
323
323
|
}
|
|
@@ -325,8 +325,8 @@ export interface XElement$instance extends XContainer$instance, System_Xml_Inter
|
|
|
325
325
|
|
|
326
326
|
export const XElement: {
|
|
327
327
|
new(name: XName): XElement;
|
|
328
|
-
new(name: XName, content:
|
|
329
|
-
new(name: XName, content: (
|
|
328
|
+
new(name: XName, content: unknown | null): XElement;
|
|
329
|
+
new(name: XName, content: (unknown | null)[]): XElement;
|
|
330
330
|
new(other: XElement): XElement;
|
|
331
331
|
new(other: XStreamingElement): XElement;
|
|
332
332
|
readonly EmptySequence: IEnumerable_1<XElement>;
|
|
@@ -363,7 +363,7 @@ export interface XName$instance extends System_Runtime_Serialization_Internal.IS
|
|
|
363
363
|
readonly LocalName: string;
|
|
364
364
|
readonly Namespace: XNamespace;
|
|
365
365
|
readonly NamespaceName: string;
|
|
366
|
-
Equals(obj:
|
|
366
|
+
Equals(obj: unknown | null): boolean;
|
|
367
367
|
GetHashCode(): int;
|
|
368
368
|
ToString(): string;
|
|
369
369
|
}
|
|
@@ -390,7 +390,7 @@ export interface XNamespace$instance {
|
|
|
390
390
|
readonly __tsonic_type_System_Xml_Linq_XNamespace: never;
|
|
391
391
|
|
|
392
392
|
readonly NamespaceName: string;
|
|
393
|
-
Equals(obj:
|
|
393
|
+
Equals(obj: unknown | null): boolean;
|
|
394
394
|
GetHashCode(): int;
|
|
395
395
|
GetName(localName: string): XName;
|
|
396
396
|
ToString(): string;
|
|
@@ -414,10 +414,10 @@ export interface XNode$instance extends XObject$instance, System_Xml_Internal.IX
|
|
|
414
414
|
|
|
415
415
|
readonly NextNode: XNode | null;
|
|
416
416
|
readonly PreviousNode: XNode | null;
|
|
417
|
-
AddAfterSelf(content:
|
|
418
|
-
AddAfterSelf(...content: (
|
|
419
|
-
AddBeforeSelf(content:
|
|
420
|
-
AddBeforeSelf(...content: (
|
|
417
|
+
AddAfterSelf(content: unknown | null): void;
|
|
418
|
+
AddAfterSelf(...content: (unknown | null)[]): void;
|
|
419
|
+
AddBeforeSelf(content: unknown | null): void;
|
|
420
|
+
AddBeforeSelf(...content: (unknown | null)[]): void;
|
|
421
421
|
Ancestors(): IEnumerable_1<XElement>;
|
|
422
422
|
Ancestors(name: XName | null): IEnumerable_1<XElement>;
|
|
423
423
|
CreateReader(): XmlReader;
|
|
@@ -431,8 +431,8 @@ export interface XNode$instance extends XObject$instance, System_Xml_Internal.IX
|
|
|
431
431
|
NodesAfterSelf(): IEnumerable_1<XNode>;
|
|
432
432
|
NodesBeforeSelf(): IEnumerable_1<XNode>;
|
|
433
433
|
Remove(): void;
|
|
434
|
-
ReplaceWith(content:
|
|
435
|
-
ReplaceWith(...content: (
|
|
434
|
+
ReplaceWith(content: unknown | null): void;
|
|
435
|
+
ReplaceWith(...content: (unknown | null)[]): void;
|
|
436
436
|
ToString(): string;
|
|
437
437
|
ToString(options: SaveOptions): string;
|
|
438
438
|
WriteTo(writer: XmlWriter): void;
|
|
@@ -487,7 +487,7 @@ export interface XNodeEqualityComparer$instance {
|
|
|
487
487
|
readonly __tsonic_iface_System_Collections_IEqualityComparer: never;
|
|
488
488
|
|
|
489
489
|
Equals(x: XNode | null, y: XNode | null): boolean;
|
|
490
|
-
Equals(obj:
|
|
490
|
+
Equals(obj: unknown | null): boolean;
|
|
491
491
|
GetHashCode(obj: XNode): int;
|
|
492
492
|
GetHashCode(): int;
|
|
493
493
|
}
|
|
@@ -515,13 +515,13 @@ export interface XObject$instance extends System_Xml_Internal.IXmlLineInfo$insta
|
|
|
515
515
|
readonly Document: XDocument | null;
|
|
516
516
|
readonly NodeType: XmlNodeType;
|
|
517
517
|
readonly Parent: XElement | null;
|
|
518
|
-
AddAnnotation(annotation:
|
|
519
|
-
Annotation(type: Type):
|
|
520
|
-
Annotation<T>(): T | null;
|
|
521
|
-
Annotations(type: Type): IEnumerable_1<
|
|
522
|
-
Annotations<T>(): IEnumerable_1<T>;
|
|
518
|
+
AddAnnotation(annotation: unknown): void;
|
|
519
|
+
Annotation(type: Type): unknown | null;
|
|
520
|
+
Annotation<T extends (object | null)>(): T | null;
|
|
521
|
+
Annotations(type: Type): IEnumerable_1<unknown>;
|
|
522
|
+
Annotations<T extends (object | null)>(): IEnumerable_1<T>;
|
|
523
523
|
RemoveAnnotations(type: Type): void;
|
|
524
|
-
RemoveAnnotations<T>(): void;
|
|
524
|
+
RemoveAnnotations<T extends (object | null)>(): void;
|
|
525
525
|
}
|
|
526
526
|
|
|
527
527
|
|
|
@@ -584,8 +584,8 @@ export interface XStreamingElement$instance {
|
|
|
584
584
|
readonly __tsonic_type_System_Xml_Linq_XStreamingElement: never;
|
|
585
585
|
|
|
586
586
|
Name: XName;
|
|
587
|
-
Add(content:
|
|
588
|
-
Add(...content: (
|
|
587
|
+
Add(content: unknown | null): void;
|
|
588
|
+
Add(...content: (unknown | null)[]): void;
|
|
589
589
|
Save(stream: Stream): void;
|
|
590
590
|
Save(stream: Stream, options: SaveOptions): void;
|
|
591
591
|
Save(textWriter: TextWriter): void;
|
|
@@ -601,8 +601,8 @@ export interface XStreamingElement$instance {
|
|
|
601
601
|
|
|
602
602
|
export const XStreamingElement: {
|
|
603
603
|
new(name: XName): XStreamingElement;
|
|
604
|
-
new(name: XName, content:
|
|
605
|
-
new(name: XName, content: (
|
|
604
|
+
new(name: XName, content: unknown | null): XStreamingElement;
|
|
605
|
+
new(name: XName, content: (unknown | null)[]): XStreamingElement;
|
|
606
606
|
};
|
|
607
607
|
|
|
608
608
|
|
|
@@ -634,23 +634,23 @@ export type XText = XText$instance & __XText$views;
|
|
|
634
634
|
|
|
635
635
|
|
|
636
636
|
export abstract class Extensions$instance {
|
|
637
|
-
static Ancestors<T extends XNode>(source: IEnumerable_1<T | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
638
|
-
static Ancestors<T extends XNode>(source: IEnumerable_1<T | null>): IEnumerable_1<XElement>;
|
|
637
|
+
static Ancestors<T extends unknown & XNode>(source: IEnumerable_1<T | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
638
|
+
static Ancestors<T extends unknown & XNode>(source: IEnumerable_1<T | null>): IEnumerable_1<XElement>;
|
|
639
639
|
static AncestorsAndSelf(source: IEnumerable_1<XElement | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
640
640
|
static AncestorsAndSelf(source: IEnumerable_1<XElement | null>): IEnumerable_1<XElement>;
|
|
641
641
|
static Attributes(source: IEnumerable_1<XElement | null>, name: XName | null): IEnumerable_1<XAttribute>;
|
|
642
642
|
static Attributes(source: IEnumerable_1<XElement | null>): IEnumerable_1<XAttribute>;
|
|
643
|
-
static DescendantNodes<T extends XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XNode>;
|
|
643
|
+
static DescendantNodes<T extends unknown & XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XNode>;
|
|
644
644
|
static DescendantNodesAndSelf(source: IEnumerable_1<XElement | null>): IEnumerable_1<XNode>;
|
|
645
|
-
static Descendants<T extends XContainer>(source: IEnumerable_1<T | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
646
|
-
static Descendants<T extends XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XElement>;
|
|
645
|
+
static Descendants<T extends unknown & XContainer>(source: IEnumerable_1<T | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
646
|
+
static Descendants<T extends unknown & XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XElement>;
|
|
647
647
|
static DescendantsAndSelf(source: IEnumerable_1<XElement | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
648
648
|
static DescendantsAndSelf(source: IEnumerable_1<XElement | null>): IEnumerable_1<XElement>;
|
|
649
|
-
static Elements<T extends XContainer>(source: IEnumerable_1<T | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
650
|
-
static Elements<T extends XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XElement>;
|
|
651
|
-
static InDocumentOrder<T extends XNode>(source: IEnumerable_1<T>): IEnumerable_1<T>;
|
|
652
|
-
static Nodes<T extends XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XNode>;
|
|
653
|
-
static Remove<T extends XNode>(source: IEnumerable_1<T | null>): void;
|
|
649
|
+
static Elements<T extends unknown & XContainer>(source: IEnumerable_1<T | null>, name: XName | null): IEnumerable_1<XElement>;
|
|
650
|
+
static Elements<T extends unknown & XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XElement>;
|
|
651
|
+
static InDocumentOrder<T extends unknown & XNode>(source: IEnumerable_1<T>): IEnumerable_1<T>;
|
|
652
|
+
static Nodes<T extends unknown & XContainer>(source: IEnumerable_1<T | null>): IEnumerable_1<XNode>;
|
|
653
|
+
static Remove<T extends unknown & XNode>(source: IEnumerable_1<T | null>): void;
|
|
654
654
|
static Remove(source: IEnumerable_1<XAttribute | null>): void;
|
|
655
655
|
}
|
|
656
656
|
|
package/System.Xml.Linq.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Xml.Linq/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 { IComparer_1, IEnumerable_1, IEqualityComparer_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { IComparer, IEqualityComparer } from './System.Collections/internal/index.js';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Private.Xml
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -33,8 +33,8 @@ export interface XmlPreloadedResolver$instance extends XmlResolver {
|
|
|
33
33
|
Add(uri: Uri, value: byte[], offset: int, count: int): void;
|
|
34
34
|
Add(uri: Uri, value: Stream): void;
|
|
35
35
|
Add(uri: Uri, value: string): void;
|
|
36
|
-
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null):
|
|
37
|
-
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<
|
|
36
|
+
GetEntity(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): unknown | null;
|
|
37
|
+
GetEntityAsync(absoluteUri: Uri, role: string | null, ofObjectToReturn: Type | null): Task_1<unknown>;
|
|
38
38
|
Remove(uri: Uri): void;
|
|
39
39
|
ResolveUri(baseUri: Uri | null, relativeUri: string | null): Uri;
|
|
40
40
|
SupportsType(absoluteUri: Uri, type: Type | null): boolean;
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Xml.Resolvers/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 { IEnumerable_1, IEqualityComparer_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { Stream } from './System.IO/internal/index.js';
|