@tsonic/dotnet 0.8.2 → 0.8.3
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.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.Win32/internal/index.d.ts +10 -10
- package/System/internal/index.d.ts +964 -950
- package/System.Buffers/internal/index.d.ts +2 -2
- package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
- package/System.Collections/internal/index.d.ts +30 -24
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +20 -44
- package/System.Collections.Generic/internal/index.d.ts +54 -54
- package/System.Collections.Generic/internal/metadata.json +10 -26
- package/System.Collections.Immutable/internal/index.d.ts +88 -88
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +53 -49
- package/System.ComponentModel/internal/index.d.ts +388 -376
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
- package/System.ComponentModel.Design/internal/index.d.ts +36 -36
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
- package/System.Data/internal/index.d.ts +171 -163
- package/System.Data.Common/internal/index.d.ts +36 -28
- package/System.Data.SqlTypes/internal/index.d.ts +23 -23
- package/System.Diagnostics/internal/index.d.ts +250 -228
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
- package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
- package/System.Drawing/internal/index.d.ts +76 -76
- package/System.Dynamic/internal/index.d.ts +26 -26
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +5 -4
- package/System.Globalization/internal/index.d.ts +22 -20
- package/System.IO/internal/index.d.ts +106 -103
- package/System.IO.Compression/internal/index.d.ts +24 -24
- package/System.IO.Enumeration/internal/index.d.ts +7 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +207 -207
- package/System.Linq.Expressions/internal/index.d.ts +160 -160
- package/System.Net/internal/index.d.ts +157 -131
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +69 -53
- package/System.Net.Http.Headers/internal/index.d.ts +62 -45
- package/System.Net.Http.Json/internal/index.d.ts +38 -38
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +80 -70
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
- package/System.Net.Quic/internal/index.d.ts +4 -3
- package/System.Net.Security/internal/index.d.ts +65 -49
- package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
- package/System.Net.Sockets/internal/index.d.ts +49 -42
- package/System.Net.WebSockets/internal/index.d.ts +35 -29
- package/System.Numerics/bindings.json +96 -72
- package/System.Numerics/internal/index.d.ts +93 -91
- package/System.Numerics/internal/metadata.json +64 -48
- package/System.Reflection/internal/index.d.ts +129 -126
- package/System.Reflection.Emit/internal/index.d.ts +105 -105
- package/System.Reflection.Metadata/internal/index.d.ts +15 -15
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +20 -19
- package/System.Runtime/internal/index.d.ts +6 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
- package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
- package/System.Runtime.Loader/internal/index.d.ts +2 -2
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +66 -54
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
- package/System.Runtime.Versioning/internal/index.d.ts +12 -9
- package/System.Security/internal/index.d.ts +62 -52
- package/System.Security.AccessControl/internal/index.d.ts +29 -25
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
- package/System.Security.Claims/internal/index.d.ts +21 -15
- package/System.Security.Cryptography/internal/index.d.ts +155 -141
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +3 -3
- package/System.Text/internal/index.d.ts +48 -46
- package/System.Text.Json/internal/index.d.ts +87 -81
- package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +86 -85
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +82 -82
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +5 -3
- package/System.Transactions/internal/index.d.ts +18 -16
- package/System.Web/internal/index.d.ts +30 -30
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +162 -161
- package/System.Xml.Linq/internal/index.d.ts +38 -37
- package/System.Xml.Resolvers/internal/index.d.ts +5 -5
- package/System.Xml.Schema/internal/index.d.ts +133 -88
- package/System.Xml.Serialization/internal/index.d.ts +138 -117
- package/System.Xml.XPath/internal/index.d.ts +12 -12
- package/System.Xml.Xsl/internal/index.d.ts +34 -34
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
- package/__internal/extensions/index.d.ts +371 -371
- package/package.json +1 -1
|
@@ -178,7 +178,8 @@ export type RenamedEventHandler = (sender: unknown, e: RenamedEventArgs) => void
|
|
|
178
178
|
export interface WaitForChangedResult$instance {
|
|
179
179
|
changeType: WatcherChangeTypes;
|
|
180
180
|
name: string;
|
|
181
|
-
oldName: string | undefined;
|
|
181
|
+
get oldName(): string | undefined;
|
|
182
|
+
set oldName(value: string);
|
|
182
183
|
timedOut: boolean;
|
|
183
184
|
}
|
|
184
185
|
|
|
@@ -298,8 +299,8 @@ export interface BufferedStream$instance extends Stream$instance {
|
|
|
298
299
|
readonly length: long;
|
|
299
300
|
position: long;
|
|
300
301
|
readonly underlyingStream: Stream;
|
|
301
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
302
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
302
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
303
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
303
304
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
304
305
|
copyTo(destination: Stream): void;
|
|
305
306
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -405,8 +406,8 @@ export interface DirectoryNotFoundException$instance extends IOException$instanc
|
|
|
405
406
|
|
|
406
407
|
export const DirectoryNotFoundException: {
|
|
407
408
|
new(): DirectoryNotFoundException;
|
|
408
|
-
new(message: string
|
|
409
|
-
new(message: string
|
|
409
|
+
new(message: string): DirectoryNotFoundException;
|
|
410
|
+
new(message: string, innerException: Exception): DirectoryNotFoundException;
|
|
410
411
|
};
|
|
411
412
|
|
|
412
413
|
|
|
@@ -453,8 +454,8 @@ export interface DriveNotFoundException$instance extends IOException$instance {
|
|
|
453
454
|
|
|
454
455
|
export const DriveNotFoundException: {
|
|
455
456
|
new(): DriveNotFoundException;
|
|
456
|
-
new(message: string
|
|
457
|
-
new(message: string
|
|
457
|
+
new(message: string): DriveNotFoundException;
|
|
458
|
+
new(message: string, innerException: Exception): DriveNotFoundException;
|
|
458
459
|
};
|
|
459
460
|
|
|
460
461
|
|
|
@@ -472,8 +473,8 @@ export interface EndOfStreamException$instance extends IOException$instance {
|
|
|
472
473
|
|
|
473
474
|
export const EndOfStreamException: {
|
|
474
475
|
new(): EndOfStreamException;
|
|
475
|
-
new(message: string
|
|
476
|
-
new(message: string
|
|
476
|
+
new(message: string): EndOfStreamException;
|
|
477
|
+
new(message: string, innerException: Exception): EndOfStreamException;
|
|
477
478
|
};
|
|
478
479
|
|
|
479
480
|
|
|
@@ -540,8 +541,8 @@ export interface FileInfo$instance extends FileSystemInfo$instance {
|
|
|
540
541
|
openRead(): FileStream;
|
|
541
542
|
openText(): StreamReader;
|
|
542
543
|
openWrite(): FileStream;
|
|
543
|
-
replace(destinationFileName: string, destinationBackupFileName: string
|
|
544
|
-
replace(destinationFileName: string, destinationBackupFileName: string
|
|
544
|
+
replace(destinationFileName: string, destinationBackupFileName: string): FileInfo;
|
|
545
|
+
replace(destinationFileName: string, destinationBackupFileName: string, ignoreMetadataErrors: boolean): FileInfo;
|
|
545
546
|
}
|
|
546
547
|
|
|
547
548
|
|
|
@@ -561,17 +562,17 @@ export interface FileLoadException$instance extends IOException$instance {
|
|
|
561
562
|
readonly fileName: string;
|
|
562
563
|
readonly fusionLog: string | undefined;
|
|
563
564
|
readonly message: string;
|
|
564
|
-
getObjectData(info: SerializationInfo
|
|
565
|
-
toString(): string
|
|
565
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
566
|
+
toString(): string;
|
|
566
567
|
}
|
|
567
568
|
|
|
568
569
|
|
|
569
570
|
export const FileLoadException: {
|
|
570
571
|
new(): FileLoadException;
|
|
571
|
-
new(message: string
|
|
572
|
-
new(message: string
|
|
573
|
-
new(message: string
|
|
574
|
-
new(message: string
|
|
572
|
+
new(message: string): FileLoadException;
|
|
573
|
+
new(message: string, inner: Exception): FileLoadException;
|
|
574
|
+
new(message: string, fileName: string): FileLoadException;
|
|
575
|
+
new(message: string, fileName: string, inner: Exception): FileLoadException;
|
|
575
576
|
};
|
|
576
577
|
|
|
577
578
|
|
|
@@ -586,17 +587,17 @@ export interface FileNotFoundException$instance extends IOException$instance {
|
|
|
586
587
|
readonly fileName: string;
|
|
587
588
|
readonly fusionLog: string | undefined;
|
|
588
589
|
readonly message: string;
|
|
589
|
-
getObjectData(info: SerializationInfo
|
|
590
|
-
toString(): string
|
|
590
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
591
|
+
toString(): string;
|
|
591
592
|
}
|
|
592
593
|
|
|
593
594
|
|
|
594
595
|
export const FileNotFoundException: {
|
|
595
596
|
new(): FileNotFoundException;
|
|
596
|
-
new(message: string
|
|
597
|
-
new(message: string
|
|
598
|
-
new(message: string
|
|
599
|
-
new(message: string
|
|
597
|
+
new(message: string): FileNotFoundException;
|
|
598
|
+
new(message: string, innerException: Exception): FileNotFoundException;
|
|
599
|
+
new(message: string, fileName: string): FileNotFoundException;
|
|
600
|
+
new(message: string, fileName: string, innerException: Exception): FileNotFoundException;
|
|
600
601
|
};
|
|
601
602
|
|
|
602
603
|
|
|
@@ -617,8 +618,8 @@ export interface FileStream$instance extends Stream$instance {
|
|
|
617
618
|
readonly name: string;
|
|
618
619
|
position: long;
|
|
619
620
|
readonly safeFileHandle: SafeFileHandle;
|
|
620
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
621
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
621
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
622
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
622
623
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
623
624
|
copyTo(destination: Stream): void;
|
|
624
625
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -708,7 +709,7 @@ export interface FileSystemEventArgs$instance extends EventArgs {
|
|
|
708
709
|
|
|
709
710
|
|
|
710
711
|
export const FileSystemEventArgs: {
|
|
711
|
-
new(changeType: WatcherChangeTypes, directory: string, name: string
|
|
712
|
+
new(changeType: WatcherChangeTypes, directory: string, name: string): FileSystemEventArgs;
|
|
712
713
|
};
|
|
713
714
|
|
|
714
715
|
|
|
@@ -732,7 +733,7 @@ export interface FileSystemInfo$instance extends MarshalByRefObject {
|
|
|
732
733
|
delete_(): void;
|
|
733
734
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
734
735
|
refresh(): void;
|
|
735
|
-
resolveLinkTarget(returnFinalTarget: boolean): FileSystemInfo;
|
|
736
|
+
resolveLinkTarget(returnFinalTarget: boolean): FileSystemInfo | undefined;
|
|
736
737
|
toString(): string;
|
|
737
738
|
}
|
|
738
739
|
|
|
@@ -758,8 +759,10 @@ export interface FileSystemWatcher$instance extends Component {
|
|
|
758
759
|
internalBufferSize: int;
|
|
759
760
|
notifyFilter: NotifyFilters;
|
|
760
761
|
path: string;
|
|
761
|
-
site: ISite | undefined;
|
|
762
|
-
|
|
762
|
+
get site(): ISite | undefined;
|
|
763
|
+
set site(value: ISite);
|
|
764
|
+
get synchronizingObject(): ISynchronizeInvoke | undefined;
|
|
765
|
+
set synchronizingObject(value: ISynchronizeInvoke);
|
|
763
766
|
beginInit(): void;
|
|
764
767
|
dispose(): void;
|
|
765
768
|
endInit(): void;
|
|
@@ -771,8 +774,8 @@ export interface FileSystemWatcher$instance extends Component {
|
|
|
771
774
|
|
|
772
775
|
export const FileSystemWatcher: {
|
|
773
776
|
new(): FileSystemWatcher;
|
|
774
|
-
new(path: string
|
|
775
|
-
new(path: string
|
|
777
|
+
new(path: string): FileSystemWatcher;
|
|
778
|
+
new(path: string, filter: string): FileSystemWatcher;
|
|
776
779
|
};
|
|
777
780
|
|
|
778
781
|
|
|
@@ -794,8 +797,8 @@ export interface InternalBufferOverflowException$instance extends SystemExceptio
|
|
|
794
797
|
|
|
795
798
|
export const InternalBufferOverflowException: {
|
|
796
799
|
new(): InternalBufferOverflowException;
|
|
797
|
-
new(message: string
|
|
798
|
-
new(message: string
|
|
800
|
+
new(message: string): InternalBufferOverflowException;
|
|
801
|
+
new(message: string, inner: Exception): InternalBufferOverflowException;
|
|
799
802
|
};
|
|
800
803
|
|
|
801
804
|
|
|
@@ -813,8 +816,8 @@ export interface InvalidDataException$instance extends SystemException {
|
|
|
813
816
|
|
|
814
817
|
export const InvalidDataException: {
|
|
815
818
|
new(): InvalidDataException;
|
|
816
|
-
new(message: string
|
|
817
|
-
new(message: string
|
|
819
|
+
new(message: string): InvalidDataException;
|
|
820
|
+
new(message: string, innerException: Exception): InvalidDataException;
|
|
818
821
|
};
|
|
819
822
|
|
|
820
823
|
|
|
@@ -832,9 +835,9 @@ export interface IOException$instance extends SystemException {
|
|
|
832
835
|
|
|
833
836
|
export const IOException: {
|
|
834
837
|
new(): IOException;
|
|
835
|
-
new(message: string
|
|
836
|
-
new(message: string
|
|
837
|
-
new(message: string
|
|
838
|
+
new(message: string): IOException;
|
|
839
|
+
new(message: string, hresult: int): IOException;
|
|
840
|
+
new(message: string, innerException: Exception): IOException;
|
|
838
841
|
};
|
|
839
842
|
|
|
840
843
|
|
|
@@ -915,8 +918,8 @@ export interface PathTooLongException$instance extends IOException$instance {
|
|
|
915
918
|
|
|
916
919
|
export const PathTooLongException: {
|
|
917
920
|
new(): PathTooLongException;
|
|
918
|
-
new(message: string
|
|
919
|
-
new(message: string
|
|
921
|
+
new(message: string): PathTooLongException;
|
|
922
|
+
new(message: string, innerException: Exception): PathTooLongException;
|
|
920
923
|
};
|
|
921
924
|
|
|
922
925
|
|
|
@@ -934,7 +937,7 @@ export interface RenamedEventArgs$instance extends FileSystemEventArgs {
|
|
|
934
937
|
|
|
935
938
|
|
|
936
939
|
export const RenamedEventArgs: {
|
|
937
|
-
new(changeType: WatcherChangeTypes, directory: string, name: string
|
|
940
|
+
new(changeType: WatcherChangeTypes, directory: string, name: string, oldName: string): RenamedEventArgs;
|
|
938
941
|
};
|
|
939
942
|
|
|
940
943
|
|
|
@@ -949,8 +952,8 @@ export interface Stream$instance extends MarshalByRefObject {
|
|
|
949
952
|
position: long;
|
|
950
953
|
readTimeout: int;
|
|
951
954
|
writeTimeout: int;
|
|
952
|
-
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
953
|
-
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback
|
|
955
|
+
beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
956
|
+
beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
|
|
954
957
|
close(): void;
|
|
955
958
|
copyTo(destination: Stream): void;
|
|
956
959
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
@@ -1027,7 +1030,7 @@ export interface StreamReader$instance extends TextReader$instance {
|
|
|
1027
1030
|
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1028
1031
|
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1029
1032
|
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1030
|
-
readLine(): string;
|
|
1033
|
+
readLine(): string | undefined;
|
|
1031
1034
|
readLineAsync(): Task_1<string | undefined>;
|
|
1032
1035
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1033
1036
|
readLineAsync(): Task_1<string | undefined>;
|
|
@@ -1043,17 +1046,17 @@ export interface StreamReader$instance extends TextReader$instance {
|
|
|
1043
1046
|
export const StreamReader: {
|
|
1044
1047
|
new(stream: Stream): StreamReader;
|
|
1045
1048
|
new(stream: Stream, detectEncodingFromByteOrderMarks: boolean): StreamReader;
|
|
1046
|
-
new(stream: Stream, encoding: Encoding
|
|
1047
|
-
new(stream: Stream, encoding: Encoding
|
|
1048
|
-
new(stream: Stream, encoding: Encoding
|
|
1049
|
-
new(stream: Stream, encoding: Encoding
|
|
1049
|
+
new(stream: Stream, encoding: Encoding): StreamReader;
|
|
1050
|
+
new(stream: Stream, encoding: Encoding, detectEncodingFromByteOrderMarks: boolean): StreamReader;
|
|
1051
|
+
new(stream: Stream, encoding: Encoding, detectEncodingFromByteOrderMarks: boolean, bufferSize: int): StreamReader;
|
|
1052
|
+
new(stream: Stream, encoding: Encoding, detectEncodingFromByteOrderMarks: boolean, bufferSize: int, leaveOpen: boolean): StreamReader;
|
|
1050
1053
|
new(path: string): StreamReader;
|
|
1051
1054
|
new(path: string, detectEncodingFromByteOrderMarks: boolean): StreamReader;
|
|
1052
|
-
new(path: string, encoding: Encoding
|
|
1053
|
-
new(path: string, encoding: Encoding
|
|
1054
|
-
new(path: string, encoding: Encoding
|
|
1055
|
+
new(path: string, encoding: Encoding): StreamReader;
|
|
1056
|
+
new(path: string, encoding: Encoding, detectEncodingFromByteOrderMarks: boolean): StreamReader;
|
|
1057
|
+
new(path: string, encoding: Encoding, detectEncodingFromByteOrderMarks: boolean, bufferSize: int): StreamReader;
|
|
1055
1058
|
new(path: string, options: FileStreamOptions): StreamReader;
|
|
1056
|
-
new(path: string, encoding: Encoding
|
|
1059
|
+
new(path: string, encoding: Encoding, detectEncodingFromByteOrderMarks: boolean, options: FileStreamOptions): StreamReader;
|
|
1057
1060
|
};
|
|
1058
1061
|
|
|
1059
1062
|
|
|
@@ -1079,7 +1082,7 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1079
1082
|
write(buffer: char[], index: int, count: int): void;
|
|
1080
1083
|
write(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1081
1084
|
write(value: string): void;
|
|
1082
|
-
write(format: string, arg0: unknown
|
|
1085
|
+
write(format: string, arg0: unknown): void;
|
|
1083
1086
|
write(format: string, arg0: unknown, arg1: unknown): void;
|
|
1084
1087
|
write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1085
1088
|
write(format: string, ...arg: unknown[]): void;
|
|
@@ -1097,15 +1100,15 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1097
1100
|
write(value: StringBuilder): void;
|
|
1098
1101
|
write(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1099
1102
|
writeAsync(value: char): Task;
|
|
1100
|
-
writeAsync(value: string
|
|
1103
|
+
writeAsync(value: string): Task;
|
|
1101
1104
|
writeAsync(buffer: char[], index: int, count: int): Task;
|
|
1102
1105
|
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1103
|
-
writeAsync(value: StringBuilder
|
|
1104
|
-
writeAsync(buffer: char[]
|
|
1106
|
+
writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1107
|
+
writeAsync(buffer: char[]): Task;
|
|
1105
1108
|
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1106
1109
|
writeLine(value: string): void;
|
|
1107
1110
|
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1108
|
-
writeLine(format: string, arg0: unknown
|
|
1111
|
+
writeLine(format: string, arg0: unknown): void;
|
|
1109
1112
|
writeLine(format: string, arg0: unknown, arg1: unknown): void;
|
|
1110
1113
|
writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1111
1114
|
writeLine(format: string, ...arg: unknown[]): void;
|
|
@@ -1128,26 +1131,26 @@ export interface StreamWriter$instance extends TextWriter$instance {
|
|
|
1128
1131
|
writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1129
1132
|
writeLineAsync(): Task;
|
|
1130
1133
|
writeLineAsync(value: char): Task;
|
|
1131
|
-
writeLineAsync(value: string
|
|
1134
|
+
writeLineAsync(value: string): Task;
|
|
1132
1135
|
writeLineAsync(buffer: char[], index: int, count: int): Task;
|
|
1133
1136
|
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1134
|
-
writeLineAsync(value: StringBuilder
|
|
1135
|
-
writeLineAsync(buffer: char[]
|
|
1137
|
+
writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1138
|
+
writeLineAsync(buffer: char[]): Task;
|
|
1136
1139
|
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1137
1140
|
}
|
|
1138
1141
|
|
|
1139
1142
|
|
|
1140
1143
|
export const StreamWriter: {
|
|
1141
1144
|
new(stream: Stream): StreamWriter;
|
|
1142
|
-
new(stream: Stream, encoding: Encoding
|
|
1143
|
-
new(stream: Stream, encoding: Encoding
|
|
1144
|
-
new(stream: Stream, encoding: Encoding
|
|
1145
|
+
new(stream: Stream, encoding: Encoding): StreamWriter;
|
|
1146
|
+
new(stream: Stream, encoding: Encoding, bufferSize: int): StreamWriter;
|
|
1147
|
+
new(stream: Stream, encoding: Encoding, bufferSize: int, leaveOpen: boolean): StreamWriter;
|
|
1145
1148
|
new(path: string): StreamWriter;
|
|
1146
1149
|
new(path: string, append: boolean): StreamWriter;
|
|
1147
|
-
new(path: string, append: boolean, encoding: Encoding
|
|
1148
|
-
new(path: string, append: boolean, encoding: Encoding
|
|
1150
|
+
new(path: string, append: boolean, encoding: Encoding): StreamWriter;
|
|
1151
|
+
new(path: string, append: boolean, encoding: Encoding, bufferSize: int): StreamWriter;
|
|
1149
1152
|
new(path: string, options: FileStreamOptions): StreamWriter;
|
|
1150
|
-
new(path: string, encoding: Encoding
|
|
1153
|
+
new(path: string, encoding: Encoding, options: FileStreamOptions): StreamWriter;
|
|
1151
1154
|
};
|
|
1152
1155
|
|
|
1153
1156
|
|
|
@@ -1178,7 +1181,7 @@ export interface StringReader$instance extends TextReader$instance {
|
|
|
1178
1181
|
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1179
1182
|
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1180
1183
|
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1181
|
-
readLine(): string;
|
|
1184
|
+
readLine(): string | undefined;
|
|
1182
1185
|
readLineAsync(): Task_1<string | undefined>;
|
|
1183
1186
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1184
1187
|
readLineAsync(): Task_1<string | undefined>;
|
|
@@ -1228,17 +1231,17 @@ export interface StringWriter$instance extends TextWriter$instance {
|
|
|
1228
1231
|
write(value: double): void;
|
|
1229
1232
|
write(value: decimal): void;
|
|
1230
1233
|
write(value: unknown): void;
|
|
1231
|
-
write(format: string, arg0: unknown
|
|
1234
|
+
write(format: string, arg0: unknown): void;
|
|
1232
1235
|
write(format: string, arg0: unknown, arg1: unknown): void;
|
|
1233
1236
|
write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1234
1237
|
write(format: string, ...arg: unknown[]): void;
|
|
1235
1238
|
write(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1236
1239
|
writeAsync(value: char): Task;
|
|
1237
|
-
writeAsync(value: string
|
|
1240
|
+
writeAsync(value: string): Task;
|
|
1238
1241
|
writeAsync(buffer: char[], index: int, count: int): Task;
|
|
1239
1242
|
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1240
|
-
writeAsync(value: StringBuilder
|
|
1241
|
-
writeAsync(buffer: char[]
|
|
1243
|
+
writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1244
|
+
writeAsync(buffer: char[]): Task;
|
|
1242
1245
|
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1243
1246
|
writeLine(buffer: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1244
1247
|
writeLine(value: StringBuilder): void;
|
|
@@ -1257,17 +1260,17 @@ export interface StringWriter$instance extends TextWriter$instance {
|
|
|
1257
1260
|
writeLine(value: decimal): void;
|
|
1258
1261
|
writeLine(value: string): void;
|
|
1259
1262
|
writeLine(value: unknown): void;
|
|
1260
|
-
writeLine(format: string, arg0: unknown
|
|
1263
|
+
writeLine(format: string, arg0: unknown): void;
|
|
1261
1264
|
writeLine(format: string, arg0: unknown, arg1: unknown): void;
|
|
1262
1265
|
writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1263
1266
|
writeLine(format: string, ...arg: unknown[]): void;
|
|
1264
1267
|
writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1265
1268
|
writeLineAsync(value: char): Task;
|
|
1266
|
-
writeLineAsync(value: string
|
|
1267
|
-
writeLineAsync(value: StringBuilder
|
|
1269
|
+
writeLineAsync(value: string): Task;
|
|
1270
|
+
writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1268
1271
|
writeLineAsync(buffer: char[], index: int, count: int): Task;
|
|
1269
1272
|
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1270
|
-
writeLineAsync(buffer: char[]
|
|
1273
|
+
writeLineAsync(buffer: char[]): Task;
|
|
1271
1274
|
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1272
1275
|
writeLineAsync(): Task;
|
|
1273
1276
|
}
|
|
@@ -1277,7 +1280,7 @@ export const StringWriter: {
|
|
|
1277
1280
|
new(): StringWriter;
|
|
1278
1281
|
new(formatProvider: IFormatProvider): StringWriter;
|
|
1279
1282
|
new(sb: StringBuilder): StringWriter;
|
|
1280
|
-
new(sb: StringBuilder, formatProvider: IFormatProvider
|
|
1283
|
+
new(sb: StringBuilder, formatProvider: IFormatProvider): StringWriter;
|
|
1281
1284
|
};
|
|
1282
1285
|
|
|
1283
1286
|
|
|
@@ -1302,7 +1305,7 @@ export interface TextReader$instance extends MarshalByRefObject {
|
|
|
1302
1305
|
readBlock(buffer: Span_1<System_Internal.Char>): int;
|
|
1303
1306
|
readBlockAsync(buffer: char[], index: int, count: int): Task_1<System_Internal.Int32>;
|
|
1304
1307
|
readBlockAsync(buffer: Memory_1<System_Internal.Char>, cancellationToken?: CancellationToken): ValueTask_1<System_Internal.Int32>;
|
|
1305
|
-
readLine(): string;
|
|
1308
|
+
readLine(): string | undefined;
|
|
1306
1309
|
readLineAsync(): Task_1<string | undefined>;
|
|
1307
1310
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1308
1311
|
readToEnd(): string;
|
|
@@ -1351,15 +1354,15 @@ export interface TextWriter$instance extends MarshalByRefObject {
|
|
|
1351
1354
|
write(value: string): void;
|
|
1352
1355
|
write(value: unknown): void;
|
|
1353
1356
|
write(value: StringBuilder): void;
|
|
1354
|
-
write(format: string, arg0: unknown
|
|
1357
|
+
write(format: string, arg0: unknown): void;
|
|
1355
1358
|
write(format: string, arg0: unknown, arg1: unknown): void;
|
|
1356
1359
|
write(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1357
1360
|
write(format: string, ...arg: unknown[]): void;
|
|
1358
1361
|
write(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1359
1362
|
writeAsync(value: char): Task;
|
|
1360
|
-
writeAsync(value: string
|
|
1361
|
-
writeAsync(value: StringBuilder
|
|
1362
|
-
writeAsync(buffer: char[]
|
|
1363
|
+
writeAsync(value: string): Task;
|
|
1364
|
+
writeAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1365
|
+
writeAsync(buffer: char[]): Task;
|
|
1363
1366
|
writeAsync(buffer: char[], index: int, count: int): Task;
|
|
1364
1367
|
writeAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1365
1368
|
writeLine(): void;
|
|
@@ -1378,15 +1381,15 @@ export interface TextWriter$instance extends MarshalByRefObject {
|
|
|
1378
1381
|
writeLine(value: string): void;
|
|
1379
1382
|
writeLine(value: StringBuilder): void;
|
|
1380
1383
|
writeLine(value: unknown): void;
|
|
1381
|
-
writeLine(format: string, arg0: unknown
|
|
1384
|
+
writeLine(format: string, arg0: unknown): void;
|
|
1382
1385
|
writeLine(format: string, arg0: unknown, arg1: unknown): void;
|
|
1383
1386
|
writeLine(format: string, arg0: unknown, arg1: unknown, arg2: unknown): void;
|
|
1384
1387
|
writeLine(format: string, ...arg: unknown[]): void;
|
|
1385
1388
|
writeLine(format: string, arg: ReadOnlySpan_1<unknown>): void;
|
|
1386
1389
|
writeLineAsync(value: char): Task;
|
|
1387
|
-
writeLineAsync(value: string
|
|
1388
|
-
writeLineAsync(value: StringBuilder
|
|
1389
|
-
writeLineAsync(buffer: char[]
|
|
1390
|
+
writeLineAsync(value: string): Task;
|
|
1391
|
+
writeLineAsync(value: StringBuilder, cancellationToken?: CancellationToken): Task;
|
|
1392
|
+
writeLineAsync(buffer: char[]): Task;
|
|
1390
1393
|
writeLineAsync(buffer: char[], index: int, count: int): Task;
|
|
1391
1394
|
writeLineAsync(buffer: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1392
1395
|
writeLineAsync(): Task;
|
|
@@ -1518,7 +1521,7 @@ export abstract class Directory$instance {
|
|
|
1518
1521
|
static createDirectory(path: string, unixCreateMode: UnixFileMode): DirectoryInfo;
|
|
1519
1522
|
static createDirectory(path: string): DirectoryInfo;
|
|
1520
1523
|
static createSymbolicLink(path: string, pathToTarget: string): FileSystemInfo;
|
|
1521
|
-
static createTempSubdirectory(prefix?: string
|
|
1524
|
+
static createTempSubdirectory(prefix?: string): DirectoryInfo;
|
|
1522
1525
|
static delete_(path: string, recursive: boolean): void;
|
|
1523
1526
|
static delete_(path: string): void;
|
|
1524
1527
|
static enumerateDirectories(path: string, searchPattern: string, enumerationOptions: EnumerationOptions): IEnumerable_1<System_Internal.String>;
|
|
@@ -1581,12 +1584,12 @@ export abstract class File$instance {
|
|
|
1581
1584
|
static appendAllLinesAsync(path: string, contents: IEnumerable_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
1582
1585
|
static appendAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>, encoding: Encoding): void;
|
|
1583
1586
|
static appendAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1584
|
-
static appendAllText(path: string, contents: string
|
|
1585
|
-
static appendAllText(path: string, contents: string
|
|
1587
|
+
static appendAllText(path: string, contents: string, encoding: Encoding): void;
|
|
1588
|
+
static appendAllText(path: string, contents: string): void;
|
|
1586
1589
|
static appendAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1587
1590
|
static appendAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1588
|
-
static appendAllTextAsync(path: string, contents: string
|
|
1589
|
-
static appendAllTextAsync(path: string, contents: string
|
|
1591
|
+
static appendAllTextAsync(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1592
|
+
static appendAllTextAsync(path: string, contents: string, cancellationToken?: CancellationToken): Task;
|
|
1590
1593
|
static appendText(path: string): StreamWriter;
|
|
1591
1594
|
static copy(sourceFileName: string, destFileName: string, overwrite: boolean): void;
|
|
1592
1595
|
static copy(sourceFileName: string, destFileName: string): void;
|
|
@@ -1639,8 +1642,8 @@ export abstract class File$instance {
|
|
|
1639
1642
|
static readLines(path: string): IEnumerable_1<System_Internal.String>;
|
|
1640
1643
|
static readLinesAsync(path: string, encoding: Encoding, cancellationToken?: CancellationToken): IAsyncEnumerable_1<System_Internal.String>;
|
|
1641
1644
|
static readLinesAsync(path: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<System_Internal.String>;
|
|
1642
|
-
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string
|
|
1643
|
-
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string
|
|
1645
|
+
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string, ignoreMetadataErrors: boolean): void;
|
|
1646
|
+
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string): void;
|
|
1644
1647
|
static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo | undefined;
|
|
1645
1648
|
static setAttributes(fileHandle: SafeFileHandle, fileAttributes: FileAttributes): void;
|
|
1646
1649
|
static setAttributes(path: string, fileAttributes: FileAttributes): void;
|
|
@@ -1670,12 +1673,12 @@ export abstract class File$instance {
|
|
|
1670
1673
|
static writeAllLinesAsync(path: string, contents: IEnumerable_1<System_Internal.String>, cancellationToken?: CancellationToken): Task;
|
|
1671
1674
|
static writeAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>, encoding: Encoding): void;
|
|
1672
1675
|
static writeAllText(path: string, contents: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
1673
|
-
static writeAllText(path: string, contents: string
|
|
1674
|
-
static writeAllText(path: string, contents: string
|
|
1676
|
+
static writeAllText(path: string, contents: string, encoding: Encoding): void;
|
|
1677
|
+
static writeAllText(path: string, contents: string): void;
|
|
1675
1678
|
static writeAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1676
1679
|
static writeAllTextAsync(path: string, contents: ReadOnlyMemory_1<System_Internal.Char>, cancellationToken?: CancellationToken): Task;
|
|
1677
|
-
static writeAllTextAsync(path: string, contents: string
|
|
1678
|
-
static writeAllTextAsync(path: string, contents: string
|
|
1680
|
+
static writeAllTextAsync(path: string, contents: string, encoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
1681
|
+
static writeAllTextAsync(path: string, contents: string, cancellationToken?: CancellationToken): Task;
|
|
1679
1682
|
}
|
|
1680
1683
|
|
|
1681
1684
|
|
|
@@ -1683,7 +1686,7 @@ export type File = File$instance;
|
|
|
1683
1686
|
|
|
1684
1687
|
export abstract class FileSystemAclExtensions$instance {
|
|
1685
1688
|
static create(directoryInfo: DirectoryInfo, directorySecurity: DirectorySecurity): void;
|
|
1686
|
-
static create(fileInfo: FileInfo, mode: FileMode, rights: FileSystemRights, share: FileShare, bufferSize: int, options: FileOptions, fileSecurity: FileSecurity
|
|
1689
|
+
static create(fileInfo: FileInfo, mode: FileMode, rights: FileSystemRights, share: FileShare, bufferSize: int, options: FileOptions, fileSecurity: FileSecurity): FileStream;
|
|
1687
1690
|
static createDirectory(directorySecurity: DirectorySecurity, path: string): DirectoryInfo;
|
|
1688
1691
|
static getAccessControl(directoryInfo: DirectoryInfo, includeSections: AccessControlSections): DirectorySecurity;
|
|
1689
1692
|
static getAccessControl(directoryInfo: DirectoryInfo): DirectorySecurity;
|
|
@@ -1704,7 +1707,7 @@ export abstract class Path$instance {
|
|
|
1704
1707
|
static readonly volumeSeparatorChar: char;
|
|
1705
1708
|
static readonly pathSeparator: char;
|
|
1706
1709
|
static readonly invalidPathChars: char[];
|
|
1707
|
-
static changeExtension(path: string, extension: string): string;
|
|
1710
|
+
static changeExtension(path: string, extension: string): string | undefined;
|
|
1708
1711
|
static combine(paths: ReadOnlySpan_1<System_Internal.String>): string;
|
|
1709
1712
|
static combine(path1: string, path2: string, path3: string, path4: string): string;
|
|
1710
1713
|
static combine(path1: string, path2: string, path3: string): string;
|
|
@@ -1714,19 +1717,19 @@ export abstract class Path$instance {
|
|
|
1714
1717
|
static endsInDirectorySeparator(path: string): boolean;
|
|
1715
1718
|
static exists(path: string): boolean;
|
|
1716
1719
|
static getDirectoryName(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1717
|
-
static getDirectoryName(path: string): string;
|
|
1720
|
+
static getDirectoryName(path: string): string | undefined;
|
|
1718
1721
|
static getExtension(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1719
|
-
static getExtension(path: string): string;
|
|
1722
|
+
static getExtension(path: string): string | undefined;
|
|
1720
1723
|
static getFileName(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1721
|
-
static getFileName(path: string): string;
|
|
1724
|
+
static getFileName(path: string): string | undefined;
|
|
1722
1725
|
static getFileNameWithoutExtension(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1723
|
-
static getFileNameWithoutExtension(path: string): string;
|
|
1726
|
+
static getFileNameWithoutExtension(path: string): string | undefined;
|
|
1724
1727
|
static getFullPath(path: string, basePath: string): string;
|
|
1725
1728
|
static getFullPath(path: string): string;
|
|
1726
1729
|
static getInvalidFileNameChars(): char[];
|
|
1727
1730
|
static getInvalidPathChars(): char[];
|
|
1728
1731
|
static getPathRoot(path: ReadOnlySpan_1<System_Internal.Char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
1729
|
-
static getPathRoot(path: string): string;
|
|
1732
|
+
static getPathRoot(path: string): string | undefined;
|
|
1730
1733
|
static getRandomFileName(): string;
|
|
1731
1734
|
static getRelativePath(relativeTo: string, path: string): string;
|
|
1732
1735
|
static getTempFileName(): string;
|
|
@@ -117,8 +117,8 @@ export interface BrotliStream$instance extends Stream {
|
|
|
117
117
|
readonly canWrite: boolean;
|
|
118
118
|
readonly length: long;
|
|
119
119
|
position: long;
|
|
120
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
121
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
120
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
121
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
122
122
|
dispose(): void;
|
|
123
123
|
disposeAsync(): ValueTask;
|
|
124
124
|
endRead(asyncResult: IAsyncResult): int;
|
|
@@ -172,8 +172,8 @@ export interface DeflateStream$instance extends Stream {
|
|
|
172
172
|
readonly canWrite: boolean;
|
|
173
173
|
readonly length: long;
|
|
174
174
|
position: long;
|
|
175
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
176
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
175
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
176
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
177
177
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
178
178
|
copyTo(destination: Stream): void;
|
|
179
179
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -233,8 +233,8 @@ export interface GZipStream$instance extends Stream {
|
|
|
233
233
|
readonly canWrite: boolean;
|
|
234
234
|
readonly length: long;
|
|
235
235
|
position: long;
|
|
236
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
237
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
236
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
237
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
238
238
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
239
239
|
copyTo(destination: Stream): void;
|
|
240
240
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -303,8 +303,8 @@ export const ZipArchive: {
|
|
|
303
303
|
new(stream: Stream): ZipArchive;
|
|
304
304
|
new(stream: Stream, mode: ZipArchiveMode): ZipArchive;
|
|
305
305
|
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean): ZipArchive;
|
|
306
|
-
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding
|
|
307
|
-
createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding
|
|
306
|
+
new(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding): ZipArchive;
|
|
307
|
+
createAsync(stream: Stream, mode: ZipArchiveMode, leaveOpen: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
308
308
|
};
|
|
309
309
|
|
|
310
310
|
|
|
@@ -382,8 +382,8 @@ export interface ZLibStream$instance extends Stream {
|
|
|
382
382
|
readonly canWrite: boolean;
|
|
383
383
|
readonly length: long;
|
|
384
384
|
position: long;
|
|
385
|
-
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
386
|
-
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback
|
|
385
|
+
beginRead(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
386
|
+
beginWrite(buffer: byte[], offset: int, count: int, asyncCallback: AsyncCallback, asyncState: unknown): IAsyncResult;
|
|
387
387
|
copyTo(destination: Stream, bufferSize: int): void;
|
|
388
388
|
copyTo(destination: Stream): void;
|
|
389
389
|
copyToAsync(destination: Stream, bufferSize: int, cancellationToken: CancellationToken): Task;
|
|
@@ -437,37 +437,37 @@ export type ZLibStream = ZLibStream$instance & __ZLibStream$views;
|
|
|
437
437
|
|
|
438
438
|
|
|
439
439
|
export abstract class ZipFile$instance {
|
|
440
|
-
static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding
|
|
440
|
+
static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
|
|
441
441
|
static createFromDirectory(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
|
|
442
442
|
static createFromDirectory(sourceDirectoryName: string, destination: Stream): void;
|
|
443
|
-
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding
|
|
443
|
+
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding): void;
|
|
444
444
|
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean): void;
|
|
445
445
|
static createFromDirectory(sourceDirectoryName: string, destinationArchiveFileName: string): void;
|
|
446
|
-
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding
|
|
446
|
+
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
447
447
|
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
|
|
448
448
|
static createFromDirectoryAsync(sourceDirectoryName: string, destination: Stream, cancellationToken?: CancellationToken): Task;
|
|
449
|
-
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding
|
|
449
|
+
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
450
450
|
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, compressionLevel: CompressionLevel, includeBaseDirectory: boolean, cancellationToken?: CancellationToken): Task;
|
|
451
451
|
static createFromDirectoryAsync(sourceDirectoryName: string, destinationArchiveFileName: string, cancellationToken?: CancellationToken): Task;
|
|
452
452
|
static extractToDirectory(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean): void;
|
|
453
|
-
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
454
|
-
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
453
|
+
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
|
|
454
|
+
static extractToDirectory(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
|
|
455
455
|
static extractToDirectory(source: Stream, destinationDirectoryName: string): void;
|
|
456
456
|
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean): void;
|
|
457
|
-
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
458
|
-
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
457
|
+
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean): void;
|
|
458
|
+
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding): void;
|
|
459
459
|
static extractToDirectory(sourceArchiveFileName: string, destinationDirectoryName: string): void;
|
|
460
460
|
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
461
|
-
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
462
|
-
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
461
|
+
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
462
|
+
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
463
463
|
static extractToDirectoryAsync(source: Stream, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
|
|
464
464
|
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
465
|
-
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
466
|
-
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding
|
|
465
|
+
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, overwriteFiles: boolean, cancellationToken?: CancellationToken): Task;
|
|
466
|
+
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task;
|
|
467
467
|
static extractToDirectoryAsync(sourceArchiveFileName: string, destinationDirectoryName: string, cancellationToken?: CancellationToken): Task;
|
|
468
|
-
static open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding
|
|
468
|
+
static open(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding): ZipArchive;
|
|
469
469
|
static open(archiveFileName: string, mode: ZipArchiveMode): ZipArchive;
|
|
470
|
-
static openAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding
|
|
470
|
+
static openAsync(archiveFileName: string, mode: ZipArchiveMode, entryNameEncoding: Encoding, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
471
471
|
static openAsync(archiveFileName: string, mode: ZipArchiveMode, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|
|
472
472
|
static openRead(archiveFileName: string): ZipArchive;
|
|
473
473
|
static openReadAsync(archiveFileName: string, cancellationToken?: CancellationToken): Task_1<ZipArchive>;
|