@tsonic/dotnet 0.8.1 → 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.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +156 -154
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +1 -1
- package/System.CodeDom.Compiler/internal/index.d.ts +1 -1
- package/System.Collections/internal/index.d.ts +12 -8
- package/System.Collections.Generic/internal/index.d.ts +22 -14
- package/System.Collections.Immutable/internal/index.d.ts +11 -11
- package/System.Collections.Specialized/internal/index.d.ts +20 -18
- package/System.ComponentModel/internal/index.d.ts +219 -209
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +42 -32
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -1
- package/System.ComponentModel.Design/internal/index.d.ts +40 -40
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +17 -17
- package/System.Data/internal/index.d.ts +54 -46
- package/System.Data.Common/internal/index.d.ts +52 -44
- package/System.Data.SqlTypes/internal/index.d.ts +2 -2
- package/System.Diagnostics/internal/index.d.ts +85 -63
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +30 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
- package/System.Diagnostics.Metrics/internal/index.d.ts +14 -9
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +11 -9
- package/System.Drawing/internal/index.d.ts +33 -33
- package/System.Dynamic/internal/index.d.ts +1 -1
- package/System.Formats.Tar/internal/index.d.ts +3 -2
- package/System.Globalization/internal/index.d.ts +8 -6
- package/System.IO/internal/index.d.ts +30 -27
- package/System.IO.Compression/internal/index.d.ts +1 -1
- package/System.IO.Enumeration/internal/index.d.ts +4 -2
- package/System.Linq/internal/index.d.ts +63 -63
- package/System.Linq.Expressions/internal/index.d.ts +13 -13
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +87 -63
- package/System.Net.Http/internal/index.d.ts +37 -21
- package/System.Net.Http.Headers/internal/index.d.ts +37 -20
- package/System.Net.Http.Json/internal/index.d.ts +39 -39
- package/System.Net.Mail/internal/index.d.ts +22 -12
- package/System.Net.Mime/internal/index.d.ts +4 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +1 -1
- package/System.Net.Quic/internal/index.d.ts +3 -2
- package/System.Net.Security/internal/index.d.ts +38 -22
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -1
- package/System.Net.Sockets/internal/index.d.ts +23 -16
- package/System.Net.WebSockets/internal/index.d.ts +17 -11
- package/System.Numerics/bindings.json +408 -0
- package/System.Numerics/internal/metadata.json +272 -0
- package/System.Reflection/internal/index.d.ts +185 -182
- package/System.Reflection.Emit/internal/index.d.ts +82 -82
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +5 -5
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +1 -1
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Resources/internal/index.d.ts +13 -12
- package/System.Runtime/internal/index.d.ts +2 -1
- package/System.Runtime.CompilerServices/internal/index.d.ts +15 -13
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +46 -44
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +1 -1
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +3 -3
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +16 -14
- package/System.Runtime.Loader/internal/index.d.ts +4 -4
- package/System.Runtime.Remoting/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization/internal/index.d.ts +53 -43
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +14 -14
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +2 -1
- package/System.Runtime.Serialization.Json/internal/index.d.ts +9 -8
- package/System.Runtime.Versioning/internal/index.d.ts +6 -3
- package/System.Security/internal/index.d.ts +35 -25
- package/System.Security.AccessControl/internal/index.d.ts +14 -10
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +4 -4
- package/System.Security.Claims/internal/index.d.ts +16 -12
- package/System.Security.Cryptography/internal/index.d.ts +80 -66
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +33 -32
- package/System.Security.Permissions/internal/index.d.ts +2 -2
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +8 -10
- package/System.Text/internal/index.d.ts +13 -11
- package/System.Text.Json/internal/index.d.ts +67 -61
- package/System.Text.Json.Nodes/internal/index.d.ts +31 -31
- package/System.Text.Json.Schema/internal/index.d.ts +4 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -42
- package/System.Threading/internal/index.d.ts +16 -15
- package/System.Threading.Tasks/internal/index.d.ts +4 -14
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +3 -1
- package/System.Timers/internal/index.d.ts +4 -2
- package/System.Transactions/internal/index.d.ts +8 -6
- package/System.Web/internal/index.d.ts +24 -24
- package/System.Xml/internal/index.d.ts +100 -99
- package/System.Xml.Linq/internal/index.d.ts +16 -15
- package/System.Xml.Resolvers/internal/index.d.ts +1 -1
- package/System.Xml.Schema/internal/index.d.ts +129 -84
- package/System.Xml.Serialization/internal/index.d.ts +68 -47
- package/System.Xml.XPath/internal/index.d.ts +10 -10
- package/System.Xml.Xsl/internal/index.d.ts +7 -7
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +8 -8
- package/__internal/extensions/index.d.ts +177 -176
- package/package.json +1 -1
|
@@ -624,12 +624,12 @@ export interface ColorConverter$instance extends TypeConverter {
|
|
|
624
624
|
canConvertFrom(sourceType: Type): boolean;
|
|
625
625
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
626
626
|
canConvertTo(destinationType: Type): boolean;
|
|
627
|
-
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown;
|
|
628
|
-
convertFrom(value: unknown): unknown;
|
|
629
|
-
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
630
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
627
|
+
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown | undefined;
|
|
628
|
+
convertFrom(value: unknown): unknown | undefined;
|
|
629
|
+
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
|
|
630
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
631
631
|
getStandardValues(context: ITypeDescriptorContext): TypeConverter_StandardValuesCollection;
|
|
632
|
-
getStandardValues(): ICollection;
|
|
632
|
+
getStandardValues(): ICollection | undefined;
|
|
633
633
|
getStandardValuesSupported(context: ITypeDescriptorContext): boolean;
|
|
634
634
|
getStandardValuesSupported(): boolean;
|
|
635
635
|
}
|
|
@@ -647,17 +647,17 @@ export interface PointConverter$instance extends TypeConverter {
|
|
|
647
647
|
canConvertFrom(sourceType: Type): boolean;
|
|
648
648
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
649
649
|
canConvertTo(destinationType: Type): boolean;
|
|
650
|
-
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown;
|
|
651
|
-
convertFrom(value: unknown): unknown;
|
|
652
|
-
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
653
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
650
|
+
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown | undefined;
|
|
651
|
+
convertFrom(value: unknown): unknown | undefined;
|
|
652
|
+
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
|
|
653
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
654
654
|
createInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
655
|
-
createInstance(propertyValues: IDictionary): unknown;
|
|
655
|
+
createInstance(propertyValues: IDictionary): unknown | undefined;
|
|
656
656
|
getCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
657
657
|
getCreateInstanceSupported(): boolean;
|
|
658
658
|
getProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
659
|
-
getProperties(value: unknown): PropertyDescriptorCollection;
|
|
660
|
-
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection;
|
|
659
|
+
getProperties(value: unknown): PropertyDescriptorCollection | undefined;
|
|
660
|
+
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection | undefined;
|
|
661
661
|
getPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
662
662
|
getPropertiesSupported(): boolean;
|
|
663
663
|
}
|
|
@@ -675,17 +675,17 @@ export interface RectangleConverter$instance extends TypeConverter {
|
|
|
675
675
|
canConvertFrom(sourceType: Type): boolean;
|
|
676
676
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
677
677
|
canConvertTo(destinationType: Type): boolean;
|
|
678
|
-
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown;
|
|
679
|
-
convertFrom(value: unknown): unknown;
|
|
680
|
-
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
681
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
678
|
+
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown | undefined;
|
|
679
|
+
convertFrom(value: unknown): unknown | undefined;
|
|
680
|
+
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
|
|
681
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
682
682
|
createInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
683
|
-
createInstance(propertyValues: IDictionary): unknown;
|
|
683
|
+
createInstance(propertyValues: IDictionary): unknown | undefined;
|
|
684
684
|
getCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
685
685
|
getCreateInstanceSupported(): boolean;
|
|
686
686
|
getProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
687
|
-
getProperties(value: unknown): PropertyDescriptorCollection;
|
|
688
|
-
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection;
|
|
687
|
+
getProperties(value: unknown): PropertyDescriptorCollection | undefined;
|
|
688
|
+
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection | undefined;
|
|
689
689
|
getPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
690
690
|
getPropertiesSupported(): boolean;
|
|
691
691
|
}
|
|
@@ -703,17 +703,17 @@ export interface SizeConverter$instance extends TypeConverter {
|
|
|
703
703
|
canConvertFrom(sourceType: Type): boolean;
|
|
704
704
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
705
705
|
canConvertTo(destinationType: Type): boolean;
|
|
706
|
-
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown;
|
|
707
|
-
convertFrom(value: unknown): unknown;
|
|
708
|
-
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
709
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
706
|
+
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown | undefined;
|
|
707
|
+
convertFrom(value: unknown): unknown | undefined;
|
|
708
|
+
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
|
|
709
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
710
710
|
createInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
711
|
-
createInstance(propertyValues: IDictionary): unknown;
|
|
711
|
+
createInstance(propertyValues: IDictionary): unknown | undefined;
|
|
712
712
|
getCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
713
713
|
getCreateInstanceSupported(): boolean;
|
|
714
714
|
getProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
715
|
-
getProperties(value: unknown): PropertyDescriptorCollection;
|
|
716
|
-
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection;
|
|
715
|
+
getProperties(value: unknown): PropertyDescriptorCollection | undefined;
|
|
716
|
+
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection | undefined;
|
|
717
717
|
getPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
718
718
|
getPropertiesSupported(): boolean;
|
|
719
719
|
}
|
|
@@ -731,17 +731,17 @@ export interface SizeFConverter$instance extends TypeConverter {
|
|
|
731
731
|
canConvertFrom(sourceType: Type): boolean;
|
|
732
732
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
733
733
|
canConvertTo(destinationType: Type): boolean;
|
|
734
|
-
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown;
|
|
735
|
-
convertFrom(value: unknown): unknown;
|
|
736
|
-
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
737
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
734
|
+
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown | undefined;
|
|
735
|
+
convertFrom(value: unknown): unknown | undefined;
|
|
736
|
+
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown | undefined;
|
|
737
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
738
738
|
createInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
739
|
-
createInstance(propertyValues: IDictionary): unknown;
|
|
739
|
+
createInstance(propertyValues: IDictionary): unknown | undefined;
|
|
740
740
|
getCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
741
741
|
getCreateInstanceSupported(): boolean;
|
|
742
742
|
getProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
743
|
-
getProperties(value: unknown): PropertyDescriptorCollection;
|
|
744
|
-
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection;
|
|
743
|
+
getProperties(value: unknown): PropertyDescriptorCollection | undefined;
|
|
744
|
+
getProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection | undefined;
|
|
745
745
|
getPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
746
746
|
getPropertiesSupported(): boolean;
|
|
747
747
|
}
|
|
@@ -156,7 +156,7 @@ export interface DynamicMetaObject$instance {
|
|
|
156
156
|
readonly hasValue: boolean;
|
|
157
157
|
readonly limitType: Type;
|
|
158
158
|
readonly restrictions: BindingRestrictions;
|
|
159
|
-
readonly runtimeType: Type;
|
|
159
|
+
readonly runtimeType: Type | undefined;
|
|
160
160
|
readonly value: unknown;
|
|
161
161
|
bindBinaryOperation(binder: BinaryOperationBinder, arg: DynamicMetaObject): DynamicMetaObject;
|
|
162
162
|
bindConvert(binder: ConvertBinder): DynamicMetaObject;
|
|
@@ -101,7 +101,8 @@ export type PosixTarEntry = PosixTarEntry$instance;
|
|
|
101
101
|
export interface TarEntry$instance {
|
|
102
102
|
readonly checksum: int;
|
|
103
103
|
readonly dataOffset: long;
|
|
104
|
-
dataStream: Stream;
|
|
104
|
+
get dataStream(): Stream | undefined;
|
|
105
|
+
set dataStream(value: Stream);
|
|
105
106
|
readonly entryType: TarEntryType;
|
|
106
107
|
readonly format: TarEntryFormat;
|
|
107
108
|
gid: int;
|
|
@@ -126,7 +127,7 @@ export type TarEntry = TarEntry$instance;
|
|
|
126
127
|
export interface TarReader$instance {
|
|
127
128
|
dispose(): void;
|
|
128
129
|
disposeAsync(): ValueTask;
|
|
129
|
-
getNextEntry(copyData?: boolean): TarEntry;
|
|
130
|
+
getNextEntry(copyData?: boolean): TarEntry | undefined;
|
|
130
131
|
getNextEntryAsync(copyData?: boolean, cancellationToken?: CancellationToken): ValueTask_1<TarEntry>;
|
|
131
132
|
}
|
|
132
133
|
|
|
@@ -346,7 +346,7 @@ export interface CultureInfo$instance {
|
|
|
346
346
|
clone(): unknown;
|
|
347
347
|
equals(value: unknown): boolean;
|
|
348
348
|
getConsoleFallbackUICulture(): CultureInfo;
|
|
349
|
-
getFormat(formatType: Type): unknown;
|
|
349
|
+
getFormat(formatType: Type): unknown | undefined;
|
|
350
350
|
getHashCode(): int;
|
|
351
351
|
toString(): string;
|
|
352
352
|
}
|
|
@@ -360,8 +360,10 @@ export const CultureInfo: {
|
|
|
360
360
|
currentCulture: CultureInfo;
|
|
361
361
|
currentUICulture: CultureInfo;
|
|
362
362
|
readonly installedUICulture: CultureInfo;
|
|
363
|
-
defaultThreadCurrentCulture: CultureInfo;
|
|
364
|
-
|
|
363
|
+
get defaultThreadCurrentCulture(): CultureInfo | undefined;
|
|
364
|
+
set defaultThreadCurrentCulture(value: CultureInfo);
|
|
365
|
+
get defaultThreadCurrentUICulture(): CultureInfo | undefined;
|
|
366
|
+
set defaultThreadCurrentUICulture(value: CultureInfo);
|
|
365
367
|
readonly invariantCulture: CultureInfo;
|
|
366
368
|
createSpecificCulture(name: string): CultureInfo;
|
|
367
369
|
getCultureInfo(culture: int): CultureInfo;
|
|
@@ -386,7 +388,7 @@ export type CultureInfo = CultureInfo$instance & __CultureInfo$views;
|
|
|
386
388
|
|
|
387
389
|
export interface CultureNotFoundException$instance extends ArgumentException {
|
|
388
390
|
readonly invalidCultureId: Nullable_1<System_Internal.Int32>;
|
|
389
|
-
readonly invalidCultureName: string;
|
|
391
|
+
readonly invalidCultureName: string | undefined;
|
|
390
392
|
readonly message: string;
|
|
391
393
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
392
394
|
}
|
|
@@ -447,7 +449,7 @@ export interface DateTimeFormatInfo$instance {
|
|
|
447
449
|
getDayName(dayofweek: DayOfWeek): string;
|
|
448
450
|
getEra(eraName: string): int;
|
|
449
451
|
getEraName(era: int): string;
|
|
450
|
-
getFormat(formatType: Type): unknown;
|
|
452
|
+
getFormat(formatType: Type): unknown | undefined;
|
|
451
453
|
getMonthName(month: int): string;
|
|
452
454
|
getShortestDayName(dayOfWeek: DayOfWeek): string;
|
|
453
455
|
setAllDateTimePatterns(patterns: string[], format: char): void;
|
|
@@ -919,7 +921,7 @@ export interface NumberFormatInfo$instance {
|
|
|
919
921
|
positiveInfinitySymbol: string;
|
|
920
922
|
positiveSign: string;
|
|
921
923
|
clone(): unknown;
|
|
922
|
-
getFormat(formatType: Type): unknown;
|
|
924
|
+
getFormat(formatType: Type): unknown | undefined;
|
|
923
925
|
}
|
|
924
926
|
|
|
925
927
|
|
|
@@ -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;
|
|
181
|
+
get oldName(): string | undefined;
|
|
182
|
+
set oldName(value: string);
|
|
182
183
|
timedOut: boolean;
|
|
183
184
|
}
|
|
184
185
|
|
|
@@ -516,8 +517,8 @@ export const ErrorEventArgs: {
|
|
|
516
517
|
export type ErrorEventArgs = ErrorEventArgs$instance;
|
|
517
518
|
|
|
518
519
|
export interface FileInfo$instance extends FileSystemInfo$instance {
|
|
519
|
-
readonly directory: DirectoryInfo;
|
|
520
|
-
readonly directoryName: string;
|
|
520
|
+
readonly directory: DirectoryInfo | undefined;
|
|
521
|
+
readonly directoryName: string | undefined;
|
|
521
522
|
readonly exists: boolean;
|
|
522
523
|
isReadOnly: boolean;
|
|
523
524
|
readonly length: long;
|
|
@@ -559,7 +560,7 @@ export type FileInfo = FileInfo$instance & __FileInfo$views;
|
|
|
559
560
|
|
|
560
561
|
export interface FileLoadException$instance extends IOException$instance {
|
|
561
562
|
readonly fileName: string;
|
|
562
|
-
readonly fusionLog: string;
|
|
563
|
+
readonly fusionLog: string | undefined;
|
|
563
564
|
readonly message: string;
|
|
564
565
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
565
566
|
toString(): string;
|
|
@@ -584,7 +585,7 @@ export type FileLoadException = FileLoadException$instance & __FileLoadException
|
|
|
584
585
|
|
|
585
586
|
export interface FileNotFoundException$instance extends IOException$instance {
|
|
586
587
|
readonly fileName: string;
|
|
587
|
-
readonly fusionLog: string;
|
|
588
|
+
readonly fusionLog: string | undefined;
|
|
588
589
|
readonly message: string;
|
|
589
590
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
590
591
|
toString(): string;
|
|
@@ -725,14 +726,14 @@ export interface FileSystemInfo$instance extends MarshalByRefObject {
|
|
|
725
726
|
lastAccessTimeUtc: DateTime;
|
|
726
727
|
lastWriteTime: DateTime;
|
|
727
728
|
lastWriteTimeUtc: DateTime;
|
|
728
|
-
readonly linkTarget: string;
|
|
729
|
+
readonly linkTarget: string | undefined;
|
|
729
730
|
readonly name: string;
|
|
730
731
|
unixFileMode: UnixFileMode;
|
|
731
732
|
createAsSymbolicLink(pathToTarget: string): void;
|
|
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;
|
|
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;
|
|
@@ -929,7 +932,7 @@ export type PathTooLongException = PathTooLongException$instance & __PathTooLong
|
|
|
929
932
|
|
|
930
933
|
export interface RenamedEventArgs$instance extends FileSystemEventArgs {
|
|
931
934
|
readonly oldFullPath: string;
|
|
932
|
-
readonly oldName: string;
|
|
935
|
+
readonly oldName: string | undefined;
|
|
933
936
|
}
|
|
934
937
|
|
|
935
938
|
|
|
@@ -1027,10 +1030,10 @@ 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;
|
|
1031
|
-
readLineAsync(): Task_1<
|
|
1033
|
+
readLine(): string | undefined;
|
|
1034
|
+
readLineAsync(): Task_1<string | undefined>;
|
|
1032
1035
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1033
|
-
readLineAsync(): Task_1<
|
|
1036
|
+
readLineAsync(): Task_1<string | undefined>;
|
|
1034
1037
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1035
1038
|
readToEnd(): string;
|
|
1036
1039
|
readToEndAsync(): Task_1<System_Internal.String>;
|
|
@@ -1178,10 +1181,10 @@ 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;
|
|
1182
|
-
readLineAsync(): Task_1<
|
|
1184
|
+
readLine(): string | undefined;
|
|
1185
|
+
readLineAsync(): Task_1<string | undefined>;
|
|
1183
1186
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1184
|
-
readLineAsync(): Task_1<
|
|
1187
|
+
readLineAsync(): Task_1<string | undefined>;
|
|
1185
1188
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1186
1189
|
readToEnd(): string;
|
|
1187
1190
|
readToEndAsync(): Task_1<System_Internal.String>;
|
|
@@ -1302,8 +1305,8 @@ 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;
|
|
1306
|
-
readLineAsync(): Task_1<
|
|
1308
|
+
readLine(): string | undefined;
|
|
1309
|
+
readLineAsync(): Task_1<string | undefined>;
|
|
1307
1310
|
readLineAsync(cancellationToken: CancellationToken): ValueTask_1<System_Internal.String>;
|
|
1308
1311
|
readToEnd(): string;
|
|
1309
1312
|
readToEndAsync(): Task_1<System_Internal.String>;
|
|
@@ -1555,9 +1558,9 @@ export abstract class Directory$instance {
|
|
|
1555
1558
|
static getLastWriteTime(path: string): DateTime;
|
|
1556
1559
|
static getLastWriteTimeUtc(path: string): DateTime;
|
|
1557
1560
|
static getLogicalDrives(): string[];
|
|
1558
|
-
static getParent(path: string): DirectoryInfo;
|
|
1561
|
+
static getParent(path: string): DirectoryInfo | undefined;
|
|
1559
1562
|
static move(sourceDirName: string, destDirName: string): void;
|
|
1560
|
-
static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
|
|
1563
|
+
static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo | undefined;
|
|
1561
1564
|
static setCreationTime(path: string, creationTime: DateTime): void;
|
|
1562
1565
|
static setCreationTimeUtc(path: string, creationTimeUtc: DateTime): void;
|
|
1563
1566
|
static setCurrentDirectory(path: string): void;
|
|
@@ -1641,7 +1644,7 @@ export abstract class File$instance {
|
|
|
1641
1644
|
static readLinesAsync(path: string, cancellationToken?: CancellationToken): IAsyncEnumerable_1<System_Internal.String>;
|
|
1642
1645
|
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string, ignoreMetadataErrors: boolean): void;
|
|
1643
1646
|
static replace(sourceFileName: string, destinationFileName: string, destinationBackupFileName: string): void;
|
|
1644
|
-
static resolveLinkTarget(linkPath: string, returnFinalTarget: boolean): FileSystemInfo;
|
|
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;
|
|
1647
1650
|
static setCreationTime(fileHandle: SafeFileHandle, creationTime: DateTime): void;
|
|
@@ -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;
|
|
@@ -295,7 +295,7 @@ export interface ZipArchive$instance {
|
|
|
295
295
|
createEntry(entryName: string, compressionLevel: CompressionLevel): ZipArchiveEntry;
|
|
296
296
|
dispose(): void;
|
|
297
297
|
disposeAsync(): ValueTask;
|
|
298
|
-
getEntry(entryName: string): ZipArchiveEntry;
|
|
298
|
+
getEntry(entryName: string): ZipArchiveEntry | undefined;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
|
|
@@ -54,8 +54,10 @@ export const FileSystemEntry: {
|
|
|
54
54
|
export type FileSystemEntry = FileSystemEntry$instance;
|
|
55
55
|
|
|
56
56
|
export interface FileSystemEnumerable_1$instance<TResult> {
|
|
57
|
-
shouldIncludePredicate: FileSystemEnumerable_1_FindPredicate<TResult
|
|
58
|
-
|
|
57
|
+
get shouldIncludePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
|
|
58
|
+
set shouldIncludePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult>);
|
|
59
|
+
get shouldRecursePredicate(): FileSystemEnumerable_1_FindPredicate<TResult> | undefined;
|
|
60
|
+
set shouldRecursePredicate(value: FileSystemEnumerable_1_FindPredicate<TResult>);
|
|
59
61
|
getEnumerator(): IEnumerator_1<TResult>;
|
|
60
62
|
}
|
|
61
63
|
|