@tsonic/dotnet 10.0.40 → 10.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/bindings.json +5 -5
- package/Internal/internal/index.d.ts +4 -3
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +83 -104
- package/System/bindings.json +1858 -2297
- package/System/internal/index.d.ts +1972 -2010
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +56 -58
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +90 -92
- package/System.Collections.Concurrent/bindings.json +311 -311
- package/System.Collections.Concurrent/internal/index.d.ts +83 -85
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +490 -648
- package/System.Collections.Frozen/internal/index.d.ts +95 -109
- package/System.Collections.Frozen.d.ts +18 -2
- package/System.Collections.Generic/bindings.json +9628 -14043
- package/System.Collections.Generic/internal/index.d.ts +632 -827
- package/System.Collections.Generic.d.ts +20 -16
- package/System.Collections.Immutable/bindings.json +6134 -9214
- package/System.Collections.Immutable/internal/index.d.ts +414 -502
- package/System.Collections.Immutable.d.ts +58 -17
- package/System.Collections.ObjectModel/bindings.json +328 -850
- package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -202
- package/System.Collections.Specialized/internal/index.d.ts +72 -85
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +271 -210
- package/System.ComponentModel/internal/index.d.ts +562 -547
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +40 -310
- package/System.ComponentModel.Design/internal/index.d.ts +85 -93
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +5 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +128 -125
- package/System.Data/internal/index.d.ts +341 -340
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +135 -136
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +55 -54
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +6324 -6509
- package/System.Diagnostics/internal/index.d.ts +435 -437
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +291 -231
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +6 -1
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +35 -36
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +30 -37
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +35 -37
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +183 -185
- package/System.IO.Compression/internal/index.d.ts +33 -35
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +402 -402
- package/System.IO.Enumeration/internal/index.d.ts +21 -23
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.IO.Pipes.d.ts +4 -0
- package/System.IO.d.ts +4 -0
- package/System.Linq/bindings.json +22 -22
- package/System.Linq/internal/index.d.ts +705 -705
- package/System.Linq.Expressions/internal/index.d.ts +219 -195
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Linq.Expressions.Interpreter.d.ts +4 -0
- package/System.Linq.Expressions.d.ts +6 -2
- package/System.Linq.d.ts +18 -14
- package/System.Net/bindings.json +131 -131
- package/System.Net/internal/index.d.ts +276 -278
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +36 -200
- package/System.Net.Http.Headers/internal/index.d.ts +114 -128
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Http.Metrics.d.ts +4 -0
- package/System.Net.Http.d.ts +5 -1
- package/System.Net.Mail/bindings.json +96 -96
- package/System.Net.Mail/internal/index.d.ts +78 -80
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +11 -10
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +90 -92
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +49 -48
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +547 -119
- package/System.Numerics/internal/index.d.ts +302 -304
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +257 -259
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +114 -114
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +535 -3018
- package/System.Reflection.Metadata/internal/index.d.ts +188 -369
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
- package/System.Reflection.PortableExecutable.d.ts +5 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +11 -10
- package/System.Runtime.CompilerServices/bindings.json +962 -1160
- package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
- package/System.Runtime.CompilerServices.d.ts +30 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +666 -666
- package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
- package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
- package/System.Runtime.InteropServices.Java/bindings.json +12 -12
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
- package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
- package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
- package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
- package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +124 -126
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
- package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters.d.ts +4 -0
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Serialization.Json.d.ts +4 -0
- package/System.Runtime.Serialization.d.ts +4 -0
- package/System.Runtime.Versioning/bindings.json +13 -13
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Runtime.Versioning.d.ts +4 -0
- package/System.Runtime.d.ts +4 -0
- package/System.Security/bindings.json +5 -5
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +137 -33
- package/System.Security.AccessControl/internal/index.d.ts +62 -61
- package/System.Security.AccessControl.d.ts +13 -8
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
- package/System.Security.Authentication.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +509 -509
- package/System.Security.Cryptography/internal/index.d.ts +268 -269
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
- package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
- package/System.Security.Cryptography.d.ts +4 -0
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Permissions.d.ts +4 -0
- package/System.Security.Policy/bindings.json +5 -5
- package/System.Security.Policy/internal/index.d.ts +9 -8
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +30 -29
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +1577 -1577
- package/System.Text/internal/index.d.ts +121 -123
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +143 -161
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
- package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
- package/System.Text.Json.Serialization.d.ts +10 -6
- package/System.Text.Json.d.ts +4 -0
- package/System.Text.RegularExpressions/bindings.json +414 -578
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +61 -61
- package/System.Threading/internal/index.d.ts +156 -158
- package/System.Threading.Channels/internal/index.d.ts +31 -33
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +142 -39
- package/System.Threading.Tasks/internal/index.d.ts +250 -247
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
- package/System.Threading.Tasks.Dataflow.d.ts +18 -14
- package/System.Threading.Tasks.Sources/bindings.json +9 -9
- package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
- package/System.Threading.Tasks.Sources.d.ts +6 -2
- package/System.Threading.Tasks.d.ts +12 -8
- package/System.Threading.d.ts +4 -0
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +376 -378
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +101 -100
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +100 -100
- package/System.Xml.Schema/internal/index.d.ts +231 -230
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +250 -57
- package/System.Xml.Serialization/internal/index.d.ts +274 -242
- package/System.Xml.Serialization.d.ts +6 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +37 -36
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +50 -49
- package/System.Xml.Xsl.Runtime/bindings.json +74 -71
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
- package/System.Xml.Xsl.Runtime.d.ts +4 -0
- package/System.Xml.Xsl.d.ts +4 -0
- package/System.Xml.d.ts +4 -0
- package/System.d.ts +126 -122
- package/__internal/extensions/index.d.ts +1335 -1338
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Reflection
|
|
3
3
|
// Assembly: System.ObjectModel, System.Private.CoreLib, System.Reflection.DispatchProxy, System.Reflection.Metadata, System.Reflection.TypeExtensions
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { IEnumerable_1, IList_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -370,13 +368,13 @@ export enum TypeAttributes {
|
|
|
370
368
|
}
|
|
371
369
|
|
|
372
370
|
|
|
373
|
-
export type MemberFilter = (m: MemberInfo, filterCriteria: unknown) => boolean;
|
|
371
|
+
export type MemberFilter = (m: MemberInfo, filterCriteria: unknown | null) => boolean;
|
|
374
372
|
|
|
375
373
|
|
|
376
374
|
export type ModuleResolveEventHandler = (sender: unknown, e: ResolveEventArgs) => Module;
|
|
377
375
|
|
|
378
376
|
|
|
379
|
-
export type TypeFilter = (m: Type, filterCriteria: unknown) => boolean;
|
|
377
|
+
export type TypeFilter = (m: Type, filterCriteria: unknown | null) => boolean;
|
|
380
378
|
|
|
381
379
|
|
|
382
380
|
export interface ICustomAttributeProvider$instance {
|
|
@@ -403,17 +401,17 @@ export interface IReflect$instance {
|
|
|
403
401
|
readonly __tsonic_iface_System_Reflection_IReflect: never;
|
|
404
402
|
|
|
405
403
|
readonly UnderlyingSystemType: Type;
|
|
406
|
-
GetField(name: string, bindingAttr: BindingFlags): FieldInfo |
|
|
404
|
+
GetField(name: string, bindingAttr: BindingFlags): FieldInfo | null;
|
|
407
405
|
GetFields(bindingAttr: BindingFlags): FieldInfo[];
|
|
408
406
|
GetMember(name: string, bindingAttr: BindingFlags): MemberInfo[];
|
|
409
407
|
GetMembers(bindingAttr: BindingFlags): MemberInfo[];
|
|
410
|
-
GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder, types: Type[], modifiers: ParameterModifier[]): MethodInfo |
|
|
411
|
-
GetMethod(name: string, bindingAttr: BindingFlags): MethodInfo |
|
|
408
|
+
GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder | null, types: Type[], modifiers: ParameterModifier[] | null): MethodInfo | null;
|
|
409
|
+
GetMethod(name: string, bindingAttr: BindingFlags): MethodInfo | null;
|
|
412
410
|
GetMethods(bindingAttr: BindingFlags): MethodInfo[];
|
|
413
411
|
GetProperties(bindingAttr: BindingFlags): PropertyInfo[];
|
|
414
|
-
GetProperty(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo |
|
|
415
|
-
GetProperty(name: string, bindingAttr: BindingFlags): PropertyInfo |
|
|
416
|
-
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown |
|
|
412
|
+
GetProperty(name: string, bindingAttr: BindingFlags, binder: Binder | null, returnType: Type | null, types: Type[], modifiers: ParameterModifier[] | null): PropertyInfo | null;
|
|
413
|
+
GetProperty(name: string, bindingAttr: BindingFlags): PropertyInfo | null;
|
|
414
|
+
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: unknown | null, args: (unknown | null)[] | null, modifiers: ParameterModifier[] | null, culture: CultureInfo | null, namedParameters: string[] | null): unknown | null;
|
|
417
415
|
}
|
|
418
416
|
|
|
419
417
|
|
|
@@ -437,7 +435,7 @@ export interface CustomAttributeNamedArgument$instance {
|
|
|
437
435
|
readonly MemberInfo: MemberInfo;
|
|
438
436
|
readonly MemberName: string;
|
|
439
437
|
readonly TypedValue: CustomAttributeTypedArgument;
|
|
440
|
-
Equals(obj: unknown): boolean;
|
|
438
|
+
Equals(obj: unknown | null): boolean;
|
|
441
439
|
Equals(other: CustomAttributeNamedArgument): boolean;
|
|
442
440
|
GetHashCode(): int;
|
|
443
441
|
ToString(): string;
|
|
@@ -445,7 +443,7 @@ export interface CustomAttributeNamedArgument$instance {
|
|
|
445
443
|
|
|
446
444
|
|
|
447
445
|
export const CustomAttributeNamedArgument: {
|
|
448
|
-
new(memberInfo: MemberInfo, value: unknown): CustomAttributeNamedArgument;
|
|
446
|
+
new(memberInfo: MemberInfo, value: unknown | null): CustomAttributeNamedArgument;
|
|
449
447
|
new(memberInfo: MemberInfo, typedArgument: CustomAttributeTypedArgument): CustomAttributeNamedArgument;
|
|
450
448
|
};
|
|
451
449
|
|
|
@@ -466,8 +464,8 @@ export interface CustomAttributeTypedArgument$instance {
|
|
|
466
464
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
467
465
|
|
|
468
466
|
readonly ArgumentType: Type;
|
|
469
|
-
readonly Value: unknown |
|
|
470
|
-
Equals(obj: unknown): boolean;
|
|
467
|
+
readonly Value: unknown | null;
|
|
468
|
+
Equals(obj: unknown | null): boolean;
|
|
471
469
|
Equals(other: CustomAttributeTypedArgument): boolean;
|
|
472
470
|
GetHashCode(): int;
|
|
473
471
|
ToString(): string;
|
|
@@ -475,7 +473,7 @@ export interface CustomAttributeTypedArgument$instance {
|
|
|
475
473
|
|
|
476
474
|
|
|
477
475
|
export const CustomAttributeTypedArgument: {
|
|
478
|
-
new(argumentType: Type, value: unknown): CustomAttributeTypedArgument;
|
|
476
|
+
new(argumentType: Type, value: unknown | null): CustomAttributeTypedArgument;
|
|
479
477
|
new(value: unknown): CustomAttributeTypedArgument;
|
|
480
478
|
};
|
|
481
479
|
|
|
@@ -530,8 +528,8 @@ export interface AmbiguousMatchException$instance extends SystemException, Syste
|
|
|
530
528
|
|
|
531
529
|
export const AmbiguousMatchException: {
|
|
532
530
|
new(): AmbiguousMatchException;
|
|
533
|
-
new(message: string): AmbiguousMatchException;
|
|
534
|
-
new(message: string, inner: Exception): AmbiguousMatchException;
|
|
531
|
+
new(message: string | null): AmbiguousMatchException;
|
|
532
|
+
new(message: string | null, inner: Exception | null): AmbiguousMatchException;
|
|
535
533
|
};
|
|
536
534
|
|
|
537
535
|
|
|
@@ -548,13 +546,13 @@ export interface Assembly$instance extends ICustomAttributeProvider$instance, Sy
|
|
|
548
546
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
549
547
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
550
548
|
|
|
551
|
-
readonly CodeBase: string |
|
|
549
|
+
readonly CodeBase: string | null;
|
|
552
550
|
readonly CustomAttributes: IEnumerable_1<CustomAttributeData>;
|
|
553
551
|
readonly DefinedTypes: IEnumerable_1<TypeInfo>;
|
|
554
|
-
readonly EntryPoint: MethodInfo |
|
|
552
|
+
readonly EntryPoint: MethodInfo | null;
|
|
555
553
|
readonly EscapedCodeBase: string;
|
|
556
554
|
readonly ExportedTypes: IEnumerable_1<Type>;
|
|
557
|
-
readonly FullName: string |
|
|
555
|
+
readonly FullName: string | null;
|
|
558
556
|
readonly GlobalAssemblyCache: boolean;
|
|
559
557
|
readonly HostContext: long;
|
|
560
558
|
readonly ImageRuntimeVersion: string;
|
|
@@ -566,26 +564,26 @@ export interface Assembly$instance extends ICustomAttributeProvider$instance, Sy
|
|
|
566
564
|
readonly Modules: IEnumerable_1<Module>;
|
|
567
565
|
readonly ReflectionOnly: boolean;
|
|
568
566
|
readonly SecurityRuleSet: SecurityRuleSet;
|
|
569
|
-
CreateInstance(typeName: string): unknown |
|
|
570
|
-
CreateInstance(typeName: string, ignoreCase: boolean): unknown |
|
|
571
|
-
CreateInstance(typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder, args: unknown[], culture: CultureInfo, activationAttributes: unknown[]): unknown |
|
|
572
|
-
Equals(o: unknown): boolean;
|
|
567
|
+
CreateInstance(typeName: string): unknown | null;
|
|
568
|
+
CreateInstance(typeName: string, ignoreCase: boolean): unknown | null;
|
|
569
|
+
CreateInstance(typeName: string, ignoreCase: boolean, bindingAttr: BindingFlags, binder: Binder | null, args: unknown[] | null, culture: CultureInfo | null, activationAttributes: unknown[] | null): unknown | null;
|
|
570
|
+
Equals(o: unknown | null): boolean;
|
|
573
571
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
574
572
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
575
573
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
576
574
|
GetExportedTypes(): Type[];
|
|
577
|
-
GetFile(name: string): FileStream |
|
|
575
|
+
GetFile(name: string): FileStream | null;
|
|
578
576
|
GetFiles(): FileStream[];
|
|
579
577
|
GetFiles(getResourceModules: boolean): FileStream[];
|
|
580
578
|
GetForwardedTypes(): Type[];
|
|
581
579
|
GetHashCode(): int;
|
|
582
580
|
GetLoadedModules(): Module[];
|
|
583
581
|
GetLoadedModules(getResourceModules: boolean): Module[];
|
|
584
|
-
GetManifestResourceInfo(resourceName: string): ManifestResourceInfo |
|
|
582
|
+
GetManifestResourceInfo(resourceName: string): ManifestResourceInfo | null;
|
|
585
583
|
GetManifestResourceNames(): string[];
|
|
586
|
-
GetManifestResourceStream(name: string): Stream |
|
|
587
|
-
GetManifestResourceStream(type: Type, name: string): Stream |
|
|
588
|
-
GetModule(name: string): Module |
|
|
584
|
+
GetManifestResourceStream(name: string): Stream | null;
|
|
585
|
+
GetManifestResourceStream(type: Type, name: string): Stream | null;
|
|
586
|
+
GetModule(name: string): Module | null;
|
|
589
587
|
GetModules(): Module[];
|
|
590
588
|
GetModules(getResourceModules: boolean): Module[];
|
|
591
589
|
GetName(): AssemblyName;
|
|
@@ -593,37 +591,37 @@ export interface Assembly$instance extends ICustomAttributeProvider$instance, Sy
|
|
|
593
591
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
594
592
|
GetReferencedAssemblies(): AssemblyName[];
|
|
595
593
|
GetSatelliteAssembly(culture: CultureInfo): Assembly;
|
|
596
|
-
GetSatelliteAssembly(culture: CultureInfo, version: Version): Assembly;
|
|
597
|
-
GetType(name: string): Type |
|
|
598
|
-
GetType(name: string, throwOnError: boolean): Type |
|
|
599
|
-
GetType(name: string, throwOnError: boolean, ignoreCase: boolean): Type |
|
|
594
|
+
GetSatelliteAssembly(culture: CultureInfo, version: Version | null): Assembly;
|
|
595
|
+
GetType(name: string): Type | null;
|
|
596
|
+
GetType(name: string, throwOnError: boolean): Type | null;
|
|
597
|
+
GetType(name: string, throwOnError: boolean, ignoreCase: boolean): Type | null;
|
|
600
598
|
GetType(): Type;
|
|
601
599
|
GetTypes(): Type[];
|
|
602
600
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
603
|
-
LoadModule(moduleName: string, rawModule: byte[]): Module;
|
|
604
|
-
LoadModule(moduleName: string, rawModule: byte[], rawSymbolStore: byte[]): Module;
|
|
601
|
+
LoadModule(moduleName: string, rawModule: byte[] | null): Module;
|
|
602
|
+
LoadModule(moduleName: string, rawModule: byte[] | null, rawSymbolStore: byte[] | null): Module;
|
|
605
603
|
ToString(): string;
|
|
606
604
|
}
|
|
607
605
|
|
|
608
606
|
|
|
609
607
|
export const Assembly: (abstract new() => Assembly) & {
|
|
610
|
-
CreateQualifiedName(assemblyName: string, typeName: string): string;
|
|
611
|
-
GetAssembly(type: Type): Assembly |
|
|
608
|
+
CreateQualifiedName(assemblyName: string | null, typeName: string | null): string;
|
|
609
|
+
GetAssembly(type: Type): Assembly | null;
|
|
612
610
|
GetCallingAssembly(): Assembly;
|
|
613
|
-
GetEntryAssembly(): Assembly |
|
|
611
|
+
GetEntryAssembly(): Assembly | null;
|
|
614
612
|
GetExecutingAssembly(): Assembly;
|
|
615
|
-
Load(rawAssembly: byte[], rawSymbolStore: byte[]): Assembly;
|
|
613
|
+
Load(rawAssembly: byte[], rawSymbolStore: byte[] | null): Assembly;
|
|
616
614
|
Load(rawAssembly: byte[]): Assembly;
|
|
617
615
|
Load(assemblyRef: AssemblyName): Assembly;
|
|
618
616
|
Load(assemblyString: string): Assembly;
|
|
619
617
|
LoadFile(path: string): Assembly;
|
|
620
|
-
LoadFrom(assemblyFile: string, hashValue: byte[], hashAlgorithm: AssemblyHashAlgorithm_Assemblies): Assembly;
|
|
618
|
+
LoadFrom(assemblyFile: string, hashValue: byte[] | null, hashAlgorithm: AssemblyHashAlgorithm_Assemblies): Assembly;
|
|
621
619
|
LoadFrom(assemblyFile: string): Assembly;
|
|
622
|
-
LoadWithPartialName(partialName: string): Assembly |
|
|
620
|
+
LoadWithPartialName(partialName: string): Assembly | null;
|
|
623
621
|
ReflectionOnlyLoad(rawAssembly: byte[]): Assembly;
|
|
624
622
|
ReflectionOnlyLoad(assemblyString: string): Assembly;
|
|
625
623
|
ReflectionOnlyLoadFrom(assemblyFile: string): Assembly;
|
|
626
|
-
SetEntryAssembly(assembly: Assembly): void;
|
|
624
|
+
SetEntryAssembly(assembly: Assembly | null): void;
|
|
627
625
|
UnsafeLoadFrom(assemblyFile: string): Assembly;
|
|
628
626
|
};
|
|
629
627
|
|
|
@@ -826,12 +824,12 @@ export interface AssemblyMetadataAttribute$instance extends Attribute {
|
|
|
826
824
|
readonly __tsonic_type_System_Reflection_AssemblyMetadataAttribute: never;
|
|
827
825
|
|
|
828
826
|
readonly Key: string;
|
|
829
|
-
readonly Value: string |
|
|
827
|
+
readonly Value: string | null;
|
|
830
828
|
}
|
|
831
829
|
|
|
832
830
|
|
|
833
831
|
export const AssemblyMetadataAttribute: {
|
|
834
|
-
new(key: string, value: string): AssemblyMetadataAttribute;
|
|
832
|
+
new(key: string, value: string | null): AssemblyMetadataAttribute;
|
|
835
833
|
};
|
|
836
834
|
|
|
837
835
|
|
|
@@ -844,32 +842,32 @@ export interface AssemblyName$instance extends System_Internal.ICloneable$instan
|
|
|
844
842
|
readonly __tsonic_iface_System_Runtime_Serialization_IDeserializationCallback: never;
|
|
845
843
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
846
844
|
|
|
847
|
-
get CodeBase(): string |
|
|
848
|
-
set CodeBase(value: string |
|
|
845
|
+
get CodeBase(): string | null;
|
|
846
|
+
set CodeBase(value: string | null);
|
|
849
847
|
ContentType: AssemblyContentType;
|
|
850
|
-
get CultureInfo(): CultureInfo |
|
|
851
|
-
set CultureInfo(value: CultureInfo |
|
|
852
|
-
get CultureName(): string |
|
|
853
|
-
set CultureName(value: string |
|
|
854
|
-
readonly EscapedCodeBase: string |
|
|
848
|
+
get CultureInfo(): CultureInfo | null;
|
|
849
|
+
set CultureInfo(value: CultureInfo | null);
|
|
850
|
+
get CultureName(): string | null;
|
|
851
|
+
set CultureName(value: string | null);
|
|
852
|
+
readonly EscapedCodeBase: string | null;
|
|
855
853
|
Flags: AssemblyNameFlags;
|
|
856
854
|
readonly FullName: string;
|
|
857
855
|
HashAlgorithm: AssemblyHashAlgorithm_Assemblies;
|
|
858
|
-
get KeyPair(): StrongNameKeyPair |
|
|
859
|
-
set KeyPair(value: StrongNameKeyPair |
|
|
860
|
-
get Name(): string |
|
|
861
|
-
set Name(value: string |
|
|
856
|
+
get KeyPair(): StrongNameKeyPair | null;
|
|
857
|
+
set KeyPair(value: StrongNameKeyPair | null);
|
|
858
|
+
get Name(): string | null;
|
|
859
|
+
set Name(value: string | null);
|
|
862
860
|
ProcessorArchitecture: ProcessorArchitecture;
|
|
863
|
-
get Version(): Version |
|
|
864
|
-
set Version(value: Version |
|
|
861
|
+
get Version(): Version | null;
|
|
862
|
+
set Version(value: Version | null);
|
|
865
863
|
VersionCompatibility: AssemblyVersionCompatibility;
|
|
866
864
|
Clone(): unknown;
|
|
867
865
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
868
|
-
GetPublicKey(): byte[] |
|
|
869
|
-
GetPublicKeyToken(): byte[] |
|
|
870
|
-
OnDeserialization(sender: unknown): void;
|
|
871
|
-
SetPublicKey(publicKey: byte[]): void;
|
|
872
|
-
SetPublicKeyToken(publicKeyToken: byte[]): void;
|
|
866
|
+
GetPublicKey(): byte[] | null;
|
|
867
|
+
GetPublicKeyToken(): byte[] | null;
|
|
868
|
+
OnDeserialization(sender: unknown | null): void;
|
|
869
|
+
SetPublicKey(publicKey: byte[] | null): void;
|
|
870
|
+
SetPublicKeyToken(publicKeyToken: byte[] | null): void;
|
|
873
871
|
ToString(): string;
|
|
874
872
|
}
|
|
875
873
|
|
|
@@ -878,7 +876,7 @@ export const AssemblyName: {
|
|
|
878
876
|
new(assemblyName: string): AssemblyName;
|
|
879
877
|
new(): AssemblyName;
|
|
880
878
|
GetAssemblyName(assemblyFile: string): AssemblyName;
|
|
881
|
-
ReferenceMatchesDefinition(reference: AssemblyName, definition: AssemblyName): boolean;
|
|
879
|
+
ReferenceMatchesDefinition(reference: AssemblyName | null, definition: AssemblyName | null): boolean;
|
|
882
880
|
};
|
|
883
881
|
|
|
884
882
|
|
|
@@ -979,12 +977,12 @@ export type AssemblyVersionAttribute = AssemblyVersionAttribute$instance;
|
|
|
979
977
|
export interface Binder$instance {
|
|
980
978
|
readonly __tsonic_type_System_Reflection_Binder: never;
|
|
981
979
|
|
|
982
|
-
BindToField(bindingAttr: BindingFlags, match: FieldInfo[], value: unknown, culture: CultureInfo): FieldInfo;
|
|
983
|
-
BindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, names: string[], state: unknown): MethodBase;
|
|
984
|
-
ChangeType(value: unknown, type: Type, culture: CultureInfo): unknown;
|
|
985
|
-
ReorderArgumentArray(args: unknown[], state: unknown): void;
|
|
986
|
-
SelectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[]): MethodBase |
|
|
987
|
-
SelectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type, indexes: Type[], modifiers: ParameterModifier[]): PropertyInfo |
|
|
980
|
+
BindToField(bindingAttr: BindingFlags, match: FieldInfo[], value: unknown, culture: CultureInfo | null): FieldInfo;
|
|
981
|
+
BindToMethod(bindingAttr: BindingFlags, match: MethodBase[], args: (unknown | null)[], modifiers: ParameterModifier[] | null, culture: CultureInfo | null, names: string[] | null, state: unknown | null): MethodBase;
|
|
982
|
+
ChangeType(value: unknown, type: Type, culture: CultureInfo | null): unknown;
|
|
983
|
+
ReorderArgumentArray(args: (unknown | null)[], state: unknown): void;
|
|
984
|
+
SelectMethod(bindingAttr: BindingFlags, match: MethodBase[], types: Type[], modifiers: ParameterModifier[] | null): MethodBase | null;
|
|
985
|
+
SelectProperty(bindingAttr: BindingFlags, match: PropertyInfo[], returnType: Type | null, indexes: Type[] | null, modifiers: ParameterModifier[] | null): PropertyInfo | null;
|
|
988
986
|
}
|
|
989
987
|
|
|
990
988
|
|
|
@@ -1000,12 +998,12 @@ export interface ConstructorInfo$instance extends MethodBase$instance, ICustomAt
|
|
|
1000
998
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
1001
999
|
|
|
1002
1000
|
readonly MemberType: MemberTypes;
|
|
1003
|
-
Equals(obj: unknown): boolean;
|
|
1001
|
+
Equals(obj: unknown | null): boolean;
|
|
1004
1002
|
GetHashCode(): int;
|
|
1005
|
-
Invoke(parameters: unknown[]): unknown;
|
|
1006
|
-
Invoke(invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown;
|
|
1007
|
-
Invoke(obj: unknown, parameters: unknown[]): unknown |
|
|
1008
|
-
Invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown |
|
|
1003
|
+
Invoke(parameters: (unknown | null)[] | null): unknown;
|
|
1004
|
+
Invoke(invokeAttr: BindingFlags, binder: Binder | null, parameters: (unknown | null)[] | null, culture: CultureInfo | null): unknown;
|
|
1005
|
+
Invoke(obj: unknown | null, parameters: (unknown | null)[] | null): unknown | null;
|
|
1006
|
+
Invoke(obj: unknown | null, invokeAttr: BindingFlags, binder: Binder | null, parameters: (unknown | null)[] | null, culture: CultureInfo | null): unknown | null;
|
|
1009
1007
|
}
|
|
1010
1008
|
|
|
1011
1009
|
|
|
@@ -1026,10 +1024,10 @@ export interface ConstructorInvoker$instance {
|
|
|
1026
1024
|
readonly __tsonic_type_System_Reflection_ConstructorInvoker: never;
|
|
1027
1025
|
|
|
1028
1026
|
Invoke(): unknown;
|
|
1029
|
-
Invoke(arg1: unknown): unknown;
|
|
1030
|
-
Invoke(arg1: unknown, arg2: unknown): unknown;
|
|
1031
|
-
Invoke(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
|
1032
|
-
Invoke(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown;
|
|
1027
|
+
Invoke(arg1: unknown | null): unknown;
|
|
1028
|
+
Invoke(arg1: unknown | null, arg2: unknown | null): unknown;
|
|
1029
|
+
Invoke(arg1: unknown | null, arg2: unknown | null, arg3: unknown | null): unknown;
|
|
1030
|
+
Invoke(arg1: unknown | null, arg2: unknown | null, arg3: unknown | null, arg4: unknown | null): unknown;
|
|
1033
1031
|
Invoke(arguments: Span_1<unknown>): unknown;
|
|
1034
1032
|
}
|
|
1035
1033
|
|
|
@@ -1072,8 +1070,8 @@ export interface CustomAttributeFormatException$instance extends FormatException
|
|
|
1072
1070
|
|
|
1073
1071
|
export const CustomAttributeFormatException: {
|
|
1074
1072
|
new(): CustomAttributeFormatException;
|
|
1075
|
-
new(message: string): CustomAttributeFormatException;
|
|
1076
|
-
new(message: string, inner: Exception): CustomAttributeFormatException;
|
|
1073
|
+
new(message: string | null): CustomAttributeFormatException;
|
|
1074
|
+
new(message: string | null, inner: Exception | null): CustomAttributeFormatException;
|
|
1077
1075
|
};
|
|
1078
1076
|
|
|
1079
1077
|
|
|
@@ -1101,12 +1099,12 @@ export type DefaultMemberAttribute = DefaultMemberAttribute$instance;
|
|
|
1101
1099
|
export interface DispatchProxy$instance {
|
|
1102
1100
|
readonly __tsonic_type_System_Reflection_DispatchProxy: never;
|
|
1103
1101
|
|
|
1104
|
-
Invoke(targetMethod: MethodInfo, args: unknown[]): unknown |
|
|
1102
|
+
Invoke(targetMethod: MethodInfo | null, args: (unknown | null)[] | null): unknown | null;
|
|
1105
1103
|
}
|
|
1106
1104
|
|
|
1107
1105
|
|
|
1108
1106
|
export const DispatchProxy: (abstract new() => DispatchProxy) & {
|
|
1109
|
-
Create<T, TProxy extends DispatchProxy>(): T;
|
|
1107
|
+
Create<T extends unknown, TProxy extends unknown & DispatchProxy>(): T;
|
|
1110
1108
|
Create(interfaceType: Type, proxyType: Type): unknown;
|
|
1111
1109
|
};
|
|
1112
1110
|
|
|
@@ -1118,26 +1116,26 @@ export interface EventInfo$instance extends MemberInfo$instance, ICustomAttribut
|
|
|
1118
1116
|
|
|
1119
1117
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
1120
1118
|
|
|
1121
|
-
readonly AddMethod: MethodInfo |
|
|
1119
|
+
readonly AddMethod: MethodInfo | null;
|
|
1122
1120
|
readonly Attributes: EventAttributes;
|
|
1123
|
-
readonly EventHandlerType: Type |
|
|
1121
|
+
readonly EventHandlerType: Type | null;
|
|
1124
1122
|
readonly IsMulticast: boolean;
|
|
1125
1123
|
readonly IsSpecialName: boolean;
|
|
1126
1124
|
readonly MemberType: MemberTypes;
|
|
1127
|
-
readonly RaiseMethod: MethodInfo |
|
|
1128
|
-
readonly RemoveMethod: MethodInfo |
|
|
1129
|
-
AddEventHandler(target: unknown, handler: Function): void;
|
|
1130
|
-
Equals(obj: unknown): boolean;
|
|
1131
|
-
GetAddMethod(): MethodInfo |
|
|
1132
|
-
GetAddMethod(nonPublic: boolean): MethodInfo |
|
|
1125
|
+
readonly RaiseMethod: MethodInfo | null;
|
|
1126
|
+
readonly RemoveMethod: MethodInfo | null;
|
|
1127
|
+
AddEventHandler(target: unknown | null, handler: Function | null): void;
|
|
1128
|
+
Equals(obj: unknown | null): boolean;
|
|
1129
|
+
GetAddMethod(): MethodInfo | null;
|
|
1130
|
+
GetAddMethod(nonPublic: boolean): MethodInfo | null;
|
|
1133
1131
|
GetHashCode(): int;
|
|
1134
1132
|
GetOtherMethods(): MethodInfo[];
|
|
1135
1133
|
GetOtherMethods(nonPublic: boolean): MethodInfo[];
|
|
1136
|
-
GetRaiseMethod(): MethodInfo |
|
|
1137
|
-
GetRaiseMethod(nonPublic: boolean): MethodInfo |
|
|
1138
|
-
GetRemoveMethod(): MethodInfo |
|
|
1139
|
-
GetRemoveMethod(nonPublic: boolean): MethodInfo |
|
|
1140
|
-
RemoveEventHandler(target: unknown, handler: Function): void;
|
|
1134
|
+
GetRaiseMethod(): MethodInfo | null;
|
|
1135
|
+
GetRaiseMethod(nonPublic: boolean): MethodInfo | null;
|
|
1136
|
+
GetRemoveMethod(): MethodInfo | null;
|
|
1137
|
+
GetRemoveMethod(nonPublic: boolean): MethodInfo | null;
|
|
1138
|
+
RemoveEventHandler(target: unknown | null, handler: Function | null): void;
|
|
1141
1139
|
}
|
|
1142
1140
|
|
|
1143
1141
|
|
|
@@ -1155,7 +1153,7 @@ export type EventInfo = EventInfo$instance & __EventInfo$views;
|
|
|
1155
1153
|
export interface ExceptionHandlingClause$instance {
|
|
1156
1154
|
readonly __tsonic_type_System_Reflection_ExceptionHandlingClause: never;
|
|
1157
1155
|
|
|
1158
|
-
readonly CatchType: Type |
|
|
1156
|
+
readonly CatchType: Type | null;
|
|
1159
1157
|
readonly FilterOffset: int;
|
|
1160
1158
|
readonly Flags: ExceptionHandlingClauseOptions;
|
|
1161
1159
|
readonly HandlerLength: int;
|
|
@@ -1196,16 +1194,16 @@ export interface FieldInfo$instance extends MemberInfo$instance, ICustomAttribut
|
|
|
1196
1194
|
readonly IsSpecialName: boolean;
|
|
1197
1195
|
readonly IsStatic: boolean;
|
|
1198
1196
|
readonly MemberType: MemberTypes;
|
|
1199
|
-
Equals(obj: unknown): boolean;
|
|
1197
|
+
Equals(obj: unknown | null): boolean;
|
|
1200
1198
|
GetHashCode(): int;
|
|
1201
1199
|
GetModifiedFieldType(): Type;
|
|
1202
1200
|
GetOptionalCustomModifiers(): Type[];
|
|
1203
|
-
GetRawConstantValue(): unknown |
|
|
1201
|
+
GetRawConstantValue(): unknown | null;
|
|
1204
1202
|
GetRequiredCustomModifiers(): Type[];
|
|
1205
|
-
GetValue(obj: unknown): unknown |
|
|
1206
|
-
GetValueDirect(obj: TypedReference): unknown |
|
|
1207
|
-
SetValue(obj: unknown, value: unknown): void;
|
|
1208
|
-
SetValue(obj: unknown, value: unknown, invokeAttr: BindingFlags, binder: Binder, culture: CultureInfo): void;
|
|
1203
|
+
GetValue(obj: unknown | null): unknown | null;
|
|
1204
|
+
GetValueDirect(obj: TypedReference): unknown | null;
|
|
1205
|
+
SetValue(obj: unknown | null, value: unknown | null): void;
|
|
1206
|
+
SetValue(obj: unknown | null, value: unknown | null, invokeAttr: BindingFlags, binder: Binder | null, culture: CultureInfo | null): void;
|
|
1209
1207
|
SetValueDirect(obj: TypedReference, value: unknown): void;
|
|
1210
1208
|
}
|
|
1211
1209
|
|
|
@@ -1233,8 +1231,8 @@ export interface InvalidFilterCriteriaException$instance extends ApplicationExce
|
|
|
1233
1231
|
|
|
1234
1232
|
export const InvalidFilterCriteriaException: {
|
|
1235
1233
|
new(): InvalidFilterCriteriaException;
|
|
1236
|
-
new(message: string): InvalidFilterCriteriaException;
|
|
1237
|
-
new(message: string, inner: Exception): InvalidFilterCriteriaException;
|
|
1234
|
+
new(message: string | null): InvalidFilterCriteriaException;
|
|
1235
|
+
new(message: string | null, inner: Exception | null): InvalidFilterCriteriaException;
|
|
1238
1236
|
};
|
|
1239
1237
|
|
|
1240
1238
|
|
|
@@ -1264,14 +1262,14 @@ export type LocalVariableInfo = LocalVariableInfo$instance;
|
|
|
1264
1262
|
export interface ManifestResourceInfo$instance {
|
|
1265
1263
|
readonly __tsonic_type_System_Reflection_ManifestResourceInfo: never;
|
|
1266
1264
|
|
|
1267
|
-
readonly FileName: string |
|
|
1268
|
-
readonly ReferencedAssembly: Assembly |
|
|
1265
|
+
readonly FileName: string | null;
|
|
1266
|
+
readonly ReferencedAssembly: Assembly | null;
|
|
1269
1267
|
readonly ResourceLocation: ResourceLocation;
|
|
1270
1268
|
}
|
|
1271
1269
|
|
|
1272
1270
|
|
|
1273
1271
|
export const ManifestResourceInfo: {
|
|
1274
|
-
new(containingAssembly: Assembly, containingFileName: string, resourceLocation: ResourceLocation): ManifestResourceInfo;
|
|
1272
|
+
new(containingAssembly: Assembly | null, containingFileName: string | null, resourceLocation: ResourceLocation): ManifestResourceInfo;
|
|
1275
1273
|
};
|
|
1276
1274
|
|
|
1277
1275
|
|
|
@@ -1283,14 +1281,14 @@ export interface MemberInfo$instance extends ICustomAttributeProvider$instance {
|
|
|
1283
1281
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
1284
1282
|
|
|
1285
1283
|
readonly CustomAttributes: IEnumerable_1<CustomAttributeData>;
|
|
1286
|
-
readonly DeclaringType: Type |
|
|
1284
|
+
readonly DeclaringType: Type | null;
|
|
1287
1285
|
readonly IsCollectible: boolean;
|
|
1288
1286
|
readonly MemberType: MemberTypes;
|
|
1289
1287
|
readonly MetadataToken: int;
|
|
1290
1288
|
readonly Module: Module;
|
|
1291
1289
|
readonly Name: string;
|
|
1292
|
-
readonly ReflectedType: Type |
|
|
1293
|
-
Equals(obj: unknown): boolean;
|
|
1290
|
+
readonly ReflectedType: Type | null;
|
|
1291
|
+
Equals(obj: unknown | null): boolean;
|
|
1294
1292
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1295
1293
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1296
1294
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
@@ -1340,21 +1338,21 @@ export interface MethodBase$instance extends MemberInfo$instance, ICustomAttribu
|
|
|
1340
1338
|
readonly IsVirtual: boolean;
|
|
1341
1339
|
readonly MethodHandle: RuntimeMethodHandle;
|
|
1342
1340
|
readonly MethodImplementationFlags: MethodImplAttributes;
|
|
1343
|
-
Equals(obj: unknown): boolean;
|
|
1341
|
+
Equals(obj: unknown | null): boolean;
|
|
1344
1342
|
GetGenericArguments(): Type[];
|
|
1345
1343
|
GetHashCode(): int;
|
|
1346
|
-
GetMethodBody(): MethodBody |
|
|
1344
|
+
GetMethodBody(): MethodBody | null;
|
|
1347
1345
|
GetMethodImplementationFlags(): MethodImplAttributes;
|
|
1348
1346
|
GetParameters(): ParameterInfo[];
|
|
1349
|
-
Invoke(obj: unknown, parameters: unknown[]): unknown |
|
|
1350
|
-
Invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown |
|
|
1347
|
+
Invoke(obj: unknown | null, parameters: (unknown | null)[] | null): unknown | null;
|
|
1348
|
+
Invoke(obj: unknown | null, invokeAttr: BindingFlags, binder: Binder | null, parameters: (unknown | null)[] | null, culture: CultureInfo | null): unknown | null;
|
|
1351
1349
|
}
|
|
1352
1350
|
|
|
1353
1351
|
|
|
1354
1352
|
export const MethodBase: (abstract new() => MethodBase) & {
|
|
1355
|
-
GetCurrentMethod(): MethodBase |
|
|
1356
|
-
GetMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase |
|
|
1357
|
-
GetMethodFromHandle(handle: RuntimeMethodHandle): MethodBase |
|
|
1353
|
+
GetCurrentMethod(): MethodBase | null;
|
|
1354
|
+
GetMethodFromHandle(handle: RuntimeMethodHandle, declaringType: RuntimeTypeHandle): MethodBase | null;
|
|
1355
|
+
GetMethodFromHandle(handle: RuntimeMethodHandle): MethodBase | null;
|
|
1358
1356
|
};
|
|
1359
1357
|
|
|
1360
1358
|
|
|
@@ -1373,7 +1371,7 @@ export interface MethodBody$instance {
|
|
|
1373
1371
|
readonly LocalSignatureMetadataToken: int;
|
|
1374
1372
|
readonly LocalVariables: IList_1<LocalVariableInfo>;
|
|
1375
1373
|
readonly MaxStackSize: int;
|
|
1376
|
-
GetILAsByteArray(): byte[] |
|
|
1374
|
+
GetILAsByteArray(): byte[] | null;
|
|
1377
1375
|
}
|
|
1378
1376
|
|
|
1379
1377
|
|
|
@@ -1393,10 +1391,10 @@ export interface MethodInfo$instance extends MethodBase$instance, ICustomAttribu
|
|
|
1393
1391
|
readonly ReturnType: Type;
|
|
1394
1392
|
readonly ReturnTypeCustomAttributes: ICustomAttributeProvider;
|
|
1395
1393
|
CreateDelegate(delegateType: Type): Function;
|
|
1396
|
-
CreateDelegate(delegateType: Type, target: unknown): Function;
|
|
1397
|
-
CreateDelegate<T extends Function>(): T;
|
|
1398
|
-
CreateDelegate<T extends Function>(target: unknown): T;
|
|
1399
|
-
Equals(obj: unknown): boolean;
|
|
1394
|
+
CreateDelegate(delegateType: Type, target: unknown | null): Function;
|
|
1395
|
+
CreateDelegate<T extends unknown & Function>(): T;
|
|
1396
|
+
CreateDelegate<T extends unknown & Function>(target: unknown | null): T;
|
|
1397
|
+
Equals(obj: unknown | null): boolean;
|
|
1400
1398
|
GetBaseDefinition(): MethodInfo;
|
|
1401
1399
|
GetGenericArguments(): Type[];
|
|
1402
1400
|
GetGenericMethodDefinition(): MethodInfo;
|
|
@@ -1419,12 +1417,12 @@ export type MethodInfo = MethodInfo$instance & __MethodInfo$views;
|
|
|
1419
1417
|
export interface MethodInvoker$instance {
|
|
1420
1418
|
readonly __tsonic_type_System_Reflection_MethodInvoker: never;
|
|
1421
1419
|
|
|
1422
|
-
Invoke(obj: unknown): unknown |
|
|
1423
|
-
Invoke(obj: unknown, arg1: unknown): unknown |
|
|
1424
|
-
Invoke(obj: unknown, arg1: unknown, arg2: unknown): unknown |
|
|
1425
|
-
Invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown): unknown |
|
|
1426
|
-
Invoke(obj: unknown, arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown |
|
|
1427
|
-
Invoke(obj: unknown, arguments: Span_1<unknown>): unknown |
|
|
1420
|
+
Invoke(obj: unknown | null): unknown | null;
|
|
1421
|
+
Invoke(obj: unknown | null, arg1: unknown | null): unknown | null;
|
|
1422
|
+
Invoke(obj: unknown | null, arg1: unknown | null, arg2: unknown | null): unknown | null;
|
|
1423
|
+
Invoke(obj: unknown | null, arg1: unknown | null, arg2: unknown | null, arg3: unknown | null): unknown | null;
|
|
1424
|
+
Invoke(obj: unknown | null, arg1: unknown | null, arg2: unknown | null, arg3: unknown | null, arg4: unknown | null): unknown | null;
|
|
1425
|
+
Invoke(obj: unknown | null, arguments: Span_1<unknown>): unknown | null;
|
|
1428
1426
|
}
|
|
1429
1427
|
|
|
1430
1428
|
|
|
@@ -1470,41 +1468,41 @@ export interface Module$instance extends ICustomAttributeProvider$instance, Syst
|
|
|
1470
1468
|
readonly ModuleVersionId: Guid;
|
|
1471
1469
|
readonly Name: string;
|
|
1472
1470
|
readonly ScopeName: string;
|
|
1473
|
-
Equals(o: unknown): boolean;
|
|
1474
|
-
FindTypes(filter: TypeFilter, filterCriteria: unknown): Type[];
|
|
1471
|
+
Equals(o: unknown | null): boolean;
|
|
1472
|
+
FindTypes(filter: TypeFilter | null, filterCriteria: unknown | null): Type[];
|
|
1475
1473
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1476
1474
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1477
1475
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
1478
|
-
GetField(name: string): FieldInfo |
|
|
1479
|
-
GetField(name: string, bindingAttr: BindingFlags): FieldInfo |
|
|
1476
|
+
GetField(name: string): FieldInfo | null;
|
|
1477
|
+
GetField(name: string, bindingAttr: BindingFlags): FieldInfo | null;
|
|
1480
1478
|
GetFields(): FieldInfo[];
|
|
1481
1479
|
GetFields(bindingFlags: BindingFlags): FieldInfo[];
|
|
1482
1480
|
GetHashCode(): int;
|
|
1483
|
-
GetMethod(name: string): MethodInfo |
|
|
1484
|
-
GetMethod(name: string, types: Type[]): MethodInfo |
|
|
1485
|
-
GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo |
|
|
1486
|
-
GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo |
|
|
1481
|
+
GetMethod(name: string): MethodInfo | null;
|
|
1482
|
+
GetMethod(name: string, types: Type[]): MethodInfo | null;
|
|
1483
|
+
GetMethod(name: string, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[] | null): MethodInfo | null;
|
|
1484
|
+
GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[] | null, modifiers: ParameterModifier[] | null): MethodInfo | null;
|
|
1487
1485
|
GetMethods(): MethodInfo[];
|
|
1488
1486
|
GetMethods(bindingFlags: BindingFlags): MethodInfo[];
|
|
1489
1487
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1490
1488
|
GetPEKind(peKind: PortableExecutableKinds, machine: ImageFileMachine): void;
|
|
1491
|
-
GetType(className: string): Type |
|
|
1492
|
-
GetType(className: string, ignoreCase: boolean): Type |
|
|
1493
|
-
GetType(className: string, throwOnError: boolean, ignoreCase: boolean): Type |
|
|
1489
|
+
GetType(className: string): Type | null;
|
|
1490
|
+
GetType(className: string, ignoreCase: boolean): Type | null;
|
|
1491
|
+
GetType(className: string, throwOnError: boolean, ignoreCase: boolean): Type | null;
|
|
1494
1492
|
GetType(): Type;
|
|
1495
1493
|
GetTypes(): Type[];
|
|
1496
1494
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1497
1495
|
IsResource(): boolean;
|
|
1498
|
-
ResolveField(metadataToken: int): FieldInfo |
|
|
1499
|
-
ResolveField(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): FieldInfo |
|
|
1500
|
-
ResolveMember(metadataToken: int): MemberInfo |
|
|
1501
|
-
ResolveMember(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MemberInfo |
|
|
1502
|
-
ResolveMethod(metadataToken: int): MethodBase |
|
|
1503
|
-
ResolveMethod(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): MethodBase |
|
|
1496
|
+
ResolveField(metadataToken: int): FieldInfo | null;
|
|
1497
|
+
ResolveField(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): FieldInfo | null;
|
|
1498
|
+
ResolveMember(metadataToken: int): MemberInfo | null;
|
|
1499
|
+
ResolveMember(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): MemberInfo | null;
|
|
1500
|
+
ResolveMethod(metadataToken: int): MethodBase | null;
|
|
1501
|
+
ResolveMethod(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): MethodBase | null;
|
|
1504
1502
|
ResolveSignature(metadataToken: int): byte[];
|
|
1505
1503
|
ResolveString(metadataToken: int): string;
|
|
1506
1504
|
ResolveType(metadataToken: int): Type;
|
|
1507
|
-
ResolveType(metadataToken: int, genericTypeArguments: Type[], genericMethodArguments: Type[]): Type;
|
|
1505
|
+
ResolveType(metadataToken: int, genericTypeArguments: Type[] | null, genericMethodArguments: Type[] | null): Type;
|
|
1508
1506
|
ToString(): string;
|
|
1509
1507
|
}
|
|
1510
1508
|
|
|
@@ -1526,7 +1524,7 @@ export type Module = Module$instance & __Module$views;
|
|
|
1526
1524
|
export interface NullabilityInfo$instance {
|
|
1527
1525
|
readonly __tsonic_type_System_Reflection_NullabilityInfo: never;
|
|
1528
1526
|
|
|
1529
|
-
readonly ElementType: NullabilityInfo |
|
|
1527
|
+
readonly ElementType: NullabilityInfo | null;
|
|
1530
1528
|
readonly GenericTypeArguments: NullabilityInfo[];
|
|
1531
1529
|
ReadState: NullabilityState;
|
|
1532
1530
|
readonly Type: Type;
|
|
@@ -1577,8 +1575,8 @@ export interface ObfuscationAttribute$instance extends Attribute {
|
|
|
1577
1575
|
|
|
1578
1576
|
ApplyToMembers: boolean;
|
|
1579
1577
|
Exclude: boolean;
|
|
1580
|
-
get Feature(): string |
|
|
1581
|
-
set Feature(value: string |
|
|
1578
|
+
get Feature(): string | null;
|
|
1579
|
+
set Feature(value: string | null);
|
|
1582
1580
|
StripAfterObfuscation: boolean;
|
|
1583
1581
|
}
|
|
1584
1582
|
|
|
@@ -1598,7 +1596,7 @@ export interface ParameterInfo$instance extends ICustomAttributeProvider$instanc
|
|
|
1598
1596
|
|
|
1599
1597
|
readonly Attributes: ParameterAttributes;
|
|
1600
1598
|
readonly CustomAttributes: IEnumerable_1<CustomAttributeData>;
|
|
1601
|
-
readonly DefaultValue: unknown |
|
|
1599
|
+
readonly DefaultValue: unknown | null;
|
|
1602
1600
|
readonly HasDefaultValue: boolean;
|
|
1603
1601
|
readonly IsIn: boolean;
|
|
1604
1602
|
readonly IsLcid: boolean;
|
|
@@ -1607,10 +1605,10 @@ export interface ParameterInfo$instance extends ICustomAttributeProvider$instanc
|
|
|
1607
1605
|
readonly IsRetval: boolean;
|
|
1608
1606
|
readonly Member: MemberInfo;
|
|
1609
1607
|
readonly MetadataToken: int;
|
|
1610
|
-
readonly Name: string |
|
|
1608
|
+
readonly Name: string | null;
|
|
1611
1609
|
readonly ParameterType: Type;
|
|
1612
1610
|
readonly Position: int;
|
|
1613
|
-
readonly RawDefaultValue: unknown |
|
|
1611
|
+
readonly RawDefaultValue: unknown | null;
|
|
1614
1612
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1615
1613
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1616
1614
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
@@ -1640,7 +1638,7 @@ export interface Pointer$instance extends System_Runtime_Serialization_Internal.
|
|
|
1640
1638
|
|
|
1641
1639
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1642
1640
|
|
|
1643
|
-
Equals(obj: unknown): boolean;
|
|
1641
|
+
Equals(obj: unknown | null): boolean;
|
|
1644
1642
|
GetHashCode(): int;
|
|
1645
1643
|
}
|
|
1646
1644
|
|
|
@@ -1666,31 +1664,31 @@ export interface PropertyInfo$instance extends MemberInfo$instance, ICustomAttri
|
|
|
1666
1664
|
readonly Attributes: PropertyAttributes;
|
|
1667
1665
|
readonly CanRead: boolean;
|
|
1668
1666
|
readonly CanWrite: boolean;
|
|
1669
|
-
readonly GetMethod: MethodInfo |
|
|
1667
|
+
readonly GetMethod: MethodInfo | null;
|
|
1670
1668
|
readonly IsSpecialName: boolean;
|
|
1671
1669
|
readonly MemberType: MemberTypes;
|
|
1672
1670
|
readonly PropertyType: Type;
|
|
1673
|
-
readonly SetMethod: MethodInfo |
|
|
1674
|
-
Equals(obj: unknown): boolean;
|
|
1671
|
+
readonly SetMethod: MethodInfo | null;
|
|
1672
|
+
Equals(obj: unknown | null): boolean;
|
|
1675
1673
|
GetAccessors(): MethodInfo[];
|
|
1676
1674
|
GetAccessors(nonPublic: boolean): MethodInfo[];
|
|
1677
|
-
GetConstantValue(): unknown |
|
|
1678
|
-
GetGetMethod(): MethodInfo |
|
|
1679
|
-
GetGetMethod(nonPublic: boolean): MethodInfo |
|
|
1675
|
+
GetConstantValue(): unknown | null;
|
|
1676
|
+
GetGetMethod(): MethodInfo | null;
|
|
1677
|
+
GetGetMethod(nonPublic: boolean): MethodInfo | null;
|
|
1680
1678
|
GetHashCode(): int;
|
|
1681
1679
|
GetIndexParameters(): ParameterInfo[];
|
|
1682
1680
|
GetModifiedPropertyType(): Type;
|
|
1683
1681
|
GetOptionalCustomModifiers(): Type[];
|
|
1684
|
-
GetRawConstantValue(): unknown |
|
|
1682
|
+
GetRawConstantValue(): unknown | null;
|
|
1685
1683
|
GetRequiredCustomModifiers(): Type[];
|
|
1686
|
-
GetSetMethod(): MethodInfo |
|
|
1687
|
-
GetSetMethod(nonPublic: boolean): MethodInfo |
|
|
1688
|
-
GetValue(obj: unknown): unknown |
|
|
1689
|
-
GetValue(obj: unknown, index: unknown[]): unknown |
|
|
1690
|
-
GetValue(obj: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): unknown |
|
|
1691
|
-
SetValue(obj: unknown, value: unknown): void;
|
|
1692
|
-
SetValue(obj: unknown, value: unknown, index: unknown[]): void;
|
|
1693
|
-
SetValue(obj: unknown, value: unknown, invokeAttr: BindingFlags, binder: Binder, index: unknown[], culture: CultureInfo): void;
|
|
1684
|
+
GetSetMethod(): MethodInfo | null;
|
|
1685
|
+
GetSetMethod(nonPublic: boolean): MethodInfo | null;
|
|
1686
|
+
GetValue(obj: unknown | null): unknown | null;
|
|
1687
|
+
GetValue(obj: unknown | null, index: (unknown | null)[] | null): unknown | null;
|
|
1688
|
+
GetValue(obj: unknown | null, invokeAttr: BindingFlags, binder: Binder | null, index: (unknown | null)[] | null, culture: CultureInfo | null): unknown | null;
|
|
1689
|
+
SetValue(obj: unknown | null, value: unknown | null): void;
|
|
1690
|
+
SetValue(obj: unknown | null, value: unknown | null, index: (unknown | null)[] | null): void;
|
|
1691
|
+
SetValue(obj: unknown | null, value: unknown | null, invokeAttr: BindingFlags, binder: Binder | null, index: (unknown | null)[] | null, culture: CultureInfo | null): void;
|
|
1694
1692
|
}
|
|
1695
1693
|
|
|
1696
1694
|
|
|
@@ -1720,22 +1718,22 @@ export const ReflectionContext: (abstract new() => ReflectionContext) & {
|
|
|
1720
1718
|
|
|
1721
1719
|
export type ReflectionContext = ReflectionContext$instance;
|
|
1722
1720
|
|
|
1723
|
-
export interface ReflectionTypeLoadException$instance extends SystemException {
|
|
1721
|
+
export interface ReflectionTypeLoadException$instance extends SystemException, System_Runtime_Serialization_Internal.ISerializable$instance {
|
|
1724
1722
|
readonly __tsonic_type_System_Reflection_ReflectionTypeLoadException: never;
|
|
1725
1723
|
|
|
1726
1724
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
1727
1725
|
|
|
1728
|
-
readonly LoaderExceptions: (Exception |
|
|
1726
|
+
readonly LoaderExceptions: (Exception | null)[];
|
|
1729
1727
|
readonly Message: string;
|
|
1730
|
-
readonly Types: (Type |
|
|
1728
|
+
readonly Types: (Type | null)[];
|
|
1731
1729
|
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1732
1730
|
ToString(): string;
|
|
1733
1731
|
}
|
|
1734
1732
|
|
|
1735
1733
|
|
|
1736
1734
|
export const ReflectionTypeLoadException: {
|
|
1737
|
-
new(classes: Type[], exceptions: Exception[]): ReflectionTypeLoadException;
|
|
1738
|
-
new(classes: Type[], exceptions: Exception[], message: string): ReflectionTypeLoadException;
|
|
1735
|
+
new(classes: (Type | null)[] | null, exceptions: (Exception | null)[] | null): ReflectionTypeLoadException;
|
|
1736
|
+
new(classes: (Type | null)[] | null, exceptions: (Exception | null)[] | null, message: string | null): ReflectionTypeLoadException;
|
|
1739
1737
|
};
|
|
1740
1738
|
|
|
1741
1739
|
|
|
@@ -1781,8 +1779,8 @@ export interface TargetException$instance extends ApplicationException, System_R
|
|
|
1781
1779
|
|
|
1782
1780
|
export const TargetException: {
|
|
1783
1781
|
new(): TargetException;
|
|
1784
|
-
new(message: string): TargetException;
|
|
1785
|
-
new(message: string, inner: Exception): TargetException;
|
|
1782
|
+
new(message: string | null): TargetException;
|
|
1783
|
+
new(message: string | null, inner: Exception | null): TargetException;
|
|
1786
1784
|
};
|
|
1787
1785
|
|
|
1788
1786
|
|
|
@@ -1802,8 +1800,8 @@ export interface TargetInvocationException$instance extends ApplicationException
|
|
|
1802
1800
|
|
|
1803
1801
|
|
|
1804
1802
|
export const TargetInvocationException: {
|
|
1805
|
-
new(inner: Exception): TargetInvocationException;
|
|
1806
|
-
new(message: string, inner: Exception): TargetInvocationException;
|
|
1803
|
+
new(inner: Exception | null): TargetInvocationException;
|
|
1804
|
+
new(message: string | null, inner: Exception | null): TargetInvocationException;
|
|
1807
1805
|
};
|
|
1808
1806
|
|
|
1809
1807
|
|
|
@@ -1824,8 +1822,8 @@ export interface TargetParameterCountException$instance extends ApplicationExcep
|
|
|
1824
1822
|
|
|
1825
1823
|
export const TargetParameterCountException: {
|
|
1826
1824
|
new(): TargetParameterCountException;
|
|
1827
|
-
new(message: string): TargetParameterCountException;
|
|
1828
|
-
new(message: string, inner: Exception): TargetParameterCountException;
|
|
1825
|
+
new(message: string | null): TargetParameterCountException;
|
|
1826
|
+
new(message: string | null, inner: Exception | null): TargetParameterCountException;
|
|
1829
1827
|
};
|
|
1830
1828
|
|
|
1831
1829
|
|
|
@@ -1836,7 +1834,7 @@ export interface __TargetParameterCountException$views {
|
|
|
1836
1834
|
export type TargetParameterCountException = TargetParameterCountException$instance & __TargetParameterCountException$views;
|
|
1837
1835
|
|
|
1838
1836
|
|
|
1839
|
-
export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableType$instance {
|
|
1837
|
+
export interface TypeDelegator$instance extends TypeInfo$instance, ICustomAttributeProvider$instance, IReflectableType$instance {
|
|
1840
1838
|
readonly __tsonic_type_System_Reflection_TypeDelegator: never;
|
|
1841
1839
|
|
|
1842
1840
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
@@ -1844,9 +1842,9 @@ export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableT
|
|
|
1844
1842
|
readonly __tsonic_iface_System_Reflection_IReflectableType: never;
|
|
1845
1843
|
|
|
1846
1844
|
readonly Assembly: Assembly;
|
|
1847
|
-
readonly AssemblyQualifiedName: string |
|
|
1848
|
-
readonly BaseType: Type |
|
|
1849
|
-
readonly FullName: string |
|
|
1845
|
+
readonly AssemblyQualifiedName: string | null;
|
|
1846
|
+
readonly BaseType: Type | null;
|
|
1847
|
+
readonly FullName: string | null;
|
|
1850
1848
|
readonly GUID: Guid;
|
|
1851
1849
|
readonly IsByRefLike: boolean;
|
|
1852
1850
|
readonly IsCollectible: boolean;
|
|
@@ -1861,30 +1859,30 @@ export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableT
|
|
|
1861
1859
|
readonly MetadataToken: int;
|
|
1862
1860
|
readonly Module: Module;
|
|
1863
1861
|
readonly Name: string;
|
|
1864
|
-
readonly Namespace: string |
|
|
1862
|
+
readonly Namespace: string | null;
|
|
1865
1863
|
readonly TypeHandle: RuntimeTypeHandle;
|
|
1866
1864
|
readonly UnderlyingSystemType: Type;
|
|
1867
1865
|
GetArrayRank(): int;
|
|
1868
1866
|
GetAttributeFlagsImpl(): TypeAttributes;
|
|
1869
|
-
GetConstructorImpl(bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): ConstructorInfo |
|
|
1867
|
+
GetConstructorImpl(bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[] | null): ConstructorInfo | null;
|
|
1870
1868
|
GetConstructors(bindingAttr: BindingFlags): ConstructorInfo[];
|
|
1871
1869
|
GetConstructors(): ConstructorInfo[];
|
|
1872
1870
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1873
1871
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1874
|
-
GetElementType(): Type |
|
|
1875
|
-
GetEvent(name: string, bindingAttr: BindingFlags): EventInfo |
|
|
1876
|
-
GetEvent(name: string): EventInfo |
|
|
1872
|
+
GetElementType(): Type | null;
|
|
1873
|
+
GetEvent(name: string, bindingAttr: BindingFlags): EventInfo | null;
|
|
1874
|
+
GetEvent(name: string): EventInfo | null;
|
|
1877
1875
|
GetEvents(): EventInfo[];
|
|
1878
1876
|
GetEvents(bindingAttr: BindingFlags): EventInfo[];
|
|
1879
|
-
GetField(name: string, bindingAttr: BindingFlags): FieldInfo |
|
|
1880
|
-
GetField(name: string): FieldInfo |
|
|
1877
|
+
GetField(name: string, bindingAttr: BindingFlags): FieldInfo | null;
|
|
1878
|
+
GetField(name: string): FieldInfo | null;
|
|
1881
1879
|
GetFields(bindingAttr: BindingFlags): FieldInfo[];
|
|
1882
1880
|
GetFields(): FieldInfo[];
|
|
1883
1881
|
GetFunctionPointerCallingConventions(): Type[];
|
|
1884
1882
|
GetFunctionPointerParameterTypes(): Type[];
|
|
1885
1883
|
GetFunctionPointerReturnType(): Type;
|
|
1886
|
-
GetInterface(name: string, ignoreCase: boolean): Type |
|
|
1887
|
-
GetInterface(name: string): Type |
|
|
1884
|
+
GetInterface(name: string, ignoreCase: boolean): Type | null;
|
|
1885
|
+
GetInterface(name: string): Type | null;
|
|
1888
1886
|
GetInterfaceMap(interfaceType: Type): InterfaceMapping;
|
|
1889
1887
|
GetInterfaces(): Type[];
|
|
1890
1888
|
GetMember(name: string, type: MemberTypes, bindingAttr: BindingFlags): MemberInfo[];
|
|
@@ -1893,24 +1891,24 @@ export interface TypeDelegator$instance extends TypeInfo$instance, IReflectableT
|
|
|
1893
1891
|
GetMembers(bindingAttr: BindingFlags): MemberInfo[];
|
|
1894
1892
|
GetMembers(): MemberInfo[];
|
|
1895
1893
|
GetMemberWithSameMetadataDefinitionAs(member: MemberInfo): MemberInfo;
|
|
1896
|
-
GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo |
|
|
1897
|
-
GetMethodImpl(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder, callConvention: CallingConventions, types: Type[], modifiers: ParameterModifier[]): MethodInfo |
|
|
1894
|
+
GetMethodImpl(name: string, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[] | null, modifiers: ParameterModifier[] | null): MethodInfo | null;
|
|
1895
|
+
GetMethodImpl(name: string, genericParameterCount: int, bindingAttr: BindingFlags, binder: Binder | null, callConvention: CallingConventions, types: Type[] | null, modifiers: ParameterModifier[] | null): MethodInfo | null;
|
|
1898
1896
|
GetMethods(bindingAttr: BindingFlags): MethodInfo[];
|
|
1899
1897
|
GetMethods(): MethodInfo[];
|
|
1900
|
-
GetNestedType(name: string, bindingAttr: BindingFlags): Type |
|
|
1901
|
-
GetNestedType(name: string): Type |
|
|
1898
|
+
GetNestedType(name: string, bindingAttr: BindingFlags): Type | null;
|
|
1899
|
+
GetNestedType(name: string): Type | null;
|
|
1902
1900
|
GetNestedTypes(bindingAttr: BindingFlags): Type[];
|
|
1903
1901
|
GetNestedTypes(): Type[];
|
|
1904
1902
|
GetProperties(bindingAttr: BindingFlags): PropertyInfo[];
|
|
1905
1903
|
GetProperties(): PropertyInfo[];
|
|
1906
|
-
GetPropertyImpl(name: string, bindingAttr: BindingFlags, binder: Binder, returnType: Type, types: Type[], modifiers: ParameterModifier[]): PropertyInfo |
|
|
1904
|
+
GetPropertyImpl(name: string, bindingAttr: BindingFlags, binder: Binder | null, returnType: Type | null, types: Type[] | null, modifiers: ParameterModifier[] | null): PropertyInfo | null;
|
|
1907
1905
|
HasElementTypeImpl(): boolean;
|
|
1908
|
-
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], modifiers: ParameterModifier[], culture: CultureInfo, namedParameters: string[]): unknown |
|
|
1909
|
-
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[]): unknown |
|
|
1910
|
-
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder, target: unknown, args: unknown[], culture: CultureInfo): unknown |
|
|
1906
|
+
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: unknown | null, args: (unknown | null)[] | null, modifiers: ParameterModifier[] | null, culture: CultureInfo | null, namedParameters: string[] | null): unknown | null;
|
|
1907
|
+
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: unknown | null, args: (unknown | null)[] | null): unknown | null;
|
|
1908
|
+
InvokeMember(name: string, invokeAttr: BindingFlags, binder: Binder | null, target: unknown | null, args: (unknown | null)[] | null, culture: CultureInfo | null): unknown | null;
|
|
1911
1909
|
IsArrayImpl(): boolean;
|
|
1912
|
-
IsAssignableFrom(typeInfo: TypeInfo): boolean;
|
|
1913
|
-
IsAssignableFrom(c: Type): boolean;
|
|
1910
|
+
IsAssignableFrom(typeInfo: TypeInfo | null): boolean;
|
|
1911
|
+
IsAssignableFrom(c: Type | null): boolean;
|
|
1914
1912
|
IsByRefImpl(): boolean;
|
|
1915
1913
|
IsCOMObjectImpl(): boolean;
|
|
1916
1914
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
@@ -1951,14 +1949,14 @@ export interface TypeInfo$instance extends Type, ICustomAttributeProvider$instan
|
|
|
1951
1949
|
readonly GenericTypeParameters: Type[];
|
|
1952
1950
|
readonly ImplementedInterfaces: IEnumerable_1<Type>;
|
|
1953
1951
|
AsType(): Type;
|
|
1954
|
-
GetDeclaredEvent(name: string): EventInfo |
|
|
1955
|
-
GetDeclaredField(name: string): FieldInfo |
|
|
1956
|
-
GetDeclaredMethod(name: string): MethodInfo |
|
|
1952
|
+
GetDeclaredEvent(name: string): EventInfo | null;
|
|
1953
|
+
GetDeclaredField(name: string): FieldInfo | null;
|
|
1954
|
+
GetDeclaredMethod(name: string): MethodInfo | null;
|
|
1957
1955
|
GetDeclaredMethods(name: string): IEnumerable_1<MethodInfo>;
|
|
1958
|
-
GetDeclaredNestedType(name: string): TypeInfo |
|
|
1959
|
-
GetDeclaredProperty(name: string): PropertyInfo |
|
|
1960
|
-
IsAssignableFrom(typeInfo: TypeInfo): boolean;
|
|
1961
|
-
IsAssignableFrom(c: Type): boolean;
|
|
1956
|
+
GetDeclaredNestedType(name: string): TypeInfo | null;
|
|
1957
|
+
GetDeclaredProperty(name: string): PropertyInfo | null;
|
|
1958
|
+
IsAssignableFrom(typeInfo: TypeInfo | null): boolean;
|
|
1959
|
+
IsAssignableFrom(c: Type | null): boolean;
|
|
1962
1960
|
}
|
|
1963
1961
|
|
|
1964
1962
|
|
|
@@ -1985,35 +1983,35 @@ export abstract class AssemblyExtensions$instance {
|
|
|
1985
1983
|
export type AssemblyExtensions = AssemblyExtensions$instance;
|
|
1986
1984
|
|
|
1987
1985
|
export abstract class CustomAttributeExtensions$instance {
|
|
1988
|
-
static GetCustomAttribute(element: Assembly, attributeType: Type): Attribute |
|
|
1989
|
-
static GetCustomAttribute<T extends Attribute>(element: Assembly): T |
|
|
1990
|
-
static GetCustomAttribute<T extends Attribute>(element: MemberInfo, inherit: boolean): T |
|
|
1991
|
-
static GetCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute |
|
|
1992
|
-
static GetCustomAttribute(element: MemberInfo, attributeType: Type): Attribute |
|
|
1993
|
-
static GetCustomAttribute<T extends Attribute>(element: MemberInfo): T |
|
|
1994
|
-
static GetCustomAttribute(element: Module, attributeType: Type): Attribute |
|
|
1995
|
-
static GetCustomAttribute<T extends Attribute>(element: Module): T |
|
|
1996
|
-
static GetCustomAttribute<T extends Attribute>(element: ParameterInfo, inherit: boolean): T |
|
|
1997
|
-
static GetCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute |
|
|
1998
|
-
static GetCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute |
|
|
1999
|
-
static GetCustomAttribute<T extends Attribute>(element: ParameterInfo): T |
|
|
1986
|
+
static GetCustomAttribute(element: Assembly, attributeType: Type): Attribute | null;
|
|
1987
|
+
static GetCustomAttribute<T extends unknown & Attribute>(element: Assembly): T | null;
|
|
1988
|
+
static GetCustomAttribute<T extends unknown & Attribute>(element: MemberInfo, inherit: boolean): T | null;
|
|
1989
|
+
static GetCustomAttribute(element: MemberInfo, attributeType: Type, inherit: boolean): Attribute | null;
|
|
1990
|
+
static GetCustomAttribute(element: MemberInfo, attributeType: Type): Attribute | null;
|
|
1991
|
+
static GetCustomAttribute<T extends unknown & Attribute>(element: MemberInfo): T | null;
|
|
1992
|
+
static GetCustomAttribute(element: Module, attributeType: Type): Attribute | null;
|
|
1993
|
+
static GetCustomAttribute<T extends unknown & Attribute>(element: Module): T | null;
|
|
1994
|
+
static GetCustomAttribute<T extends unknown & Attribute>(element: ParameterInfo, inherit: boolean): T | null;
|
|
1995
|
+
static GetCustomAttribute(element: ParameterInfo, attributeType: Type, inherit: boolean): Attribute | null;
|
|
1996
|
+
static GetCustomAttribute(element: ParameterInfo, attributeType: Type): Attribute | null;
|
|
1997
|
+
static GetCustomAttribute<T extends unknown & Attribute>(element: ParameterInfo): T | null;
|
|
2000
1998
|
static GetCustomAttributes(element: Assembly, attributeType: Type): IEnumerable_1<Attribute>;
|
|
2001
|
-
static GetCustomAttributes<T extends Attribute>(element: Assembly): IEnumerable_1<T>;
|
|
1999
|
+
static GetCustomAttributes<T extends unknown & Attribute>(element: Assembly): IEnumerable_1<T>;
|
|
2002
2000
|
static GetCustomAttributes(element: Assembly): IEnumerable_1<Attribute>;
|
|
2003
|
-
static GetCustomAttributes<T extends Attribute>(element: MemberInfo, inherit: boolean): IEnumerable_1<T>;
|
|
2001
|
+
static GetCustomAttributes<T extends unknown & Attribute>(element: MemberInfo, inherit: boolean): IEnumerable_1<T>;
|
|
2004
2002
|
static GetCustomAttributes(element: MemberInfo, inherit: boolean): IEnumerable_1<Attribute>;
|
|
2005
2003
|
static GetCustomAttributes(element: MemberInfo, attributeType: Type, inherit: boolean): IEnumerable_1<Attribute>;
|
|
2006
2004
|
static GetCustomAttributes(element: MemberInfo, attributeType: Type): IEnumerable_1<Attribute>;
|
|
2007
|
-
static GetCustomAttributes<T extends Attribute>(element: MemberInfo): IEnumerable_1<T>;
|
|
2005
|
+
static GetCustomAttributes<T extends unknown & Attribute>(element: MemberInfo): IEnumerable_1<T>;
|
|
2008
2006
|
static GetCustomAttributes(element: MemberInfo): IEnumerable_1<Attribute>;
|
|
2009
2007
|
static GetCustomAttributes(element: Module, attributeType: Type): IEnumerable_1<Attribute>;
|
|
2010
|
-
static GetCustomAttributes<T extends Attribute>(element: Module): IEnumerable_1<T>;
|
|
2008
|
+
static GetCustomAttributes<T extends unknown & Attribute>(element: Module): IEnumerable_1<T>;
|
|
2011
2009
|
static GetCustomAttributes(element: Module): IEnumerable_1<Attribute>;
|
|
2012
|
-
static GetCustomAttributes<T extends Attribute>(element: ParameterInfo, inherit: boolean): IEnumerable_1<T>;
|
|
2010
|
+
static GetCustomAttributes<T extends unknown & Attribute>(element: ParameterInfo, inherit: boolean): IEnumerable_1<T>;
|
|
2013
2011
|
static GetCustomAttributes(element: ParameterInfo, inherit: boolean): IEnumerable_1<Attribute>;
|
|
2014
2012
|
static GetCustomAttributes(element: ParameterInfo, attributeType: Type, inherit: boolean): IEnumerable_1<Attribute>;
|
|
2015
2013
|
static GetCustomAttributes(element: ParameterInfo, attributeType: Type): IEnumerable_1<Attribute>;
|
|
2016
|
-
static GetCustomAttributes<T extends Attribute>(element: ParameterInfo): IEnumerable_1<T>;
|
|
2014
|
+
static GetCustomAttributes<T extends unknown & Attribute>(element: ParameterInfo): IEnumerable_1<T>;
|
|
2017
2015
|
static GetCustomAttributes(element: ParameterInfo): IEnumerable_1<Attribute>;
|
|
2018
2016
|
static IsDefined(element: Assembly, attributeType: Type): boolean;
|
|
2019
2017
|
static IsDefined(element: MemberInfo, attributeType: Type, inherit: boolean): boolean;
|
|
@@ -2027,12 +2025,12 @@ export abstract class CustomAttributeExtensions$instance {
|
|
|
2027
2025
|
export type CustomAttributeExtensions = CustomAttributeExtensions$instance;
|
|
2028
2026
|
|
|
2029
2027
|
export abstract class EventInfoExtensions$instance {
|
|
2030
|
-
static GetAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo |
|
|
2031
|
-
static GetAddMethod(eventInfo: EventInfo): MethodInfo |
|
|
2032
|
-
static GetRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo |
|
|
2033
|
-
static GetRaiseMethod(eventInfo: EventInfo): MethodInfo |
|
|
2034
|
-
static GetRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo |
|
|
2035
|
-
static GetRemoveMethod(eventInfo: EventInfo): MethodInfo |
|
|
2028
|
+
static GetAddMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | null;
|
|
2029
|
+
static GetAddMethod(eventInfo: EventInfo): MethodInfo | null;
|
|
2030
|
+
static GetRaiseMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | null;
|
|
2031
|
+
static GetRaiseMethod(eventInfo: EventInfo): MethodInfo | null;
|
|
2032
|
+
static GetRemoveMethod(eventInfo: EventInfo, nonPublic: boolean): MethodInfo | null;
|
|
2033
|
+
static GetRemoveMethod(eventInfo: EventInfo): MethodInfo | null;
|
|
2036
2034
|
}
|
|
2037
2035
|
|
|
2038
2036
|
|
|
@@ -2071,10 +2069,10 @@ export type ModuleExtensions = ModuleExtensions$instance;
|
|
|
2071
2069
|
export abstract class PropertyInfoExtensions$instance {
|
|
2072
2070
|
static GetAccessors(property: PropertyInfo, nonPublic: boolean): MethodInfo[];
|
|
2073
2071
|
static GetAccessors(property: PropertyInfo): MethodInfo[];
|
|
2074
|
-
static GetGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo |
|
|
2075
|
-
static GetGetMethod(property: PropertyInfo): MethodInfo |
|
|
2076
|
-
static GetSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo |
|
|
2077
|
-
static GetSetMethod(property: PropertyInfo): MethodInfo |
|
|
2072
|
+
static GetGetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | null;
|
|
2073
|
+
static GetGetMethod(property: PropertyInfo): MethodInfo | null;
|
|
2074
|
+
static GetSetMethod(property: PropertyInfo, nonPublic: boolean): MethodInfo | null;
|
|
2075
|
+
static GetSetMethod(property: PropertyInfo): MethodInfo | null;
|
|
2078
2076
|
}
|
|
2079
2077
|
|
|
2080
2078
|
|
|
@@ -2082,32 +2080,32 @@ export type PropertyInfoExtensions = PropertyInfoExtensions$instance;
|
|
|
2082
2080
|
|
|
2083
2081
|
export abstract class RuntimeReflectionExtensions$instance {
|
|
2084
2082
|
static GetMethodInfo(del: Function): MethodInfo;
|
|
2085
|
-
static GetRuntimeBaseDefinition(method: MethodInfo): MethodInfo |
|
|
2086
|
-
static GetRuntimeEvent(type: Type, name: string): EventInfo |
|
|
2083
|
+
static GetRuntimeBaseDefinition(method: MethodInfo): MethodInfo | null;
|
|
2084
|
+
static GetRuntimeEvent(type: Type, name: string): EventInfo | null;
|
|
2087
2085
|
static GetRuntimeEvents(type: Type): IEnumerable_1<EventInfo>;
|
|
2088
|
-
static GetRuntimeField(type: Type, name: string): FieldInfo |
|
|
2086
|
+
static GetRuntimeField(type: Type, name: string): FieldInfo | null;
|
|
2089
2087
|
static GetRuntimeFields(type: Type): IEnumerable_1<FieldInfo>;
|
|
2090
2088
|
static GetRuntimeInterfaceMap(typeInfo: TypeInfo, interfaceType: Type): InterfaceMapping;
|
|
2091
|
-
static GetRuntimeMethod(type: Type, name: string, parameters: Type[]): MethodInfo |
|
|
2089
|
+
static GetRuntimeMethod(type: Type, name: string, parameters: Type[]): MethodInfo | null;
|
|
2092
2090
|
static GetRuntimeMethods(type: Type): IEnumerable_1<MethodInfo>;
|
|
2093
2091
|
static GetRuntimeProperties(type: Type): IEnumerable_1<PropertyInfo>;
|
|
2094
|
-
static GetRuntimeProperty(type: Type, name: string): PropertyInfo |
|
|
2092
|
+
static GetRuntimeProperty(type: Type, name: string): PropertyInfo | null;
|
|
2095
2093
|
}
|
|
2096
2094
|
|
|
2097
2095
|
|
|
2098
2096
|
export type RuntimeReflectionExtensions = RuntimeReflectionExtensions$instance;
|
|
2099
2097
|
|
|
2100
2098
|
export abstract class TypeExtensions$instance {
|
|
2101
|
-
static GetConstructor(type: Type, types: Type[]): ConstructorInfo |
|
|
2099
|
+
static GetConstructor(type: Type, types: Type[]): ConstructorInfo | null;
|
|
2102
2100
|
static GetConstructors(type: Type, bindingAttr: BindingFlags): ConstructorInfo[];
|
|
2103
2101
|
static GetConstructors(type: Type): ConstructorInfo[];
|
|
2104
2102
|
static GetDefaultMembers(type: Type): MemberInfo[];
|
|
2105
|
-
static GetEvent(type: Type, name: string, bindingAttr: BindingFlags): EventInfo |
|
|
2106
|
-
static GetEvent(type: Type, name: string): EventInfo |
|
|
2103
|
+
static GetEvent(type: Type, name: string, bindingAttr: BindingFlags): EventInfo | null;
|
|
2104
|
+
static GetEvent(type: Type, name: string): EventInfo | null;
|
|
2107
2105
|
static GetEvents(type: Type, bindingAttr: BindingFlags): EventInfo[];
|
|
2108
2106
|
static GetEvents(type: Type): EventInfo[];
|
|
2109
|
-
static GetField(type: Type, name: string, bindingAttr: BindingFlags): FieldInfo |
|
|
2110
|
-
static GetField(type: Type, name: string): FieldInfo |
|
|
2107
|
+
static GetField(type: Type, name: string, bindingAttr: BindingFlags): FieldInfo | null;
|
|
2108
|
+
static GetField(type: Type, name: string): FieldInfo | null;
|
|
2111
2109
|
static GetFields(type: Type, bindingAttr: BindingFlags): FieldInfo[];
|
|
2112
2110
|
static GetFields(type: Type): FieldInfo[];
|
|
2113
2111
|
static GetGenericArguments(type: Type): Type[];
|
|
@@ -2116,21 +2114,21 @@ export abstract class TypeExtensions$instance {
|
|
|
2116
2114
|
static GetMember(type: Type, name: string): MemberInfo[];
|
|
2117
2115
|
static GetMembers(type: Type, bindingAttr: BindingFlags): MemberInfo[];
|
|
2118
2116
|
static GetMembers(type: Type): MemberInfo[];
|
|
2119
|
-
static GetMethod(type: Type, name: string, bindingAttr: BindingFlags): MethodInfo |
|
|
2120
|
-
static GetMethod(type: Type, name: string, types: Type[]): MethodInfo |
|
|
2121
|
-
static GetMethod(type: Type, name: string): MethodInfo |
|
|
2117
|
+
static GetMethod(type: Type, name: string, bindingAttr: BindingFlags): MethodInfo | null;
|
|
2118
|
+
static GetMethod(type: Type, name: string, types: Type[]): MethodInfo | null;
|
|
2119
|
+
static GetMethod(type: Type, name: string): MethodInfo | null;
|
|
2122
2120
|
static GetMethods(type: Type, bindingAttr: BindingFlags): MethodInfo[];
|
|
2123
2121
|
static GetMethods(type: Type): MethodInfo[];
|
|
2124
|
-
static GetNestedType(type: Type, name: string, bindingAttr: BindingFlags): Type |
|
|
2122
|
+
static GetNestedType(type: Type, name: string, bindingAttr: BindingFlags): Type | null;
|
|
2125
2123
|
static GetNestedTypes(type: Type, bindingAttr: BindingFlags): Type[];
|
|
2126
2124
|
static GetProperties(type: Type, bindingAttr: BindingFlags): PropertyInfo[];
|
|
2127
2125
|
static GetProperties(type: Type): PropertyInfo[];
|
|
2128
|
-
static GetProperty(type: Type, name: string, bindingAttr: BindingFlags): PropertyInfo |
|
|
2129
|
-
static GetProperty(type: Type, name: string, returnType: Type, types: Type[]): PropertyInfo |
|
|
2130
|
-
static GetProperty(type: Type, name: string, returnType: Type): PropertyInfo |
|
|
2131
|
-
static GetProperty(type: Type, name: string): PropertyInfo |
|
|
2132
|
-
static IsAssignableFrom(type: Type, c: Type): boolean;
|
|
2133
|
-
static IsInstanceOfType(type: Type, o: unknown): boolean;
|
|
2126
|
+
static GetProperty(type: Type, name: string, bindingAttr: BindingFlags): PropertyInfo | null;
|
|
2127
|
+
static GetProperty(type: Type, name: string, returnType: Type | null, types: Type[]): PropertyInfo | null;
|
|
2128
|
+
static GetProperty(type: Type, name: string, returnType: Type | null): PropertyInfo | null;
|
|
2129
|
+
static GetProperty(type: Type, name: string): PropertyInfo | null;
|
|
2130
|
+
static IsAssignableFrom(type: Type, c: Type | null): boolean;
|
|
2131
|
+
static IsInstanceOfType(type: Type, o: unknown | null): boolean;
|
|
2134
2132
|
}
|
|
2135
2133
|
|
|
2136
2134
|
|