@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.Metadata.Ecma335
|
|
3
3
|
// Assembly: System.Reflection.Metadata
|
|
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, IReadOnlyList_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -227,7 +225,7 @@ export interface EditAndContinueLogEntry$instance {
|
|
|
227
225
|
|
|
228
226
|
readonly Handle: EntityHandle;
|
|
229
227
|
readonly Operation: EditAndContinueOperation;
|
|
230
|
-
Equals(obj: unknown): boolean;
|
|
228
|
+
Equals(obj: unknown | null): boolean;
|
|
231
229
|
Equals(other: EditAndContinueLogEntry): boolean;
|
|
232
230
|
GetHashCode(): int;
|
|
233
231
|
}
|
|
@@ -321,7 +319,7 @@ export interface InstructionEncoder$instance {
|
|
|
321
319
|
readonly __tsonic_type_System_Reflection_Metadata_Ecma335_InstructionEncoder: never;
|
|
322
320
|
|
|
323
321
|
readonly CodeBuilder: BlobBuilder;
|
|
324
|
-
readonly ControlFlowBuilder: ControlFlowBuilder |
|
|
322
|
+
readonly ControlFlowBuilder: ControlFlowBuilder | null;
|
|
325
323
|
readonly Offset: int;
|
|
326
324
|
Branch(code: ILOpCode, label: LabelHandle): void;
|
|
327
325
|
Call(methodHandle: EntityHandle): void;
|
|
@@ -350,7 +348,7 @@ export interface InstructionEncoder$instance {
|
|
|
350
348
|
|
|
351
349
|
|
|
352
350
|
export const InstructionEncoder: {
|
|
353
|
-
new(codeBuilder: BlobBuilder, controlFlowBuilder: ControlFlowBuilder): InstructionEncoder;
|
|
351
|
+
new(codeBuilder: BlobBuilder, controlFlowBuilder: ControlFlowBuilder | null): InstructionEncoder;
|
|
354
352
|
};
|
|
355
353
|
|
|
356
354
|
|
|
@@ -364,7 +362,7 @@ export interface LabelHandle$instance {
|
|
|
364
362
|
readonly Id: int;
|
|
365
363
|
readonly IsNil: boolean;
|
|
366
364
|
Equals(other: LabelHandle): boolean;
|
|
367
|
-
Equals(obj: unknown): boolean;
|
|
365
|
+
Equals(obj: unknown | null): boolean;
|
|
368
366
|
GetHashCode(): int;
|
|
369
367
|
}
|
|
370
368
|
|
|
@@ -622,9 +620,9 @@ export interface ScalarEncoder$instance {
|
|
|
622
620
|
readonly __tsonic_type_System_Reflection_Metadata_Ecma335_ScalarEncoder: never;
|
|
623
621
|
|
|
624
622
|
readonly Builder: BlobBuilder;
|
|
625
|
-
Constant(value: unknown): void;
|
|
623
|
+
Constant(value: unknown | null): void;
|
|
626
624
|
NullArray(): void;
|
|
627
|
-
SystemType(serializedTypeName: string): void;
|
|
625
|
+
SystemType(serializedTypeName: string | null): void;
|
|
628
626
|
}
|
|
629
627
|
|
|
630
628
|
|
|
@@ -635,7 +633,7 @@ export const ScalarEncoder: {
|
|
|
635
633
|
|
|
636
634
|
export type ScalarEncoder = ScalarEncoder$instance;
|
|
637
635
|
|
|
638
|
-
export interface SignatureDecoder_2$instance<TType, TGenericContext> {
|
|
636
|
+
export interface SignatureDecoder_2$instance<TType extends unknown, TGenericContext extends unknown> {
|
|
639
637
|
readonly __tsonic_type_System_Reflection_Metadata_Ecma335_SignatureDecoder_2: never;
|
|
640
638
|
|
|
641
639
|
DecodeFieldSignature(blobReader: BlobReader): TType;
|
|
@@ -647,11 +645,11 @@ export interface SignatureDecoder_2$instance<TType, TGenericContext> {
|
|
|
647
645
|
|
|
648
646
|
|
|
649
647
|
export const SignatureDecoder_2: {
|
|
650
|
-
new<TType, TGenericContext>(provider: ISignatureTypeProvider_2<TType, TGenericContext>, metadataReader: MetadataReader, genericContext: TGenericContext): SignatureDecoder_2<TType, TGenericContext>;
|
|
648
|
+
new<TType extends unknown, TGenericContext extends unknown>(provider: ISignatureTypeProvider_2<TType, TGenericContext>, metadataReader: MetadataReader, genericContext: TGenericContext): SignatureDecoder_2<TType, TGenericContext>;
|
|
651
649
|
};
|
|
652
650
|
|
|
653
651
|
|
|
654
|
-
export type SignatureDecoder_2<TType, TGenericContext> = SignatureDecoder_2$instance<TType, TGenericContext>;
|
|
652
|
+
export type SignatureDecoder_2<TType extends unknown, TGenericContext extends unknown> = SignatureDecoder_2$instance<TType, TGenericContext>;
|
|
655
653
|
|
|
656
654
|
export interface SignatureTypeEncoder$instance {
|
|
657
655
|
readonly __tsonic_type_System_Reflection_Metadata_Ecma335_SignatureTypeEncoder: never;
|
|
@@ -752,7 +750,7 @@ export interface MetadataAggregator$instance {
|
|
|
752
750
|
|
|
753
751
|
export const MetadataAggregator: {
|
|
754
752
|
new(baseReader: MetadataReader, deltaReaders: IReadOnlyList_1<MetadataReader>): MetadataAggregator;
|
|
755
|
-
new(baseTableRowCounts: IReadOnlyList_1<System_Internal.Int32
|
|
753
|
+
new(baseTableRowCounts: IReadOnlyList_1<System_Internal.Int32> | null, baseHeapSizes: IReadOnlyList_1<System_Internal.Int32> | null, deltaReaders: IReadOnlyList_1<MetadataReader> | null): MetadataAggregator;
|
|
756
754
|
};
|
|
757
755
|
|
|
758
756
|
|
|
@@ -764,7 +762,7 @@ export interface MetadataBuilder$instance {
|
|
|
764
762
|
AddAssembly(name: StringHandle, version: Version, culture: StringHandle, publicKey: BlobHandle, flags: AssemblyFlags, hashAlgorithm: AssemblyHashAlgorithm): AssemblyDefinitionHandle;
|
|
765
763
|
AddAssemblyFile(name: StringHandle, hashValue: BlobHandle, containsMetadata: boolean): AssemblyFileHandle;
|
|
766
764
|
AddAssemblyReference(name: StringHandle, version: Version, culture: StringHandle, publicKeyOrToken: BlobHandle, flags: AssemblyFlags, hashValue: BlobHandle): AssemblyReferenceHandle;
|
|
767
|
-
AddConstant(parent: EntityHandle, value: unknown): ConstantHandle;
|
|
765
|
+
AddConstant(parent: EntityHandle, value: unknown | null): ConstantHandle;
|
|
768
766
|
AddCustomAttribute(parent: EntityHandle, constructor: EntityHandle, value: BlobHandle): CustomAttributeHandle;
|
|
769
767
|
AddCustomDebugInformation(parent: EntityHandle, kind: GuidHandle, value: BlobHandle): CustomDebugInformationHandle;
|
|
770
768
|
AddDeclarativeSecurityAttribute(parent: EntityHandle, action: DeclarativeSecurityAction, permissionSet: BlobHandle): DeclarativeSecurityAttributeHandle;
|
|
@@ -810,7 +808,7 @@ export interface MetadataBuilder$instance {
|
|
|
810
808
|
GetOrAddBlob(value: ImmutableArray_1<System_Internal.Byte>): BlobHandle;
|
|
811
809
|
GetOrAddBlobUTF16(value: string): BlobHandle;
|
|
812
810
|
GetOrAddBlobUTF8(value: string, allowUnpairedSurrogates?: boolean): BlobHandle;
|
|
813
|
-
GetOrAddConstantBlob(value: unknown): BlobHandle;
|
|
811
|
+
GetOrAddConstantBlob(value: unknown | null): BlobHandle;
|
|
814
812
|
GetOrAddDocumentName(value: string): BlobHandle;
|
|
815
813
|
GetOrAddGuid(guid: Guid): GuidHandle;
|
|
816
814
|
GetOrAddString(value: string): StringHandle;
|
|
@@ -842,7 +840,7 @@ export interface MetadataRootBuilder$instance {
|
|
|
842
840
|
|
|
843
841
|
|
|
844
842
|
export const MetadataRootBuilder: {
|
|
845
|
-
new(tablesAndHeaps: MetadataBuilder, metadataVersion: string, suppressValidation: boolean): MetadataRootBuilder;
|
|
843
|
+
new(tablesAndHeaps: MetadataBuilder, metadataVersion: string | null, suppressValidation: boolean): MetadataRootBuilder;
|
|
846
844
|
};
|
|
847
845
|
|
|
848
846
|
|
|
@@ -875,7 +873,7 @@ export interface PortablePdbBuilder$instance {
|
|
|
875
873
|
|
|
876
874
|
|
|
877
875
|
export const PortablePdbBuilder: {
|
|
878
|
-
new(tablesAndHeaps: MetadataBuilder, typeSystemRowCounts: ImmutableArray_1<System_Internal.Int32>, entryPoint: MethodDefinitionHandle, idProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>): PortablePdbBuilder;
|
|
876
|
+
new(tablesAndHeaps: MetadataBuilder, typeSystemRowCounts: ImmutableArray_1<System_Internal.Int32>, entryPoint: MethodDefinitionHandle, idProvider: Func_2<IEnumerable_1<Blob>, BlobContentId> | null): PortablePdbBuilder;
|
|
879
877
|
};
|
|
880
878
|
|
|
881
879
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Reflection.Metadata.Ecma335/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, IReadOnlyList_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { ImmutableArray_1 } from './System.Collections.Immutable/internal/index.js';
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Reflection.Metadata/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 { IComparer_1, IEnumerable_1, IEnumerator_1, IEqualityComparer_1, IReadOnlyCollection_1, IReadOnlyList_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { ImmutableArray_1 } from './System.Collections.Immutable/internal/index.js';
|
|
@@ -29,7 +33,7 @@ export { ReservedBlob_1 as ReservedBlob } from './System.Reflection.Metadata/int
|
|
|
29
33
|
export { CustomAttributeNamedArgument_1 as CustomAttributeNamedArgument } from './System.Reflection.Metadata/internal/index.js';
|
|
30
34
|
export { CustomAttributeTypedArgument_1 as CustomAttributeTypedArgument } from './System.Reflection.Metadata/internal/index.js';
|
|
31
35
|
export { CustomAttributeValue_1 as CustomAttributeValue } from './System.Reflection.Metadata/internal/index.js';
|
|
32
|
-
export type ICustomAttributeTypeProvider<TType> = Internal.ICustomAttributeTypeProvider_1<TType>;
|
|
36
|
+
export type ICustomAttributeTypeProvider<TType extends unknown> = Internal.ICustomAttributeTypeProvider_1<TType>;
|
|
33
37
|
export { ILOpCode as ILOpCode } from './System.Reflection.Metadata/internal/index.js';
|
|
34
38
|
export { ILOpCodeExtensions$instance as ILOpCodeExtensions } from './System.Reflection.Metadata/internal/index.js';
|
|
35
39
|
export { ImageFormatLimitationException as ImageFormatLimitationException } from './System.Reflection.Metadata/internal/index.js';
|
|
@@ -80,11 +84,11 @@ export { CustomAttribute as CustomAttribute } from './System.Reflection.Metadata
|
|
|
80
84
|
export { CustomAttributeNamedArgumentKind as CustomAttributeNamedArgumentKind } from './System.Reflection.Metadata/internal/index.js';
|
|
81
85
|
export { DeclarativeSecurityAttribute as DeclarativeSecurityAttribute } from './System.Reflection.Metadata/internal/index.js';
|
|
82
86
|
export { ArrayShape as ArrayShape } from './System.Reflection.Metadata/internal/index.js';
|
|
83
|
-
export type ISZArrayTypeProvider<TType> = Internal.ISZArrayTypeProvider_1<TType>;
|
|
84
|
-
export type ISignatureTypeProvider<TType, TGenericContext> = Internal.ISignatureTypeProvider_2<TType, TGenericContext>;
|
|
85
|
-
export type ISimpleTypeProvider<TType> = Internal.ISimpleTypeProvider_1<TType>;
|
|
87
|
+
export type ISZArrayTypeProvider<TType extends unknown> = Internal.ISZArrayTypeProvider_1<TType>;
|
|
88
|
+
export type ISignatureTypeProvider<TType extends unknown, TGenericContext extends unknown> = Internal.ISignatureTypeProvider_2<TType, TGenericContext>;
|
|
89
|
+
export type ISimpleTypeProvider<TType extends unknown> = Internal.ISimpleTypeProvider_1<TType>;
|
|
86
90
|
export { SignatureTypeKind as SignatureTypeKind } from './System.Reflection.Metadata/internal/index.js';
|
|
87
|
-
export type IConstructedTypeProvider<TType> = Internal.IConstructedTypeProvider_1<TType>;
|
|
91
|
+
export type IConstructedTypeProvider<TType extends unknown> = Internal.IConstructedTypeProvider_1<TType>;
|
|
88
92
|
export { MethodSignature_1 as MethodSignature } from './System.Reflection.Metadata/internal/index.js';
|
|
89
93
|
export { PrimitiveTypeCode as PrimitiveTypeCode } from './System.Reflection.Metadata/internal/index.js';
|
|
90
94
|
export { EventDefinition as EventDefinition } from './System.Reflection.Metadata/internal/index.js';
|
|
@@ -3851,6 +3851,64 @@
|
|
|
3851
3851
|
}
|
|
3852
3852
|
]
|
|
3853
3853
|
},
|
|
3854
|
+
{
|
|
3855
|
+
"stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection",
|
|
3856
|
+
"clrName": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
|
|
3857
|
+
"assemblyName": "System.Reflection.Metadata",
|
|
3858
|
+
"metadataToken": 0,
|
|
3859
|
+
"kind": "Struct",
|
|
3860
|
+
"accessibility": "Protected",
|
|
3861
|
+
"isAbstract": false,
|
|
3862
|
+
"isSealed": true,
|
|
3863
|
+
"isStatic": false,
|
|
3864
|
+
"arity": 0,
|
|
3865
|
+
"baseType": {
|
|
3866
|
+
"stableId": "System.Private.CoreLib:System.ValueType",
|
|
3867
|
+
"clrName": "System.ValueType"
|
|
3868
|
+
},
|
|
3869
|
+
"methods": [],
|
|
3870
|
+
"properties": [],
|
|
3871
|
+
"fields": [
|
|
3872
|
+
{
|
|
3873
|
+
"stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection::NameSystem.String",
|
|
3874
|
+
"clrName": "Name",
|
|
3875
|
+
"metadataToken": 67109108,
|
|
3876
|
+
"normalizedSignature": "Name|System.String|static=false|const=false",
|
|
3877
|
+
"isStatic": false,
|
|
3878
|
+
"isReadOnly": true,
|
|
3879
|
+
"isLiteral": false,
|
|
3880
|
+
"visibility": "Public",
|
|
3881
|
+
"declaringClrType": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
|
|
3882
|
+
"declaringAssemblyName": "System.Reflection.Metadata"
|
|
3883
|
+
},
|
|
3884
|
+
{
|
|
3885
|
+
"stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection::CharacteristicsSystem.Reflection.PortableExecutable.SectionCharacteristics",
|
|
3886
|
+
"clrName": "Characteristics",
|
|
3887
|
+
"metadataToken": 67109109,
|
|
3888
|
+
"normalizedSignature": "Characteristics|System.Reflection.PortableExecutable.SectionCharacteristics|static=false|const=false",
|
|
3889
|
+
"isStatic": false,
|
|
3890
|
+
"isReadOnly": true,
|
|
3891
|
+
"isLiteral": false,
|
|
3892
|
+
"visibility": "Public",
|
|
3893
|
+
"declaringClrType": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
|
|
3894
|
+
"declaringAssemblyName": "System.Reflection.Metadata"
|
|
3895
|
+
}
|
|
3896
|
+
],
|
|
3897
|
+
"events": [],
|
|
3898
|
+
"constructors": [
|
|
3899
|
+
{
|
|
3900
|
+
"stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEBuilder\u002BSection::.ctor(System.String,System.Reflection.PortableExecutable.SectionCharacteristics):void",
|
|
3901
|
+
"metadataToken": 100663640,
|
|
3902
|
+
"canonicalSignature": "(System.String,System.Reflection.PortableExecutable.SectionCharacteristics):void",
|
|
3903
|
+
"normalizedSignature": "constructor|(System.String,System.Reflection.PortableExecutable.SectionCharacteristics):void|static=false",
|
|
3904
|
+
"isStatic": false,
|
|
3905
|
+
"parameterCount": 2,
|
|
3906
|
+
"visibility": "Public",
|
|
3907
|
+
"declaringClrType": "System.Reflection.PortableExecutable.PEBuilder\u002BSection",
|
|
3908
|
+
"declaringAssemblyName": "System.Reflection.Metadata"
|
|
3909
|
+
}
|
|
3910
|
+
]
|
|
3911
|
+
},
|
|
3854
3912
|
{
|
|
3855
3913
|
"stableId": "System.Reflection.Metadata:System.Reflection.PortableExecutable.PEDirectoriesBuilder",
|
|
3856
3914
|
"clrName": "System.Reflection.PortableExecutable.PEDirectoriesBuilder",
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Reflection.PortableExecutable
|
|
3
3
|
// Assembly: System.Reflection.Metadata
|
|
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 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -366,7 +364,7 @@ export interface DebugDirectoryBuilder$instance {
|
|
|
366
364
|
AddCodeViewEntry(pdbPath: string, pdbContentId: BlobContentId, portablePdbVersion: ushort, age: int): void;
|
|
367
365
|
AddEmbeddedPortablePdbEntry(debugMetadata: BlobBuilder, portablePdbVersion: ushort): void;
|
|
368
366
|
AddEntry(type: DebugDirectoryEntryType, version: uint, stamp: uint): void;
|
|
369
|
-
AddEntry<TData>(type: DebugDirectoryEntryType, version: uint, stamp: uint, data: TData, dataSerializer: Action_2<BlobBuilder, TData>): void;
|
|
367
|
+
AddEntry<TData extends unknown>(type: DebugDirectoryEntryType, version: uint, stamp: uint, data: TData, dataSerializer: Action_2<BlobBuilder, TData>): void;
|
|
370
368
|
AddPdbChecksumEntry(algorithmName: string, checksum: ImmutableArray_1<System_Internal.Byte>): void;
|
|
371
369
|
AddReproducibleEntry(): void;
|
|
372
370
|
}
|
|
@@ -382,7 +380,7 @@ export type DebugDirectoryBuilder = DebugDirectoryBuilder$instance;
|
|
|
382
380
|
export interface ManagedPEBuilder$instance extends PEBuilder {
|
|
383
381
|
readonly __tsonic_type_System_Reflection_PortableExecutable_ManagedPEBuilder: never;
|
|
384
382
|
|
|
385
|
-
CreateSections(): ImmutableArray_1<
|
|
383
|
+
CreateSections(): ImmutableArray_1<PEBuilder_Section>;
|
|
386
384
|
GetDirectories(): PEDirectoriesBuilder;
|
|
387
385
|
SerializeSection(name: string, location: SectionLocation): BlobBuilder;
|
|
388
386
|
Sign(peImage: BlobBuilder, signatureProvider: Func_2<IEnumerable_1<Blob>, byte[]>): void;
|
|
@@ -390,7 +388,7 @@ export interface ManagedPEBuilder$instance extends PEBuilder {
|
|
|
390
388
|
|
|
391
389
|
|
|
392
390
|
export const ManagedPEBuilder: {
|
|
393
|
-
new(header: PEHeaderBuilder, metadataRootBuilder: MetadataRootBuilder, ilStream: BlobBuilder, mappedFieldData: BlobBuilder, managedResources: BlobBuilder, nativeResources: ResourceSectionBuilder, debugDirectoryBuilder: DebugDirectoryBuilder, strongNameSignatureSize: int, entryPoint: MethodDefinitionHandle, flags: CorFlags, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>): ManagedPEBuilder;
|
|
391
|
+
new(header: PEHeaderBuilder, metadataRootBuilder: MetadataRootBuilder, ilStream: BlobBuilder, mappedFieldData: BlobBuilder | null, managedResources: BlobBuilder | null, nativeResources: ResourceSectionBuilder | null, debugDirectoryBuilder: DebugDirectoryBuilder | null, strongNameSignatureSize: int, entryPoint: MethodDefinitionHandle, flags: CorFlags, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId> | null): ManagedPEBuilder;
|
|
394
392
|
readonly ManagedResourcesDataAlignment: int;
|
|
395
393
|
readonly MappedFieldDataAlignment: int;
|
|
396
394
|
};
|
|
@@ -404,19 +402,34 @@ export interface PEBuilder$instance {
|
|
|
404
402
|
readonly Header: PEHeaderBuilder;
|
|
405
403
|
readonly IdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>;
|
|
406
404
|
readonly IsDeterministic: boolean;
|
|
407
|
-
CreateSections(): ImmutableArray_1<
|
|
405
|
+
CreateSections(): ImmutableArray_1<PEBuilder_Section>;
|
|
408
406
|
GetDirectories(): PEDirectoriesBuilder;
|
|
409
407
|
Serialize(builder: BlobBuilder): BlobContentId;
|
|
410
408
|
SerializeSection(name: string, location: SectionLocation): BlobBuilder;
|
|
411
409
|
}
|
|
412
410
|
|
|
413
411
|
|
|
414
|
-
export const PEBuilder: (abstract new(header: PEHeaderBuilder, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId>) => PEBuilder) & {
|
|
412
|
+
export const PEBuilder: (abstract new(header: PEHeaderBuilder, deterministicIdProvider: Func_2<IEnumerable_1<Blob>, BlobContentId> | null) => PEBuilder) & {
|
|
415
413
|
};
|
|
416
414
|
|
|
417
415
|
|
|
418
416
|
export type PEBuilder = PEBuilder$instance;
|
|
419
417
|
|
|
418
|
+
export interface PEBuilder_Section$instance {
|
|
419
|
+
readonly __tsonic_type_System_Reflection_PortableExecutable_PEBuilder_Section: never;
|
|
420
|
+
|
|
421
|
+
readonly Name: string;
|
|
422
|
+
readonly Characteristics: SectionCharacteristics;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
export const PEBuilder_Section: {
|
|
427
|
+
new(name: string, characteristics: SectionCharacteristics): PEBuilder_Section;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
export type PEBuilder_Section = PEBuilder_Section$instance;
|
|
432
|
+
|
|
420
433
|
export interface PEDirectoriesBuilder$instance {
|
|
421
434
|
readonly __tsonic_type_System_Reflection_PortableExecutable_PEDirectoriesBuilder: never;
|
|
422
435
|
|
|
@@ -539,7 +552,7 @@ export interface PEHeaders$instance {
|
|
|
539
552
|
|
|
540
553
|
readonly CoffHeader: CoffHeader;
|
|
541
554
|
readonly CoffHeaderStartOffset: int;
|
|
542
|
-
readonly CorHeader: CorHeader |
|
|
555
|
+
readonly CorHeader: CorHeader | null;
|
|
543
556
|
readonly CorHeaderStartOffset: int;
|
|
544
557
|
readonly IsCoffOnly: boolean;
|
|
545
558
|
readonly IsConsoleApplication: boolean;
|
|
@@ -547,7 +560,7 @@ export interface PEHeaders$instance {
|
|
|
547
560
|
readonly IsExe: boolean;
|
|
548
561
|
readonly MetadataSize: int;
|
|
549
562
|
readonly MetadataStartOffset: int;
|
|
550
|
-
readonly PEHeader: PEHeader |
|
|
563
|
+
readonly PEHeader: PEHeader | null;
|
|
551
564
|
readonly PEHeaderStartOffset: int;
|
|
552
565
|
readonly SectionHeaders: ImmutableArray_1<SectionHeader>;
|
|
553
566
|
GetContainingSectionIndex(relativeVirtualAddress: int): int;
|
|
@@ -582,7 +595,7 @@ export interface PEReader$instance extends System_Internal.IDisposable$instance
|
|
|
582
595
|
ReadDebugDirectory(): ImmutableArray_1<DebugDirectoryEntry>;
|
|
583
596
|
ReadEmbeddedPortablePdbDebugDirectoryData(entry: DebugDirectoryEntry): MetadataReaderProvider;
|
|
584
597
|
ReadPdbChecksumDebugDirectoryData(entry: DebugDirectoryEntry): PdbChecksumDebugDirectoryData;
|
|
585
|
-
TryOpenAssociatedPortablePdb(peImagePath: string, pdbFileStreamProvider: Func_2<System_Internal.String, Stream>, pdbReaderProvider: MetadataReaderProvider, pdbPath: string): boolean;
|
|
598
|
+
TryOpenAssociatedPortablePdb(peImagePath: string, pdbFileStreamProvider: Func_2<System_Internal.String, Stream | null>, pdbReaderProvider: MetadataReaderProvider | null, pdbPath: string | null): boolean;
|
|
586
599
|
}
|
|
587
600
|
|
|
588
601
|
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Reflection.PortableExecutable/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 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { ImmutableArray_1 } from './System.Collections.Immutable/internal/index.js';
|
|
@@ -16,6 +20,7 @@ import type { Action_2, Boolean as ClrBoolean, Byte, Enum, Func_2, Guid, ICompar
|
|
|
16
20
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
17
21
|
export { ManagedPEBuilder as ManagedPEBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
|
|
18
22
|
export { PEBuilder as PEBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
|
|
23
|
+
export { PEBuilder_Section as PEBuilder_Section } from './System.Reflection.PortableExecutable/internal/index.js';
|
|
19
24
|
export { DebugDirectoryBuilder as DebugDirectoryBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
|
|
20
25
|
export { PdbChecksumDebugDirectoryData as PdbChecksumDebugDirectoryData } from './System.Reflection.PortableExecutable/internal/index.js';
|
|
21
26
|
export { PEDirectoriesBuilder as PEDirectoriesBuilder } from './System.Reflection.PortableExecutable/internal/index.js';
|
package/System.Reflection.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Reflection/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 { IDictionary } from './System.Collections/internal/index.js';
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
{
|
|
147
147
|
"stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
|
|
148
148
|
"clrName": "GetEnumerator",
|
|
149
|
-
"metadataToken":
|
|
149
|
+
"metadataToken": 100703850,
|
|
150
150
|
"canonicalSignature": "():System.Collections.IEnumerator",
|
|
151
151
|
"normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
|
|
152
152
|
"emitScope": "ClassSurface",
|
|
@@ -1151,7 +1151,7 @@
|
|
|
1151
1151
|
{
|
|
1152
1152
|
"stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
|
|
1153
1153
|
"clrName": "GetEnumerator",
|
|
1154
|
-
"metadataToken":
|
|
1154
|
+
"metadataToken": 100703850,
|
|
1155
1155
|
"canonicalSignature": "():System.Collections.IEnumerator",
|
|
1156
1156
|
"normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
|
|
1157
1157
|
"emitScope": "ViewOnly",
|
|
@@ -1510,7 +1510,7 @@
|
|
|
1510
1510
|
{
|
|
1511
1511
|
"stableId": "System.Private.CoreLib:System.Collections.IEnumerable::GetEnumerator():System.Collections.IEnumerator",
|
|
1512
1512
|
"clrName": "GetEnumerator",
|
|
1513
|
-
"metadataToken":
|
|
1513
|
+
"metadataToken": 100703850,
|
|
1514
1514
|
"canonicalSignature": "():System.Collections.IEnumerator",
|
|
1515
1515
|
"normalizedSignature": "GetEnumerator|():System.Collections.IEnumerator|static=false",
|
|
1516
1516
|
"emitScope": "ViewOnly",
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Resources
|
|
3
3
|
// Assembly: System.Private.CoreLib, System.Resources.Writer
|
|
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 * as System_Collections_Internal from "../../System.Collections/internal/index.js";
|
|
@@ -42,9 +40,9 @@ export type IResourceReader = IResourceReader$instance;
|
|
|
42
40
|
export interface IResourceWriter$instance extends IDisposable {
|
|
43
41
|
readonly __tsonic_iface_System_Resources_IResourceWriter: never;
|
|
44
42
|
|
|
45
|
-
AddResource(name: string, value: byte[]): void;
|
|
46
|
-
AddResource(name: string, value: unknown): void;
|
|
47
|
-
AddResource(name: string, value: string): void;
|
|
43
|
+
AddResource(name: string, value: byte[] | null): void;
|
|
44
|
+
AddResource(name: string, value: unknown | null): void;
|
|
45
|
+
AddResource(name: string, value: string | null): void;
|
|
48
46
|
Close(): void;
|
|
49
47
|
Dispose(): void;
|
|
50
48
|
}
|
|
@@ -64,8 +62,8 @@ export interface MissingManifestResourceException$instance extends SystemExcepti
|
|
|
64
62
|
|
|
65
63
|
export const MissingManifestResourceException: {
|
|
66
64
|
new(): MissingManifestResourceException;
|
|
67
|
-
new(message: string): MissingManifestResourceException;
|
|
68
|
-
new(message: string, inner: Exception): MissingManifestResourceException;
|
|
65
|
+
new(message: string | null): MissingManifestResourceException;
|
|
66
|
+
new(message: string | null, inner: Exception | null): MissingManifestResourceException;
|
|
69
67
|
};
|
|
70
68
|
|
|
71
69
|
|
|
@@ -81,15 +79,15 @@ export interface MissingSatelliteAssemblyException$instance extends SystemExcept
|
|
|
81
79
|
|
|
82
80
|
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
83
81
|
|
|
84
|
-
readonly CultureName: string |
|
|
82
|
+
readonly CultureName: string | null;
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
|
|
88
86
|
export const MissingSatelliteAssemblyException: {
|
|
89
87
|
new(): MissingSatelliteAssemblyException;
|
|
90
|
-
new(message: string): MissingSatelliteAssemblyException;
|
|
91
|
-
new(message: string, cultureName: string): MissingSatelliteAssemblyException;
|
|
92
|
-
new(message: string, inner: Exception): MissingSatelliteAssemblyException;
|
|
88
|
+
new(message: string | null): MissingSatelliteAssemblyException;
|
|
89
|
+
new(message: string | null, cultureName: string | null): MissingSatelliteAssemblyException;
|
|
90
|
+
new(message: string | null, inner: Exception | null): MissingSatelliteAssemblyException;
|
|
93
91
|
};
|
|
94
92
|
|
|
95
93
|
|
|
@@ -122,28 +120,28 @@ export interface ResourceManager$instance {
|
|
|
122
120
|
readonly BaseName: string;
|
|
123
121
|
IgnoreCase: boolean;
|
|
124
122
|
readonly ResourceSetType: Type;
|
|
125
|
-
GetObject(name: string): unknown |
|
|
126
|
-
GetObject(name: string, culture: CultureInfo): unknown |
|
|
123
|
+
GetObject(name: string): unknown | null;
|
|
124
|
+
GetObject(name: string, culture: CultureInfo | null): unknown | null;
|
|
127
125
|
GetResourceFileName(culture: CultureInfo): string;
|
|
128
|
-
GetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet |
|
|
129
|
-
GetStream(name: string): UnmanagedMemoryStream |
|
|
130
|
-
GetStream(name: string, culture: CultureInfo): UnmanagedMemoryStream |
|
|
131
|
-
GetString(name: string): string |
|
|
132
|
-
GetString(name: string, culture: CultureInfo): string |
|
|
133
|
-
InternalGetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet |
|
|
126
|
+
GetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | null;
|
|
127
|
+
GetStream(name: string): UnmanagedMemoryStream | null;
|
|
128
|
+
GetStream(name: string, culture: CultureInfo | null): UnmanagedMemoryStream | null;
|
|
129
|
+
GetString(name: string): string | null;
|
|
130
|
+
GetString(name: string, culture: CultureInfo | null): string | null;
|
|
131
|
+
InternalGetResourceSet(culture: CultureInfo, createIfNotExists: boolean, tryParents: boolean): ResourceSet | null;
|
|
134
132
|
ReleaseAllResources(): void;
|
|
135
133
|
}
|
|
136
134
|
|
|
137
135
|
|
|
138
136
|
export const ResourceManager: {
|
|
139
137
|
new(baseName: string, assembly: Assembly): ResourceManager;
|
|
140
|
-
new(baseName: string, assembly: Assembly, usingResourceSet: Type): ResourceManager;
|
|
138
|
+
new(baseName: string, assembly: Assembly, usingResourceSet: Type | null): ResourceManager;
|
|
141
139
|
new(resourceSource: Type): ResourceManager;
|
|
142
140
|
readonly MagicNumber: int;
|
|
143
141
|
readonly HeaderVersionNumber: int;
|
|
144
|
-
CreateFileBasedResourceManager(baseName: string, resourceDir: string, usingResourceSet: Type): ResourceManager;
|
|
142
|
+
CreateFileBasedResourceManager(baseName: string, resourceDir: string, usingResourceSet: Type | null): ResourceManager;
|
|
145
143
|
GetNeutralResourcesLanguage(a: Assembly): CultureInfo;
|
|
146
|
-
GetSatelliteContractVersion(a: Assembly): Version |
|
|
144
|
+
GetSatelliteContractVersion(a: Assembly): Version | null;
|
|
147
145
|
};
|
|
148
146
|
|
|
149
147
|
|
|
@@ -190,10 +188,10 @@ export interface ResourceSet$instance {
|
|
|
190
188
|
GetDefaultReader(): Type;
|
|
191
189
|
GetDefaultWriter(): Type;
|
|
192
190
|
GetEnumerator(): IDictionaryEnumerator;
|
|
193
|
-
GetObject(name: string): unknown |
|
|
194
|
-
GetObject(name: string, ignoreCase: boolean): unknown |
|
|
195
|
-
GetString(name: string): string |
|
|
196
|
-
GetString(name: string, ignoreCase: boolean): string |
|
|
191
|
+
GetObject(name: string): unknown | null;
|
|
192
|
+
GetObject(name: string, ignoreCase: boolean): unknown | null;
|
|
193
|
+
GetString(name: string): string | null;
|
|
194
|
+
GetString(name: string, ignoreCase: boolean): string | null;
|
|
197
195
|
ReadResources(): void;
|
|
198
196
|
}
|
|
199
197
|
|
|
@@ -219,13 +217,13 @@ export interface ResourceWriter$instance {
|
|
|
219
217
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
220
218
|
readonly __tsonic_iface_System_Resources_IResourceWriter: never;
|
|
221
219
|
|
|
222
|
-
get TypeNameConverter(): Func_2<Type, System_Internal.String> |
|
|
223
|
-
set TypeNameConverter(value: Func_2<Type, System_Internal.String> |
|
|
224
|
-
AddResource(name: string, value: Stream): void;
|
|
225
|
-
AddResource(name: string, value: string): void;
|
|
226
|
-
AddResource(name: string, value: unknown): void;
|
|
227
|
-
AddResource(name: string, value: Stream, closeAfterWrite?: boolean): void;
|
|
228
|
-
AddResource(name: string, value: byte[]): void;
|
|
220
|
+
get TypeNameConverter(): Func_2<Type, System_Internal.String> | null;
|
|
221
|
+
set TypeNameConverter(value: Func_2<Type, System_Internal.String> | null);
|
|
222
|
+
AddResource(name: string, value: Stream | null): void;
|
|
223
|
+
AddResource(name: string, value: string | null): void;
|
|
224
|
+
AddResource(name: string, value: unknown | null): void;
|
|
225
|
+
AddResource(name: string, value: Stream | null, closeAfterWrite?: boolean): void;
|
|
226
|
+
AddResource(name: string, value: byte[] | null): void;
|
|
229
227
|
AddResourceData(name: string, typeName: string, serializedData: byte[]): void;
|
|
230
228
|
Close(): void;
|
|
231
229
|
Dispose(): void;
|
package/System.Resources.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Resources/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 { IDictionary, IDictionaryEnumerator, IEnumerable, IEnumerator } from './System.Collections/internal/index.js';
|
|
10
14
|
import type { CultureInfo } from './System.Globalization/internal/index.js';
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
{
|
|
44
44
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLargeObjectHeapCompactionMode::value__System.Int32",
|
|
45
45
|
"clrName": "value__",
|
|
46
|
-
"metadataToken":
|
|
46
|
+
"metadataToken": 67113214,
|
|
47
47
|
"normalizedSignature": "value__|System.Int32|static=false|const=false",
|
|
48
48
|
"isStatic": false,
|
|
49
49
|
"isReadOnly": false,
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
{
|
|
56
56
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLargeObjectHeapCompactionMode::DefaultSystem.Runtime.GCLargeObjectHeapCompactionMode",
|
|
57
57
|
"clrName": "Default",
|
|
58
|
-
"metadataToken":
|
|
58
|
+
"metadataToken": 67113215,
|
|
59
59
|
"normalizedSignature": "Default|System.Runtime.GCLargeObjectHeapCompactionMode|static=true|const=true",
|
|
60
60
|
"isStatic": true,
|
|
61
61
|
"isReadOnly": false,
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
{
|
|
68
68
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLargeObjectHeapCompactionMode::CompactOnceSystem.Runtime.GCLargeObjectHeapCompactionMode",
|
|
69
69
|
"clrName": "CompactOnce",
|
|
70
|
-
"metadataToken":
|
|
70
|
+
"metadataToken": 67113216,
|
|
71
71
|
"normalizedSignature": "CompactOnce|System.Runtime.GCLargeObjectHeapCompactionMode|static=true|const=true",
|
|
72
72
|
"isStatic": true,
|
|
73
73
|
"isReadOnly": false,
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
{
|
|
120
120
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLatencyMode::value__System.Int32",
|
|
121
121
|
"clrName": "value__",
|
|
122
|
-
"metadataToken":
|
|
122
|
+
"metadataToken": 67113217,
|
|
123
123
|
"normalizedSignature": "value__|System.Int32|static=false|const=false",
|
|
124
124
|
"isStatic": false,
|
|
125
125
|
"isReadOnly": false,
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
{
|
|
132
132
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLatencyMode::BatchSystem.Runtime.GCLatencyMode",
|
|
133
133
|
"clrName": "Batch",
|
|
134
|
-
"metadataToken":
|
|
134
|
+
"metadataToken": 67113218,
|
|
135
135
|
"normalizedSignature": "Batch|System.Runtime.GCLatencyMode|static=true|const=true",
|
|
136
136
|
"isStatic": true,
|
|
137
137
|
"isReadOnly": false,
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
{
|
|
144
144
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLatencyMode::InteractiveSystem.Runtime.GCLatencyMode",
|
|
145
145
|
"clrName": "Interactive",
|
|
146
|
-
"metadataToken":
|
|
146
|
+
"metadataToken": 67113219,
|
|
147
147
|
"normalizedSignature": "Interactive|System.Runtime.GCLatencyMode|static=true|const=true",
|
|
148
148
|
"isStatic": true,
|
|
149
149
|
"isReadOnly": false,
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
{
|
|
156
156
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLatencyMode::LowLatencySystem.Runtime.GCLatencyMode",
|
|
157
157
|
"clrName": "LowLatency",
|
|
158
|
-
"metadataToken":
|
|
158
|
+
"metadataToken": 67113220,
|
|
159
159
|
"normalizedSignature": "LowLatency|System.Runtime.GCLatencyMode|static=true|const=true",
|
|
160
160
|
"isStatic": true,
|
|
161
161
|
"isReadOnly": false,
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
{
|
|
168
168
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLatencyMode::SustainedLowLatencySystem.Runtime.GCLatencyMode",
|
|
169
169
|
"clrName": "SustainedLowLatency",
|
|
170
|
-
"metadataToken":
|
|
170
|
+
"metadataToken": 67113221,
|
|
171
171
|
"normalizedSignature": "SustainedLowLatency|System.Runtime.GCLatencyMode|static=true|const=true",
|
|
172
172
|
"isStatic": true,
|
|
173
173
|
"isReadOnly": false,
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
{
|
|
180
180
|
"stableId": "System.Private.CoreLib:System.Runtime.GCLatencyMode::NoGCRegionSystem.Runtime.GCLatencyMode",
|
|
181
181
|
"clrName": "NoGCRegion",
|
|
182
|
-
"metadataToken":
|
|
182
|
+
"metadataToken": 67113222,
|
|
183
183
|
"normalizedSignature": "NoGCRegion|System.Runtime.GCLatencyMode|static=true|const=true",
|
|
184
184
|
"isStatic": true,
|
|
185
185
|
"isReadOnly": false,
|