@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.Emit
|
|
3
3
|
// Assembly: System.Private.CoreLib, System.Reflection.Emit
|
|
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";
|
|
@@ -135,7 +133,7 @@ export interface Label$instance {
|
|
|
135
133
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
136
134
|
|
|
137
135
|
readonly Id: int;
|
|
138
|
-
Equals(obj: unknown): boolean;
|
|
136
|
+
Equals(obj: unknown | null): boolean;
|
|
139
137
|
Equals(obj: Label): boolean;
|
|
140
138
|
GetHashCode(): int;
|
|
141
139
|
}
|
|
@@ -163,17 +161,17 @@ export interface OpCode$instance {
|
|
|
163
161
|
|
|
164
162
|
readonly EvaluationStackDelta: int;
|
|
165
163
|
readonly FlowControl: FlowControl;
|
|
166
|
-
readonly Name: string |
|
|
164
|
+
readonly Name: string | null;
|
|
167
165
|
readonly OpCodeType: OpCodeType;
|
|
168
166
|
readonly OperandType: OperandType;
|
|
169
167
|
readonly Size: int;
|
|
170
168
|
readonly StackBehaviourPop: StackBehaviour;
|
|
171
169
|
readonly StackBehaviourPush: StackBehaviour;
|
|
172
170
|
readonly Value: short;
|
|
173
|
-
Equals(obj: unknown): boolean;
|
|
171
|
+
Equals(obj: unknown | null): boolean;
|
|
174
172
|
Equals(obj: OpCode): boolean;
|
|
175
173
|
GetHashCode(): int;
|
|
176
|
-
ToString(): string |
|
|
174
|
+
ToString(): string | null;
|
|
177
175
|
}
|
|
178
176
|
|
|
179
177
|
|
|
@@ -198,22 +196,22 @@ export interface AssemblyBuilder$instance extends Assembly, System_Reflection_In
|
|
|
198
196
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
199
197
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
200
198
|
|
|
201
|
-
readonly CodeBase: string |
|
|
202
|
-
readonly EntryPoint: MethodInfo |
|
|
199
|
+
readonly CodeBase: string | null;
|
|
200
|
+
readonly EntryPoint: MethodInfo | null;
|
|
203
201
|
readonly IsDynamic: boolean;
|
|
204
202
|
readonly Location: string;
|
|
205
203
|
DefineDynamicModule(name: string): ModuleBuilder;
|
|
206
204
|
DefineDynamicModuleCore(name: string): ModuleBuilder;
|
|
207
|
-
GetDynamicModule(name: string): ModuleBuilder |
|
|
208
|
-
GetDynamicModuleCore(name: string): ModuleBuilder |
|
|
205
|
+
GetDynamicModule(name: string): ModuleBuilder | null;
|
|
206
|
+
GetDynamicModuleCore(name: string): ModuleBuilder | null;
|
|
209
207
|
GetExportedTypes(): Type[];
|
|
210
208
|
GetFile(name: string): FileStream;
|
|
211
209
|
GetFiles(getResourceModules: boolean): FileStream[];
|
|
212
210
|
GetFiles(): FileStream[];
|
|
213
|
-
GetManifestResourceInfo(resourceName: string): ManifestResourceInfo |
|
|
211
|
+
GetManifestResourceInfo(resourceName: string): ManifestResourceInfo | null;
|
|
214
212
|
GetManifestResourceNames(): string[];
|
|
215
|
-
GetManifestResourceStream(name: string): Stream |
|
|
216
|
-
GetManifestResourceStream(type: Type, name: string): Stream |
|
|
213
|
+
GetManifestResourceStream(name: string): Stream | null;
|
|
214
|
+
GetManifestResourceStream(type: Type, name: string): Stream | null;
|
|
217
215
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
218
216
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
219
217
|
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
@@ -221,7 +219,7 @@ export interface AssemblyBuilder$instance extends Assembly, System_Reflection_In
|
|
|
221
219
|
|
|
222
220
|
|
|
223
221
|
export const AssemblyBuilder: (abstract new() => AssemblyBuilder) & {
|
|
224
|
-
DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder>): AssemblyBuilder;
|
|
222
|
+
DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder> | null): AssemblyBuilder;
|
|
225
223
|
DefineDynamicAssembly(name: AssemblyName, access: AssemblyBuilderAccess): AssemblyBuilder;
|
|
226
224
|
};
|
|
227
225
|
|
|
@@ -272,10 +270,10 @@ export interface CustomAttributeBuilder$instance {
|
|
|
272
270
|
|
|
273
271
|
|
|
274
272
|
export const CustomAttributeBuilder: {
|
|
275
|
-
new(con: ConstructorInfo, constructorArgs: unknown[]): CustomAttributeBuilder;
|
|
276
|
-
new(con: ConstructorInfo, constructorArgs: unknown[], namedProperties: PropertyInfo[], propertyValues: unknown[]): CustomAttributeBuilder;
|
|
277
|
-
new(con: ConstructorInfo, constructorArgs: unknown[], namedFields: FieldInfo[], fieldValues: unknown[]): CustomAttributeBuilder;
|
|
278
|
-
new(con: ConstructorInfo, constructorArgs: unknown[], namedProperties: PropertyInfo[], propertyValues: unknown[], namedFields: FieldInfo[], fieldValues: unknown[]): CustomAttributeBuilder;
|
|
273
|
+
new(con: ConstructorInfo, constructorArgs: (unknown | null)[]): CustomAttributeBuilder;
|
|
274
|
+
new(con: ConstructorInfo, constructorArgs: (unknown | null)[], namedProperties: PropertyInfo[], propertyValues: (unknown | null)[]): CustomAttributeBuilder;
|
|
275
|
+
new(con: ConstructorInfo, constructorArgs: (unknown | null)[], namedFields: FieldInfo[], fieldValues: (unknown | null)[]): CustomAttributeBuilder;
|
|
276
|
+
new(con: ConstructorInfo, constructorArgs: (unknown | null)[], namedProperties: PropertyInfo[], propertyValues: (unknown | null)[], namedFields: FieldInfo[], fieldValues: (unknown | null)[]): CustomAttributeBuilder;
|
|
279
277
|
};
|
|
280
278
|
|
|
281
279
|
|
|
@@ -293,11 +291,11 @@ export interface DynamicILInfo$instance {
|
|
|
293
291
|
GetTokenFor(type: RuntimeTypeHandle): int;
|
|
294
292
|
GetTokenFor(literal: string): int;
|
|
295
293
|
GetTokenFor(signature: byte[]): int;
|
|
296
|
-
SetCode(code: byte[], maxStackSize: int): void;
|
|
294
|
+
SetCode(code: byte[] | null, maxStackSize: int): void;
|
|
297
295
|
SetCode(code: ptr<byte>, codeSize: int, maxStackSize: int): void;
|
|
298
|
-
SetExceptions(exceptions: byte[]): void;
|
|
296
|
+
SetExceptions(exceptions: byte[] | null): void;
|
|
299
297
|
SetExceptions(exceptions: ptr<byte>, exceptionsSize: int): void;
|
|
300
|
-
SetLocalSignature(localSignature: byte[]): void;
|
|
298
|
+
SetLocalSignature(localSignature: byte[] | null): void;
|
|
301
299
|
SetLocalSignature(localSignature: ptr<byte>, signatureSize: int): void;
|
|
302
300
|
}
|
|
303
301
|
|
|
@@ -308,14 +306,14 @@ export const DynamicILInfo: {
|
|
|
308
306
|
|
|
309
307
|
export type DynamicILInfo = DynamicILInfo$instance;
|
|
310
308
|
|
|
311
|
-
export interface DynamicMethod$instance extends MethodInfo {
|
|
309
|
+
export interface DynamicMethod$instance extends MethodInfo, System_Reflection_Internal.ICustomAttributeProvider$instance {
|
|
312
310
|
readonly __tsonic_type_System_Reflection_Emit_DynamicMethod: never;
|
|
313
311
|
|
|
314
312
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
315
313
|
|
|
316
314
|
readonly Attributes: MethodAttributes;
|
|
317
315
|
readonly CallingConvention: CallingConventions;
|
|
318
|
-
readonly DeclaringType: Type |
|
|
316
|
+
readonly DeclaringType: Type | null;
|
|
319
317
|
InitLocals: boolean;
|
|
320
318
|
readonly IsSecurityCritical: boolean;
|
|
321
319
|
readonly IsSecuritySafeCritical: boolean;
|
|
@@ -323,15 +321,15 @@ export interface DynamicMethod$instance extends MethodInfo {
|
|
|
323
321
|
readonly MethodHandle: RuntimeMethodHandle;
|
|
324
322
|
readonly Module: Module;
|
|
325
323
|
readonly Name: string;
|
|
326
|
-
readonly ReflectedType: Type |
|
|
324
|
+
readonly ReflectedType: Type | null;
|
|
327
325
|
readonly ReturnParameter: ParameterInfo;
|
|
328
326
|
readonly ReturnType: Type;
|
|
329
327
|
readonly ReturnTypeCustomAttributes: ICustomAttributeProvider;
|
|
330
328
|
CreateDelegate(delegateType: Type): Function;
|
|
331
|
-
CreateDelegate(delegateType: Type, target: unknown): Function;
|
|
332
|
-
CreateDelegate<T extends Function>(): T;
|
|
333
|
-
CreateDelegate<T extends Function>(target: unknown): T;
|
|
334
|
-
DefineParameter(position: int, attributes: ParameterAttributes, parameterName: string): ParameterBuilder |
|
|
329
|
+
CreateDelegate(delegateType: Type, target: unknown | null): Function;
|
|
330
|
+
CreateDelegate<T extends unknown & Function>(): T;
|
|
331
|
+
CreateDelegate<T extends unknown & Function>(target: unknown | null): T;
|
|
332
|
+
DefineParameter(position: int, attributes: ParameterAttributes, parameterName: string | null): ParameterBuilder | null;
|
|
335
333
|
GetBaseDefinition(): MethodInfo;
|
|
336
334
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
337
335
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
@@ -340,22 +338,22 @@ export interface DynamicMethod$instance extends MethodInfo {
|
|
|
340
338
|
GetILGenerator(): ILGenerator;
|
|
341
339
|
GetMethodImplementationFlags(): MethodImplAttributes;
|
|
342
340
|
GetParameters(): ParameterInfo[];
|
|
343
|
-
Invoke(obj: unknown, invokeAttr: BindingFlags, binder: Binder, parameters: unknown[], culture: CultureInfo): unknown |
|
|
344
|
-
Invoke(obj: unknown, parameters: unknown[]): unknown |
|
|
341
|
+
Invoke(obj: unknown | null, invokeAttr: BindingFlags, binder: Binder | null, parameters: (unknown | null)[] | null, culture: CultureInfo | null): unknown | null;
|
|
342
|
+
Invoke(obj: unknown | null, parameters: (unknown | null)[] | null): unknown | null;
|
|
345
343
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
346
344
|
ToString(): string;
|
|
347
345
|
}
|
|
348
346
|
|
|
349
347
|
|
|
350
348
|
export const DynamicMethod: {
|
|
351
|
-
new(name: string, returnType: Type, parameterTypes: Type[]): DynamicMethod;
|
|
352
|
-
new(name: string, returnType: Type, parameterTypes: Type[], restrictedSkipVisibility: boolean): DynamicMethod;
|
|
353
|
-
new(name: string, returnType: Type, parameterTypes: Type[], m: Module): DynamicMethod;
|
|
354
|
-
new(name: string, returnType: Type, parameterTypes: Type[], m: Module, skipVisibility: boolean): DynamicMethod;
|
|
355
|
-
new(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], m: Module, skipVisibility: boolean): DynamicMethod;
|
|
356
|
-
new(name: string, returnType: Type, parameterTypes: Type[], owner: Type): DynamicMethod;
|
|
357
|
-
new(name: string, returnType: Type, parameterTypes: Type[], owner: Type, skipVisibility: boolean): DynamicMethod;
|
|
358
|
-
new(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], owner: Type, skipVisibility: boolean): DynamicMethod;
|
|
349
|
+
new(name: string, returnType: Type | null, parameterTypes: Type[] | null): DynamicMethod;
|
|
350
|
+
new(name: string, returnType: Type | null, parameterTypes: Type[] | null, restrictedSkipVisibility: boolean): DynamicMethod;
|
|
351
|
+
new(name: string, returnType: Type | null, parameterTypes: Type[] | null, m: Module): DynamicMethod;
|
|
352
|
+
new(name: string, returnType: Type | null, parameterTypes: Type[] | null, m: Module, skipVisibility: boolean): DynamicMethod;
|
|
353
|
+
new(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, m: Module, skipVisibility: boolean): DynamicMethod;
|
|
354
|
+
new(name: string, returnType: Type | null, parameterTypes: Type[] | null, owner: Type): DynamicMethod;
|
|
355
|
+
new(name: string, returnType: Type | null, parameterTypes: Type[] | null, owner: Type, skipVisibility: boolean): DynamicMethod;
|
|
356
|
+
new(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, owner: Type, skipVisibility: boolean): DynamicMethod;
|
|
359
357
|
};
|
|
360
358
|
|
|
361
359
|
|
|
@@ -378,8 +376,8 @@ export interface EnumBuilder$instance extends TypeInfo, System_Reflection_Intern
|
|
|
378
376
|
CreateType(): Type;
|
|
379
377
|
CreateTypeInfo(): TypeInfo;
|
|
380
378
|
CreateTypeInfoCore(): TypeInfo;
|
|
381
|
-
DefineLiteral(literalName: string, literalValue: unknown): FieldBuilder;
|
|
382
|
-
DefineLiteralCore(literalName: string, literalValue: unknown): FieldBuilder;
|
|
379
|
+
DefineLiteral(literalName: string, literalValue: unknown | null): FieldBuilder;
|
|
380
|
+
DefineLiteralCore(literalName: string, literalValue: unknown | null): FieldBuilder;
|
|
383
381
|
MakeArrayType(): Type;
|
|
384
382
|
MakeArrayType(rank: int): Type;
|
|
385
383
|
MakeByRefType(): Type;
|
|
@@ -431,8 +429,8 @@ export interface FieldBuilder$instance extends FieldInfo, System_Reflection_Inte
|
|
|
431
429
|
|
|
432
430
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
433
431
|
|
|
434
|
-
SetConstant(defaultValue: unknown): void;
|
|
435
|
-
SetConstantCore(defaultValue: unknown): void;
|
|
432
|
+
SetConstant(defaultValue: unknown | null): void;
|
|
433
|
+
SetConstantCore(defaultValue: unknown | null): void;
|
|
436
434
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
437
435
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
438
436
|
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
@@ -459,15 +457,17 @@ export interface GenericTypeParameterBuilder$instance extends TypeInfo, System_R
|
|
|
459
457
|
readonly __tsonic_iface_System_Reflection_IReflect: never;
|
|
460
458
|
readonly __tsonic_iface_System_Reflection_IReflectableType: never;
|
|
461
459
|
|
|
462
|
-
SetBaseTypeConstraint(baseTypeConstraint: Type): void;
|
|
463
|
-
SetBaseTypeConstraintCore(baseTypeConstraint: Type): void;
|
|
460
|
+
SetBaseTypeConstraint(baseTypeConstraint: Type | null): void;
|
|
461
|
+
SetBaseTypeConstraintCore(baseTypeConstraint: Type | null): void;
|
|
464
462
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
465
463
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
466
464
|
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
467
465
|
SetGenericParameterAttributes(genericParameterAttributes: GenericParameterAttributes): void;
|
|
468
466
|
SetGenericParameterAttributesCore(genericParameterAttributes: GenericParameterAttributes): void;
|
|
469
467
|
SetInterfaceConstraints(...interfaceConstraints: Type[]): void;
|
|
468
|
+
SetInterfaceConstraints(interfaceConstraints: Type[] | null): void;
|
|
470
469
|
SetInterfaceConstraintsCore(...interfaceConstraints: Type[]): void;
|
|
470
|
+
SetInterfaceConstraintsCore(interfaceConstraints: Type[] | null): void;
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
|
|
@@ -488,7 +488,7 @@ export interface ILGenerator$instance {
|
|
|
488
488
|
readonly __tsonic_type_System_Reflection_Emit_ILGenerator: never;
|
|
489
489
|
|
|
490
490
|
readonly ILOffset: int;
|
|
491
|
-
BeginCatchBlock(exceptionType: Type): void;
|
|
491
|
+
BeginCatchBlock(exceptionType: Type | null): void;
|
|
492
492
|
BeginExceptFilterBlock(): void;
|
|
493
493
|
BeginExceptionBlock(): Label;
|
|
494
494
|
BeginFaultBlock(): void;
|
|
@@ -514,9 +514,9 @@ export interface ILGenerator$instance {
|
|
|
514
514
|
Emit(opcode: OpCode, str: string): void;
|
|
515
515
|
Emit(opcode: OpCode, local: LocalBuilder): void;
|
|
516
516
|
Emit(opcode: OpCode, arg: sbyte): void;
|
|
517
|
-
EmitCall(opcode: OpCode, methodInfo: MethodInfo, optionalParameterTypes: Type[]): void;
|
|
518
|
-
EmitCalli(opcode: OpCode, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], optionalParameterTypes: Type[]): void;
|
|
519
|
-
EmitCalli(opcode: OpCode, unmanagedCallConv: CallingConvention, returnType: Type, parameterTypes: Type[]): void;
|
|
517
|
+
EmitCall(opcode: OpCode, methodInfo: MethodInfo, optionalParameterTypes: Type[] | null): void;
|
|
518
|
+
EmitCalli(opcode: OpCode, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, optionalParameterTypes: Type[] | null): void;
|
|
519
|
+
EmitCalli(opcode: OpCode, unmanagedCallConv: CallingConvention, returnType: Type | null, parameterTypes: Type[] | null): void;
|
|
520
520
|
EmitWriteLine(value: string): void;
|
|
521
521
|
EmitWriteLine(localBuilder: LocalBuilder): void;
|
|
522
522
|
EmitWriteLine(fld: FieldInfo): void;
|
|
@@ -560,8 +560,8 @@ export interface MethodBuilder$instance extends MethodInfo, System_Reflection_In
|
|
|
560
560
|
InitLocalsCore: boolean;
|
|
561
561
|
DefineGenericParameters(...names: string[]): GenericTypeParameterBuilder[];
|
|
562
562
|
DefineGenericParametersCore(...names: string[]): GenericTypeParameterBuilder[];
|
|
563
|
-
DefineParameter(position: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
564
|
-
DefineParameterCore(position: int, attributes: ParameterAttributes, strParamName: string): ParameterBuilder;
|
|
563
|
+
DefineParameter(position: int, attributes: ParameterAttributes, strParamName: string | null): ParameterBuilder;
|
|
564
|
+
DefineParameterCore(position: int, attributes: ParameterAttributes, strParamName: string | null): ParameterBuilder;
|
|
565
565
|
GetILGenerator(): ILGenerator;
|
|
566
566
|
GetILGenerator(size: int): ILGenerator;
|
|
567
567
|
GetILGeneratorCore(size: int): ILGenerator;
|
|
@@ -571,9 +571,9 @@ export interface MethodBuilder$instance extends MethodInfo, System_Reflection_In
|
|
|
571
571
|
SetImplementationFlags(attributes: MethodImplAttributes): void;
|
|
572
572
|
SetImplementationFlagsCore(attributes: MethodImplAttributes): void;
|
|
573
573
|
SetParameters(...parameterTypes: Type[]): void;
|
|
574
|
-
SetReturnType(returnType: Type): void;
|
|
575
|
-
SetSignature(returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): void;
|
|
576
|
-
SetSignatureCore(returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): void;
|
|
574
|
+
SetReturnType(returnType: Type | null): void;
|
|
575
|
+
SetSignature(returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): void;
|
|
576
|
+
SetSignatureCore(returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): void;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
579
|
|
|
@@ -601,27 +601,27 @@ export interface ModuleBuilder$instance extends Module, System_Reflection_Intern
|
|
|
601
601
|
DefineDocumentCore(url: string, language?: Guid): ISymbolDocumentWriter;
|
|
602
602
|
DefineEnum(name: string, visibility: TypeAttributes, underlyingType: Type): EnumBuilder;
|
|
603
603
|
DefineEnumCore(name: string, visibility: TypeAttributes, underlyingType: Type): EnumBuilder;
|
|
604
|
-
DefineGlobalMethod(name: string, attributes: MethodAttributes, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
605
|
-
DefineGlobalMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
606
|
-
DefineGlobalMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): MethodBuilder;
|
|
607
|
-
DefineGlobalMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): MethodBuilder;
|
|
604
|
+
DefineGlobalMethod(name: string, attributes: MethodAttributes, returnType: Type | null, parameterTypes: Type[] | null): MethodBuilder;
|
|
605
|
+
DefineGlobalMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null): MethodBuilder;
|
|
606
|
+
DefineGlobalMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, requiredReturnTypeCustomModifiers: Type[] | null, optionalReturnTypeCustomModifiers: Type[] | null, parameterTypes: Type[] | null, requiredParameterTypeCustomModifiers: Type[][] | null, optionalParameterTypeCustomModifiers: Type[][] | null): MethodBuilder;
|
|
607
|
+
DefineGlobalMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, requiredReturnTypeCustomModifiers: Type[] | null, optionalReturnTypeCustomModifiers: Type[] | null, parameterTypes: Type[] | null, requiredParameterTypeCustomModifiers: Type[][] | null, optionalParameterTypeCustomModifiers: Type[][] | null): MethodBuilder;
|
|
608
608
|
DefineInitializedData(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
609
609
|
DefineInitializedDataCore(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
610
|
-
DefinePInvokeMethod(name: string, dllName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
611
|
-
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
612
|
-
DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
610
|
+
DefinePInvokeMethod(name: string, dllName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
611
|
+
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
612
|
+
DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
613
613
|
DefineType(name: string): TypeBuilder;
|
|
614
614
|
DefineType(name: string, attr: TypeAttributes): TypeBuilder;
|
|
615
|
-
DefineType(name: string, attr: TypeAttributes, parent: Type): TypeBuilder;
|
|
616
|
-
DefineType(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[]): TypeBuilder;
|
|
617
|
-
DefineType(name: string, attr: TypeAttributes, parent: Type, typesize: int): TypeBuilder;
|
|
618
|
-
DefineType(name: string, attr: TypeAttributes, parent: Type, packsize: PackingSize): TypeBuilder;
|
|
619
|
-
DefineType(name: string, attr: TypeAttributes, parent: Type, packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
620
|
-
DefineTypeCore(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[], packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
615
|
+
DefineType(name: string, attr: TypeAttributes, parent: Type | null): TypeBuilder;
|
|
616
|
+
DefineType(name: string, attr: TypeAttributes, parent: Type | null, interfaces: Type[] | null): TypeBuilder;
|
|
617
|
+
DefineType(name: string, attr: TypeAttributes, parent: Type | null, typesize: int): TypeBuilder;
|
|
618
|
+
DefineType(name: string, attr: TypeAttributes, parent: Type | null, packsize: PackingSize): TypeBuilder;
|
|
619
|
+
DefineType(name: string, attr: TypeAttributes, parent: Type | null, packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
620
|
+
DefineTypeCore(name: string, attr: TypeAttributes, parent: Type | null, interfaces: Type[] | null, packingSize: PackingSize, typesize: int): TypeBuilder;
|
|
621
621
|
DefineUninitializedData(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
622
622
|
DefineUninitializedDataCore(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
623
|
-
GetArrayMethod(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodInfo;
|
|
624
|
-
GetArrayMethodCore(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodInfo;
|
|
623
|
+
GetArrayMethod(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null): MethodInfo;
|
|
624
|
+
GetArrayMethodCore(arrayClass: Type, methodName: string, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null): MethodInfo;
|
|
625
625
|
GetFieldMetadataToken(field: FieldInfo): int;
|
|
626
626
|
GetMethodMetadataToken(method: MethodInfo): int;
|
|
627
627
|
GetMethodMetadataToken(constructor: ConstructorInfo): int;
|
|
@@ -892,9 +892,9 @@ export interface ParameterBuilder$instance {
|
|
|
892
892
|
readonly IsIn: boolean;
|
|
893
893
|
readonly IsOptional: boolean;
|
|
894
894
|
readonly IsOut: boolean;
|
|
895
|
-
readonly Name: string |
|
|
895
|
+
readonly Name: string | null;
|
|
896
896
|
readonly Position: int;
|
|
897
|
-
SetConstant(defaultValue: unknown): void;
|
|
897
|
+
SetConstant(defaultValue: unknown | null): void;
|
|
898
898
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
899
899
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
900
900
|
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
@@ -913,12 +913,12 @@ export interface PersistedAssemblyBuilder$instance extends AssemblyBuilder$insta
|
|
|
913
913
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
914
914
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
915
915
|
|
|
916
|
-
readonly FullName: string |
|
|
916
|
+
readonly FullName: string | null;
|
|
917
917
|
readonly ManifestModule: Module;
|
|
918
918
|
DefineDynamicModuleCore(name: string): ModuleBuilder;
|
|
919
919
|
GenerateMetadata(ilStream: BlobBuilder, mappedFieldData: BlobBuilder): MetadataBuilder;
|
|
920
920
|
GenerateMetadata(ilStream: BlobBuilder, mappedFieldData: BlobBuilder, pdbBuilder: MetadataBuilder): MetadataBuilder;
|
|
921
|
-
GetDynamicModuleCore(name: string): ModuleBuilder |
|
|
921
|
+
GetDynamicModuleCore(name: string): ModuleBuilder | null;
|
|
922
922
|
GetName(copiedName: boolean): AssemblyName;
|
|
923
923
|
GetName(): AssemblyName;
|
|
924
924
|
Save(stream: Stream): void;
|
|
@@ -928,7 +928,7 @@ export interface PersistedAssemblyBuilder$instance extends AssemblyBuilder$insta
|
|
|
928
928
|
|
|
929
929
|
|
|
930
930
|
export const PersistedAssemblyBuilder: {
|
|
931
|
-
new(name: AssemblyName, coreAssembly: Assembly, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder>): PersistedAssemblyBuilder;
|
|
931
|
+
new(name: AssemblyName, coreAssembly: Assembly, assemblyAttributes: IEnumerable_1<CustomAttributeBuilder> | null): PersistedAssemblyBuilder;
|
|
932
932
|
};
|
|
933
933
|
|
|
934
934
|
|
|
@@ -947,8 +947,8 @@ export interface PropertyBuilder$instance extends PropertyInfo, System_Reflectio
|
|
|
947
947
|
|
|
948
948
|
AddOtherMethod(mdBuilder: MethodBuilder): void;
|
|
949
949
|
AddOtherMethodCore(mdBuilder: MethodBuilder): void;
|
|
950
|
-
SetConstant(defaultValue: unknown): void;
|
|
951
|
-
SetConstantCore(defaultValue: unknown): void;
|
|
950
|
+
SetConstant(defaultValue: unknown | null): void;
|
|
951
|
+
SetConstantCore(defaultValue: unknown | null): void;
|
|
952
952
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
953
953
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
954
954
|
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
@@ -975,10 +975,10 @@ export interface SignatureHelper$instance {
|
|
|
975
975
|
|
|
976
976
|
AddArgument(clsArgument: Type): void;
|
|
977
977
|
AddArgument(argument: Type, pinned: boolean): void;
|
|
978
|
-
AddArgument(argument: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[]): void;
|
|
979
|
-
AddArguments(arguments: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): void;
|
|
978
|
+
AddArgument(argument: Type, requiredCustomModifiers: Type[] | null, optionalCustomModifiers: Type[] | null): void;
|
|
979
|
+
AddArguments(arguments: Type[] | null, requiredCustomModifiers: Type[][] | null, optionalCustomModifiers: Type[][] | null): void;
|
|
980
980
|
AddSentinel(): void;
|
|
981
|
-
Equals(obj: unknown): boolean;
|
|
981
|
+
Equals(obj: unknown | null): boolean;
|
|
982
982
|
GetHashCode(): int;
|
|
983
983
|
GetSignature(): byte[];
|
|
984
984
|
ToString(): string;
|
|
@@ -986,15 +986,15 @@ export interface SignatureHelper$instance {
|
|
|
986
986
|
|
|
987
987
|
|
|
988
988
|
export const SignatureHelper: {
|
|
989
|
-
GetFieldSigHelper(mod: Module): SignatureHelper;
|
|
989
|
+
GetFieldSigHelper(mod: Module | null): SignatureHelper;
|
|
990
990
|
GetLocalVarSigHelper(): SignatureHelper;
|
|
991
|
-
GetLocalVarSigHelper(mod: Module): SignatureHelper;
|
|
992
|
-
GetMethodSigHelper(callingConvention: CallingConventions, returnType: Type): SignatureHelper;
|
|
993
|
-
GetMethodSigHelper(mod: Module, callingConvention: CallingConventions, returnType: Type): SignatureHelper;
|
|
994
|
-
GetMethodSigHelper(mod: Module, returnType: Type, parameterTypes: Type[]): SignatureHelper;
|
|
995
|
-
GetPropertySigHelper(mod: Module, callingConvention: CallingConventions, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): SignatureHelper;
|
|
996
|
-
GetPropertySigHelper(mod: Module, returnType: Type, requiredReturnTypeCustomModifiers: Type[], optionalReturnTypeCustomModifiers: Type[], parameterTypes: Type[], requiredParameterTypeCustomModifiers: Type[][], optionalParameterTypeCustomModifiers: Type[][]): SignatureHelper;
|
|
997
|
-
GetPropertySigHelper(mod: Module, returnType: Type, parameterTypes: Type[]): SignatureHelper;
|
|
991
|
+
GetLocalVarSigHelper(mod: Module | null): SignatureHelper;
|
|
992
|
+
GetMethodSigHelper(callingConvention: CallingConventions, returnType: Type | null): SignatureHelper;
|
|
993
|
+
GetMethodSigHelper(mod: Module | null, callingConvention: CallingConventions, returnType: Type | null): SignatureHelper;
|
|
994
|
+
GetMethodSigHelper(mod: Module | null, returnType: Type | null, parameterTypes: Type[] | null): SignatureHelper;
|
|
995
|
+
GetPropertySigHelper(mod: Module | null, callingConvention: CallingConventions, returnType: Type | null, requiredReturnTypeCustomModifiers: Type[] | null, optionalReturnTypeCustomModifiers: Type[] | null, parameterTypes: Type[] | null, requiredParameterTypeCustomModifiers: Type[][] | null, optionalParameterTypeCustomModifiers: Type[][] | null): SignatureHelper;
|
|
996
|
+
GetPropertySigHelper(mod: Module | null, returnType: Type | null, requiredReturnTypeCustomModifiers: Type[] | null, optionalReturnTypeCustomModifiers: Type[] | null, parameterTypes: Type[] | null, requiredParameterTypeCustomModifiers: Type[][] | null, optionalParameterTypeCustomModifiers: Type[][] | null): SignatureHelper;
|
|
997
|
+
GetPropertySigHelper(mod: Module | null, returnType: Type | null, parameterTypes: Type[] | null): SignatureHelper;
|
|
998
998
|
};
|
|
999
999
|
|
|
1000
1000
|
|
|
@@ -1016,45 +1016,45 @@ export interface TypeBuilder$instance extends TypeInfo, System_Reflection_Intern
|
|
|
1016
1016
|
CreateType(): Type;
|
|
1017
1017
|
CreateTypeInfo(): TypeInfo;
|
|
1018
1018
|
CreateTypeInfoCore(): TypeInfo;
|
|
1019
|
-
DefineConstructor(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[]): ConstructorBuilder;
|
|
1020
|
-
DefineConstructor(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): ConstructorBuilder;
|
|
1021
|
-
DefineConstructorCore(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[], requiredCustomModifiers: Type[][], optionalCustomModifiers: Type[][]): ConstructorBuilder;
|
|
1019
|
+
DefineConstructor(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[] | null): ConstructorBuilder;
|
|
1020
|
+
DefineConstructor(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[] | null, requiredCustomModifiers: Type[][] | null, optionalCustomModifiers: Type[][] | null): ConstructorBuilder;
|
|
1021
|
+
DefineConstructorCore(attributes: MethodAttributes, callingConvention: CallingConventions, parameterTypes: Type[] | null, requiredCustomModifiers: Type[][] | null, optionalCustomModifiers: Type[][] | null): ConstructorBuilder;
|
|
1022
1022
|
DefineDefaultConstructor(attributes: MethodAttributes): ConstructorBuilder;
|
|
1023
1023
|
DefineDefaultConstructorCore(attributes: MethodAttributes): ConstructorBuilder;
|
|
1024
1024
|
DefineEvent(name: string, attributes: EventAttributes, eventtype: Type): EventBuilder;
|
|
1025
1025
|
DefineEventCore(name: string, attributes: EventAttributes, eventtype: Type): EventBuilder;
|
|
1026
1026
|
DefineField(fieldName: string, type: Type, attributes: FieldAttributes): FieldBuilder;
|
|
1027
|
-
DefineField(fieldName: string, type: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[], attributes: FieldAttributes): FieldBuilder;
|
|
1028
|
-
DefineFieldCore(fieldName: string, type: Type, requiredCustomModifiers: Type[], optionalCustomModifiers: Type[], attributes: FieldAttributes): FieldBuilder;
|
|
1027
|
+
DefineField(fieldName: string, type: Type, requiredCustomModifiers: Type[] | null, optionalCustomModifiers: Type[] | null, attributes: FieldAttributes): FieldBuilder;
|
|
1028
|
+
DefineFieldCore(fieldName: string, type: Type, requiredCustomModifiers: Type[] | null, optionalCustomModifiers: Type[] | null, attributes: FieldAttributes): FieldBuilder;
|
|
1029
1029
|
DefineGenericParameters(...names: string[]): GenericTypeParameterBuilder[];
|
|
1030
1030
|
DefineGenericParametersCore(...names: string[]): GenericTypeParameterBuilder[];
|
|
1031
1031
|
DefineInitializedData(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
1032
1032
|
DefineInitializedDataCore(name: string, data: byte[], attributes: FieldAttributes): FieldBuilder;
|
|
1033
1033
|
DefineMethod(name: string, attributes: MethodAttributes): MethodBuilder;
|
|
1034
1034
|
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions): MethodBuilder;
|
|
1035
|
-
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
1036
|
-
DefineMethod(name: string, attributes: MethodAttributes, returnType: Type, parameterTypes: Type[]): MethodBuilder;
|
|
1037
|
-
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): MethodBuilder;
|
|
1038
|
-
DefineMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): MethodBuilder;
|
|
1035
|
+
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null): MethodBuilder;
|
|
1036
|
+
DefineMethod(name: string, attributes: MethodAttributes, returnType: Type | null, parameterTypes: Type[] | null): MethodBuilder;
|
|
1037
|
+
DefineMethod(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): MethodBuilder;
|
|
1038
|
+
DefineMethodCore(name: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): MethodBuilder;
|
|
1039
1039
|
DefineMethodOverride(methodInfoBody: MethodInfo, methodInfoDeclaration: MethodInfo): void;
|
|
1040
1040
|
DefineMethodOverrideCore(methodInfoBody: MethodInfo, methodInfoDeclaration: MethodInfo): void;
|
|
1041
1041
|
DefineNestedType(name: string): TypeBuilder;
|
|
1042
1042
|
DefineNestedType(name: string, attr: TypeAttributes): TypeBuilder;
|
|
1043
|
-
DefineNestedType(name: string, attr: TypeAttributes, parent: Type): TypeBuilder;
|
|
1044
|
-
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[]): TypeBuilder;
|
|
1045
|
-
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, typeSize: int): TypeBuilder;
|
|
1046
|
-
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, packSize: PackingSize): TypeBuilder;
|
|
1047
|
-
DefineNestedType(name: string, attr: TypeAttributes, parent: Type, packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1048
|
-
DefineNestedTypeCore(name: string, attr: TypeAttributes, parent: Type, interfaces: Type[], packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1049
|
-
DefinePInvokeMethod(name: string, dllName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1050
|
-
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1051
|
-
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1052
|
-
DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][], nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1053
|
-
DefineProperty(name: string, attributes: PropertyAttributes, returnType: Type, parameterTypes: Type[]): PropertyBuilder;
|
|
1054
|
-
DefineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, parameterTypes: Type[]): PropertyBuilder;
|
|
1055
|
-
DefineProperty(name: string, attributes: PropertyAttributes, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1056
|
-
DefineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1057
|
-
DefinePropertyCore(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type, returnTypeRequiredCustomModifiers: Type[], returnTypeOptionalCustomModifiers: Type[], parameterTypes: Type[], parameterTypeRequiredCustomModifiers: Type[][], parameterTypeOptionalCustomModifiers: Type[][]): PropertyBuilder;
|
|
1043
|
+
DefineNestedType(name: string, attr: TypeAttributes, parent: Type | null): TypeBuilder;
|
|
1044
|
+
DefineNestedType(name: string, attr: TypeAttributes, parent: Type | null, interfaces: Type[] | null): TypeBuilder;
|
|
1045
|
+
DefineNestedType(name: string, attr: TypeAttributes, parent: Type | null, typeSize: int): TypeBuilder;
|
|
1046
|
+
DefineNestedType(name: string, attr: TypeAttributes, parent: Type | null, packSize: PackingSize): TypeBuilder;
|
|
1047
|
+
DefineNestedType(name: string, attr: TypeAttributes, parent: Type | null, packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1048
|
+
DefineNestedTypeCore(name: string, attr: TypeAttributes, parent: Type | null, interfaces: Type[] | null, packSize: PackingSize, typeSize: int): TypeBuilder;
|
|
1049
|
+
DefinePInvokeMethod(name: string, dllName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1050
|
+
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1051
|
+
DefinePInvokeMethod(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1052
|
+
DefinePInvokeMethodCore(name: string, dllName: string, entryName: string, attributes: MethodAttributes, callingConvention: CallingConventions, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null, nativeCallConv: CallingConvention, nativeCharSet: CharSet): MethodBuilder;
|
|
1053
|
+
DefineProperty(name: string, attributes: PropertyAttributes, returnType: Type | null, parameterTypes: Type[] | null): PropertyBuilder;
|
|
1054
|
+
DefineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type | null, parameterTypes: Type[] | null): PropertyBuilder;
|
|
1055
|
+
DefineProperty(name: string, attributes: PropertyAttributes, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): PropertyBuilder;
|
|
1056
|
+
DefineProperty(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): PropertyBuilder;
|
|
1057
|
+
DefinePropertyCore(name: string, attributes: PropertyAttributes, callingConvention: CallingConventions, returnType: Type | null, returnTypeRequiredCustomModifiers: Type[] | null, returnTypeOptionalCustomModifiers: Type[] | null, parameterTypes: Type[] | null, parameterTypeRequiredCustomModifiers: Type[][] | null, parameterTypeOptionalCustomModifiers: Type[][] | null): PropertyBuilder;
|
|
1058
1058
|
DefineTypeInitializer(): ConstructorBuilder;
|
|
1059
1059
|
DefineTypeInitializerCore(): ConstructorBuilder;
|
|
1060
1060
|
DefineUninitializedData(name: string, size: int, attributes: FieldAttributes): FieldBuilder;
|
|
@@ -1069,8 +1069,8 @@ export interface TypeBuilder$instance extends TypeInfo, System_Reflection_Intern
|
|
|
1069
1069
|
SetCustomAttribute(con: ConstructorInfo, binaryAttribute: byte[]): void;
|
|
1070
1070
|
SetCustomAttribute(customBuilder: CustomAttributeBuilder): void;
|
|
1071
1071
|
SetCustomAttributeCore(con: ConstructorInfo, binaryAttribute: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
1072
|
-
SetParent(parent: Type): void;
|
|
1073
|
-
SetParentCore(parent: Type): void;
|
|
1072
|
+
SetParent(parent: Type | null): void;
|
|
1073
|
+
SetParentCore(parent: Type | null): void;
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
1076
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Reflection.Emit/internal/index.js';
|
|
7
7
|
|
|
8
|
+
// Core type aliases from @tsonic/core
|
|
9
|
+
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';
|
|
10
|
+
|
|
11
|
+
|
|
8
12
|
// Cross-namespace type imports for constraints
|
|
9
13
|
import type { IEnumerable_1, IList_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { ISymbolDocumentWriter } from './System.Diagnostics.SymbolStore/internal/index.js';
|