@tsonic/dotnet 10.0.39 → 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
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.IO.Enumeration
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { 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";
|
|
@@ -22,12 +20,6 @@ import type { ISerializable, SerializationInfo, StreamingContext } from "../../S
|
|
|
22
20
|
import * as System_Internal from "../../System/internal/index.js";
|
|
23
21
|
import type { AsyncCallback, Boolean as ClrBoolean, Char, DateTimeOffset, Delegate, IAsyncResult, ICloneable, IDisposable, Int32, Int64, IntPtr, MulticastDelegate, Object as ClrObject, ReadOnlySpan_1, String as ClrString, Type, ValueType, Void } from "../../System/internal/index.js";
|
|
24
22
|
|
|
25
|
-
export type FileSystemEnumerable_1_FindPredicate<TResult> = (entry: FileSystemEntry) => boolean;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export type FileSystemEnumerable_1_FindTransform<TResult> = (entry: FileSystemEntry) => TResult;
|
|
29
|
-
|
|
30
|
-
|
|
31
23
|
export interface FileSystemEntry$instance {
|
|
32
24
|
readonly __tsonic_type_System_IO_Enumeration_FileSystemEntry: never;
|
|
33
25
|
|
|
@@ -61,16 +53,16 @@ export interface FileSystemEnumerable_1$instance<TResult> {
|
|
|
61
53
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
62
54
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
63
55
|
|
|
64
|
-
get ShouldIncludePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> |
|
|
65
|
-
set ShouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> |
|
|
66
|
-
get ShouldRecursePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> |
|
|
67
|
-
set ShouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> |
|
|
56
|
+
get ShouldIncludePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | null;
|
|
57
|
+
set ShouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | null);
|
|
58
|
+
get ShouldRecursePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | null;
|
|
59
|
+
set ShouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult> | null);
|
|
68
60
|
GetEnumerator(): IEnumerator_1<TResult>;
|
|
69
61
|
}
|
|
70
62
|
|
|
71
63
|
|
|
72
64
|
export const FileSystemEnumerable_1: {
|
|
73
|
-
new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions): FileSystemEnumerable_1<TResult>;
|
|
65
|
+
new<TResult>(directory: string, transform: FileSystemEnumerable_1_FindTransform<TResult>, options: EnumerationOptions | null): FileSystemEnumerable_1<TResult>;
|
|
74
66
|
};
|
|
75
67
|
|
|
76
68
|
|
|
@@ -82,6 +74,12 @@ export interface __FileSystemEnumerable_1$views<TResult> {
|
|
|
82
74
|
export type FileSystemEnumerable_1<TResult> = FileSystemEnumerable_1$instance<TResult> & __FileSystemEnumerable_1$views<TResult>;
|
|
83
75
|
|
|
84
76
|
|
|
77
|
+
export type FileSystemEnumerable_1_FindPredicate<TResult> = (entry: FileSystemEntry) => boolean;
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
export type FileSystemEnumerable_1_FindTransform<TResult> = (entry: FileSystemEntry) => TResult;
|
|
81
|
+
|
|
82
|
+
|
|
85
83
|
export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinalizerObject, IDisposable {
|
|
86
84
|
readonly __tsonic_type_System_IO_Enumeration_FileSystemEnumerator_1: never;
|
|
87
85
|
|
|
@@ -103,7 +101,7 @@ export interface FileSystemEnumerator_1$instance<TResult> extends CriticalFinali
|
|
|
103
101
|
}
|
|
104
102
|
|
|
105
103
|
|
|
106
|
-
export const FileSystemEnumerator_1: (abstract new<TResult>(directory: string, options: EnumerationOptions) => FileSystemEnumerator_1<TResult>) & {
|
|
104
|
+
export const FileSystemEnumerator_1: (abstract new<TResult>(directory: string, options: EnumerationOptions | null) => FileSystemEnumerator_1<TResult>) & {
|
|
107
105
|
};
|
|
108
106
|
|
|
109
107
|
|
|
@@ -118,7 +116,7 @@ export type FileSystemEnumerator_1<TResult> = FileSystemEnumerator_1$instance<TR
|
|
|
118
116
|
export abstract class FileSystemName$instance {
|
|
119
117
|
static MatchesSimpleExpression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
|
|
120
118
|
static MatchesWin32Expression(expression: ReadOnlySpan_1<System_Internal.Char>, name: ReadOnlySpan_1<System_Internal.Char>, ignoreCase?: boolean): boolean;
|
|
121
|
-
static TranslateWin32Expression(expression: string): string;
|
|
119
|
+
static TranslateWin32Expression(expression: string | null): string;
|
|
122
120
|
}
|
|
123
121
|
|
|
124
122
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.IO.IsolatedStorage
|
|
3
3
|
// Assembly: System.IO.IsolatedStorage
|
|
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 { SafeFileHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -32,7 +33,7 @@ export enum IsolatedStorageScope {
|
|
|
32
33
|
export interface INormalizeForIsolatedStorage$instance {
|
|
33
34
|
readonly __tsonic_iface_System_IO_IsolatedStorage_INormalizeForIsolatedStorage: never;
|
|
34
35
|
|
|
35
|
-
Normalize():
|
|
36
|
+
Normalize(): JsValue;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
|
|
@@ -41,11 +42,11 @@ export type INormalizeForIsolatedStorage = INormalizeForIsolatedStorage$instance
|
|
|
41
42
|
export interface IsolatedStorage$instance extends MarshalByRefObject {
|
|
42
43
|
readonly __tsonic_type_System_IO_IsolatedStorage_IsolatedStorage: never;
|
|
43
44
|
|
|
44
|
-
readonly ApplicationIdentity:
|
|
45
|
-
readonly AssemblyIdentity:
|
|
45
|
+
readonly ApplicationIdentity: JsValue;
|
|
46
|
+
readonly AssemblyIdentity: JsValue;
|
|
46
47
|
readonly AvailableFreeSpace: long;
|
|
47
48
|
readonly CurrentSize: ulong;
|
|
48
|
-
readonly DomainIdentity:
|
|
49
|
+
readonly DomainIdentity: JsValue;
|
|
49
50
|
readonly MaximumSize: ulong;
|
|
50
51
|
readonly Quota: long;
|
|
51
52
|
Scope: IsolatedStorageScope;
|
|
@@ -73,8 +74,8 @@ export interface IsolatedStorageException$instance extends Exception, System_Run
|
|
|
73
74
|
|
|
74
75
|
export const IsolatedStorageException: {
|
|
75
76
|
new(): IsolatedStorageException;
|
|
76
|
-
new(message: string): IsolatedStorageException;
|
|
77
|
-
new(message: string, inner: Exception): IsolatedStorageException;
|
|
77
|
+
new(message: string | null): IsolatedStorageException;
|
|
78
|
+
new(message: string | null, inner: Exception | null): IsolatedStorageException;
|
|
78
79
|
};
|
|
79
80
|
|
|
80
81
|
|
|
@@ -128,10 +129,10 @@ export const IsolatedStorageFile: {
|
|
|
128
129
|
GetMachineStoreForApplication(): IsolatedStorageFile;
|
|
129
130
|
GetMachineStoreForAssembly(): IsolatedStorageFile;
|
|
130
131
|
GetMachineStoreForDomain(): IsolatedStorageFile;
|
|
131
|
-
GetStore(scope: IsolatedStorageScope, domainIdentity:
|
|
132
|
-
GetStore(scope: IsolatedStorageScope, applicationIdentity:
|
|
133
|
-
GetStore(scope: IsolatedStorageScope, domainEvidenceType: Type, assemblyEvidenceType: Type): IsolatedStorageFile;
|
|
134
|
-
GetStore(scope: IsolatedStorageScope, applicationEvidenceType: Type): IsolatedStorageFile;
|
|
132
|
+
GetStore(scope: IsolatedStorageScope, domainIdentity: JsValue | null, assemblyIdentity: JsValue | null): IsolatedStorageFile;
|
|
133
|
+
GetStore(scope: IsolatedStorageScope, applicationIdentity: JsValue | null): IsolatedStorageFile;
|
|
134
|
+
GetStore(scope: IsolatedStorageScope, domainEvidenceType: Type | null, assemblyEvidenceType: Type | null): IsolatedStorageFile;
|
|
135
|
+
GetStore(scope: IsolatedStorageScope, applicationEvidenceType: Type | null): IsolatedStorageFile;
|
|
135
136
|
GetUserStoreForApplication(): IsolatedStorageFile;
|
|
136
137
|
GetUserStoreForAssembly(): IsolatedStorageFile;
|
|
137
138
|
GetUserStoreForDomain(): IsolatedStorageFile;
|
|
@@ -161,8 +162,8 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
|
|
|
161
162
|
readonly Length: long;
|
|
162
163
|
Position: long;
|
|
163
164
|
readonly SafeFileHandle: SafeFileHandle;
|
|
164
|
-
BeginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject:
|
|
165
|
-
BeginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback, stateObject:
|
|
165
|
+
BeginRead(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | null, stateObject: JsValue | null): IAsyncResult;
|
|
166
|
+
BeginWrite(array: byte[], offset: int, numBytes: int, userCallback: AsyncCallback | null, stateObject: JsValue | null): IAsyncResult;
|
|
166
167
|
Dispose(disposing: boolean): void;
|
|
167
168
|
Dispose(): void;
|
|
168
169
|
DisposeAsync(): ValueTask;
|
|
@@ -195,13 +196,13 @@ export interface IsolatedStorageFileStream$instance extends FileStream {
|
|
|
195
196
|
|
|
196
197
|
export const IsolatedStorageFileStream: {
|
|
197
198
|
new(path: string, mode: FileMode): IsolatedStorageFileStream;
|
|
198
|
-
new(path: string, mode: FileMode, isf: IsolatedStorageFile): IsolatedStorageFileStream;
|
|
199
|
+
new(path: string, mode: FileMode, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
|
|
199
200
|
new(path: string, mode: FileMode, access: FileAccess): IsolatedStorageFileStream;
|
|
200
|
-
new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile): IsolatedStorageFileStream;
|
|
201
|
+
new(path: string, mode: FileMode, access: FileAccess, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
|
|
201
202
|
new(path: string, mode: FileMode, access: FileAccess, share: FileShare): IsolatedStorageFileStream;
|
|
202
|
-
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile): IsolatedStorageFileStream;
|
|
203
|
+
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
|
|
203
204
|
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int): IsolatedStorageFileStream;
|
|
204
|
-
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile): IsolatedStorageFileStream;
|
|
205
|
+
new(path: string, mode: FileMode, access: FileAccess, share: FileShare, bufferSize: int, isf: IsolatedStorageFile | null): IsolatedStorageFileStream;
|
|
205
206
|
};
|
|
206
207
|
|
|
207
208
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.IO.MemoryMappedFiles
|
|
3
3
|
// Assembly: System.IO.MemoryMappedFiles
|
|
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 { SafeFileHandle, SafeMemoryMappedFileHandle, SafeMemoryMappedViewHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -66,16 +67,16 @@ export interface MemoryMappedFile$instance {
|
|
|
66
67
|
|
|
67
68
|
|
|
68
69
|
export const MemoryMappedFile: {
|
|
69
|
-
CreateFromFile(fileHandle: SafeFileHandle, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
70
|
-
CreateFromFile(fileStream: FileStream, mapName: string, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
71
|
-
CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
72
|
-
CreateFromFile(path: string, mode: FileMode, mapName: string, capacity: long): MemoryMappedFile;
|
|
73
|
-
CreateFromFile(path: string, mode: FileMode, mapName: string): MemoryMappedFile;
|
|
70
|
+
CreateFromFile(fileHandle: SafeFileHandle, mapName: string | null, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
71
|
+
CreateFromFile(fileStream: FileStream, mapName: string | null, capacity: long, access: MemoryMappedFileAccess, inheritability: HandleInheritability, leaveOpen: boolean): MemoryMappedFile;
|
|
72
|
+
CreateFromFile(path: string, mode: FileMode, mapName: string | null, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
73
|
+
CreateFromFile(path: string, mode: FileMode, mapName: string | null, capacity: long): MemoryMappedFile;
|
|
74
|
+
CreateFromFile(path: string, mode: FileMode, mapName: string | null): MemoryMappedFile;
|
|
74
75
|
CreateFromFile(path: string, mode: FileMode): MemoryMappedFile;
|
|
75
76
|
CreateFromFile(path: string): MemoryMappedFile;
|
|
76
|
-
CreateNew(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
|
|
77
|
-
CreateNew(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
78
|
-
CreateNew(mapName: string, capacity: long): MemoryMappedFile;
|
|
77
|
+
CreateNew(mapName: string | null, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
|
|
78
|
+
CreateNew(mapName: string | null, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
79
|
+
CreateNew(mapName: string | null, capacity: long): MemoryMappedFile;
|
|
79
80
|
CreateOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess, options: MemoryMappedFileOptions, inheritability: HandleInheritability): MemoryMappedFile;
|
|
80
81
|
CreateOrOpen(mapName: string, capacity: long, access: MemoryMappedFileAccess): MemoryMappedFile;
|
|
81
82
|
CreateOrOpen(mapName: string, capacity: long): MemoryMappedFile;
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.IO.Pipelines
|
|
3
3
|
// Assembly: System.IO.Pipelines
|
|
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_Buffers_Internal from "../../System.Buffers/internal/index.js";
|
|
@@ -89,7 +87,7 @@ export interface PipeOptions$instance {
|
|
|
89
87
|
|
|
90
88
|
|
|
91
89
|
export const PipeOptions: {
|
|
92
|
-
new(pool: MemoryPool_1<System_Internal.Byte
|
|
90
|
+
new(pool: MemoryPool_1<System_Internal.Byte> | null, readerScheduler: PipeScheduler | null, writerScheduler: PipeScheduler | null, pauseWriterThreshold: long, resumeWriterThreshold: long, minimumSegmentSize: int, useSynchronizationContext: boolean): PipeOptions;
|
|
93
91
|
readonly Default: PipeOptions;
|
|
94
92
|
};
|
|
95
93
|
|
|
@@ -103,11 +101,11 @@ export interface PipeReader$instance {
|
|
|
103
101
|
AdvanceTo(consumed: SequencePosition, examined: SequencePosition): void;
|
|
104
102
|
AsStream(leaveOpen?: boolean): Stream;
|
|
105
103
|
CancelPendingRead(): void;
|
|
106
|
-
Complete(exception?: Exception): void;
|
|
107
|
-
CompleteAsync(exception?: Exception): ValueTask;
|
|
104
|
+
Complete(exception?: Exception | null): void;
|
|
105
|
+
CompleteAsync(exception?: Exception | null): ValueTask;
|
|
108
106
|
CopyToAsync(destination: PipeWriter, cancellationToken?: CancellationToken): Task;
|
|
109
107
|
CopyToAsync(destination: Stream, cancellationToken?: CancellationToken): Task;
|
|
110
|
-
OnWriterCompleted(callback: Action_2<Exception,
|
|
108
|
+
OnWriterCompleted(callback: Action_2<Exception | null, JsValue | null>, state: JsValue | null): void;
|
|
111
109
|
ReadAsync(cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
112
110
|
ReadAtLeastAsync(minimumSize: int, cancellationToken?: CancellationToken): ValueTask_1<ReadResult>;
|
|
113
111
|
ReadAtLeastAsyncCore(minimumSize: int, cancellationToken: CancellationToken): ValueTask_1<ReadResult>;
|
|
@@ -117,7 +115,7 @@ export interface PipeReader$instance {
|
|
|
117
115
|
|
|
118
116
|
export const PipeReader: (abstract new() => PipeReader) & {
|
|
119
117
|
Create(sequence: ReadOnlySequence_1<System_Internal.Byte>): PipeReader;
|
|
120
|
-
Create(stream: Stream, readerOptions?: StreamPipeReaderOptions): PipeReader;
|
|
118
|
+
Create(stream: Stream, readerOptions?: StreamPipeReaderOptions | null): PipeReader;
|
|
121
119
|
};
|
|
122
120
|
|
|
123
121
|
|
|
@@ -126,7 +124,7 @@ export type PipeReader = PipeReader$instance;
|
|
|
126
124
|
export interface PipeScheduler$instance {
|
|
127
125
|
readonly __tsonic_type_System_IO_Pipelines_PipeScheduler: never;
|
|
128
126
|
|
|
129
|
-
Schedule(action: Action_1<
|
|
127
|
+
Schedule(action: Action_1<JsValue | null>, state: JsValue | null): void;
|
|
130
128
|
}
|
|
131
129
|
|
|
132
130
|
|
|
@@ -148,19 +146,19 @@ export interface PipeWriter$instance extends System_Buffers_Internal.IBufferWrit
|
|
|
148
146
|
Advance(bytes: int): void;
|
|
149
147
|
AsStream(leaveOpen?: boolean): Stream;
|
|
150
148
|
CancelPendingFlush(): void;
|
|
151
|
-
Complete(exception?: Exception): void;
|
|
152
|
-
CompleteAsync(exception?: Exception): ValueTask;
|
|
149
|
+
Complete(exception?: Exception | null): void;
|
|
150
|
+
CompleteAsync(exception?: Exception | null): ValueTask;
|
|
153
151
|
CopyFromAsync(source: Stream, cancellationToken?: CancellationToken): Task;
|
|
154
152
|
FlushAsync(cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
155
153
|
GetMemory(sizeHint?: int): Memory_1<System_Internal.Byte>;
|
|
156
154
|
GetSpan(sizeHint?: int): Span_1<System_Internal.Byte>;
|
|
157
|
-
OnReaderCompleted(callback: Action_2<Exception,
|
|
155
|
+
OnReaderCompleted(callback: Action_2<Exception | null, JsValue | null>, state: JsValue | null): void;
|
|
158
156
|
WriteAsync(source: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<FlushResult>;
|
|
159
157
|
}
|
|
160
158
|
|
|
161
159
|
|
|
162
160
|
export const PipeWriter: (abstract new() => PipeWriter) & {
|
|
163
|
-
Create(stream: Stream, writerOptions?: StreamPipeWriterOptions): PipeWriter;
|
|
161
|
+
Create(stream: Stream, writerOptions?: StreamPipeWriterOptions | null): PipeWriter;
|
|
164
162
|
};
|
|
165
163
|
|
|
166
164
|
|
|
@@ -183,8 +181,8 @@ export interface StreamPipeReaderOptions$instance {
|
|
|
183
181
|
|
|
184
182
|
|
|
185
183
|
export const StreamPipeReaderOptions: {
|
|
186
|
-
new(pool: MemoryPool_1<System_Internal.Byte
|
|
187
|
-
new(pool: MemoryPool_1<System_Internal.Byte
|
|
184
|
+
new(pool: MemoryPool_1<System_Internal.Byte> | null, bufferSize: int, minimumReadSize: int, leaveOpen: boolean): StreamPipeReaderOptions;
|
|
185
|
+
new(pool: MemoryPool_1<System_Internal.Byte> | null, bufferSize: int, minimumReadSize: int, leaveOpen: boolean, useZeroByteReads: boolean): StreamPipeReaderOptions;
|
|
188
186
|
};
|
|
189
187
|
|
|
190
188
|
|
|
@@ -200,7 +198,7 @@ export interface StreamPipeWriterOptions$instance {
|
|
|
200
198
|
|
|
201
199
|
|
|
202
200
|
export const StreamPipeWriterOptions: {
|
|
203
|
-
new(pool: MemoryPool_1<System_Internal.Byte
|
|
201
|
+
new(pool: MemoryPool_1<System_Internal.Byte> | null, minimumBufferSize: int, leaveOpen: boolean): StreamPipeWriterOptions;
|
|
204
202
|
};
|
|
205
203
|
|
|
206
204
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.IO.Pipes
|
|
3
3
|
// Assembly: System.IO.Pipes, System.IO.Pipes.AccessControl
|
|
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 { SafePipeHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -178,7 +179,7 @@ export interface NamedPipeServerStream$instance extends PipeStream$instance, Sys
|
|
|
178
179
|
|
|
179
180
|
readonly InBufferSize: int;
|
|
180
181
|
readonly OutBufferSize: int;
|
|
181
|
-
BeginWaitForConnection(callback: AsyncCallback, state:
|
|
182
|
+
BeginWaitForConnection(callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
|
|
182
183
|
Disconnect(): void;
|
|
183
184
|
EndWaitForConnection(asyncResult: IAsyncResult): void;
|
|
184
185
|
Finalize(): void;
|
|
@@ -290,8 +291,8 @@ export interface PipeStream$instance extends Stream, System_Internal.IAsyncDispo
|
|
|
290
291
|
ReadMode: PipeTransmissionMode;
|
|
291
292
|
readonly SafePipeHandle: SafePipeHandle;
|
|
292
293
|
readonly TransmissionMode: PipeTransmissionMode;
|
|
293
|
-
BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state:
|
|
294
|
-
BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state:
|
|
294
|
+
BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
|
|
295
|
+
BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
|
|
295
296
|
CheckPipePropertyOperations(): void;
|
|
296
297
|
Dispose(disposing: boolean): void;
|
|
297
298
|
Dispose(): void;
|
|
@@ -331,14 +332,14 @@ export type PipeStream = PipeStream$instance & __PipeStream$views;
|
|
|
331
332
|
|
|
332
333
|
|
|
333
334
|
export abstract class AnonymousPipeServerStreamAcl$instance {
|
|
334
|
-
static Create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity): AnonymousPipeServerStream;
|
|
335
|
+
static Create(direction: PipeDirection, inheritability: HandleInheritability, bufferSize: int, pipeSecurity: PipeSecurity | null): AnonymousPipeServerStream;
|
|
335
336
|
}
|
|
336
337
|
|
|
337
338
|
|
|
338
339
|
export type AnonymousPipeServerStreamAcl = AnonymousPipeServerStreamAcl$instance;
|
|
339
340
|
|
|
340
341
|
export abstract class NamedPipeServerStreamAcl$instance {
|
|
341
|
-
static Create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
|
|
342
|
+
static Create(pipeName: string, direction: PipeDirection, maxNumberOfServerInstances: int, transmissionMode: PipeTransmissionMode, options: PipeOptions, inBufferSize: int, outBufferSize: int, pipeSecurity: PipeSecurity | null, inheritability?: HandleInheritability, additionalAccessRights?: PipeAccessRights): NamedPipeServerStream;
|
|
342
343
|
}
|
|
343
344
|
|
|
344
345
|
|