@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
|
@@ -638,7 +638,7 @@ export type IAsyncDisposable = IAsyncDisposable$instance;
|
|
|
638
638
|
export interface IAsyncResult$instance {
|
|
639
639
|
readonly isCompleted: boolean;
|
|
640
640
|
readonly asyncWaitHandle: WaitHandle;
|
|
641
|
-
readonly asyncState: unknown;
|
|
641
|
+
readonly asyncState: unknown | undefined;
|
|
642
642
|
readonly completedSynchronously: boolean;
|
|
643
643
|
}
|
|
644
644
|
|
|
@@ -711,7 +711,7 @@ export interface IEquatable_1$instance<T> {
|
|
|
711
711
|
export type IEquatable_1<T> = IEquatable_1$instance<T>;
|
|
712
712
|
|
|
713
713
|
export interface IFormatProvider$instance {
|
|
714
|
-
getFormat(formatType: Type): unknown;
|
|
714
|
+
getFormat(formatType: Type): unknown | undefined;
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
|
|
@@ -754,7 +754,7 @@ export interface IProgress_1$instance<T> {
|
|
|
754
754
|
export type IProgress_1<T> = IProgress_1$instance<T>;
|
|
755
755
|
|
|
756
756
|
export interface IServiceProvider$instance {
|
|
757
|
-
getService(serviceType: Type): unknown;
|
|
757
|
+
getService(serviceType: Type): unknown | undefined;
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
|
|
@@ -811,7 +811,7 @@ export const ArgIterator: {
|
|
|
811
811
|
export type ArgIterator = ArgIterator$instance;
|
|
812
812
|
|
|
813
813
|
export interface ArraySegment_1$instance<T> {
|
|
814
|
-
readonly array: T[];
|
|
814
|
+
readonly array: T[] | undefined;
|
|
815
815
|
readonly count: int;
|
|
816
816
|
item: T;
|
|
817
817
|
readonly offset: int;
|
|
@@ -2800,7 +2800,7 @@ export interface Nullable_1$instance<T extends unknown> {
|
|
|
2800
2800
|
getHashCode(): int;
|
|
2801
2801
|
getValueOrDefault(): T;
|
|
2802
2802
|
getValueOrDefault(defaultValue: T): T;
|
|
2803
|
-
toString(): string;
|
|
2803
|
+
toString(): string | undefined;
|
|
2804
2804
|
}
|
|
2805
2805
|
|
|
2806
2806
|
|
|
@@ -3127,7 +3127,7 @@ export interface SequencePosition$instance {
|
|
|
3127
3127
|
equals(obj: unknown): boolean;
|
|
3128
3128
|
getHashCode(): int;
|
|
3129
3129
|
getInteger(): int;
|
|
3130
|
-
getObject(): unknown;
|
|
3130
|
+
getObject(): unknown | undefined;
|
|
3131
3131
|
}
|
|
3132
3132
|
|
|
3133
3133
|
|
|
@@ -3650,7 +3650,7 @@ export const TypedReference: {
|
|
|
3650
3650
|
makeTypedReference(target: unknown, flds: FieldInfo[]): TypedReference;
|
|
3651
3651
|
setTypedReference(target: TypedReference, value: unknown): void;
|
|
3652
3652
|
targetTypeToken(value: TypedReference): RuntimeTypeHandle;
|
|
3653
|
-
toObject(value: TypedReference): unknown;
|
|
3653
|
+
toObject(value: TypedReference): unknown | undefined;
|
|
3654
3654
|
};
|
|
3655
3655
|
|
|
3656
3656
|
|
|
@@ -4533,7 +4533,7 @@ export type AggregateException = AggregateException$instance & __AggregateExcept
|
|
|
4533
4533
|
|
|
4534
4534
|
export interface AppDomain$instance extends MarshalByRefObject {
|
|
4535
4535
|
readonly baseDirectory: string;
|
|
4536
|
-
readonly dynamicDirectory: string;
|
|
4536
|
+
readonly dynamicDirectory: string | undefined;
|
|
4537
4537
|
readonly friendlyName: string;
|
|
4538
4538
|
readonly id: int;
|
|
4539
4539
|
readonly isFullyTrusted: boolean;
|
|
@@ -4542,25 +4542,25 @@ export interface AppDomain$instance extends MarshalByRefObject {
|
|
|
4542
4542
|
readonly monitoringTotalAllocatedMemorySize: long;
|
|
4543
4543
|
readonly monitoringTotalProcessorTime: TimeSpan;
|
|
4544
4544
|
readonly permissionSet: PermissionSet;
|
|
4545
|
-
readonly relativeSearchPath: string;
|
|
4545
|
+
readonly relativeSearchPath: string | undefined;
|
|
4546
4546
|
readonly setupInformation: AppDomainSetup;
|
|
4547
4547
|
readonly shadowCopyFiles: boolean;
|
|
4548
4548
|
appendPrivatePath(path: string): void;
|
|
4549
4549
|
applyPolicy(assemblyName: string): string;
|
|
4550
4550
|
clearPrivatePath(): void;
|
|
4551
4551
|
clearShadowCopyPath(): void;
|
|
4552
|
-
createInstance(assemblyName: string, typeName: string): ObjectHandle;
|
|
4553
|
-
createInstance(assemblyName: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle;
|
|
4554
|
-
createInstance(assemblyName: string, typeName: string, activationAttributes: unknown[]): ObjectHandle;
|
|
4555
|
-
createInstanceAndUnwrap(assemblyName: string, typeName: string): unknown;
|
|
4556
|
-
createInstanceAndUnwrap(assemblyName: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown;
|
|
4557
|
-
createInstanceAndUnwrap(assemblyName: string, typeName: string, activationAttributes: unknown[]): unknown;
|
|
4558
|
-
createInstanceFrom(assemblyFile: string, typeName: string): ObjectHandle;
|
|
4559
|
-
createInstanceFrom(assemblyFile: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle;
|
|
4560
|
-
createInstanceFrom(assemblyFile: string, typeName: string, activationAttributes: unknown[]): ObjectHandle;
|
|
4561
|
-
createInstanceFromAndUnwrap(assemblyFile: string, typeName: string): unknown;
|
|
4562
|
-
createInstanceFromAndUnwrap(assemblyFile: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown;
|
|
4563
|
-
createInstanceFromAndUnwrap(assemblyFile: string, typeName: string, activationAttributes: unknown[]): unknown;
|
|
4552
|
+
createInstance(assemblyName: string, typeName: string): ObjectHandle | undefined;
|
|
4553
|
+
createInstance(assemblyName: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
4554
|
+
createInstance(assemblyName: string, typeName: string, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
4555
|
+
createInstanceAndUnwrap(assemblyName: string, typeName: string): unknown | undefined;
|
|
4556
|
+
createInstanceAndUnwrap(assemblyName: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown | undefined;
|
|
4557
|
+
createInstanceAndUnwrap(assemblyName: string, typeName: string, activationAttributes: unknown[]): unknown | undefined;
|
|
4558
|
+
createInstanceFrom(assemblyFile: string, typeName: string): ObjectHandle | undefined;
|
|
4559
|
+
createInstanceFrom(assemblyFile: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
4560
|
+
createInstanceFrom(assemblyFile: string, typeName: string, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
4561
|
+
createInstanceFromAndUnwrap(assemblyFile: string, typeName: string): unknown | undefined;
|
|
4562
|
+
createInstanceFromAndUnwrap(assemblyFile: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown | undefined;
|
|
4563
|
+
createInstanceFromAndUnwrap(assemblyFile: string, typeName: string, activationAttributes: unknown[]): unknown | undefined;
|
|
4564
4564
|
executeAssembly(assemblyFile: string): int;
|
|
4565
4565
|
executeAssembly(assemblyFile: string, args: string[]): int;
|
|
4566
4566
|
executeAssembly(assemblyFile: string, args: string[], hashValue: byte[], hashAlgorithm: AssemblyHashAlgorithm): int;
|
|
@@ -4568,7 +4568,7 @@ export interface AppDomain$instance extends MarshalByRefObject {
|
|
|
4568
4568
|
executeAssemblyByName(assemblyName: string): int;
|
|
4569
4569
|
executeAssemblyByName(assemblyName: string, ...args: string[]): int;
|
|
4570
4570
|
getAssemblies(): Assembly[];
|
|
4571
|
-
getData(name: string): unknown;
|
|
4571
|
+
getData(name: string): unknown | undefined;
|
|
4572
4572
|
isCompatibilitySwitchSet(value: string): Nullable_1<Boolean>;
|
|
4573
4573
|
isDefaultAppDomain(): boolean;
|
|
4574
4574
|
isFinalizingForUnload(): boolean;
|
|
@@ -4602,8 +4602,8 @@ export const AppDomain: {
|
|
|
4602
4602
|
export type AppDomain = AppDomain$instance;
|
|
4603
4603
|
|
|
4604
4604
|
export interface AppDomainSetup$instance {
|
|
4605
|
-
readonly applicationBase: string;
|
|
4606
|
-
readonly targetFrameworkName: string;
|
|
4605
|
+
readonly applicationBase: string | undefined;
|
|
4606
|
+
readonly targetFrameworkName: string | undefined;
|
|
4607
4607
|
}
|
|
4608
4608
|
|
|
4609
4609
|
|
|
@@ -4655,7 +4655,7 @@ export type ApplicationException = ApplicationException$instance & __Application
|
|
|
4655
4655
|
export interface ApplicationId$instance {
|
|
4656
4656
|
readonly culture: string;
|
|
4657
4657
|
readonly name: string;
|
|
4658
|
-
readonly processorArchitecture: string;
|
|
4658
|
+
readonly processorArchitecture: string | undefined;
|
|
4659
4659
|
readonly publicKeyToken: byte[];
|
|
4660
4660
|
readonly version: Version;
|
|
4661
4661
|
copy(): ApplicationId;
|
|
@@ -4674,7 +4674,7 @@ export type ApplicationId = ApplicationId$instance;
|
|
|
4674
4674
|
|
|
4675
4675
|
export interface ArgumentException$instance extends SystemException$instance {
|
|
4676
4676
|
readonly message: string;
|
|
4677
|
-
readonly paramName: string;
|
|
4677
|
+
readonly paramName: string | undefined;
|
|
4678
4678
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
4679
4679
|
}
|
|
4680
4680
|
|
|
@@ -4720,7 +4720,7 @@ export type ArgumentNullException = ArgumentNullException$instance & __ArgumentN
|
|
|
4720
4720
|
|
|
4721
4721
|
|
|
4722
4722
|
export interface ArgumentOutOfRangeException$instance extends ArgumentException$instance {
|
|
4723
|
-
readonly actualValue: unknown;
|
|
4723
|
+
readonly actualValue: unknown | undefined;
|
|
4724
4724
|
readonly message: string;
|
|
4725
4725
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
4726
4726
|
}
|
|
@@ -4786,14 +4786,14 @@ export interface Array$instance {
|
|
|
4786
4786
|
getLongLength(dimension: int): long;
|
|
4787
4787
|
getLowerBound(dimension: int): int;
|
|
4788
4788
|
getUpperBound(dimension: int): int;
|
|
4789
|
-
getValue(...indices: int[]): unknown;
|
|
4789
|
+
getValue(...indices: int[]): unknown | undefined;
|
|
4790
4790
|
getValue(index: int): unknown;
|
|
4791
|
-
getValue(index1: int, index2: int): unknown;
|
|
4792
|
-
getValue(index1: int, index2: int, index3: int): unknown;
|
|
4793
|
-
getValue(index: long): unknown;
|
|
4794
|
-
getValue(index1: long, index2: long): unknown;
|
|
4795
|
-
getValue(index1: long, index2: long, index3: long): unknown;
|
|
4796
|
-
getValue(...indices: long[]): unknown;
|
|
4791
|
+
getValue(index1: int, index2: int): unknown | undefined;
|
|
4792
|
+
getValue(index1: int, index2: int, index3: int): unknown | undefined;
|
|
4793
|
+
getValue(index: long): unknown | undefined;
|
|
4794
|
+
getValue(index1: long, index2: long): unknown | undefined;
|
|
4795
|
+
getValue(index1: long, index2: long, index3: long): unknown | undefined;
|
|
4796
|
+
getValue(...indices: long[]): unknown | undefined;
|
|
4797
4797
|
initialize(): void;
|
|
4798
4798
|
setValue(value: unknown, index: int): void;
|
|
4799
4799
|
setValue(value: unknown, index1: int, index2: int): void;
|
|
@@ -4838,12 +4838,12 @@ export const Array: {
|
|
|
4838
4838
|
exists<T>(array: T[], match: Predicate_1<T>): boolean;
|
|
4839
4839
|
fill<T>(array: T[], value: T, startIndex: int, count: int): void;
|
|
4840
4840
|
fill<T>(array: T[], value: T): void;
|
|
4841
|
-
find<T>(array: T[], match: Predicate_1<T>): T;
|
|
4841
|
+
find<T>(array: T[], match: Predicate_1<T>): T | undefined;
|
|
4842
4842
|
findAll<T>(array: T[], match: Predicate_1<T>): T[];
|
|
4843
4843
|
findIndex<T>(array: T[], match: Predicate_1<T>): int;
|
|
4844
4844
|
findIndex<T>(array: T[], startIndex: int, match: Predicate_1<T>): int;
|
|
4845
4845
|
findIndex<T>(array: T[], startIndex: int, count: int, match: Predicate_1<T>): int;
|
|
4846
|
-
findLast<T>(array: T[], match: Predicate_1<T>): T;
|
|
4846
|
+
findLast<T>(array: T[], match: Predicate_1<T>): T | undefined;
|
|
4847
4847
|
findLastIndex<T>(array: T[], match: Predicate_1<T>): int;
|
|
4848
4848
|
findLastIndex<T>(array: T[], startIndex: int, match: Predicate_1<T>): int;
|
|
4849
4849
|
findLastIndex<T>(array: T[], startIndex: int, count: int, match: Predicate_1<T>): int;
|
|
@@ -4941,14 +4941,14 @@ export interface Attribute$instance {
|
|
|
4941
4941
|
|
|
4942
4942
|
|
|
4943
4943
|
export const Attribute: {
|
|
4944
|
-
getCustomAttribute(element: Assembly, attributeType: Type, inherit: boolean): Attribute;
|
|
4945
|
-
getCustomAttribute(element: Assembly, attributeType: Type): Attribute;
|
|
4946
|
-
getCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute;
|
|
4947
|
-
getCustomAttribute(element: MemberInfo, attributeType: Type): Attribute;
|
|
4948
|
-
getCustomAttribute(element: Module, attributeType: Type, inherit: boolean): Attribute;
|
|
4949
|
-
getCustomAttribute(element: Module, attributeType: Type): Attribute;
|
|
4950
|
-
getCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute;
|
|
4951
|
-
getCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute;
|
|
4944
|
+
getCustomAttribute(element: Assembly, attributeType: Type, inherit: boolean): Attribute | undefined;
|
|
4945
|
+
getCustomAttribute(element: Assembly, attributeType: Type): Attribute | undefined;
|
|
4946
|
+
getCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
|
|
4947
|
+
getCustomAttribute(element: MemberInfo, attributeType: Type): Attribute | undefined;
|
|
4948
|
+
getCustomAttribute(element: Module, attributeType: Type, inherit: boolean): Attribute | undefined;
|
|
4949
|
+
getCustomAttribute(element: Module, attributeType: Type): Attribute | undefined;
|
|
4950
|
+
getCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute | undefined;
|
|
4951
|
+
getCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute | undefined;
|
|
4952
4952
|
getCustomAttributes(element: Assembly, inherit: boolean): Attribute[];
|
|
4953
4953
|
getCustomAttributes(element: Assembly, attributeType: Type, inherit: boolean): Attribute[];
|
|
4954
4954
|
getCustomAttributes(element: Assembly, attributeType: Type): Attribute[];
|
|
@@ -4994,7 +4994,7 @@ export type AttributeUsageAttribute = AttributeUsageAttribute$instance;
|
|
|
4994
4994
|
|
|
4995
4995
|
export interface BadImageFormatException$instance extends SystemException$instance {
|
|
4996
4996
|
readonly fileName: string;
|
|
4997
|
-
readonly fusionLog: string;
|
|
4997
|
+
readonly fusionLog: string | undefined;
|
|
4998
4998
|
readonly message: string;
|
|
4999
4999
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
5000
5000
|
toString(): string;
|
|
@@ -5207,7 +5207,7 @@ export interface Delegate$instance {
|
|
|
5207
5207
|
readonly method: MethodInfo;
|
|
5208
5208
|
readonly target: unknown;
|
|
5209
5209
|
clone(): unknown;
|
|
5210
|
-
dynamicInvoke(...args: unknown[]): unknown;
|
|
5210
|
+
dynamicInvoke(...args: unknown[]): unknown | undefined;
|
|
5211
5211
|
equals(obj: unknown): boolean;
|
|
5212
5212
|
getHashCode(): int;
|
|
5213
5213
|
getInvocationList(): Function[];
|
|
@@ -5216,22 +5216,22 @@ export interface Delegate$instance {
|
|
|
5216
5216
|
|
|
5217
5217
|
|
|
5218
5218
|
export const Delegate: {
|
|
5219
|
-
combine(a: Function, b: Function): Function;
|
|
5220
|
-
combine(...delegates: Function[]): Function;
|
|
5221
|
-
combine(delegates: ReadOnlySpan_1<Function>): Function;
|
|
5222
|
-
createDelegate(type_: Type, firstArgument: unknown, method: MethodInfo, throwOnBindFailure: boolean): Function;
|
|
5219
|
+
combine(a: Function, b: Function): Function | undefined;
|
|
5220
|
+
combine(...delegates: Function[]): Function | undefined;
|
|
5221
|
+
combine(delegates: ReadOnlySpan_1<Function>): Function | undefined;
|
|
5222
|
+
createDelegate(type_: Type, firstArgument: unknown, method: MethodInfo, throwOnBindFailure: boolean): Function | undefined;
|
|
5223
5223
|
createDelegate(type_: Type, firstArgument: unknown, method: MethodInfo): Function;
|
|
5224
|
-
createDelegate(type_: Type, target: unknown, method: string, ignoreCase: boolean, throwOnBindFailure: boolean): Function;
|
|
5224
|
+
createDelegate(type_: Type, target: unknown, method: string, ignoreCase: boolean, throwOnBindFailure: boolean): Function | undefined;
|
|
5225
5225
|
createDelegate(type_: Type, target: unknown, method: string, ignoreCase: boolean): Function;
|
|
5226
5226
|
createDelegate(type_: Type, target: unknown, method: string): Function;
|
|
5227
|
-
createDelegate(type_: Type, method: MethodInfo, throwOnBindFailure: boolean): Function;
|
|
5227
|
+
createDelegate(type_: Type, method: MethodInfo, throwOnBindFailure: boolean): Function | undefined;
|
|
5228
5228
|
createDelegate(type_: Type, method: MethodInfo): Function;
|
|
5229
|
-
createDelegate(type_: Type, target: Type, method: string, ignoreCase: boolean, throwOnBindFailure: boolean): Function;
|
|
5229
|
+
createDelegate(type_: Type, target: Type, method: string, ignoreCase: boolean, throwOnBindFailure: boolean): Function | undefined;
|
|
5230
5230
|
createDelegate(type_: Type, target: Type, method: string, ignoreCase: boolean): Function;
|
|
5231
5231
|
createDelegate(type_: Type, target: Type, method: string): Function;
|
|
5232
5232
|
enumerateInvocationList<TDelegate extends Function>(d: TDelegate): Delegate_InvocationListEnumerator_1<TDelegate>;
|
|
5233
|
-
remove(source: Function, value: Function): Function;
|
|
5234
|
-
removeAll(source: Function, value: Function): Function;
|
|
5233
|
+
remove(source: Function, value: Function): Function | undefined;
|
|
5234
|
+
removeAll(source: Function, value: Function): Function | undefined;
|
|
5235
5235
|
};
|
|
5236
5236
|
|
|
5237
5237
|
|
|
@@ -5337,8 +5337,8 @@ export interface Enum$instance {
|
|
|
5337
5337
|
|
|
5338
5338
|
export const Enum: {
|
|
5339
5339
|
format(enumType: Type, value: unknown, format: string): string;
|
|
5340
|
-
getName(enumType: Type, value: unknown): string;
|
|
5341
|
-
getName<TEnum extends number>(value: TEnum): string;
|
|
5340
|
+
getName(enumType: Type, value: unknown): string | undefined;
|
|
5341
|
+
getName<TEnum extends number>(value: TEnum): string | undefined;
|
|
5342
5342
|
getNames<TEnum extends number>(): string[];
|
|
5343
5343
|
getNames(enumType: Type): string[];
|
|
5344
5344
|
getUnderlyingType(enumType: Type): Type;
|
|
@@ -5406,13 +5406,14 @@ export type EventArgs = EventArgs$instance;
|
|
|
5406
5406
|
|
|
5407
5407
|
export interface Exception$instance {
|
|
5408
5408
|
readonly data: IDictionary;
|
|
5409
|
-
helpLink: string;
|
|
5409
|
+
get helpLink(): string | undefined;
|
|
5410
|
+
set helpLink(value: string);
|
|
5410
5411
|
hResult: int;
|
|
5411
|
-
readonly innerException: Exception;
|
|
5412
|
+
readonly innerException: Exception | undefined;
|
|
5412
5413
|
readonly message: string;
|
|
5413
5414
|
source: string;
|
|
5414
|
-
readonly stackTrace: string;
|
|
5415
|
-
readonly targetSite: MethodBase;
|
|
5415
|
+
readonly stackTrace: string | undefined;
|
|
5416
|
+
readonly targetSite: MethodBase | undefined;
|
|
5416
5417
|
getBaseException(): Exception;
|
|
5417
5418
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
5418
5419
|
getType(): Type;
|
|
@@ -5519,7 +5520,7 @@ export interface FormattableString$instance {
|
|
|
5519
5520
|
readonly argumentCount: int;
|
|
5520
5521
|
readonly format: string;
|
|
5521
5522
|
getArgument(index: int): unknown;
|
|
5522
|
-
getArguments(): unknown[];
|
|
5523
|
+
getArguments(): (unknown | undefined)[];
|
|
5523
5524
|
toString(formatProvider: IFormatProvider): string;
|
|
5524
5525
|
toString(): string;
|
|
5525
5526
|
}
|
|
@@ -5719,7 +5720,7 @@ export type InvalidTimeZoneException = InvalidTimeZoneException$instance & __Inv
|
|
|
5719
5720
|
export interface Lazy_1$instance<T> {
|
|
5720
5721
|
readonly isValueCreated: boolean;
|
|
5721
5722
|
readonly value: T;
|
|
5722
|
-
toString(): string;
|
|
5723
|
+
toString(): string | undefined;
|
|
5723
5724
|
}
|
|
5724
5725
|
|
|
5725
5726
|
|
|
@@ -6080,7 +6081,7 @@ export interface Object$instance {
|
|
|
6080
6081
|
equals(obj: unknown): boolean;
|
|
6081
6082
|
getHashCode(): int;
|
|
6082
6083
|
getType(): Type;
|
|
6083
|
-
toString(): string;
|
|
6084
|
+
toString(): string | undefined;
|
|
6084
6085
|
}
|
|
6085
6086
|
|
|
6086
6087
|
|
|
@@ -6120,7 +6121,8 @@ export interface ObsoleteAttribute$instance extends Attribute {
|
|
|
6120
6121
|
diagnosticId: string;
|
|
6121
6122
|
readonly isError: boolean;
|
|
6122
6123
|
readonly message: string;
|
|
6123
|
-
urlFormat: string;
|
|
6124
|
+
get urlFormat(): string | undefined;
|
|
6125
|
+
set urlFormat(value: string);
|
|
6124
6126
|
}
|
|
6125
6127
|
|
|
6126
6128
|
|
|
@@ -6371,7 +6373,7 @@ export type RankException = RankException$instance & __RankException$views;
|
|
|
6371
6373
|
|
|
6372
6374
|
export interface ResolveEventArgs$instance extends EventArgs {
|
|
6373
6375
|
readonly name: string;
|
|
6374
|
-
readonly requestingAssembly: Assembly;
|
|
6376
|
+
readonly requestingAssembly: Assembly | undefined;
|
|
6375
6377
|
}
|
|
6376
6378
|
|
|
6377
6379
|
|
|
@@ -6596,7 +6598,7 @@ export const String: {
|
|
|
6596
6598
|
getHashCode(value: ReadOnlySpan_1<Char>, comparisonType: StringComparison): int;
|
|
6597
6599
|
getHashCode(value: ReadOnlySpan_1<Char>): int;
|
|
6598
6600
|
intern(str: string): string;
|
|
6599
|
-
isInterned(str: string): string;
|
|
6601
|
+
isInterned(str: string): string | undefined;
|
|
6600
6602
|
isNullOrEmpty(value: string): boolean;
|
|
6601
6603
|
isNullOrWhiteSpace(value: string): boolean;
|
|
6602
6604
|
join<T>(separator: char, values: IEnumerable_1<T>): string;
|
|
@@ -7138,9 +7140,9 @@ export interface Type$instance extends MemberInfo {
|
|
|
7138
7140
|
readonly assembly: Assembly;
|
|
7139
7141
|
readonly assemblyQualifiedName: string;
|
|
7140
7142
|
readonly attributes: TypeAttributes;
|
|
7141
|
-
readonly baseType: Type;
|
|
7143
|
+
readonly baseType: Type | undefined;
|
|
7142
7144
|
readonly containsGenericParameters: boolean;
|
|
7143
|
-
readonly declaringMethod: MethodBase;
|
|
7145
|
+
readonly declaringMethod: MethodBase | undefined;
|
|
7144
7146
|
readonly declaringType: Type;
|
|
7145
7147
|
readonly fullName: string;
|
|
7146
7148
|
readonly genericParameterAttributes: GenericParameterAttributes;
|
|
@@ -7199,37 +7201,37 @@ export interface Type$instance extends MemberInfo {
|
|
|
7199
7201
|
readonly memberType: MemberTypes;
|
|
7200
7202
|
readonly module_: Module;
|
|
7201
7203
|
readonly namespace_: string;
|
|
7202
|
-
readonly reflectedType: Type;
|
|
7203
|
-
readonly structLayoutAttribute: StructLayoutAttribute;
|
|
7204
|
+
readonly reflectedType: Type | undefined;
|
|
7205
|
+
readonly structLayoutAttribute: StructLayoutAttribute | undefined;
|
|
7204
7206
|
readonly typeHandle: RuntimeTypeHandle;
|
|
7205
|
-
readonly typeInitializer: ConstructorInfo;
|
|
7207
|
+
readonly typeInitializer: ConstructorInfo | undefined;
|
|
7206
7208
|
readonly underlyingSystemType: Type;
|
|
7207
7209
|
equals(o: unknown): boolean;
|
|
7208
7210
|
equals(o: Type): boolean;
|
|
7209
7211
|
findInterfaces(filter: TypeFilter, filterCriteria: unknown): Type[];
|
|
7210
7212
|
findMembers(memberType: MemberTypes, bindingAttr: BindingFlags, filter: MemberFilter, filterCriteria: unknown): MemberInfo[];
|
|
7211
7213
|
getArrayRank(): int;
|
|
7212
|
-
getConstructor(types: Type[]): ConstructorInfo;
|
|
7213
|
-
getConstructor(bindingAttr: BindingFlags, types: Type[]): ConstructorInfo;
|
|
7214
|
-
getConstructor(bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): ConstructorInfo;
|
|
7215
|
-
getConstructor(bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): ConstructorInfo;
|
|
7214
|
+
getConstructor(types: Type[]): ConstructorInfo | undefined;
|
|
7215
|
+
getConstructor(bindingAttr: BindingFlags, types: Type[]): ConstructorInfo | undefined;
|
|
7216
|
+
getConstructor(bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): ConstructorInfo | undefined;
|
|
7217
|
+
getConstructor(bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): ConstructorInfo | undefined;
|
|
7216
7218
|
getConstructors(): ConstructorInfo[];
|
|
7217
7219
|
getConstructors(bindingAttr: BindingFlags): ConstructorInfo[];
|
|
7218
7220
|
getCustomAttributes(inherit: boolean): unknown[];
|
|
7219
7221
|
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
7220
7222
|
getDefaultMembers(): MemberInfo[];
|
|
7221
7223
|
getElementType(): Type;
|
|
7222
|
-
getEnumName(value: unknown): string;
|
|
7224
|
+
getEnumName(value: unknown): string | undefined;
|
|
7223
7225
|
getEnumNames(): string[];
|
|
7224
7226
|
getEnumUnderlyingType(): Type;
|
|
7225
7227
|
getEnumValues(): Array;
|
|
7226
7228
|
getEnumValuesAsUnderlyingType(): Array;
|
|
7227
|
-
getEvent(name: string): EventInfo;
|
|
7228
|
-
getEvent(name: string, bindingAttr: BindingFlags): EventInfo;
|
|
7229
|
+
getEvent(name: string): EventInfo | undefined;
|
|
7230
|
+
getEvent(name: string, bindingAttr: BindingFlags): EventInfo | undefined;
|
|
7229
7231
|
getEvents(): EventInfo[];
|
|
7230
7232
|
getEvents(bindingAttr: BindingFlags): EventInfo[];
|
|
7231
|
-
getField(name: string): FieldInfo;
|
|
7232
|
-
getField(name: string, bindingAttr: BindingFlags): FieldInfo;
|
|
7233
|
+
getField(name: string): FieldInfo | undefined;
|
|
7234
|
+
getField(name: string, bindingAttr: BindingFlags): FieldInfo | undefined;
|
|
7233
7235
|
getFields(): FieldInfo[];
|
|
7234
7236
|
getFields(bindingAttr: BindingFlags): FieldInfo[];
|
|
7235
7237
|
getFunctionPointerCallingConventions(): Type[];
|
|
@@ -7239,8 +7241,8 @@ export interface Type$instance extends MemberInfo {
|
|
|
7239
7241
|
getGenericParameterConstraints(): Type[];
|
|
7240
7242
|
getGenericTypeDefinition(): Type;
|
|
7241
7243
|
getHashCode(): int;
|
|
7242
|
-
getInterface(name: string): Type;
|
|
7243
|
-
getInterface(name: string, ignoreCase: boolean): Type;
|
|
7244
|
+
getInterface(name: string): Type | undefined;
|
|
7245
|
+
getInterface(name: string, ignoreCase: boolean): Type | undefined;
|
|
7244
7246
|
getInterfaceMap(interfaceType: Type): InterfaceMapping;
|
|
7245
7247
|
getInterfaces(): Type[];
|
|
7246
7248
|
getMember(name: string): MemberInfo[];
|
|
@@ -7249,39 +7251,39 @@ export interface Type$instance extends MemberInfo {
|
|
|
7249
7251
|
getMembers(): MemberInfo[];
|
|
7250
7252
|
getMembers(bindingAttr: BindingFlags): MemberInfo[];
|
|
7251
7253
|
getMemberWithSameMetadataDefinitionAs(member: MemberInfo): MemberInfo;
|
|
7252
|
-
getMethod(name: string): MethodInfo;
|
|
7253
|
-
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo;
|
|
7254
|
-
getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo;
|
|
7255
|
-
getMethod(name: string, types: Type[]): MethodInfo;
|
|
7256
|
-
getMethod(name: string, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
7257
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
7258
|
-
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
7259
|
-
getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo;
|
|
7260
|
-
getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
7261
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo;
|
|
7262
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
7263
|
-
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo;
|
|
7254
|
+
getMethod(name: string): MethodInfo | undefined;
|
|
7255
|
+
getMethod(name: string, bindingAttr: BindingFlags): MethodInfo | undefined;
|
|
7256
|
+
getMethod(name: string, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
|
|
7257
|
+
getMethod(name: string, types: Type[]): MethodInfo | undefined;
|
|
7258
|
+
getMethod(name: string, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
7259
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
7260
|
+
getMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
7261
|
+
getMethod(name: string, genericParameterCount: int, types: Type[]): MethodInfo | undefined;
|
|
7262
|
+
getMethod(name: string, genericParameterCount: int, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
7263
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, types: Type[]): MethodInfo | undefined;
|
|
7264
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
7265
|
+
getMethod(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo | undefined;
|
|
7264
7266
|
getMethods(): MethodInfo[];
|
|
7265
7267
|
getMethods(bindingAttr: BindingFlags): MethodInfo[];
|
|
7266
|
-
getNestedType(name: string): Type;
|
|
7267
|
-
getNestedType(name: string, bindingAttr: BindingFlags): Type;
|
|
7268
|
+
getNestedType(name: string): Type | undefined;
|
|
7269
|
+
getNestedType(name: string, bindingAttr: BindingFlags): Type | undefined;
|
|
7268
7270
|
getNestedTypes(): Type[];
|
|
7269
7271
|
getNestedTypes(bindingAttr: BindingFlags): Type[];
|
|
7270
7272
|
getOptionalCustomModifiers(): Type[];
|
|
7271
7273
|
getProperties(): PropertyInfo[];
|
|
7272
7274
|
getProperties(bindingAttr: BindingFlags): PropertyInfo[];
|
|
7273
|
-
getProperty(name: string): PropertyInfo;
|
|
7274
|
-
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo;
|
|
7275
|
-
getProperty(name: string, returnType: Type): PropertyInfo;
|
|
7276
|
-
getProperty(name: string, types: Type[]): PropertyInfo;
|
|
7277
|
-
getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo;
|
|
7278
|
-
getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
7279
|
-
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo;
|
|
7275
|
+
getProperty(name: string): PropertyInfo | undefined;
|
|
7276
|
+
getProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | undefined;
|
|
7277
|
+
getProperty(name: string, returnType: Type): PropertyInfo | undefined;
|
|
7278
|
+
getProperty(name: string, types: Type[]): PropertyInfo | undefined;
|
|
7279
|
+
getProperty(name: string, returnType: Type, types: Type[]): PropertyInfo | undefined;
|
|
7280
|
+
getProperty(name: string, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
7281
|
+
getProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo | undefined;
|
|
7280
7282
|
getRequiredCustomModifiers(): Type[];
|
|
7281
7283
|
getType(): Type;
|
|
7282
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown;
|
|
7283
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown;
|
|
7284
|
-
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown;
|
|
7284
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown | undefined;
|
|
7285
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown | undefined;
|
|
7286
|
+
invokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown | undefined;
|
|
7285
7287
|
isAssignableFrom(c: Type): boolean;
|
|
7286
7288
|
isAssignableTo(targetType: Type): boolean;
|
|
7287
7289
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
@@ -7306,27 +7308,27 @@ export const Type: {
|
|
|
7306
7308
|
readonly filterName: MemberFilter;
|
|
7307
7309
|
readonly filterNameIgnoreCase: MemberFilter;
|
|
7308
7310
|
readonly defaultBinder: Binder;
|
|
7309
|
-
getType(typeName: string, throwOnError: boolean, ignoreCase: boolean): Type;
|
|
7310
|
-
getType(typeName: string, throwOnError: boolean): Type;
|
|
7311
|
-
getType(typeName: string, assemblyResolver: Func_2<AssemblyName, Assembly>, typeResolver: Func_4<Assembly, String, Boolean, Type>, throwOnError: boolean, ignoreCase: boolean): Type;
|
|
7312
|
-
getType(typeName: string, assemblyResolver: Func_2<AssemblyName, Assembly>, typeResolver: Func_4<Assembly, String, Boolean, Type>, throwOnError: boolean): Type;
|
|
7313
|
-
getType(typeName: string, assemblyResolver: Func_2<AssemblyName, Assembly>, typeResolver: Func_4<Assembly, String, Boolean, Type>): Type;
|
|
7314
|
-
getType(typeName: string): Type;
|
|
7311
|
+
getType(typeName: string, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
|
|
7312
|
+
getType(typeName: string, throwOnError: boolean): Type | undefined;
|
|
7313
|
+
getType(typeName: string, assemblyResolver: Func_2<AssemblyName, Assembly>, typeResolver: Func_4<Assembly, String, Boolean, Type>, throwOnError: boolean, ignoreCase: boolean): Type | undefined;
|
|
7314
|
+
getType(typeName: string, assemblyResolver: Func_2<AssemblyName, Assembly>, typeResolver: Func_4<Assembly, String, Boolean, Type>, throwOnError: boolean): Type | undefined;
|
|
7315
|
+
getType(typeName: string, assemblyResolver: Func_2<AssemblyName, Assembly>, typeResolver: Func_4<Assembly, String, Boolean, Type>): Type | undefined;
|
|
7316
|
+
getType(typeName: string): Type | undefined;
|
|
7315
7317
|
getTypeArray(args: unknown[]): Type[];
|
|
7316
7318
|
getTypeCode(type_: Type): TypeCode;
|
|
7317
|
-
getTypeFromCLSID(clsid: Guid, throwOnError: boolean): Type;
|
|
7318
|
-
getTypeFromCLSID(clsid: Guid, server: string, throwOnError: boolean): Type;
|
|
7319
|
-
getTypeFromCLSID(clsid: Guid, server: string): Type;
|
|
7320
|
-
getTypeFromCLSID(clsid: Guid): Type;
|
|
7321
|
-
getTypeFromHandle(handle: RuntimeTypeHandle): Type;
|
|
7322
|
-
getTypeFromProgID(progID: string, throwOnError: boolean): Type;
|
|
7323
|
-
getTypeFromProgID(progID: string, server: string, throwOnError: boolean): Type;
|
|
7324
|
-
getTypeFromProgID(progID: string, server: string): Type;
|
|
7325
|
-
getTypeFromProgID(progID: string): Type;
|
|
7319
|
+
getTypeFromCLSID(clsid: Guid, throwOnError: boolean): Type | undefined;
|
|
7320
|
+
getTypeFromCLSID(clsid: Guid, server: string, throwOnError: boolean): Type | undefined;
|
|
7321
|
+
getTypeFromCLSID(clsid: Guid, server: string): Type | undefined;
|
|
7322
|
+
getTypeFromCLSID(clsid: Guid): Type | undefined;
|
|
7323
|
+
getTypeFromHandle(handle: RuntimeTypeHandle): Type | undefined;
|
|
7324
|
+
getTypeFromProgID(progID: string, throwOnError: boolean): Type | undefined;
|
|
7325
|
+
getTypeFromProgID(progID: string, server: string, throwOnError: boolean): Type | undefined;
|
|
7326
|
+
getTypeFromProgID(progID: string, server: string): Type | undefined;
|
|
7327
|
+
getTypeFromProgID(progID: string): Type | undefined;
|
|
7326
7328
|
getTypeHandle(o: unknown): RuntimeTypeHandle;
|
|
7327
7329
|
makeGenericMethodParameter(position: int): Type;
|
|
7328
7330
|
makeGenericSignatureType(genericTypeDefinition: Type, ...typeArguments: Type[]): Type;
|
|
7329
|
-
reflectionOnlyGetType(typeName: string, throwIfNotFound: boolean, ignoreCase: boolean): Type;
|
|
7331
|
+
reflectionOnlyGetType(typeName: string, throwIfNotFound: boolean, ignoreCase: boolean): Type | undefined;
|
|
7330
7332
|
};
|
|
7331
7333
|
|
|
7332
7334
|
|
|
@@ -7633,10 +7635,10 @@ export interface UriTypeConverter$instance extends TypeConverter {
|
|
|
7633
7635
|
canConvertFrom(sourceType: Type): boolean;
|
|
7634
7636
|
canConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
7635
7637
|
canConvertTo(destinationType: Type): boolean;
|
|
7636
|
-
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown;
|
|
7637
|
-
convertFrom(value: unknown): unknown;
|
|
7638
|
+
convertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown | undefined;
|
|
7639
|
+
convertFrom(value: unknown): unknown | undefined;
|
|
7638
7640
|
convertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown;
|
|
7639
|
-
convertTo(value: unknown, destinationType: Type): unknown;
|
|
7641
|
+
convertTo(value: unknown, destinationType: Type): unknown | undefined;
|
|
7640
7642
|
isValid(context: ITypeDescriptorContext, value: unknown): boolean;
|
|
7641
7643
|
isValid(value: unknown): boolean;
|
|
7642
7644
|
}
|
|
@@ -7652,7 +7654,7 @@ export type UriTypeConverter = UriTypeConverter$instance;
|
|
|
7652
7654
|
export interface ValueType$instance {
|
|
7653
7655
|
equals(obj: unknown): boolean;
|
|
7654
7656
|
getHashCode(): int;
|
|
7655
|
-
toString(): string;
|
|
7657
|
+
toString(): string | undefined;
|
|
7656
7658
|
}
|
|
7657
7659
|
|
|
7658
7660
|
|
|
@@ -7767,18 +7769,18 @@ export type WeakReference_1<T> = WeakReference_1$instance<T> & __WeakReference_1
|
|
|
7767
7769
|
|
|
7768
7770
|
export abstract class Activator$instance {
|
|
7769
7771
|
static createInstance<T>(): T;
|
|
7770
|
-
static createInstance(assemblyName: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle;
|
|
7771
|
-
static createInstance(assemblyName: string, typeName: string, activationAttributes: unknown[]): ObjectHandle;
|
|
7772
|
-
static createInstance(assemblyName: string, typeName: string): ObjectHandle;
|
|
7773
|
-
static createInstance(type_: Type, nonPublic: boolean): unknown;
|
|
7774
|
-
static createInstance(type_: Type, args: unknown[], activationAttributes: unknown[]): unknown;
|
|
7775
|
-
static createInstance(type_: Type, ...args: unknown[]): unknown;
|
|
7776
|
-
static createInstance(type_: Type, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown;
|
|
7777
|
-
static createInstance(type_: Type, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo): unknown;
|
|
7778
|
-
static createInstance(type_: Type): unknown;
|
|
7779
|
-
static createInstanceFrom(assemblyFile: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle;
|
|
7780
|
-
static createInstanceFrom(assemblyFile: string, typeName: string, activationAttributes: unknown[]): ObjectHandle;
|
|
7781
|
-
static createInstanceFrom(assemblyFile: string, typeName: string): ObjectHandle;
|
|
7772
|
+
static createInstance(assemblyName: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
7773
|
+
static createInstance(assemblyName: string, typeName: string, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
7774
|
+
static createInstance(assemblyName: string, typeName: string): ObjectHandle | undefined;
|
|
7775
|
+
static createInstance(type_: Type, nonPublic: boolean): unknown | undefined;
|
|
7776
|
+
static createInstance(type_: Type, args: unknown[], activationAttributes: unknown[]): unknown | undefined;
|
|
7777
|
+
static createInstance(type_: Type, ...args: unknown[]): unknown | undefined;
|
|
7778
|
+
static createInstance(type_: Type, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown | undefined;
|
|
7779
|
+
static createInstance(type_: Type, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo): unknown | undefined;
|
|
7780
|
+
static createInstance(type_: Type): unknown | undefined;
|
|
7781
|
+
static createInstanceFrom(assemblyFile: string, typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
7782
|
+
static createInstanceFrom(assemblyFile: string, typeName: string, activationAttributes: unknown[]): ObjectHandle | undefined;
|
|
7783
|
+
static createInstanceFrom(assemblyFile: string, typeName: string): ObjectHandle | undefined;
|
|
7782
7784
|
}
|
|
7783
7785
|
|
|
7784
7786
|
|
|
@@ -7786,8 +7788,8 @@ export type Activator = Activator$instance;
|
|
|
7786
7788
|
|
|
7787
7789
|
export abstract class AppContext$instance {
|
|
7788
7790
|
static readonly baseDirectory: string;
|
|
7789
|
-
static readonly targetFrameworkName: string;
|
|
7790
|
-
static getData(name: string): unknown;
|
|
7791
|
+
static readonly targetFrameworkName: string | undefined;
|
|
7792
|
+
static getData(name: string): unknown | undefined;
|
|
7791
7793
|
static setData(name: string, data: unknown): void;
|
|
7792
7794
|
static setSwitch(switchName: string, isEnabled: boolean): void;
|
|
7793
7795
|
static tryGetSwitch(switchName: string, isEnabled: boolean): boolean;
|
|
@@ -7925,7 +7927,7 @@ export abstract class Console$instance {
|
|
|
7925
7927
|
static read(): int;
|
|
7926
7928
|
static readKey(): ConsoleKeyInfo;
|
|
7927
7929
|
static readKey(intercept: boolean): ConsoleKeyInfo;
|
|
7928
|
-
static readLine(): string;
|
|
7930
|
+
static readLine(): string | undefined;
|
|
7929
7931
|
static resetColor(): void;
|
|
7930
7932
|
static setBufferSize(width: int, height: int): void;
|
|
7931
7933
|
static setCursorPosition(left: int, top: int): void;
|
|
@@ -7980,10 +7982,10 @@ export type Console = Console$instance;
|
|
|
7980
7982
|
|
|
7981
7983
|
export abstract class Convert$instance {
|
|
7982
7984
|
static readonly dbNull: unknown;
|
|
7983
|
-
static changeType(value: unknown, conversionType: Type, provider: IFormatProvider): unknown;
|
|
7984
|
-
static changeType(value: unknown, conversionType: Type): unknown;
|
|
7985
|
-
static changeType(value: unknown, typeCode: TypeCode, provider: IFormatProvider): unknown;
|
|
7986
|
-
static changeType(value: unknown, typeCode: TypeCode): unknown;
|
|
7985
|
+
static changeType(value: unknown, conversionType: Type, provider: IFormatProvider): unknown | undefined;
|
|
7986
|
+
static changeType(value: unknown, conversionType: Type): unknown | undefined;
|
|
7987
|
+
static changeType(value: unknown, typeCode: TypeCode, provider: IFormatProvider): unknown | undefined;
|
|
7988
|
+
static changeType(value: unknown, typeCode: TypeCode): unknown | undefined;
|
|
7987
7989
|
static fromBase64CharArray(inArray: char[], offset: int, length: int): byte[];
|
|
7988
7990
|
static fromBase64String(s: string): byte[];
|
|
7989
7991
|
static fromHexString(utf8Source: ReadOnlySpan_1<Byte>, destination: Span_1<Byte>, bytesConsumed: int, bytesWritten: int): OperationStatus;
|
|
@@ -8232,14 +8234,14 @@ export abstract class Convert$instance {
|
|
|
8232
8234
|
static toString(value: long, provider: IFormatProvider): string;
|
|
8233
8235
|
static toString(value: long, toBase: int): string;
|
|
8234
8236
|
static toString(value: long): string;
|
|
8235
|
-
static toString(value: unknown, provider: IFormatProvider): string;
|
|
8236
|
-
static toString(value: unknown): string;
|
|
8237
|
+
static toString(value: unknown, provider: IFormatProvider): string | undefined;
|
|
8238
|
+
static toString(value: unknown): string | undefined;
|
|
8237
8239
|
static toString(value: sbyte, provider: IFormatProvider): string;
|
|
8238
8240
|
static toString(value: sbyte): string;
|
|
8239
8241
|
static toString(value: float, provider: IFormatProvider): string;
|
|
8240
8242
|
static toString(value: float): string;
|
|
8241
|
-
static toString(value: string, provider: IFormatProvider): string;
|
|
8242
|
-
static toString(value: string): string;
|
|
8243
|
+
static toString(value: string, provider: IFormatProvider): string | undefined;
|
|
8244
|
+
static toString(value: string): string | undefined;
|
|
8243
8245
|
static toString(value: ushort, provider: IFormatProvider): string;
|
|
8244
8246
|
static toString(value: ushort): string;
|
|
8245
8247
|
static toString(value: uint, provider: IFormatProvider): string;
|
|
@@ -8324,7 +8326,7 @@ export abstract class Environment$instance {
|
|
|
8324
8326
|
static readonly commandLine: string;
|
|
8325
8327
|
static currentDirectory: string;
|
|
8326
8328
|
static readonly processId: int;
|
|
8327
|
-
static readonly processPath: string;
|
|
8329
|
+
static readonly processPath: string | undefined;
|
|
8328
8330
|
static readonly is64BitProcess: boolean;
|
|
8329
8331
|
static readonly is64BitOperatingSystem: boolean;
|
|
8330
8332
|
static readonly newLine: string;
|
|
@@ -8346,8 +8348,8 @@ export abstract class Environment$instance {
|
|
|
8346
8348
|
static failFast(message: string, exception: Exception): void;
|
|
8347
8349
|
static failFast(message: string): void;
|
|
8348
8350
|
static getCommandLineArgs(): string[];
|
|
8349
|
-
static getEnvironmentVariable(variable: string, target: EnvironmentVariableTarget): string;
|
|
8350
|
-
static getEnvironmentVariable(variable: string): string;
|
|
8351
|
+
static getEnvironmentVariable(variable: string, target: EnvironmentVariableTarget): string | undefined;
|
|
8352
|
+
static getEnvironmentVariable(variable: string): string | undefined;
|
|
8351
8353
|
static getEnvironmentVariables(): IDictionary;
|
|
8352
8354
|
static getEnvironmentVariables(target: EnvironmentVariableTarget): IDictionary;
|
|
8353
8355
|
static getFolderPath(folder: Environment_SpecialFolder, option: Environment_SpecialFolderOption): string;
|
|
@@ -8860,7 +8862,7 @@ export type MemoryExtensions = MemoryExtensions$instance;
|
|
|
8860
8862
|
export abstract class Nullable$instance {
|
|
8861
8863
|
static compare<T extends unknown>(n1: Nullable_1<T>, n2: Nullable_1<T>): int;
|
|
8862
8864
|
static equals<T extends unknown>(n1: Nullable_1<T>, n2: Nullable_1<T>): boolean;
|
|
8863
|
-
static getUnderlyingType(nullableType: Type): Type;
|
|
8865
|
+
static getUnderlyingType(nullableType: Type): Type | undefined;
|
|
8864
8866
|
static getValueRefOrDefaultRef<T extends unknown>(nullable: Nullable_1<T>): T;
|
|
8865
8867
|
}
|
|
8866
8868
|
|