@tsonic/dotnet 0.7.3 → 0.7.4
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/Microsoft.VisualBasic/internal/index.d.ts +8 -8
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +2 -2
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +7 -7
- package/System/internal/index.d.ts +79 -72
- package/System.Buffers/internal/index.d.ts +1 -1
- package/System.Buffers.d.ts +11 -2
- package/System.CodeDom.Compiler/internal/index.d.ts +2 -2
- package/System.Collections.Concurrent/internal/index.d.ts +1 -0
- package/System.Collections.Concurrent.d.ts +11 -2
- package/System.Collections.Generic/internal/index.d.ts +10 -0
- package/System.Collections.Immutable/internal/index.d.ts +16 -11
- package/System.Collections.ObjectModel.d.ts +11 -2
- package/System.Collections.Specialized/internal/index.d.ts +3 -2
- package/System.ComponentModel/internal/index.d.ts +11 -7
- package/System.ComponentModel.Design/internal/index.d.ts +3 -0
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +3 -1
- package/System.Data/internal/index.d.ts +12 -7
- package/System.Data.SqlTypes/internal/index.d.ts +26 -26
- package/System.Data.d.ts +17 -4
- package/System.Diagnostics/internal/index.d.ts +19 -19
- package/System.Diagnostics.Metrics/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics.d.ts +11 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +1 -1
- package/System.Drawing/internal/index.d.ts +7 -7
- package/System.Dynamic/internal/index.d.ts +2 -2
- package/System.Formats.Asn1/internal/index.d.ts +1 -1
- package/System.Globalization/internal/index.d.ts +1 -1
- package/System.IO/internal/index.d.ts +9 -9
- package/System.Linq/internal/index.d.ts +5 -0
- package/System.Linq.Expressions/internal/index.d.ts +47 -47
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Linq.Expressions.d.ts +11 -2
- package/System.Linq.d.ts +35 -10
- package/System.Net/internal/index.d.ts +6 -2
- package/System.Net.Http/internal/index.d.ts +1 -1
- package/System.Net.Security/internal/index.d.ts +1 -1
- package/System.Net.ServerSentEvents.d.ts +11 -2
- package/System.Net.Sockets/internal/index.d.ts +2 -2
- package/System.Numerics/internal/index.d.ts +61 -21
- package/System.Numerics.d.ts +11 -2
- package/System.Reflection/internal/index.d.ts +3 -3
- package/System.Reflection.Emit/internal/index.d.ts +7 -7
- package/System.Reflection.Metadata/internal/index.d.ts +46 -43
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +2 -0
- package/System.Runtime.CompilerServices/internal/index.d.ts +2 -1
- package/System.Runtime.CompilerServices.d.ts +41 -12
- package/System.Runtime.InteropServices/internal/index.d.ts +19 -18
- package/System.Runtime.InteropServices.JavaScript.d.ts +17 -2
- package/System.Runtime.InteropServices.Swift.d.ts +11 -2
- package/System.Runtime.InteropServices.d.ts +11 -2
- package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
- package/System.Runtime.Intrinsics.d.ts +29 -8
- package/System.Runtime.Versioning/internal/index.d.ts +1 -1
- package/System.Security.AccessControl.d.ts +23 -6
- package/System.Security.Cryptography/internal/index.d.ts +15 -15
- package/System.Security.Principal/internal/index.d.ts +1 -1
- package/System.Text/internal/index.d.ts +10 -9
- package/System.Text.Encodings.Web/internal/index.d.ts +7 -7
- package/System.Text.Json/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +1 -1
- package/System.Text.Json.Serialization.Metadata.d.ts +11 -2
- package/System.Text.Json.Serialization.d.ts +23 -6
- package/System.Threading/internal/index.d.ts +5 -5
- package/System.Threading.Channels.d.ts +13 -2
- package/System.Threading.Tasks/internal/index.d.ts +12 -12
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +1 -1
- package/System.Threading.Tasks.Dataflow.d.ts +21 -2
- package/System.Threading.Tasks.Sources.d.ts +11 -2
- package/System.Threading.Tasks.d.ts +29 -8
- package/System.Transactions/internal/index.d.ts +1 -1
- package/System.Xml.Linq/internal/index.d.ts +10 -10
- package/System.d.ts +75 -14
- package/families.json +359 -0
- package/package.json +1 -1
- package/tsconfig.json +2 -1
|
@@ -138,7 +138,7 @@ export interface __ValueTask$views {
|
|
|
138
138
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask>;
|
|
139
139
|
|
|
140
140
|
// Structural method bridges for numeric interface constraints
|
|
141
|
-
|
|
141
|
+
equals(other: ValueTask): boolean;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
export type ValueTask = ValueTask$instance & __ValueTask$views;
|
|
@@ -172,7 +172,7 @@ export interface __ValueTask_1$views<TResult> {
|
|
|
172
172
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<ValueTask_1<TResult>>;
|
|
173
173
|
|
|
174
174
|
// Structural method bridges for numeric interface constraints
|
|
175
|
-
|
|
175
|
+
equals(other: ValueTask_1<TResult>): boolean;
|
|
176
176
|
}
|
|
177
177
|
|
|
178
178
|
export type ValueTask_1<TResult> = ValueTask_1$instance<TResult> & __ValueTask_1$views<TResult>;
|
|
@@ -314,32 +314,32 @@ export const Task: {
|
|
|
314
314
|
waitAll(tasks: Task[], millisecondsTimeout: int): boolean;
|
|
315
315
|
waitAll(tasks: Task[], cancellationToken: CancellationToken): void;
|
|
316
316
|
waitAll(tasks: Task[], timeout: TimeSpan): boolean;
|
|
317
|
-
waitAll(tasks: Task[]): void;
|
|
317
|
+
waitAll(...tasks: Task[]): void;
|
|
318
318
|
waitAny(tasks: Task[], millisecondsTimeout: int, cancellationToken: CancellationToken): int;
|
|
319
319
|
waitAny(tasks: Task[], millisecondsTimeout: int): int;
|
|
320
320
|
waitAny(tasks: Task[], cancellationToken: CancellationToken): int;
|
|
321
321
|
waitAny(tasks: Task[], timeout: TimeSpan): int;
|
|
322
|
-
waitAny(tasks: Task[]): int;
|
|
322
|
+
waitAny(...tasks: Task[]): int;
|
|
323
323
|
whenAll<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<TResult[]>;
|
|
324
324
|
whenAll<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<TResult[]>;
|
|
325
325
|
whenAll(tasks: IEnumerable_1<Task>): Task;
|
|
326
326
|
whenAll(tasks: ReadOnlySpan_1<Task>): Task;
|
|
327
|
-
whenAll(tasks: Task[]): Task;
|
|
328
|
-
whenAll<TResult>(tasks: Task_1<TResult>[]): Task_1<TResult[]>;
|
|
327
|
+
whenAll(...tasks: Task[]): Task;
|
|
328
|
+
whenAll<TResult>(...tasks: Task_1<TResult>[]): Task_1<TResult[]>;
|
|
329
329
|
whenAny<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
|
|
330
330
|
whenAny<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): Task_1<Task_1<TResult>>;
|
|
331
331
|
whenAny(tasks: IEnumerable_1<Task>): Task_1<Task>;
|
|
332
332
|
whenAny(tasks: ReadOnlySpan_1<Task>): Task_1<Task>;
|
|
333
333
|
whenAny(task1: Task, task2: Task): Task_1<Task>;
|
|
334
|
-
whenAny(tasks: Task[]): Task_1<Task>;
|
|
334
|
+
whenAny(...tasks: Task[]): Task_1<Task>;
|
|
335
335
|
whenAny<TResult>(task1: Task_1<TResult>, task2: Task_1<TResult>): Task_1<Task_1<TResult>>;
|
|
336
|
-
whenAny<TResult>(tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
|
|
336
|
+
whenAny<TResult>(...tasks: Task_1<TResult>[]): Task_1<Task_1<TResult>>;
|
|
337
337
|
whenEach<TResult>(tasks: IEnumerable_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
338
338
|
whenEach<TResult>(tasks: ReadOnlySpan_1<Task_1<TResult>>): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
339
339
|
whenEach(tasks: IEnumerable_1<Task>): IAsyncEnumerable_1<Task>;
|
|
340
340
|
whenEach(tasks: ReadOnlySpan_1<Task>): IAsyncEnumerable_1<Task>;
|
|
341
|
-
whenEach(tasks: Task[]): IAsyncEnumerable_1<Task>;
|
|
342
|
-
whenEach<TResult>(tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
341
|
+
whenEach(...tasks: Task[]): IAsyncEnumerable_1<Task>;
|
|
342
|
+
whenEach<TResult>(...tasks: Task_1<TResult>[]): IAsyncEnumerable_1<Task_1<TResult>>;
|
|
343
343
|
yield_(): YieldAwaitable;
|
|
344
344
|
};
|
|
345
345
|
|
|
@@ -743,8 +743,8 @@ export abstract class Parallel$instance {
|
|
|
743
743
|
static forEachAsync<TSource>(source: IEnumerable_1<TSource>, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
744
744
|
static forEachAsync<TSource>(source: IEnumerable_1<TSource>, cancellationToken: CancellationToken, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
745
745
|
static forEachAsync<TSource>(source: IEnumerable_1<TSource>, parallelOptions: ParallelOptions, body: Func_3<TSource, CancellationToken, ValueTask>): Task;
|
|
746
|
-
static invoke(actions: Action[]): void;
|
|
747
|
-
static invoke(parallelOptions: ParallelOptions, actions: Action[]): void;
|
|
746
|
+
static invoke(...actions: Action[]): void;
|
|
747
|
+
static invoke(parallelOptions: ParallelOptions, ...actions: Action[]): void;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
750
|
|
|
@@ -133,7 +133,7 @@ export interface __DataflowMessageHeader$views {
|
|
|
133
133
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<DataflowMessageHeader>;
|
|
134
134
|
|
|
135
135
|
// Structural method bridges for numeric interface constraints
|
|
136
|
-
|
|
136
|
+
equals(other: DataflowMessageHeader): boolean;
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export type DataflowMessageHeader = DataflowMessageHeader$instance & __DataflowMessageHeader$views;
|
|
@@ -26,10 +26,29 @@ export type ISourceBlock<TOutput> = Internal.ISourceBlock_1<TOutput>;
|
|
|
26
26
|
export type ITargetBlock<TInput> = Internal.ITargetBlock_1<TInput>;
|
|
27
27
|
export { ActionBlock_1 as ActionBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
28
28
|
export { BatchBlock_1 as BatchBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
29
|
-
export { BatchedJoinBlock_2 as BatchedJoinBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
30
29
|
export { BroadcastBlock_1 as BroadcastBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
31
30
|
export { BufferBlock_1 as BufferBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
32
|
-
export { JoinBlock_2 as JoinBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
33
31
|
export { TransformBlock_2 as TransformBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
34
32
|
export { TransformManyBlock_2 as TransformManyBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
35
33
|
export { WriteOnceBlock_1 as WriteOnceBlock } from './System.Threading.Tasks.Dataflow/internal/index.js';
|
|
34
|
+
|
|
35
|
+
// Multi-arity family sentinel (detects unspecified type parameters)
|
|
36
|
+
declare const __unspecified: unique symbol;
|
|
37
|
+
export type __ = typeof __unspecified;
|
|
38
|
+
|
|
39
|
+
export type BatchedJoinBlock<
|
|
40
|
+
T1 = __,
|
|
41
|
+
T2 = __,
|
|
42
|
+
T3 = __,
|
|
43
|
+
> =
|
|
44
|
+
[T3] extends [__] ? Internal.BatchedJoinBlock_2<T1, T2> :
|
|
45
|
+
Internal.BatchedJoinBlock_3<T1, T2, T3>;
|
|
46
|
+
|
|
47
|
+
export type JoinBlock<
|
|
48
|
+
T1 = __,
|
|
49
|
+
T2 = __,
|
|
50
|
+
T3 = __,
|
|
51
|
+
> =
|
|
52
|
+
[T3] extends [__] ? Internal.JoinBlock_2<T1, T2> :
|
|
53
|
+
Internal.JoinBlock_3<T1, T2, T3>;
|
|
54
|
+
|
|
@@ -11,6 +11,15 @@ import type { Action_1, Boolean as ClrBoolean, Enum, Exception, IComparable, ICo
|
|
|
11
11
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
12
12
|
export { ValueTaskSourceOnCompletedFlags as ValueTaskSourceOnCompletedFlags } from './System.Threading.Tasks.Sources/internal/index.js';
|
|
13
13
|
export { ValueTaskSourceStatus as ValueTaskSourceStatus } from './System.Threading.Tasks.Sources/internal/index.js';
|
|
14
|
-
export type IValueTaskSource_0 = Internal.IValueTaskSource;
|
|
15
|
-
export type IValueTaskSource<TResult> = Internal.IValueTaskSource_1<TResult>;
|
|
16
14
|
export { ManualResetValueTaskSourceCore_1 as ManualResetValueTaskSourceCore } from './System.Threading.Tasks.Sources/internal/index.js';
|
|
15
|
+
|
|
16
|
+
// Multi-arity family sentinel (detects unspecified type parameters)
|
|
17
|
+
declare const __unspecified: unique symbol;
|
|
18
|
+
export type __ = typeof __unspecified;
|
|
19
|
+
|
|
20
|
+
export type IValueTaskSource<
|
|
21
|
+
T1 = __,
|
|
22
|
+
> =
|
|
23
|
+
[T1] extends [__] ? Internal.IValueTaskSource :
|
|
24
|
+
Internal.IValueTaskSource_1<T1>;
|
|
25
|
+
|
|
@@ -20,25 +20,46 @@ import type { Action, Action_1, Action_2, Action_3, AggregateException, AsyncCal
|
|
|
20
20
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
21
21
|
export { ConcurrentExclusiveSchedulerPair as ConcurrentExclusiveSchedulerPair } from './System.Threading.Tasks/internal/index.js';
|
|
22
22
|
export { ConfigureAwaitOptions as ConfigureAwaitOptions } from './System.Threading.Tasks/internal/index.js';
|
|
23
|
-
export { Task_1 as Task } from './System.Threading.Tasks/internal/index.js';
|
|
24
|
-
export { TaskFactory_1 as TaskFactory } from './System.Threading.Tasks/internal/index.js';
|
|
25
23
|
export { TaskStatus as TaskStatus } from './System.Threading.Tasks/internal/index.js';
|
|
26
|
-
export { Task as Task_0 } from './System.Threading.Tasks/internal/index.js';
|
|
27
24
|
export { TaskCreationOptions as TaskCreationOptions } from './System.Threading.Tasks/internal/index.js';
|
|
28
25
|
export { TaskContinuationOptions as TaskContinuationOptions } from './System.Threading.Tasks/internal/index.js';
|
|
29
26
|
export { TaskAsyncEnumerableExtensions$instance as TaskAsyncEnumerableExtensions } from './System.Threading.Tasks/internal/index.js';
|
|
30
27
|
export { TaskCanceledException as TaskCanceledException } from './System.Threading.Tasks/internal/index.js';
|
|
31
|
-
export { TaskCompletionSource as TaskCompletionSource_0 } from './System.Threading.Tasks/internal/index.js';
|
|
32
|
-
export { TaskCompletionSource_1 as TaskCompletionSource } from './System.Threading.Tasks/internal/index.js';
|
|
33
28
|
export { TaskExtensions$instance as TaskExtensions } from './System.Threading.Tasks/internal/index.js';
|
|
34
|
-
export { TaskFactory as TaskFactory_0 } from './System.Threading.Tasks/internal/index.js';
|
|
35
29
|
export { TaskScheduler as TaskScheduler } from './System.Threading.Tasks/internal/index.js';
|
|
36
30
|
export { UnobservedTaskExceptionEventArgs as UnobservedTaskExceptionEventArgs } from './System.Threading.Tasks/internal/index.js';
|
|
37
31
|
export { TaskSchedulerException as TaskSchedulerException } from './System.Threading.Tasks/internal/index.js';
|
|
38
|
-
export { ValueTask as ValueTask_0 } from './System.Threading.Tasks/internal/index.js';
|
|
39
|
-
export { ValueTask_1 as ValueTask } from './System.Threading.Tasks/internal/index.js';
|
|
40
32
|
export { TaskToAsyncResult$instance as TaskToAsyncResult } from './System.Threading.Tasks/internal/index.js';
|
|
41
33
|
export { ParallelOptions as ParallelOptions } from './System.Threading.Tasks/internal/index.js';
|
|
42
34
|
export { Parallel$instance as Parallel } from './System.Threading.Tasks/internal/index.js';
|
|
43
35
|
export { ParallelLoopState as ParallelLoopState } from './System.Threading.Tasks/internal/index.js';
|
|
44
36
|
export { ParallelLoopResult as ParallelLoopResult } from './System.Threading.Tasks/internal/index.js';
|
|
37
|
+
|
|
38
|
+
// Multi-arity family sentinel (detects unspecified type parameters)
|
|
39
|
+
declare const __unspecified: unique symbol;
|
|
40
|
+
export type __ = typeof __unspecified;
|
|
41
|
+
|
|
42
|
+
export type Task<
|
|
43
|
+
T1 = __,
|
|
44
|
+
> =
|
|
45
|
+
[T1] extends [__] ? Internal.Task :
|
|
46
|
+
Internal.Task_1<T1>;
|
|
47
|
+
|
|
48
|
+
export type TaskCompletionSource<
|
|
49
|
+
T1 = __,
|
|
50
|
+
> =
|
|
51
|
+
[T1] extends [__] ? Internal.TaskCompletionSource :
|
|
52
|
+
Internal.TaskCompletionSource_1<T1>;
|
|
53
|
+
|
|
54
|
+
export type TaskFactory<
|
|
55
|
+
T1 = __,
|
|
56
|
+
> =
|
|
57
|
+
[T1] extends [__] ? Internal.TaskFactory :
|
|
58
|
+
Internal.TaskFactory_1<T1>;
|
|
59
|
+
|
|
60
|
+
export type ValueTask<
|
|
61
|
+
T1 = __,
|
|
62
|
+
> =
|
|
63
|
+
[T1] extends [__] ? Internal.ValueTask :
|
|
64
|
+
Internal.ValueTask_1<T1>;
|
|
65
|
+
|
|
@@ -173,7 +173,7 @@ export interface __TransactionOptions$views {
|
|
|
173
173
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<TransactionOptions>;
|
|
174
174
|
|
|
175
175
|
// Structural method bridges for numeric interface constraints
|
|
176
|
-
|
|
176
|
+
equals(other: TransactionOptions): boolean;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
export type TransactionOptions = TransactionOptions$instance & __TransactionOptions$views;
|
|
@@ -154,9 +154,9 @@ export interface XContainer$instance extends XNode$instance {
|
|
|
154
154
|
readonly firstNode: XNode;
|
|
155
155
|
readonly lastNode: XNode;
|
|
156
156
|
add(content: unknown): void;
|
|
157
|
-
add(content: unknown[]): void;
|
|
157
|
+
add(...content: unknown[]): void;
|
|
158
158
|
addFirst(content: unknown): void;
|
|
159
|
-
addFirst(content: unknown[]): void;
|
|
159
|
+
addFirst(...content: unknown[]): void;
|
|
160
160
|
createWriter(): XmlWriter;
|
|
161
161
|
descendantNodes(): IEnumerable_1<XNode>;
|
|
162
162
|
descendants(): IEnumerable_1<XElement>;
|
|
@@ -168,7 +168,7 @@ export interface XContainer$instance extends XNode$instance {
|
|
|
168
168
|
nodes(): IEnumerable_1<XNode>;
|
|
169
169
|
removeNodes(): void;
|
|
170
170
|
replaceNodes(content: unknown): void;
|
|
171
|
-
replaceNodes(content: unknown[]): void;
|
|
171
|
+
replaceNodes(...content: unknown[]): void;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
|
|
@@ -297,9 +297,9 @@ export interface XElement$instance extends XContainer$instance {
|
|
|
297
297
|
removeAll(): void;
|
|
298
298
|
removeAttributes(): void;
|
|
299
299
|
replaceAll(content: unknown): void;
|
|
300
|
-
replaceAll(content: unknown[]): void;
|
|
300
|
+
replaceAll(...content: unknown[]): void;
|
|
301
301
|
replaceAttributes(content: unknown): void;
|
|
302
|
-
replaceAttributes(content: unknown[]): void;
|
|
302
|
+
replaceAttributes(...content: unknown[]): void;
|
|
303
303
|
save(fileName: string): void;
|
|
304
304
|
save(fileName: string, options: SaveOptions): void;
|
|
305
305
|
save(stream: Stream): void;
|
|
@@ -373,7 +373,7 @@ export interface __XName$views {
|
|
|
373
373
|
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
374
374
|
|
|
375
375
|
// Structural method bridges for numeric interface constraints
|
|
376
|
-
|
|
376
|
+
equals(other: XName): boolean;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
export interface XName$instance extends System_Runtime_Serialization_Internal.ISerializable$instance {}
|
|
@@ -405,9 +405,9 @@ export interface XNode$instance extends XObject$instance {
|
|
|
405
405
|
readonly nextNode: XNode;
|
|
406
406
|
readonly previousNode: XNode;
|
|
407
407
|
addAfterSelf(content: unknown): void;
|
|
408
|
-
addAfterSelf(content: unknown[]): void;
|
|
408
|
+
addAfterSelf(...content: unknown[]): void;
|
|
409
409
|
addBeforeSelf(content: unknown): void;
|
|
410
|
-
addBeforeSelf(content: unknown[]): void;
|
|
410
|
+
addBeforeSelf(...content: unknown[]): void;
|
|
411
411
|
ancestors(): IEnumerable_1<XElement>;
|
|
412
412
|
ancestors(name: XName): IEnumerable_1<XElement>;
|
|
413
413
|
createReader(): XmlReader;
|
|
@@ -423,7 +423,7 @@ export interface XNode$instance extends XObject$instance {
|
|
|
423
423
|
nodesBeforeSelf(): IEnumerable_1<XNode>;
|
|
424
424
|
remove(): void;
|
|
425
425
|
replaceWith(content: unknown): void;
|
|
426
|
-
replaceWith(content: unknown[]): void;
|
|
426
|
+
replaceWith(...content: unknown[]): void;
|
|
427
427
|
toString(): string;
|
|
428
428
|
toString(options: SaveOptions): string;
|
|
429
429
|
writeTo(writer: XmlWriter): void;
|
|
@@ -559,7 +559,7 @@ export type XProcessingInstruction = XProcessingInstruction$instance & __XProces
|
|
|
559
559
|
export interface XStreamingElement$instance {
|
|
560
560
|
name: XName;
|
|
561
561
|
add(content: unknown): void;
|
|
562
|
-
add(content: unknown[]): void;
|
|
562
|
+
add(...content: unknown[]): void;
|
|
563
563
|
save(stream: Stream): void;
|
|
564
564
|
save(stream: Stream, options: SaveOptions): void;
|
|
565
565
|
save(textWriter: TextWriter): void;
|
package/System.d.ts
CHANGED
|
@@ -119,8 +119,6 @@ export { DuplicateWaitObjectException as DuplicateWaitObjectException } from './
|
|
|
119
119
|
export { EntryPointNotFoundException as EntryPointNotFoundException } from './System/internal/index.js';
|
|
120
120
|
export { EnvironmentVariableTarget as EnvironmentVariableTarget } from './System/internal/index.js';
|
|
121
121
|
export { EventArgs as EventArgs } from './System/internal/index.js';
|
|
122
|
-
export type EventHandler_0 = Internal.EventHandler;
|
|
123
|
-
export type EventHandler<TEventArgs> = Internal.EventHandler_1<TEventArgs>;
|
|
124
122
|
export { ExecutionEngineException as ExecutionEngineException } from './System/internal/index.js';
|
|
125
123
|
export { FieldAccessException as FieldAccessException } from './System/internal/index.js';
|
|
126
124
|
export { FlagsAttribute as FlagsAttribute } from './System/internal/index.js';
|
|
@@ -135,8 +133,6 @@ export { HashCode as HashCode } from './System/internal/index.js';
|
|
|
135
133
|
export type IAsyncDisposable = Internal.IAsyncDisposable;
|
|
136
134
|
export type IAsyncResult = Internal.IAsyncResult;
|
|
137
135
|
export type ICloneable = Internal.ICloneable;
|
|
138
|
-
export type IComparable_0 = Internal.IComparable;
|
|
139
|
-
export type IComparable<T> = Internal.IComparable_1<T>;
|
|
140
136
|
export type IConvertible = Internal.IConvertible;
|
|
141
137
|
export type ICustomFormatter = Internal.ICustomFormatter;
|
|
142
138
|
export type IDisposable = Internal.IDisposable;
|
|
@@ -162,7 +158,6 @@ export type IProgress<T> = Internal.IProgress_1<T>;
|
|
|
162
158
|
export type ISpanFormattable = Internal.ISpanFormattable;
|
|
163
159
|
export type IUtf8SpanFormattable = Internal.IUtf8SpanFormattable;
|
|
164
160
|
export type IUtf8SpanParsable<TSelf extends Internal.IUtf8SpanParsable_1<TSelf>> = Internal.IUtf8SpanParsable_1<TSelf>;
|
|
165
|
-
export { Lazy_1 as Lazy } from './System/internal/index.js';
|
|
166
161
|
export { LoaderOptimization as LoaderOptimization } from './System/internal/index.js';
|
|
167
162
|
export { LoaderOptimizationAttribute as LoaderOptimizationAttribute } from './System/internal/index.js';
|
|
168
163
|
export { LocalDataStoreSlot as LocalDataStoreSlot } from './System/internal/index.js';
|
|
@@ -182,8 +177,6 @@ export { NonSerializedAttribute as NonSerializedAttribute } from './System/inter
|
|
|
182
177
|
export { NotFiniteNumberException as NotFiniteNumberException } from './System/internal/index.js';
|
|
183
178
|
export { NotImplementedException as NotImplementedException } from './System/internal/index.js';
|
|
184
179
|
export { NotSupportedException as NotSupportedException } from './System/internal/index.js';
|
|
185
|
-
export { Nullable_1 as Nullable } from './System/internal/index.js';
|
|
186
|
-
export { Nullable$instance as Nullable_0 } from './System/internal/index.js';
|
|
187
180
|
export { NullReferenceException as NullReferenceException } from './System/internal/index.js';
|
|
188
181
|
export { ObjectDisposedException as ObjectDisposedException } from './System/internal/index.js';
|
|
189
182
|
export { ObsoleteAttribute as ObsoleteAttribute } from './System/internal/index.js';
|
|
@@ -225,8 +218,6 @@ export { TimeZoneInfo as TimeZoneInfo } from './System/internal/index.js';
|
|
|
225
218
|
export { TimeZoneInfo_AdjustmentRule as TimeZoneInfo_AdjustmentRule } from './System/internal/index.js';
|
|
226
219
|
export { TimeZoneInfo_TransitionTime as TimeZoneInfo_TransitionTime } from './System/internal/index.js';
|
|
227
220
|
export { TimeZoneNotFoundException as TimeZoneNotFoundException } from './System/internal/index.js';
|
|
228
|
-
export { Tuple$instance as Tuple_0 } from './System/internal/index.js';
|
|
229
|
-
export { Tuple_1 as Tuple } from './System/internal/index.js';
|
|
230
221
|
export { TupleExtensions$instance as TupleExtensions } from './System/internal/index.js';
|
|
231
222
|
export { TypeAccessException as TypeAccessException } from './System/internal/index.js';
|
|
232
223
|
export { TypeCode as TypeCode } from './System/internal/index.js';
|
|
@@ -241,12 +232,8 @@ export { UnauthorizedAccessException as UnauthorizedAccessException } from './Sy
|
|
|
241
232
|
export { UnhandledExceptionEventArgs as UnhandledExceptionEventArgs } from './System/internal/index.js';
|
|
242
233
|
export type UnhandledExceptionEventHandler = Internal.UnhandledExceptionEventHandler;
|
|
243
234
|
export { UnitySerializationHolder as UnitySerializationHolder } from './System/internal/index.js';
|
|
244
|
-
export { ValueTuple as ValueTuple_0 } from './System/internal/index.js';
|
|
245
|
-
export { ValueTuple_1 as ValueTuple } from './System/internal/index.js';
|
|
246
235
|
export { Version as Version } from './System/internal/index.js';
|
|
247
236
|
export { Void as Void } from './System/internal/index.js';
|
|
248
|
-
export { WeakReference as WeakReference_0 } from './System/internal/index.js';
|
|
249
|
-
export { WeakReference_1 as WeakReference } from './System/internal/index.js';
|
|
250
237
|
export { TimeProvider as TimeProvider } from './System/internal/index.js';
|
|
251
238
|
export type IParsable<TSelf extends Internal.IParsable_1<TSelf>> = Internal.IParsable_1<TSelf>;
|
|
252
239
|
export type ISpanParsable<TSelf extends Internal.ISpanParsable_1<TSelf>> = Internal.ISpanParsable_1<TSelf>;
|
|
@@ -271,7 +258,7 @@ export { NetTcpStyleUriParser as NetTcpStyleUriParser } from './System/internal/
|
|
|
271
258
|
export { UriPartial as UriPartial } from './System/internal/index.js';
|
|
272
259
|
export { UriParser as UriParser } from './System/internal/index.js';
|
|
273
260
|
|
|
274
|
-
//
|
|
261
|
+
// Multi-arity family sentinel (detects unspecified type parameters)
|
|
275
262
|
declare const __unspecified: unique symbol;
|
|
276
263
|
export type __ = typeof __unspecified;
|
|
277
264
|
|
|
@@ -311,6 +298,14 @@ export type Action<
|
|
|
311
298
|
[T16] extends [__] ? (((arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9, arg10: T10, arg11: T11, arg12: T12, arg13: T13, arg14: T14, arg15: T15) => void) | Internal.Action_15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>) :
|
|
312
299
|
(((arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9, arg10: T10, arg11: T11, arg12: T12, arg13: T13, arg14: T14, arg15: T15, arg16: T16) => void) | Internal.Action_16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>);
|
|
313
300
|
|
|
301
|
+
export type EventHandler<
|
|
302
|
+
T1 = __,
|
|
303
|
+
T2 = __,
|
|
304
|
+
> =
|
|
305
|
+
[T1] extends [__] ? ((() => void) | Internal.EventHandler) :
|
|
306
|
+
[T2] extends [__] ? (((arg1: T1) => void) | Internal.EventHandler_1<T1>) :
|
|
307
|
+
(((arg1: T1, arg2: T2) => void) | Internal.EventHandler_2<T1, T2>);
|
|
308
|
+
|
|
314
309
|
export type Func<
|
|
315
310
|
T1 = __,
|
|
316
311
|
T2 = __,
|
|
@@ -347,3 +342,69 @@ export type Func<
|
|
|
347
342
|
[T16] extends [__] ? (((arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9, arg10: T10, arg11: T11, arg12: T12, arg13: T13, arg14: T14) => T15) | Internal.Func_15<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>) :
|
|
348
343
|
[T17] extends [__] ? (((arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9, arg10: T10, arg11: T11, arg12: T12, arg13: T13, arg14: T14, arg15: T15) => T16) | Internal.Func_16<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>) :
|
|
349
344
|
(((arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8, arg9: T9, arg10: T10, arg11: T11, arg12: T12, arg13: T13, arg14: T14, arg15: T15, arg16: T16) => T17) | Internal.Func_17<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>);
|
|
345
|
+
|
|
346
|
+
export type IComparable<
|
|
347
|
+
T1 = __,
|
|
348
|
+
> =
|
|
349
|
+
[T1] extends [__] ? Internal.IComparable :
|
|
350
|
+
Internal.IComparable_1<T1>;
|
|
351
|
+
|
|
352
|
+
export type Lazy<
|
|
353
|
+
T1 = __,
|
|
354
|
+
T2 = __,
|
|
355
|
+
> =
|
|
356
|
+
[T2] extends [__] ? Internal.Lazy_1<T1> :
|
|
357
|
+
Internal.Lazy_2<T1, T2>;
|
|
358
|
+
|
|
359
|
+
export type Nullable<
|
|
360
|
+
T1 = __,
|
|
361
|
+
> =
|
|
362
|
+
[T1] extends [__] ? Internal.Nullable :
|
|
363
|
+
[T1] extends [unknown] ? Internal.Nullable_1<T1> : never;
|
|
364
|
+
|
|
365
|
+
export type Tuple<
|
|
366
|
+
T1 = __,
|
|
367
|
+
T2 = __,
|
|
368
|
+
T3 = __,
|
|
369
|
+
T4 = __,
|
|
370
|
+
T5 = __,
|
|
371
|
+
T6 = __,
|
|
372
|
+
T7 = __,
|
|
373
|
+
T8 = __,
|
|
374
|
+
> =
|
|
375
|
+
[T1] extends [__] ? Internal.Tuple :
|
|
376
|
+
[T2] extends [__] ? Internal.Tuple_1<T1> :
|
|
377
|
+
[T3] extends [__] ? Internal.Tuple_2<T1, T2> :
|
|
378
|
+
[T4] extends [__] ? Internal.Tuple_3<T1, T2, T3> :
|
|
379
|
+
[T5] extends [__] ? Internal.Tuple_4<T1, T2, T3, T4> :
|
|
380
|
+
[T6] extends [__] ? Internal.Tuple_5<T1, T2, T3, T4, T5> :
|
|
381
|
+
[T7] extends [__] ? Internal.Tuple_6<T1, T2, T3, T4, T5, T6> :
|
|
382
|
+
[T8] extends [__] ? Internal.Tuple_7<T1, T2, T3, T4, T5, T6, T7> :
|
|
383
|
+
Internal.Tuple_8<T1, T2, T3, T4, T5, T6, T7, T8>;
|
|
384
|
+
|
|
385
|
+
export type ValueTuple<
|
|
386
|
+
T1 = __,
|
|
387
|
+
T2 = __,
|
|
388
|
+
T3 = __,
|
|
389
|
+
T4 = __,
|
|
390
|
+
T5 = __,
|
|
391
|
+
T6 = __,
|
|
392
|
+
T7 = __,
|
|
393
|
+
T8 = __,
|
|
394
|
+
> =
|
|
395
|
+
[T1] extends [__] ? Internal.ValueTuple :
|
|
396
|
+
[T2] extends [__] ? Internal.ValueTuple_1<T1> :
|
|
397
|
+
[T3] extends [__] ? Internal.ValueTuple_2<T1, T2> :
|
|
398
|
+
[T4] extends [__] ? Internal.ValueTuple_3<T1, T2, T3> :
|
|
399
|
+
[T5] extends [__] ? Internal.ValueTuple_4<T1, T2, T3, T4> :
|
|
400
|
+
[T6] extends [__] ? Internal.ValueTuple_5<T1, T2, T3, T4, T5> :
|
|
401
|
+
[T7] extends [__] ? Internal.ValueTuple_6<T1, T2, T3, T4, T5, T6> :
|
|
402
|
+
[T8] extends [__] ? Internal.ValueTuple_7<T1, T2, T3, T4, T5, T6, T7> :
|
|
403
|
+
[T8] extends [unknown] ? Internal.ValueTuple_8<T1, T2, T3, T4, T5, T6, T7, T8> : never;
|
|
404
|
+
|
|
405
|
+
export type WeakReference<
|
|
406
|
+
T1 = __,
|
|
407
|
+
> =
|
|
408
|
+
[T1] extends [__] ? Internal.WeakReference :
|
|
409
|
+
Internal.WeakReference_1<T1>;
|
|
410
|
+
|