@tsonic/dotnet 10.0.40 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -64,6 +64,8 @@ export { XmlSchemas as XmlSchemas } from './System.Xml.Serialization/internal/in
|
|
|
64
64
|
export { XmlSchemaEnumerator as XmlSchemaEnumerator } from './System.Xml.Serialization/internal/index.js';
|
|
65
65
|
export { XmlSerializationGeneratedCode as XmlSerializationGeneratedCode } from './System.Xml.Serialization/internal/index.js';
|
|
66
66
|
export { XmlSerializationReader as XmlSerializationReader } from './System.Xml.Serialization/internal/index.js';
|
|
67
|
+
export { XmlSerializationReader_Fixup as XmlSerializationReader_Fixup } from './System.Xml.Serialization/internal/index.js';
|
|
68
|
+
export { XmlSerializationReader_CollectionFixup as XmlSerializationReader_CollectionFixup } from './System.Xml.Serialization/internal/index.js';
|
|
67
69
|
export type XmlSerializationFixupCallback = Internal.XmlSerializationFixupCallback;
|
|
68
70
|
export type XmlSerializationCollectionFixupCallback = Internal.XmlSerializationCollectionFixupCallback;
|
|
69
71
|
export type XmlSerializationReadCallback = Internal.XmlSerializationReadCallback;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Xml.XPath
|
|
3
3
|
// Assembly: System.Private.Xml, System.Private.Xml.Linq, System.Xml.XPath.XDocument
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { IDictionary_2, IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -118,8 +119,8 @@ export interface XPathException$instance extends SystemException {
|
|
|
118
119
|
|
|
119
120
|
export const XPathException: {
|
|
120
121
|
new(): XPathException;
|
|
121
|
-
new(message: string): XPathException;
|
|
122
|
-
new(message: string, innerException: Exception): XPathException;
|
|
122
|
+
new(message: string | null): XPathException;
|
|
123
|
+
new(message: string | null, innerException: Exception | null): XPathException;
|
|
123
124
|
};
|
|
124
125
|
|
|
125
126
|
|
|
@@ -135,16 +136,16 @@ export interface XPathExpression$instance {
|
|
|
135
136
|
|
|
136
137
|
readonly Expression: string;
|
|
137
138
|
readonly ReturnType: XPathResultType;
|
|
138
|
-
AddSort(expr:
|
|
139
|
-
AddSort(expr:
|
|
139
|
+
AddSort(expr: JsValue, comparer: IComparer): void;
|
|
140
|
+
AddSort(expr: JsValue, order: XmlSortOrder, caseOrder: XmlCaseOrder, lang: string, dataType: XmlDataType): void;
|
|
140
141
|
Clone(): XPathExpression;
|
|
141
142
|
SetContext(nsManager: XmlNamespaceManager): void;
|
|
142
|
-
SetContext(nsResolver: IXmlNamespaceResolver): void;
|
|
143
|
+
SetContext(nsResolver: IXmlNamespaceResolver | null): void;
|
|
143
144
|
}
|
|
144
145
|
|
|
145
146
|
|
|
146
147
|
export const XPathExpression: {
|
|
147
|
-
Compile(xpath: string, nsResolver: IXmlNamespaceResolver): XPathExpression;
|
|
148
|
+
Compile(xpath: string, nsResolver: IXmlNamespaceResolver | null): XPathExpression;
|
|
148
149
|
Compile(xpath: string): XPathExpression;
|
|
149
150
|
};
|
|
150
151
|
|
|
@@ -155,7 +156,7 @@ export interface XPathItem$instance {
|
|
|
155
156
|
readonly __tsonic_type_System_Xml_XPath_XPathItem: never;
|
|
156
157
|
|
|
157
158
|
readonly IsNode: boolean;
|
|
158
|
-
readonly TypedValue:
|
|
159
|
+
readonly TypedValue: JsValue;
|
|
159
160
|
readonly Value: string;
|
|
160
161
|
readonly ValueAsBoolean: boolean;
|
|
161
162
|
readonly ValueAsDateTime: DateTime;
|
|
@@ -163,9 +164,9 @@ export interface XPathItem$instance {
|
|
|
163
164
|
readonly ValueAsInt: int;
|
|
164
165
|
readonly ValueAsLong: long;
|
|
165
166
|
readonly ValueType: Type;
|
|
166
|
-
readonly XmlType: XmlSchemaType | XmlSchemaType |
|
|
167
|
-
ValueAs(returnType: Type):
|
|
168
|
-
ValueAs(returnType: Type, nsResolver: IXmlNamespaceResolver):
|
|
167
|
+
readonly XmlType: XmlSchemaType | XmlSchemaType | null;
|
|
168
|
+
ValueAs(returnType: Type): JsValue;
|
|
169
|
+
ValueAs(returnType: Type, nsResolver: IXmlNamespaceResolver | null): JsValue;
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
|
|
@@ -196,9 +197,9 @@ export interface XPathNavigator$instance extends XPathItem, System_Xml_Internal.
|
|
|
196
197
|
readonly NodeType: XPathNodeType;
|
|
197
198
|
OuterXml: string;
|
|
198
199
|
readonly Prefix: string;
|
|
199
|
-
readonly SchemaInfo: IXmlSchemaInfo |
|
|
200
|
-
readonly TypedValue:
|
|
201
|
-
readonly UnderlyingObject:
|
|
200
|
+
readonly SchemaInfo: IXmlSchemaInfo | null;
|
|
201
|
+
readonly TypedValue: JsValue;
|
|
202
|
+
readonly UnderlyingObject: JsValue | null;
|
|
202
203
|
readonly ValueAsBoolean: boolean;
|
|
203
204
|
readonly ValueAsDateTime: DateTime;
|
|
204
205
|
readonly ValueAsDouble: double;
|
|
@@ -206,25 +207,25 @@ export interface XPathNavigator$instance extends XPathItem, System_Xml_Internal.
|
|
|
206
207
|
readonly ValueAsLong: long;
|
|
207
208
|
readonly ValueType: Type;
|
|
208
209
|
readonly XmlLang: string;
|
|
209
|
-
readonly XmlType: XmlSchemaType |
|
|
210
|
+
readonly XmlType: XmlSchemaType | null;
|
|
210
211
|
AppendChild(): XmlWriter;
|
|
211
212
|
AppendChild(newChild: string): void;
|
|
212
213
|
AppendChild(newChild: XmlReader): void;
|
|
213
214
|
AppendChild(newChild: XPathNavigator): void;
|
|
214
|
-
AppendChildElement(prefix: string, localName: string, namespaceURI: string, value: string): void;
|
|
215
|
+
AppendChildElement(prefix: string | null, localName: string, namespaceURI: string | null, value: string | null): void;
|
|
215
216
|
CheckValidity(schemas: XmlSchemaSet, validationEventHandler: ValidationEventHandler): boolean;
|
|
216
217
|
Clone(): XPathNavigator;
|
|
217
|
-
ComparePosition(nav: XPathNavigator): XmlNodeOrder;
|
|
218
|
+
ComparePosition(nav: XPathNavigator | null): XmlNodeOrder;
|
|
218
219
|
Compile(xpath: string): XPathExpression;
|
|
219
|
-
CreateAttribute(prefix: string, localName: string, namespaceURI: string, value: string): void;
|
|
220
|
+
CreateAttribute(prefix: string | null, localName: string, namespaceURI: string | null, value: string | null): void;
|
|
220
221
|
CreateAttributes(): XmlWriter;
|
|
221
222
|
CreateNavigator(): XPathNavigator;
|
|
222
223
|
DeleteRange(lastSiblingToDelete: XPathNavigator): void;
|
|
223
224
|
DeleteSelf(): void;
|
|
224
|
-
Evaluate(xpath: string):
|
|
225
|
-
Evaluate(xpath: string, resolver: IXmlNamespaceResolver):
|
|
226
|
-
Evaluate(expr: XPathExpression):
|
|
227
|
-
Evaluate(expr: XPathExpression, context: XPathNodeIterator):
|
|
225
|
+
Evaluate(xpath: string): JsValue;
|
|
226
|
+
Evaluate(xpath: string, resolver: IXmlNamespaceResolver | null): JsValue;
|
|
227
|
+
Evaluate(expr: XPathExpression): JsValue;
|
|
228
|
+
Evaluate(expr: XPathExpression, context: XPathNodeIterator | null): JsValue;
|
|
228
229
|
GetAttribute(localName: string, namespaceURI: string): string;
|
|
229
230
|
GetNamespace(name: string): string;
|
|
230
231
|
GetNamespacesInScope(scope: XmlNamespaceScope): IDictionary_2<System_Internal.String, System_Internal.String>;
|
|
@@ -236,12 +237,12 @@ export interface XPathNavigator$instance extends XPathItem, System_Xml_Internal.
|
|
|
236
237
|
InsertBefore(newSibling: string): void;
|
|
237
238
|
InsertBefore(newSibling: XmlReader): void;
|
|
238
239
|
InsertBefore(newSibling: XPathNavigator): void;
|
|
239
|
-
InsertElementAfter(prefix: string, localName: string, namespaceURI: string, value: string): void;
|
|
240
|
-
InsertElementBefore(prefix: string, localName: string, namespaceURI: string, value: string): void;
|
|
241
|
-
IsDescendant(nav: XPathNavigator): boolean;
|
|
240
|
+
InsertElementAfter(prefix: string | null, localName: string, namespaceURI: string | null, value: string | null): void;
|
|
241
|
+
InsertElementBefore(prefix: string | null, localName: string, namespaceURI: string | null, value: string | null): void;
|
|
242
|
+
IsDescendant(nav: XPathNavigator | null): boolean;
|
|
242
243
|
IsSamePosition(other: XPathNavigator): boolean;
|
|
243
|
-
LookupNamespace(prefix: string): string |
|
|
244
|
-
LookupPrefix(namespaceURI: string): string |
|
|
244
|
+
LookupNamespace(prefix: string): string | null;
|
|
245
|
+
LookupPrefix(namespaceURI: string): string | null;
|
|
245
246
|
Matches(expr: XPathExpression): boolean;
|
|
246
247
|
Matches(xpath: string): boolean;
|
|
247
248
|
MoveTo(other: XPathNavigator): boolean;
|
|
@@ -254,9 +255,9 @@ export interface XPathNavigator$instance extends XPathItem, System_Xml_Internal.
|
|
|
254
255
|
MoveToFirstNamespace(namespaceScope: XPathNamespaceScope): boolean;
|
|
255
256
|
MoveToFirstNamespace(): boolean;
|
|
256
257
|
MoveToFollowing(localName: string, namespaceURI: string): boolean;
|
|
257
|
-
MoveToFollowing(localName: string, namespaceURI: string, end: XPathNavigator): boolean;
|
|
258
|
+
MoveToFollowing(localName: string, namespaceURI: string, end: XPathNavigator | null): boolean;
|
|
258
259
|
MoveToFollowing(type: XPathNodeType): boolean;
|
|
259
|
-
MoveToFollowing(type: XPathNodeType, end: XPathNavigator): boolean;
|
|
260
|
+
MoveToFollowing(type: XPathNodeType, end: XPathNavigator | null): boolean;
|
|
260
261
|
MoveToId(id: string): boolean;
|
|
261
262
|
MoveToNamespace(name: string): boolean;
|
|
262
263
|
MoveToNext(): boolean;
|
|
@@ -272,14 +273,14 @@ export interface XPathNavigator$instance extends XPathItem, System_Xml_Internal.
|
|
|
272
273
|
PrependChild(newChild: string): void;
|
|
273
274
|
PrependChild(newChild: XmlReader): void;
|
|
274
275
|
PrependChild(newChild: XPathNavigator): void;
|
|
275
|
-
PrependChildElement(prefix: string, localName: string, namespaceURI: string, value: string): void;
|
|
276
|
+
PrependChildElement(prefix: string | null, localName: string, namespaceURI: string | null, value: string | null): void;
|
|
276
277
|
ReadSubtree(): XmlReader;
|
|
277
278
|
ReplaceRange(lastSiblingToReplace: XPathNavigator): XmlWriter;
|
|
278
279
|
ReplaceSelf(newNode: string): void;
|
|
279
280
|
ReplaceSelf(newNode: XmlReader): void;
|
|
280
281
|
ReplaceSelf(newNode: XPathNavigator): void;
|
|
281
282
|
Select(xpath: string): XPathNodeIterator;
|
|
282
|
-
Select(xpath: string, resolver: IXmlNamespaceResolver): XPathNodeIterator;
|
|
283
|
+
Select(xpath: string, resolver: IXmlNamespaceResolver | null): XPathNodeIterator;
|
|
283
284
|
Select(expr: XPathExpression): XPathNodeIterator;
|
|
284
285
|
SelectAncestors(type: XPathNodeType, matchSelf: boolean): XPathNodeIterator;
|
|
285
286
|
SelectAncestors(name: string, namespaceURI: string, matchSelf: boolean): XPathNodeIterator;
|
|
@@ -287,14 +288,14 @@ export interface XPathNavigator$instance extends XPathItem, System_Xml_Internal.
|
|
|
287
288
|
SelectChildren(name: string, namespaceURI: string): XPathNodeIterator;
|
|
288
289
|
SelectDescendants(type: XPathNodeType, matchSelf: boolean): XPathNodeIterator;
|
|
289
290
|
SelectDescendants(name: string, namespaceURI: string, matchSelf: boolean): XPathNodeIterator;
|
|
290
|
-
SelectSingleNode(xpath: string): XPathNavigator |
|
|
291
|
-
SelectSingleNode(xpath: string, resolver: IXmlNamespaceResolver): XPathNavigator |
|
|
292
|
-
SelectSingleNode(expression: XPathExpression): XPathNavigator |
|
|
293
|
-
SetTypedValue(typedValue:
|
|
291
|
+
SelectSingleNode(xpath: string): XPathNavigator | null;
|
|
292
|
+
SelectSingleNode(xpath: string, resolver: IXmlNamespaceResolver | null): XPathNavigator | null;
|
|
293
|
+
SelectSingleNode(expression: XPathExpression): XPathNavigator | null;
|
|
294
|
+
SetTypedValue(typedValue: JsValue): void;
|
|
294
295
|
SetValue(value: string): void;
|
|
295
296
|
ToString(): string;
|
|
296
|
-
ValueAs(returnType: Type, nsResolver: IXmlNamespaceResolver):
|
|
297
|
-
ValueAs(returnType: Type):
|
|
297
|
+
ValueAs(returnType: Type, nsResolver: IXmlNamespaceResolver | null): JsValue;
|
|
298
|
+
ValueAs(returnType: Type): JsValue;
|
|
298
299
|
WriteSubtree(writer: XmlWriter): void;
|
|
299
300
|
}
|
|
300
301
|
|
|
@@ -320,7 +321,7 @@ export interface XPathNodeIterator$instance {
|
|
|
320
321
|
readonly __tsonic_iface_System_ICloneable: never;
|
|
321
322
|
|
|
322
323
|
readonly Count: int;
|
|
323
|
-
readonly Current: XPathNavigator |
|
|
324
|
+
readonly Current: XPathNavigator | null;
|
|
324
325
|
readonly CurrentPosition: int;
|
|
325
326
|
Clone(): XPathNodeIterator;
|
|
326
327
|
GetEnumerator(): IEnumerator;
|
|
@@ -341,13 +342,13 @@ export type XPathNodeIterator = XPathNodeIterator$instance & __XPathNodeIterator
|
|
|
341
342
|
|
|
342
343
|
|
|
343
344
|
export abstract class Extensions$instance {
|
|
344
|
-
static CreateNavigator(node: XNode, nameTable: XmlNameTable): XPathNavigator;
|
|
345
|
+
static CreateNavigator(node: XNode, nameTable: XmlNameTable | null): XPathNavigator;
|
|
345
346
|
static CreateNavigator(node: XNode): XPathNavigator;
|
|
346
|
-
static XPathEvaluate(node: XNode, expression: string, resolver: IXmlNamespaceResolver):
|
|
347
|
-
static XPathEvaluate(node: XNode, expression: string):
|
|
348
|
-
static XPathSelectElement(node: XNode, expression: string, resolver: IXmlNamespaceResolver): XElement |
|
|
349
|
-
static XPathSelectElement(node: XNode, expression: string): XElement |
|
|
350
|
-
static XPathSelectElements(node: XNode, expression: string, resolver: IXmlNamespaceResolver): IEnumerable_1<XElement>;
|
|
347
|
+
static XPathEvaluate(node: XNode, expression: string, resolver: IXmlNamespaceResolver | null): JsValue;
|
|
348
|
+
static XPathEvaluate(node: XNode, expression: string): JsValue;
|
|
349
|
+
static XPathSelectElement(node: XNode, expression: string, resolver: IXmlNamespaceResolver | null): XElement | null;
|
|
350
|
+
static XPathSelectElement(node: XNode, expression: string): XElement | null;
|
|
351
|
+
static XPathSelectElements(node: XNode, expression: string, resolver: IXmlNamespaceResolver | null): IEnumerable_1<XElement>;
|
|
351
352
|
static XPathSelectElements(node: XNode, expression: string): IEnumerable_1<XElement>;
|
|
352
353
|
}
|
|
353
354
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Xml.Xsl
|
|
3
3
|
// Assembly: System.Private.Xml
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
7
8
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { IDictionary_2 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -19,7 +20,7 @@ import type { IXmlNamespaceResolver, NameTable, XmlNamespaceManager, XmlNamespac
|
|
|
19
20
|
import * as System_Internal from "../../System/internal/index.js";
|
|
20
21
|
import type { AsyncCallback, Boolean as ClrBoolean, Byte, Delegate, EventArgs, Exception, IAsyncResult, ICloneable, Int32, IntPtr, MulticastDelegate, Object as ClrObject, String as ClrString, SystemException, Type, Void } from "../../System/internal/index.js";
|
|
21
22
|
|
|
22
|
-
export type XsltMessageEncounteredEventHandler = (sender:
|
|
23
|
+
export type XsltMessageEncounteredEventHandler = (sender: JsValue, e: XsltMessageEncounteredEventArgs) => void;
|
|
23
24
|
|
|
24
25
|
|
|
25
26
|
export interface IXsltContextFunction$instance {
|
|
@@ -29,7 +30,7 @@ export interface IXsltContextFunction$instance {
|
|
|
29
30
|
readonly Maxargs: int;
|
|
30
31
|
readonly ReturnType: XPathResultType;
|
|
31
32
|
readonly ArgTypes: XPathResultType[];
|
|
32
|
-
Invoke(xsltContext: XsltContext, args:
|
|
33
|
+
Invoke(xsltContext: XsltContext, args: JsValue[], docContext: XPathNavigator): JsValue;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
|
|
@@ -41,7 +42,7 @@ export interface IXsltContextVariable$instance {
|
|
|
41
42
|
readonly IsLocal: boolean;
|
|
42
43
|
readonly IsParam: boolean;
|
|
43
44
|
readonly VariableType: XPathResultType;
|
|
44
|
-
Evaluate(xsltContext: XsltContext):
|
|
45
|
+
Evaluate(xsltContext: XsltContext): JsValue;
|
|
45
46
|
}
|
|
46
47
|
|
|
47
48
|
|
|
@@ -50,31 +51,31 @@ export type IXsltContextVariable = IXsltContextVariable$instance;
|
|
|
50
51
|
export interface XslCompiledTransform$instance {
|
|
51
52
|
readonly __tsonic_type_System_Xml_Xsl_XslCompiledTransform: never;
|
|
52
53
|
|
|
53
|
-
get OutputSettings(): XmlWriterSettings |
|
|
54
|
-
set OutputSettings(value: XmlWriterSettings |
|
|
54
|
+
get OutputSettings(): XmlWriterSettings | null;
|
|
55
|
+
set OutputSettings(value: XmlWriterSettings | null);
|
|
55
56
|
Load(stylesheet: XmlReader): void;
|
|
56
|
-
Load(stylesheet: XmlReader, settings: XsltSettings, stylesheetResolver: XmlResolver): void;
|
|
57
|
+
Load(stylesheet: XmlReader, settings: XsltSettings | null, stylesheetResolver: XmlResolver | null): void;
|
|
57
58
|
Load(stylesheet: IXPathNavigable): void;
|
|
58
|
-
Load(stylesheet: IXPathNavigable, settings: XsltSettings, stylesheetResolver: XmlResolver): void;
|
|
59
|
+
Load(stylesheet: IXPathNavigable, settings: XsltSettings | null, stylesheetResolver: XmlResolver | null): void;
|
|
59
60
|
Load(stylesheetUri: string): void;
|
|
60
|
-
Load(stylesheetUri: string, settings: XsltSettings, stylesheetResolver: XmlResolver): void;
|
|
61
|
+
Load(stylesheetUri: string, settings: XsltSettings | null, stylesheetResolver: XmlResolver | null): void;
|
|
61
62
|
Load(compiledStylesheet: Type): void;
|
|
62
|
-
Load(executeMethod: MethodInfo, queryData: byte[], earlyBoundTypes: Type[]): void;
|
|
63
|
+
Load(executeMethod: MethodInfo, queryData: byte[], earlyBoundTypes: Type[] | null): void;
|
|
63
64
|
Transform(input: IXPathNavigable, results: XmlWriter): void;
|
|
64
|
-
Transform(input: IXPathNavigable, arguments: XsltArgumentList, results: XmlWriter): void;
|
|
65
|
-
Transform(input: IXPathNavigable, arguments: XsltArgumentList, results: TextWriter): void;
|
|
66
|
-
Transform(input: IXPathNavigable, arguments: XsltArgumentList, results: Stream): void;
|
|
65
|
+
Transform(input: IXPathNavigable, arguments: XsltArgumentList | null, results: XmlWriter): void;
|
|
66
|
+
Transform(input: IXPathNavigable, arguments: XsltArgumentList | null, results: TextWriter): void;
|
|
67
|
+
Transform(input: IXPathNavigable, arguments: XsltArgumentList | null, results: Stream): void;
|
|
67
68
|
Transform(input: XmlReader, results: XmlWriter): void;
|
|
68
|
-
Transform(input: XmlReader, arguments: XsltArgumentList, results: XmlWriter): void;
|
|
69
|
-
Transform(input: XmlReader, arguments: XsltArgumentList, results: TextWriter): void;
|
|
70
|
-
Transform(input: XmlReader, arguments: XsltArgumentList, results: Stream): void;
|
|
69
|
+
Transform(input: XmlReader, arguments: XsltArgumentList | null, results: XmlWriter): void;
|
|
70
|
+
Transform(input: XmlReader, arguments: XsltArgumentList | null, results: TextWriter): void;
|
|
71
|
+
Transform(input: XmlReader, arguments: XsltArgumentList | null, results: Stream): void;
|
|
71
72
|
Transform(inputUri: string, results: XmlWriter): void;
|
|
72
|
-
Transform(inputUri: string, arguments: XsltArgumentList, results: XmlWriter): void;
|
|
73
|
-
Transform(inputUri: string, arguments: XsltArgumentList, results: TextWriter): void;
|
|
74
|
-
Transform(inputUri: string, arguments: XsltArgumentList, results: Stream): void;
|
|
73
|
+
Transform(inputUri: string, arguments: XsltArgumentList | null, results: XmlWriter): void;
|
|
74
|
+
Transform(inputUri: string, arguments: XsltArgumentList | null, results: TextWriter): void;
|
|
75
|
+
Transform(inputUri: string, arguments: XsltArgumentList | null, results: Stream): void;
|
|
75
76
|
Transform(inputUri: string, resultsFile: string): void;
|
|
76
|
-
Transform(input: XmlReader, arguments: XsltArgumentList, results: XmlWriter, documentResolver: XmlResolver): void;
|
|
77
|
-
Transform(input: IXPathNavigable, arguments: XsltArgumentList, results: XmlWriter, documentResolver: XmlResolver): void;
|
|
77
|
+
Transform(input: XmlReader, arguments: XsltArgumentList | null, results: XmlWriter, documentResolver: XmlResolver | null): void;
|
|
78
|
+
Transform(input: IXPathNavigable, arguments: XsltArgumentList | null, results: XmlWriter, documentResolver: XmlResolver | null): void;
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
|
|
@@ -89,13 +90,13 @@ export type XslCompiledTransform = XslCompiledTransform$instance;
|
|
|
89
90
|
export interface XsltArgumentList$instance {
|
|
90
91
|
readonly __tsonic_type_System_Xml_Xsl_XsltArgumentList: never;
|
|
91
92
|
|
|
92
|
-
AddExtensionObject(namespaceUri: string, extension:
|
|
93
|
-
AddParam(name: string, namespaceUri: string, parameter:
|
|
93
|
+
AddExtensionObject(namespaceUri: string, extension: JsValue): void;
|
|
94
|
+
AddParam(name: string, namespaceUri: string, parameter: JsValue): void;
|
|
94
95
|
Clear(): void;
|
|
95
|
-
GetExtensionObject(namespaceUri: string):
|
|
96
|
-
GetParam(name: string, namespaceUri: string):
|
|
97
|
-
RemoveExtensionObject(namespaceUri: string):
|
|
98
|
-
RemoveParam(name: string, namespaceUri: string):
|
|
96
|
+
GetExtensionObject(namespaceUri: string): JsValue | null;
|
|
97
|
+
GetParam(name: string, namespaceUri: string): JsValue | null;
|
|
98
|
+
RemoveExtensionObject(namespaceUri: string): JsValue | null;
|
|
99
|
+
RemoveParam(name: string, namespaceUri: string): JsValue | null;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
102
|
|
|
@@ -164,7 +165,7 @@ export interface XsltException$instance extends SystemException {
|
|
|
164
165
|
readonly LineNumber: int;
|
|
165
166
|
readonly LinePosition: int;
|
|
166
167
|
readonly Message: string;
|
|
167
|
-
readonly SourceUri: string |
|
|
168
|
+
readonly SourceUri: string | null;
|
|
168
169
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
169
170
|
}
|
|
170
171
|
|
|
@@ -172,7 +173,7 @@ export interface XsltException$instance extends SystemException {
|
|
|
172
173
|
export const XsltException: {
|
|
173
174
|
new(): XsltException;
|
|
174
175
|
new(message: string): XsltException;
|
|
175
|
-
new(message: string, innerException: Exception): XsltException;
|
|
176
|
+
new(message: string, innerException: Exception | null): XsltException;
|
|
176
177
|
};
|
|
177
178
|
|
|
178
179
|
|
|
@@ -199,32 +200,32 @@ export type XsltMessageEncounteredEventArgs = XsltMessageEncounteredEventArgs$in
|
|
|
199
200
|
export interface XslTransform$instance {
|
|
200
201
|
readonly __tsonic_type_System_Xml_Xsl_XslTransform: never;
|
|
201
202
|
|
|
202
|
-
XmlResolver: XmlResolver |
|
|
203
|
+
XmlResolver: XmlResolver | null;
|
|
203
204
|
Load(stylesheet: XmlReader): void;
|
|
204
|
-
Load(stylesheet: XmlReader, resolver: XmlResolver): void;
|
|
205
|
+
Load(stylesheet: XmlReader, resolver: XmlResolver | null): void;
|
|
205
206
|
Load(stylesheet: IXPathNavigable): void;
|
|
206
|
-
Load(stylesheet: IXPathNavigable, resolver: XmlResolver): void;
|
|
207
|
+
Load(stylesheet: IXPathNavigable, resolver: XmlResolver | null): void;
|
|
207
208
|
Load(stylesheet: XPathNavigator): void;
|
|
208
|
-
Load(stylesheet: XPathNavigator, resolver: XmlResolver): void;
|
|
209
|
+
Load(stylesheet: XPathNavigator, resolver: XmlResolver | null): void;
|
|
209
210
|
Load(url: string): void;
|
|
210
|
-
Load(url: string, resolver: XmlResolver): void;
|
|
211
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, resolver: XmlResolver): XmlReader;
|
|
212
|
-
Transform(input: XPathNavigator, args: XsltArgumentList): XmlReader;
|
|
213
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, output: XmlWriter, resolver: XmlResolver): void;
|
|
214
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, output: XmlWriter): void;
|
|
215
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, output: Stream, resolver: XmlResolver): void;
|
|
216
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, output: Stream): void;
|
|
217
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, output: TextWriter, resolver: XmlResolver): void;
|
|
218
|
-
Transform(input: XPathNavigator, args: XsltArgumentList, output: TextWriter): void;
|
|
219
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, resolver: XmlResolver): XmlReader;
|
|
220
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList): XmlReader;
|
|
221
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, output: TextWriter, resolver: XmlResolver): void;
|
|
222
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, output: TextWriter): void;
|
|
223
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, output: Stream, resolver: XmlResolver): void;
|
|
224
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, output: Stream): void;
|
|
225
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, output: XmlWriter, resolver: XmlResolver): void;
|
|
226
|
-
Transform(input: IXPathNavigable, args: XsltArgumentList, output: XmlWriter): void;
|
|
227
|
-
Transform(inputfile: string, outputfile: string, resolver: XmlResolver): void;
|
|
211
|
+
Load(url: string, resolver: XmlResolver | null): void;
|
|
212
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, resolver: XmlResolver | null): XmlReader;
|
|
213
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null): XmlReader;
|
|
214
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, output: XmlWriter, resolver: XmlResolver | null): void;
|
|
215
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, output: XmlWriter): void;
|
|
216
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, output: Stream, resolver: XmlResolver | null): void;
|
|
217
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, output: Stream): void;
|
|
218
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, output: TextWriter, resolver: XmlResolver | null): void;
|
|
219
|
+
Transform(input: XPathNavigator, args: XsltArgumentList | null, output: TextWriter): void;
|
|
220
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, resolver: XmlResolver | null): XmlReader;
|
|
221
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null): XmlReader;
|
|
222
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, output: TextWriter, resolver: XmlResolver | null): void;
|
|
223
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, output: TextWriter): void;
|
|
224
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, output: Stream, resolver: XmlResolver | null): void;
|
|
225
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, output: Stream): void;
|
|
226
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, output: XmlWriter, resolver: XmlResolver | null): void;
|
|
227
|
+
Transform(input: IXPathNavigable, args: XsltArgumentList | null, output: XmlWriter): void;
|
|
228
|
+
Transform(inputfile: string, outputfile: string, resolver: XmlResolver | null): void;
|
|
228
229
|
Transform(inputfile: string, outputfile: string): void;
|
|
229
230
|
}
|
|
230
231
|
|
|
@@ -8708,7 +8708,10 @@
|
|
|
8708
8708
|
"isLiteral": false,
|
|
8709
8709
|
"visibility": "Public",
|
|
8710
8710
|
"declaringClrType": "System.Xml.Xsl.Runtime.XmlQuerySequence\u00601",
|
|
8711
|
-
"declaringAssemblyName": "System.Private.Xml"
|
|
8711
|
+
"declaringAssemblyName": "System.Private.Xml",
|
|
8712
|
+
"emitSemantics": {
|
|
8713
|
+
"callableStaticAccessorKind": "field"
|
|
8714
|
+
}
|
|
8712
8715
|
}
|
|
8713
8716
|
],
|
|
8714
8717
|
"events": [],
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Xml.Xsl.Runtime
|
|
3
3
|
// Assembly: System.Private.Xml
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// 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_Collections_Generic_Internal from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -485,8 +483,8 @@ export type PrecedingSiblingIterator = PrecedingSiblingIterator$instance;
|
|
|
485
483
|
export interface StringConcat$instance {
|
|
486
484
|
readonly __tsonic_type_System_Xml_Xsl_Runtime_StringConcat: never;
|
|
487
485
|
|
|
488
|
-
get Delimiter(): string |
|
|
489
|
-
set Delimiter(value: string |
|
|
486
|
+
get Delimiter(): string | null;
|
|
487
|
+
set Delimiter(value: string | null);
|
|
490
488
|
Clear(): void;
|
|
491
489
|
Concat(value: string): void;
|
|
492
490
|
GetResult(): string;
|
|
@@ -622,7 +620,7 @@ export type XPathPrecedingMergeIterator = XPathPrecedingMergeIterator$instance;
|
|
|
622
620
|
export interface XmlCollation$instance {
|
|
623
621
|
readonly __tsonic_type_System_Xml_Xsl_Runtime_XmlCollation: never;
|
|
624
622
|
|
|
625
|
-
Equals(obj:
|
|
623
|
+
Equals(obj: JsValue | null): boolean;
|
|
626
624
|
GetHashCode(): int;
|
|
627
625
|
}
|
|
628
626
|
|
|
@@ -652,7 +650,7 @@ export interface XmlNavigatorFilter$instance {
|
|
|
652
650
|
|
|
653
651
|
IsFiltered(navigator: XPathNavigator): boolean;
|
|
654
652
|
MoveToContent(navigator: XPathNavigator): boolean;
|
|
655
|
-
MoveToFollowing(navigator: XPathNavigator, navigatorEnd: XPathNavigator): boolean;
|
|
653
|
+
MoveToFollowing(navigator: XPathNavigator, navigatorEnd: XPathNavigator | null): boolean;
|
|
656
654
|
MoveToFollowingSibling(navigator: XPathNavigator): boolean;
|
|
657
655
|
MoveToNextContent(navigator: XPathNavigator): boolean;
|
|
658
656
|
MoveToPreviousSibling(navigator: XPathNavigator): boolean;
|
|
@@ -669,11 +667,11 @@ export interface XmlQueryContext$instance {
|
|
|
669
667
|
readonly __tsonic_type_System_Xml_Xsl_Runtime_XmlQueryContext: never;
|
|
670
668
|
|
|
671
669
|
readonly DefaultDataSource: XPathNavigator;
|
|
672
|
-
readonly DefaultNameTable: XmlNameTable |
|
|
670
|
+
readonly DefaultNameTable: XmlNameTable | null;
|
|
673
671
|
readonly QueryNameTable: XmlNameTable;
|
|
674
|
-
GetDataSource(uriRelative: string, uriBase: string): XPathNavigator |
|
|
675
|
-
GetLateBoundObject(namespaceUri: string):
|
|
676
|
-
GetParameter(localName: string, namespaceUri: string):
|
|
672
|
+
GetDataSource(uriRelative: string, uriBase: string | null): XPathNavigator | null;
|
|
673
|
+
GetLateBoundObject(namespaceUri: string): JsValue | null;
|
|
674
|
+
GetParameter(localName: string, namespaceUri: string): JsValue | null;
|
|
677
675
|
InvokeXsltLateBoundFunction(name: string, namespaceUri: string, args: IList_1<XPathItem>[]): IList_1<XPathItem>;
|
|
678
676
|
LateBoundFunctionExists(name: string, namespaceUri: string): boolean;
|
|
679
677
|
OnXsltMessageEncountered(message: string): void;
|
|
@@ -764,7 +762,7 @@ export interface XmlQueryOutput$instance extends XmlWriter, System_Internal.IAsy
|
|
|
764
762
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
765
763
|
|
|
766
764
|
readonly WriteState: WriteState;
|
|
767
|
-
readonly XmlLang: string | string |
|
|
765
|
+
readonly XmlLang: string | string | null;
|
|
768
766
|
readonly XmlSpace: XmlSpace;
|
|
769
767
|
Close(): void;
|
|
770
768
|
EndCopy(navigator: XPathNavigator): void;
|
|
@@ -775,12 +773,12 @@ export interface XmlQueryOutput$instance extends XmlWriter, System_Internal.IAsy
|
|
|
775
773
|
StartElementContentUnchecked(): void;
|
|
776
774
|
StartTree(rootType: XPathNodeType): void;
|
|
777
775
|
WriteBase64(buffer: byte[], index: int, count: int): void;
|
|
778
|
-
WriteCData(text: string): void;
|
|
776
|
+
WriteCData(text: string | null): void;
|
|
779
777
|
WriteCharEntity(ch: char): void;
|
|
780
778
|
WriteChars(buffer: char[], index: int, count: int): void;
|
|
781
|
-
WriteComment(text: string): void;
|
|
782
|
-
WriteCommentString(text: string): void;
|
|
783
|
-
WriteDocType(name: string, pubid: string, sysid: string, subset: string): void;
|
|
779
|
+
WriteComment(text: string | null): void;
|
|
780
|
+
WriteCommentString(text: string | null): void;
|
|
781
|
+
WriteDocType(name: string, pubid: string | null, sysid: string | null, subset: string | null): void;
|
|
784
782
|
WriteEndAttribute(): void;
|
|
785
783
|
WriteEndAttributeUnchecked(): void;
|
|
786
784
|
WriteEndComment(): void;
|
|
@@ -797,26 +795,26 @@ export interface XmlQueryOutput$instance extends XmlWriter, System_Internal.IAsy
|
|
|
797
795
|
WriteNamespaceDeclaration(prefix: string, ns: string): void;
|
|
798
796
|
WriteNamespaceDeclarationUnchecked(prefix: string, ns: string): void;
|
|
799
797
|
WriteNamespaceString(text: string): void;
|
|
800
|
-
WriteProcessingInstruction(target: string, text: string): void;
|
|
801
|
-
WriteProcessingInstructionString(text: string): void;
|
|
798
|
+
WriteProcessingInstruction(target: string, text: string | null): void;
|
|
799
|
+
WriteProcessingInstructionString(text: string | null): void;
|
|
802
800
|
WriteRaw(buffer: char[], index: int, count: int): void;
|
|
803
801
|
WriteRaw(data: string): void;
|
|
804
802
|
WriteRawUnchecked(text: string): void;
|
|
805
|
-
WriteStartAttribute(prefix: string, localName: string, ns: string): void;
|
|
806
|
-
WriteStartAttribute(localName: string, ns: string): void;
|
|
803
|
+
WriteStartAttribute(prefix: string | null, localName: string, ns: string | null): void;
|
|
804
|
+
WriteStartAttribute(localName: string, ns: string | null): void;
|
|
807
805
|
WriteStartAttribute(localName: string): void;
|
|
808
806
|
WriteStartAttributeComputed(tagName: string, prefixMappingsIndex: int): void;
|
|
809
807
|
WriteStartAttributeComputed(tagName: string, ns: string): void;
|
|
810
808
|
WriteStartAttributeComputed(navigator: XPathNavigator): void;
|
|
811
809
|
WriteStartAttributeComputed(name: XmlQualifiedName): void;
|
|
812
810
|
WriteStartAttributeLocalName(localName: string): void;
|
|
813
|
-
WriteStartAttributeUnchecked(prefix: string, localName: string, ns: string): void;
|
|
811
|
+
WriteStartAttributeUnchecked(prefix: string | null, localName: string, ns: string | null): void;
|
|
814
812
|
WriteStartAttributeUnchecked(localName: string): void;
|
|
815
813
|
WriteStartComment(): void;
|
|
816
814
|
WriteStartDocument(): void;
|
|
817
815
|
WriteStartDocument(standalone: boolean): void;
|
|
818
|
-
WriteStartElement(prefix: string, localName: string, ns: string): void;
|
|
819
|
-
WriteStartElement(localName: string, ns: string): void;
|
|
816
|
+
WriteStartElement(prefix: string | null, localName: string, ns: string | null): void;
|
|
817
|
+
WriteStartElement(localName: string, ns: string | null): void;
|
|
820
818
|
WriteStartElement(localName: string): void;
|
|
821
819
|
WriteStartElementComputed(tagName: string, prefixMappingsIndex: int): void;
|
|
822
820
|
WriteStartElementComputed(tagName: string, ns: string): void;
|
|
@@ -828,10 +826,10 @@ export interface XmlQueryOutput$instance extends XmlWriter, System_Internal.IAsy
|
|
|
828
826
|
WriteStartNamespace(prefix: string): void;
|
|
829
827
|
WriteStartProcessingInstruction(target: string): void;
|
|
830
828
|
WriteStartRoot(): void;
|
|
831
|
-
WriteString(text: string): void;
|
|
829
|
+
WriteString(text: string | null): void;
|
|
832
830
|
WriteStringUnchecked(text: string): void;
|
|
833
831
|
WriteSurrogateCharEntity(lowChar: char, highChar: char): void;
|
|
834
|
-
WriteWhitespace(ws: string): void;
|
|
832
|
+
WriteWhitespace(ws: string | null): void;
|
|
835
833
|
XsltCopyOf(navigator: XPathNavigator): void;
|
|
836
834
|
}
|
|
837
835
|
|
|
@@ -856,14 +854,14 @@ export interface XmlQueryRuntime$instance {
|
|
|
856
854
|
readonly Output: XmlQueryOutput;
|
|
857
855
|
readonly XsltFunctions: XsltLibrary;
|
|
858
856
|
AddNewIndex(context: XPathNavigator, indexId: int, index: XmlILIndex): void;
|
|
859
|
-
ChangeTypeXsltArgument(indexType: int, value:
|
|
860
|
-
ChangeTypeXsltResult(indexType: int, value:
|
|
857
|
+
ChangeTypeXsltArgument(indexType: int, value: JsValue, destinationType: Type): JsValue;
|
|
858
|
+
ChangeTypeXsltResult(indexType: int, value: JsValue): JsValue;
|
|
861
859
|
ComparePosition(navigatorThis: XPathNavigator, navigatorThat: XPathNavigator): int;
|
|
862
|
-
CreateCollation(collation: string): XmlCollation |
|
|
863
|
-
DebugGetGlobalNames(): string[] |
|
|
864
|
-
DebugGetGlobalValue(name: string): IList |
|
|
865
|
-
DebugGetXsltValue(seq: IList):
|
|
866
|
-
DebugSetGlobalValue(name: string, value:
|
|
860
|
+
CreateCollation(collation: string): XmlCollation | null;
|
|
861
|
+
DebugGetGlobalNames(): string[] | null;
|
|
862
|
+
DebugGetGlobalValue(name: string): IList | null;
|
|
863
|
+
DebugGetXsltValue(seq: IList | null): JsValue | null;
|
|
864
|
+
DebugSetGlobalValue(name: string, value: JsValue): void;
|
|
867
865
|
DocOrderDistinct(seq: IList_1<XPathNavigator>): IList_1<XPathNavigator>;
|
|
868
866
|
EarlyBoundFunctionExists(name: string, namespaceUri: string): boolean;
|
|
869
867
|
EndRtfConstruction(output: XmlQueryOutput): XPathNavigator;
|
|
@@ -872,8 +870,8 @@ export interface XmlQueryRuntime$instance {
|
|
|
872
870
|
GenerateId(navigator: XPathNavigator): string;
|
|
873
871
|
GetAtomizedName(index: int): string;
|
|
874
872
|
GetCollation(index: int): XmlCollation;
|
|
875
|
-
GetEarlyBoundObject(index: int):
|
|
876
|
-
GetGlobalValue(index: int):
|
|
873
|
+
GetEarlyBoundObject(index: int): JsValue;
|
|
874
|
+
GetGlobalValue(index: int): JsValue;
|
|
877
875
|
GetNameFilter(index: int): XmlNavigatorFilter;
|
|
878
876
|
GetTypeFilter(nodeType: XPathNodeType): XmlNavigatorFilter;
|
|
879
877
|
IsGlobalComputed(index: int): boolean;
|
|
@@ -886,7 +884,7 @@ export interface XmlQueryRuntime$instance {
|
|
|
886
884
|
ParseTagName(tagName: string, indexPrefixMappings: int): XmlQualifiedName;
|
|
887
885
|
ParseTagName(tagName: string, ns: string): XmlQualifiedName;
|
|
888
886
|
SendMessage(message: string): void;
|
|
889
|
-
SetGlobalValue(index: int, value:
|
|
887
|
+
SetGlobalValue(index: int, value: JsValue): void;
|
|
890
888
|
StartRtfConstruction(baseUri: string, output: XmlQueryOutput): void;
|
|
891
889
|
StartSequenceConstruction(output: XmlQueryOutput): void;
|
|
892
890
|
TextRtfConstruction(text: string, baseUri: string): XPathNavigator;
|
|
@@ -928,7 +926,7 @@ export const XmlQuerySequence_1: {
|
|
|
928
926
|
new<T>(capacity: int): XmlQuerySequence_1<T>;
|
|
929
927
|
new<T>(array: T[], size: int): XmlQuerySequence_1<T>;
|
|
930
928
|
new<T>(value: T): XmlQuerySequence_1<T>;
|
|
931
|
-
readonly Empty:
|
|
929
|
+
readonly Empty: <T>() => XmlQuerySequence_1<T>;
|
|
932
930
|
CreateOrReuse<T>(seq: XmlQuerySequence_1<T>, item: T): XmlQuerySequence_1<T>;
|
|
933
931
|
CreateOrReuse<T>(seq: XmlQuerySequence_1<T>): XmlQuerySequence_1<T>;
|
|
934
932
|
};
|
package/System.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ export type Nullable<
|
|
|
366
366
|
T1 = __,
|
|
367
367
|
> =
|
|
368
368
|
[T1] extends [__] ? Internal.Nullable :
|
|
369
|
-
[T1] extends [
|
|
369
|
+
[T1] extends [Internal.NonNullable<JsValue>] ? Internal.Nullable_1<T1> : never;
|
|
370
370
|
|
|
371
371
|
export type Tuple<
|
|
372
372
|
T1 = __,
|
|
@@ -406,7 +406,7 @@ export type ValueTuple<
|
|
|
406
406
|
[T6] extends [__] ? Internal.ValueTuple_5<T1, T2, T3, T4, T5> :
|
|
407
407
|
[T7] extends [__] ? Internal.ValueTuple_6<T1, T2, T3, T4, T5, T6> :
|
|
408
408
|
[T8] extends [__] ? Internal.ValueTuple_7<T1, T2, T3, T4, T5, T6, T7> :
|
|
409
|
-
[T8] extends [
|
|
409
|
+
[T8] extends [Internal.NonNullable<JsValue>] ? Internal.ValueTuple_8<T1, T2, T3, T4, T5, T6, T7, T8> : never;
|
|
410
410
|
|
|
411
411
|
export type WeakReference<
|
|
412
412
|
T1 = __,
|