@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.Diagnostics.Tracing
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
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 { IDictionary_2, IEnumerable_1 } from "../../System.Collections.Generic/internal/index.js";
|
|
@@ -16,7 +14,7 @@ import type { MethodBase } from "../../System.Reflection/internal/index.js";
|
|
|
16
14
|
import * as System_Runtime_Serialization_Internal from "../../System.Runtime.Serialization/internal/index.js";
|
|
17
15
|
import type { ISerializable, SerializationInfo, StreamingContext } from "../../System.Runtime.Serialization/internal/index.js";
|
|
18
16
|
import * as System_Internal from "../../System/internal/index.js";
|
|
19
|
-
import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
|
|
17
|
+
import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from "../../System/internal/index.js";
|
|
20
18
|
|
|
21
19
|
export enum EventActivityOptions {
|
|
22
20
|
None = 0,
|
|
@@ -125,19 +123,6 @@ export enum EventTask {
|
|
|
125
123
|
}
|
|
126
124
|
|
|
127
125
|
|
|
128
|
-
export interface EventSource_EventSourcePrimitive$instance {
|
|
129
|
-
readonly __tsonic_type_System_Diagnostics_Tracing_EventSource_EventSourcePrimitive: never;
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
export const EventSource_EventSourcePrimitive: {
|
|
135
|
-
new(): EventSource_EventSourcePrimitive;
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
export type EventSource_EventSourcePrimitive = EventSource_EventSourcePrimitive$instance;
|
|
140
|
-
|
|
141
126
|
export interface EventSourceOptions$instance {
|
|
142
127
|
readonly __tsonic_type_System_Diagnostics_Tracing_EventSourceOptions: never;
|
|
143
128
|
|
|
@@ -165,7 +150,7 @@ export interface DiagnosticCounter$instance extends System_Internal.IDisposable$
|
|
|
165
150
|
DisplayUnits: string;
|
|
166
151
|
readonly EventSource: EventSource;
|
|
167
152
|
readonly Name: string;
|
|
168
|
-
AddMetadata(key: string, value: string): void;
|
|
153
|
+
AddMetadata(key: string, value: string | null): void;
|
|
169
154
|
Dispose(): void;
|
|
170
155
|
}
|
|
171
156
|
|
|
@@ -189,8 +174,8 @@ export interface EventAttribute$instance extends Attribute {
|
|
|
189
174
|
readonly EventId: int;
|
|
190
175
|
Keywords: EventKeywords;
|
|
191
176
|
Level: EventLevel;
|
|
192
|
-
get Message(): string |
|
|
193
|
-
set Message(value: string |
|
|
177
|
+
get Message(): string | null;
|
|
178
|
+
set Message(value: string | null);
|
|
194
179
|
Opcode: EventOpcode;
|
|
195
180
|
Tags: EventTags;
|
|
196
181
|
Task: EventTask;
|
|
@@ -208,8 +193,8 @@ export type EventAttribute = EventAttribute$instance;
|
|
|
208
193
|
export interface EventCommandEventArgs$instance extends EventArgs {
|
|
209
194
|
readonly __tsonic_type_System_Diagnostics_Tracing_EventCommandEventArgs: never;
|
|
210
195
|
|
|
211
|
-
get Arguments(): IDictionary_2<System_Internal.String, string |
|
|
212
|
-
set Arguments(value: IDictionary_2<System_Internal.String, string |
|
|
196
|
+
get Arguments(): IDictionary_2<System_Internal.String, string | null> | null;
|
|
197
|
+
set Arguments(value: IDictionary_2<System_Internal.String, string | null> | null);
|
|
213
198
|
Command: EventCommand;
|
|
214
199
|
DisableEvent(eventId: int): boolean;
|
|
215
200
|
EnableEvent(eventId: int): boolean;
|
|
@@ -248,8 +233,8 @@ export type EventCounter = EventCounter$instance & __EventCounter$views;
|
|
|
248
233
|
export interface EventDataAttribute$instance extends Attribute {
|
|
249
234
|
readonly __tsonic_type_System_Diagnostics_Tracing_EventDataAttribute: never;
|
|
250
235
|
|
|
251
|
-
get Name(): string |
|
|
252
|
-
set Name(value: string |
|
|
236
|
+
get Name(): string | null;
|
|
237
|
+
set Name(value: string | null);
|
|
253
238
|
}
|
|
254
239
|
|
|
255
240
|
|
|
@@ -297,7 +282,7 @@ export interface EventListener$instance extends System_Internal.IDisposable$inst
|
|
|
297
282
|
Dispose(): void;
|
|
298
283
|
EnableEvents(eventSource: EventSource, level: EventLevel): void;
|
|
299
284
|
EnableEvents(eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords): void;
|
|
300
|
-
EnableEvents(eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords, arguments: IDictionary_2<System_Internal.String,
|
|
285
|
+
EnableEvents(eventSource: EventSource, level: EventLevel, matchAnyKeyword: EventKeywords, arguments: IDictionary_2<System_Internal.String, string | null> | null): void;
|
|
301
286
|
OnEventSourceCreated(eventSource: EventSource): void;
|
|
302
287
|
OnEventWritten(eventData: EventWrittenEventArgs): void;
|
|
303
288
|
}
|
|
@@ -320,39 +305,39 @@ export interface EventSource$instance {
|
|
|
320
305
|
|
|
321
306
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
322
307
|
|
|
323
|
-
readonly ConstructionException: Exception |
|
|
308
|
+
readonly ConstructionException: Exception | null;
|
|
324
309
|
readonly Guid: Guid;
|
|
325
310
|
readonly Name: string;
|
|
326
311
|
readonly Settings: EventSourceSettings;
|
|
327
312
|
Dispose(): void;
|
|
328
313
|
Dispose(disposing: boolean): void;
|
|
329
314
|
Finalize(): void;
|
|
330
|
-
GetTrait(key: string): string |
|
|
315
|
+
GetTrait(key: string): string | null;
|
|
331
316
|
IsEnabled(): boolean;
|
|
332
317
|
IsEnabled(level: EventLevel, keywords: EventKeywords): boolean;
|
|
333
318
|
IsEnabled(level: EventLevel, keywords: EventKeywords, channel: EventChannel): boolean;
|
|
334
319
|
OnEventCommand(command: EventCommandEventArgs): void;
|
|
335
320
|
ToString(): string;
|
|
336
|
-
Write(eventName: string): void;
|
|
337
|
-
Write(eventName: string, options: EventSourceOptions): void;
|
|
338
|
-
Write<T>(eventName: string, data: T): void;
|
|
339
|
-
Write<T>(eventName: string, options: EventSourceOptions, data: T): void;
|
|
340
|
-
Write<T>(eventName: string, options: EventSourceOptions, data: T): void;
|
|
341
|
-
Write<T>(eventName: string, options: EventSourceOptions, activityId: Guid, relatedActivityId: Guid, data: T): void;
|
|
321
|
+
Write(eventName: string | null): void;
|
|
322
|
+
Write(eventName: string | null, options: EventSourceOptions): void;
|
|
323
|
+
Write<T extends unknown>(eventName: string | null, data: T): void;
|
|
324
|
+
Write<T extends unknown>(eventName: string | null, options: EventSourceOptions, data: T): void;
|
|
325
|
+
Write<T extends unknown>(eventName: string | null, options: EventSourceOptions, data: T): void;
|
|
326
|
+
Write<T extends unknown>(eventName: string | null, options: EventSourceOptions, activityId: Guid, relatedActivityId: Guid, data: T): void;
|
|
342
327
|
}
|
|
343
328
|
|
|
344
329
|
|
|
345
330
|
export const EventSource: {
|
|
346
331
|
new(eventSourceName: string): EventSource;
|
|
347
332
|
new(eventSourceName: string, config: EventSourceSettings): EventSource;
|
|
348
|
-
new(eventSourceName: string, config: EventSourceSettings, traits: string[]): EventSource;
|
|
333
|
+
new(eventSourceName: string, config: EventSourceSettings, traits: string[] | null): EventSource;
|
|
349
334
|
readonly CurrentThreadActivityId: Guid;
|
|
350
|
-
GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string, flags: EventManifestOptions): string |
|
|
351
|
-
GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string): string |
|
|
335
|
+
GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string | null, flags: EventManifestOptions): string | null;
|
|
336
|
+
GenerateManifest(eventSourceType: Type, assemblyPathToIncludeInManifest: string | null): string | null;
|
|
352
337
|
GetGuid(eventSourceType: Type): Guid;
|
|
353
338
|
GetName(eventSourceType: Type): string;
|
|
354
339
|
GetSources(): IEnumerable_1<EventSource>;
|
|
355
|
-
SendCommand(eventSource: EventSource, command: EventCommand, commandArguments: IDictionary_2<System_Internal.String,
|
|
340
|
+
SendCommand(eventSource: EventSource, command: EventCommand, commandArguments: IDictionary_2<System_Internal.String, string | null> | null): void;
|
|
356
341
|
SetCurrentThreadActivityId(activityId: Guid, oldActivityThatWillContinue: Guid): void;
|
|
357
342
|
SetCurrentThreadActivityId(activityId: Guid): void;
|
|
358
343
|
};
|
|
@@ -365,15 +350,43 @@ export interface __EventSource$views {
|
|
|
365
350
|
export type EventSource = EventSource$instance & __EventSource$views;
|
|
366
351
|
|
|
367
352
|
|
|
353
|
+
export interface EventSource_EventData$instance {
|
|
354
|
+
readonly __tsonic_type_System_Diagnostics_Tracing_EventSource_EventData: never;
|
|
355
|
+
|
|
356
|
+
DataPointer: nint;
|
|
357
|
+
Size: int;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
export const EventSource_EventData: {
|
|
362
|
+
new(): EventSource_EventData;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
export type EventSource_EventData = EventSource_EventData$instance;
|
|
367
|
+
|
|
368
|
+
export interface EventSource_EventSourcePrimitive$instance {
|
|
369
|
+
readonly __tsonic_type_System_Diagnostics_Tracing_EventSource_EventSourcePrimitive: never;
|
|
370
|
+
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
export const EventSource_EventSourcePrimitive: {
|
|
375
|
+
new(): EventSource_EventSourcePrimitive;
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
export type EventSource_EventSourcePrimitive = EventSource_EventSourcePrimitive$instance;
|
|
380
|
+
|
|
368
381
|
export interface EventSourceAttribute$instance extends Attribute {
|
|
369
382
|
readonly __tsonic_type_System_Diagnostics_Tracing_EventSourceAttribute: never;
|
|
370
383
|
|
|
371
|
-
get Guid(): string |
|
|
372
|
-
set Guid(value: string |
|
|
373
|
-
get LocalizationResources(): string |
|
|
374
|
-
set LocalizationResources(value: string |
|
|
375
|
-
get Name(): string |
|
|
376
|
-
set Name(value: string |
|
|
384
|
+
get Guid(): string | null;
|
|
385
|
+
set Guid(value: string | null);
|
|
386
|
+
get LocalizationResources(): string | null;
|
|
387
|
+
set LocalizationResources(value: string | null);
|
|
388
|
+
get Name(): string | null;
|
|
389
|
+
set Name(value: string | null);
|
|
377
390
|
}
|
|
378
391
|
|
|
379
392
|
|
|
@@ -387,8 +400,8 @@ export type EventSourceAttribute = EventSourceAttribute$instance;
|
|
|
387
400
|
export interface EventSourceCreatedEventArgs$instance extends EventArgs {
|
|
388
401
|
readonly __tsonic_type_System_Diagnostics_Tracing_EventSourceCreatedEventArgs: never;
|
|
389
402
|
|
|
390
|
-
get EventSource(): EventSource |
|
|
391
|
-
set EventSource(value: EventSource |
|
|
403
|
+
get EventSource(): EventSource | null;
|
|
404
|
+
set EventSource(value: EventSource | null);
|
|
392
405
|
}
|
|
393
406
|
|
|
394
407
|
|
|
@@ -409,8 +422,8 @@ export interface EventSourceException$instance extends Exception, System_Runtime
|
|
|
409
422
|
|
|
410
423
|
export const EventSourceException: {
|
|
411
424
|
new(): EventSourceException;
|
|
412
|
-
new(message: string): EventSourceException;
|
|
413
|
-
new(message: string, innerException: Exception): EventSourceException;
|
|
425
|
+
new(message: string | null): EventSourceException;
|
|
426
|
+
new(message: string | null, innerException: Exception | null): EventSourceException;
|
|
414
427
|
};
|
|
415
428
|
|
|
416
429
|
|
|
@@ -427,19 +440,19 @@ export interface EventWrittenEventArgs$instance extends EventArgs {
|
|
|
427
440
|
readonly ActivityId: Guid;
|
|
428
441
|
readonly Channel: EventChannel;
|
|
429
442
|
readonly EventId: int;
|
|
430
|
-
get EventName(): string |
|
|
431
|
-
set EventName(value: string |
|
|
443
|
+
get EventName(): string | null;
|
|
444
|
+
set EventName(value: string | null);
|
|
432
445
|
readonly EventSource: EventSource;
|
|
433
446
|
Keywords: EventKeywords;
|
|
434
447
|
Level: EventLevel;
|
|
435
|
-
get Message(): string |
|
|
436
|
-
set Message(value: string |
|
|
448
|
+
get Message(): string | null;
|
|
449
|
+
set Message(value: string | null);
|
|
437
450
|
Opcode: EventOpcode;
|
|
438
451
|
OSThreadId: long;
|
|
439
|
-
get Payload(): ReadOnlyCollection_1<unknown |
|
|
440
|
-
set Payload(value: ReadOnlyCollection_1<unknown |
|
|
441
|
-
get PayloadNames(): ReadOnlyCollection_1<System_Internal.String> |
|
|
442
|
-
set PayloadNames(value: ReadOnlyCollection_1<System_Internal.String> |
|
|
452
|
+
get Payload(): ReadOnlyCollection_1<unknown | null> | null;
|
|
453
|
+
set Payload(value: ReadOnlyCollection_1<unknown | null> | null);
|
|
454
|
+
get PayloadNames(): ReadOnlyCollection_1<System_Internal.String> | null;
|
|
455
|
+
set PayloadNames(value: ReadOnlyCollection_1<System_Internal.String> | null);
|
|
443
456
|
readonly RelatedActivityId: Guid;
|
|
444
457
|
Tags: EventTags;
|
|
445
458
|
readonly Task: EventTask;
|
|
@@ -5,13 +5,17 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Diagnostics.Tracing/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_2, IEnumerable_1 } from './System.Collections.Generic/internal/index.js';
|
|
10
14
|
import type { ReadOnlyCollection_1 } from './System.Collections.ObjectModel/internal/index.js';
|
|
11
15
|
import type { IDictionary } from './System.Collections/internal/index.js';
|
|
12
16
|
import type { MethodBase } from './System.Reflection/internal/index.js';
|
|
13
17
|
import type { ISerializable, SerializationInfo, StreamingContext } from './System.Runtime.Serialization/internal/index.js';
|
|
14
|
-
import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from './System/internal/index.js';
|
|
18
|
+
import type { Attribute, Boolean as ClrBoolean, Byte, DateTime, Double, Enum, EventArgs, EventHandler_1, Exception, Func_1, Guid, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, Int64, IntPtr, ISpanFormattable, Object as ClrObject, Single, String as ClrString, TimeSpan, Type, TypeCode, ValueType, Void } from './System/internal/index.js';
|
|
15
19
|
|
|
16
20
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
17
21
|
export { DiagnosticCounter as DiagnosticCounter } from './System.Diagnostics.Tracing/internal/index.js';
|
|
@@ -19,6 +23,7 @@ export { EventActivityOptions as EventActivityOptions } from './System.Diagnosti
|
|
|
19
23
|
export { EventCounter as EventCounter } from './System.Diagnostics.Tracing/internal/index.js';
|
|
20
24
|
export { EventSource as EventSource } from './System.Diagnostics.Tracing/internal/index.js';
|
|
21
25
|
export { EventSource_EventSourcePrimitive as EventSource_EventSourcePrimitive } from './System.Diagnostics.Tracing/internal/index.js';
|
|
26
|
+
export { EventSource_EventData as EventSource_EventData } from './System.Diagnostics.Tracing/internal/index.js';
|
|
22
27
|
export { EventSourceSettings as EventSourceSettings } from './System.Diagnostics.Tracing/internal/index.js';
|
|
23
28
|
export { EventListener as EventListener } from './System.Diagnostics.Tracing/internal/index.js';
|
|
24
29
|
export { EventCommandEventArgs as EventCommandEventArgs } from './System.Diagnostics.Tracing/internal/index.js';
|
package/System.Diagnostics.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Diagnostics/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 { SafeProcessHandle } from './Microsoft.Win32.SafeHandles/internal/index.js';
|
|
10
14
|
import type { ICollection_1, IDictionary_2, IEnumerable_1, IEnumerator_1, IList_1, IReadOnlyCollection_1, IReadOnlyList_1, KeyValuePair_2 } from './System.Collections.Generic/internal/index.js';
|
|
@@ -38,7 +42,7 @@ export { ActivitySamplingResult as ActivitySamplingResult } from './System.Diagn
|
|
|
38
42
|
export { ActivityEvent as ActivityEvent } from './System.Diagnostics/internal/index.js';
|
|
39
43
|
export { ActivityKind as ActivityKind } from './System.Diagnostics/internal/index.js';
|
|
40
44
|
export { ActivityLink as ActivityLink } from './System.Diagnostics/internal/index.js';
|
|
41
|
-
export type SampleActivity<T> = Internal.SampleActivity_1<T>;
|
|
45
|
+
export type SampleActivity<T extends unknown> = Internal.SampleActivity_1<T>;
|
|
42
46
|
export type ExceptionRecorder = Internal.ExceptionRecorder;
|
|
43
47
|
export { ActivityListener as ActivityListener } from './System.Diagnostics/internal/index.js';
|
|
44
48
|
export { ActivitySource as ActivitySource } from './System.Diagnostics/internal/index.js';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Drawing
|
|
3
3
|
// Assembly: System.ComponentModel.TypeConverter, System.Drawing.Primitives
|
|
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
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { ICollection, IDictionary } from "../../System.Collections/internal/index.js";
|
|
@@ -207,7 +208,7 @@ export interface Color$instance {
|
|
|
207
208
|
readonly IsSystemColor: boolean;
|
|
208
209
|
readonly Name: string;
|
|
209
210
|
readonly R: byte;
|
|
210
|
-
Equals(obj: unknown): boolean;
|
|
211
|
+
Equals(obj: unknown | null): boolean;
|
|
211
212
|
Equals(other: Color): boolean;
|
|
212
213
|
GetBrightness(): float;
|
|
213
214
|
GetHashCode(): int;
|
|
@@ -391,7 +392,7 @@ export interface Point$instance {
|
|
|
391
392
|
readonly IsEmpty: boolean;
|
|
392
393
|
X: int;
|
|
393
394
|
Y: int;
|
|
394
|
-
Equals(obj: unknown): boolean;
|
|
395
|
+
Equals(obj: unknown | null): boolean;
|
|
395
396
|
Equals(other: Point): boolean;
|
|
396
397
|
GetHashCode(): int;
|
|
397
398
|
Offset(dx: int, dy: int): void;
|
|
@@ -431,7 +432,7 @@ export interface PointF$instance {
|
|
|
431
432
|
readonly IsEmpty: boolean;
|
|
432
433
|
X: float;
|
|
433
434
|
Y: float;
|
|
434
|
-
Equals(obj: unknown): boolean;
|
|
435
|
+
Equals(obj: unknown | null): boolean;
|
|
435
436
|
Equals(other: PointF): boolean;
|
|
436
437
|
GetHashCode(): int;
|
|
437
438
|
ToString(): string;
|
|
@@ -479,7 +480,7 @@ export interface Rectangle$instance {
|
|
|
479
480
|
Contains(x: int, y: int): boolean;
|
|
480
481
|
Contains(pt: Point): boolean;
|
|
481
482
|
Contains(rect: Rectangle): boolean;
|
|
482
|
-
Equals(obj: unknown): boolean;
|
|
483
|
+
Equals(obj: unknown | null): boolean;
|
|
483
484
|
Equals(other: Rectangle): boolean;
|
|
484
485
|
GetHashCode(): int;
|
|
485
486
|
Inflate(width: int, height: int): void;
|
|
@@ -535,7 +536,7 @@ export interface RectangleF$instance {
|
|
|
535
536
|
Contains(x: float, y: float): boolean;
|
|
536
537
|
Contains(pt: PointF): boolean;
|
|
537
538
|
Contains(rect: RectangleF): boolean;
|
|
538
|
-
Equals(obj: unknown): boolean;
|
|
539
|
+
Equals(obj: unknown | null): boolean;
|
|
539
540
|
Equals(other: RectangleF): boolean;
|
|
540
541
|
GetHashCode(): int;
|
|
541
542
|
Inflate(x: float, y: float): void;
|
|
@@ -579,7 +580,7 @@ export interface Size$instance {
|
|
|
579
580
|
Height: int;
|
|
580
581
|
readonly IsEmpty: boolean;
|
|
581
582
|
Width: int;
|
|
582
|
-
Equals(obj: unknown): boolean;
|
|
583
|
+
Equals(obj: unknown | null): boolean;
|
|
583
584
|
Equals(other: Size): boolean;
|
|
584
585
|
GetHashCode(): int;
|
|
585
586
|
ToString(): string;
|
|
@@ -616,7 +617,7 @@ export interface SizeF$instance {
|
|
|
616
617
|
Height: float;
|
|
617
618
|
readonly IsEmpty: boolean;
|
|
618
619
|
Width: float;
|
|
619
|
-
Equals(obj: unknown): boolean;
|
|
620
|
+
Equals(obj: unknown | null): boolean;
|
|
620
621
|
Equals(other: SizeF): boolean;
|
|
621
622
|
GetHashCode(): int;
|
|
622
623
|
ToPointF(): PointF;
|
|
@@ -650,17 +651,17 @@ export type SizeF = SizeF$instance & __SizeF$views;
|
|
|
650
651
|
export interface ColorConverter$instance extends TypeConverter {
|
|
651
652
|
readonly __tsonic_type_System_Drawing_ColorConverter: never;
|
|
652
653
|
|
|
653
|
-
CanConvertFrom(context: ITypeDescriptorContext, sourceType: Type): boolean;
|
|
654
|
+
CanConvertFrom(context: ITypeDescriptorContext | null, sourceType: Type): boolean;
|
|
654
655
|
CanConvertFrom(sourceType: Type): boolean;
|
|
655
|
-
CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
656
|
-
CanConvertTo(destinationType: Type): boolean;
|
|
657
|
-
ConvertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown |
|
|
658
|
-
ConvertFrom(value: unknown): unknown |
|
|
659
|
-
ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown |
|
|
660
|
-
ConvertTo(value: unknown, destinationType: Type): unknown |
|
|
661
|
-
GetStandardValues(context: ITypeDescriptorContext): TypeConverter_StandardValuesCollection;
|
|
662
|
-
GetStandardValues(): ICollection |
|
|
663
|
-
GetStandardValuesSupported(context: ITypeDescriptorContext): boolean;
|
|
656
|
+
CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
|
|
657
|
+
CanConvertTo(destinationType: Type | null): boolean;
|
|
658
|
+
ConvertFrom(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown): unknown | null;
|
|
659
|
+
ConvertFrom(value: unknown): unknown | null;
|
|
660
|
+
ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown | null, destinationType: Type): unknown | null;
|
|
661
|
+
ConvertTo(value: unknown | null, destinationType: Type): unknown | null;
|
|
662
|
+
GetStandardValues(context: ITypeDescriptorContext | null): TypeConverter_StandardValuesCollection;
|
|
663
|
+
GetStandardValues(): ICollection | null;
|
|
664
|
+
GetStandardValuesSupported(context: ITypeDescriptorContext | null): boolean;
|
|
664
665
|
GetStandardValuesSupported(): boolean;
|
|
665
666
|
}
|
|
666
667
|
|
|
@@ -675,22 +676,22 @@ export type ColorConverter = ColorConverter$instance;
|
|
|
675
676
|
export interface PointConverter$instance extends TypeConverter {
|
|
676
677
|
readonly __tsonic_type_System_Drawing_PointConverter: never;
|
|
677
678
|
|
|
678
|
-
CanConvertFrom(context: ITypeDescriptorContext, sourceType: Type): boolean;
|
|
679
|
+
CanConvertFrom(context: ITypeDescriptorContext | null, sourceType: Type): boolean;
|
|
679
680
|
CanConvertFrom(sourceType: Type): boolean;
|
|
680
|
-
CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
681
|
-
CanConvertTo(destinationType: Type): boolean;
|
|
682
|
-
ConvertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown |
|
|
683
|
-
ConvertFrom(value: unknown): unknown |
|
|
684
|
-
ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown |
|
|
685
|
-
ConvertTo(value: unknown, destinationType: Type): unknown |
|
|
686
|
-
CreateInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
687
|
-
CreateInstance(propertyValues: IDictionary): unknown |
|
|
688
|
-
GetCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
681
|
+
CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
|
|
682
|
+
CanConvertTo(destinationType: Type | null): boolean;
|
|
683
|
+
ConvertFrom(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown): unknown | null;
|
|
684
|
+
ConvertFrom(value: unknown): unknown | null;
|
|
685
|
+
ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown | null, destinationType: Type): unknown | null;
|
|
686
|
+
ConvertTo(value: unknown | null, destinationType: Type): unknown | null;
|
|
687
|
+
CreateInstance(context: ITypeDescriptorContext | null, propertyValues: IDictionary): unknown;
|
|
688
|
+
CreateInstance(propertyValues: IDictionary): unknown | null;
|
|
689
|
+
GetCreateInstanceSupported(context: ITypeDescriptorContext | null): boolean;
|
|
689
690
|
GetCreateInstanceSupported(): boolean;
|
|
690
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
691
|
-
GetProperties(value: unknown): PropertyDescriptorCollection |
|
|
692
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection |
|
|
693
|
-
GetPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
691
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown | null, attributes: Attribute[] | null): PropertyDescriptorCollection;
|
|
692
|
+
GetProperties(value: unknown): PropertyDescriptorCollection | null;
|
|
693
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown): PropertyDescriptorCollection | null;
|
|
694
|
+
GetPropertiesSupported(context: ITypeDescriptorContext | null): boolean;
|
|
694
695
|
GetPropertiesSupported(): boolean;
|
|
695
696
|
}
|
|
696
697
|
|
|
@@ -705,22 +706,22 @@ export type PointConverter = PointConverter$instance;
|
|
|
705
706
|
export interface RectangleConverter$instance extends TypeConverter {
|
|
706
707
|
readonly __tsonic_type_System_Drawing_RectangleConverter: never;
|
|
707
708
|
|
|
708
|
-
CanConvertFrom(context: ITypeDescriptorContext, sourceType: Type): boolean;
|
|
709
|
+
CanConvertFrom(context: ITypeDescriptorContext | null, sourceType: Type): boolean;
|
|
709
710
|
CanConvertFrom(sourceType: Type): boolean;
|
|
710
|
-
CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
711
|
-
CanConvertTo(destinationType: Type): boolean;
|
|
712
|
-
ConvertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown |
|
|
713
|
-
ConvertFrom(value: unknown): unknown |
|
|
714
|
-
ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown |
|
|
715
|
-
ConvertTo(value: unknown, destinationType: Type): unknown |
|
|
716
|
-
CreateInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
717
|
-
CreateInstance(propertyValues: IDictionary): unknown |
|
|
718
|
-
GetCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
711
|
+
CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
|
|
712
|
+
CanConvertTo(destinationType: Type | null): boolean;
|
|
713
|
+
ConvertFrom(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown): unknown | null;
|
|
714
|
+
ConvertFrom(value: unknown): unknown | null;
|
|
715
|
+
ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown | null, destinationType: Type): unknown | null;
|
|
716
|
+
ConvertTo(value: unknown | null, destinationType: Type): unknown | null;
|
|
717
|
+
CreateInstance(context: ITypeDescriptorContext | null, propertyValues: IDictionary): unknown;
|
|
718
|
+
CreateInstance(propertyValues: IDictionary): unknown | null;
|
|
719
|
+
GetCreateInstanceSupported(context: ITypeDescriptorContext | null): boolean;
|
|
719
720
|
GetCreateInstanceSupported(): boolean;
|
|
720
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
721
|
-
GetProperties(value: unknown): PropertyDescriptorCollection |
|
|
722
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection |
|
|
723
|
-
GetPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
721
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown | null, attributes: Attribute[] | null): PropertyDescriptorCollection;
|
|
722
|
+
GetProperties(value: unknown): PropertyDescriptorCollection | null;
|
|
723
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown): PropertyDescriptorCollection | null;
|
|
724
|
+
GetPropertiesSupported(context: ITypeDescriptorContext | null): boolean;
|
|
724
725
|
GetPropertiesSupported(): boolean;
|
|
725
726
|
}
|
|
726
727
|
|
|
@@ -735,22 +736,22 @@ export type RectangleConverter = RectangleConverter$instance;
|
|
|
735
736
|
export interface SizeConverter$instance extends TypeConverter {
|
|
736
737
|
readonly __tsonic_type_System_Drawing_SizeConverter: never;
|
|
737
738
|
|
|
738
|
-
CanConvertFrom(context: ITypeDescriptorContext, sourceType: Type): boolean;
|
|
739
|
+
CanConvertFrom(context: ITypeDescriptorContext | null, sourceType: Type): boolean;
|
|
739
740
|
CanConvertFrom(sourceType: Type): boolean;
|
|
740
|
-
CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
741
|
-
CanConvertTo(destinationType: Type): boolean;
|
|
742
|
-
ConvertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown |
|
|
743
|
-
ConvertFrom(value: unknown): unknown |
|
|
744
|
-
ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown |
|
|
745
|
-
ConvertTo(value: unknown, destinationType: Type): unknown |
|
|
746
|
-
CreateInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
747
|
-
CreateInstance(propertyValues: IDictionary): unknown |
|
|
748
|
-
GetCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
741
|
+
CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
|
|
742
|
+
CanConvertTo(destinationType: Type | null): boolean;
|
|
743
|
+
ConvertFrom(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown): unknown | null;
|
|
744
|
+
ConvertFrom(value: unknown): unknown | null;
|
|
745
|
+
ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown | null, destinationType: Type): unknown | null;
|
|
746
|
+
ConvertTo(value: unknown | null, destinationType: Type): unknown | null;
|
|
747
|
+
CreateInstance(context: ITypeDescriptorContext | null, propertyValues: IDictionary): unknown;
|
|
748
|
+
CreateInstance(propertyValues: IDictionary): unknown | null;
|
|
749
|
+
GetCreateInstanceSupported(context: ITypeDescriptorContext | null): boolean;
|
|
749
750
|
GetCreateInstanceSupported(): boolean;
|
|
750
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
751
|
-
GetProperties(value: unknown): PropertyDescriptorCollection |
|
|
752
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection |
|
|
753
|
-
GetPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
751
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown, attributes: Attribute[] | null): PropertyDescriptorCollection;
|
|
752
|
+
GetProperties(value: unknown): PropertyDescriptorCollection | null;
|
|
753
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown): PropertyDescriptorCollection | null;
|
|
754
|
+
GetPropertiesSupported(context: ITypeDescriptorContext | null): boolean;
|
|
754
755
|
GetPropertiesSupported(): boolean;
|
|
755
756
|
}
|
|
756
757
|
|
|
@@ -765,22 +766,22 @@ export type SizeConverter = SizeConverter$instance;
|
|
|
765
766
|
export interface SizeFConverter$instance extends TypeConverter {
|
|
766
767
|
readonly __tsonic_type_System_Drawing_SizeFConverter: never;
|
|
767
768
|
|
|
768
|
-
CanConvertFrom(context: ITypeDescriptorContext, sourceType: Type): boolean;
|
|
769
|
+
CanConvertFrom(context: ITypeDescriptorContext | null, sourceType: Type): boolean;
|
|
769
770
|
CanConvertFrom(sourceType: Type): boolean;
|
|
770
|
-
CanConvertTo(context: ITypeDescriptorContext, destinationType: Type): boolean;
|
|
771
|
-
CanConvertTo(destinationType: Type): boolean;
|
|
772
|
-
ConvertFrom(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown): unknown |
|
|
773
|
-
ConvertFrom(value: unknown): unknown |
|
|
774
|
-
ConvertTo(context: ITypeDescriptorContext, culture: CultureInfo, value: unknown, destinationType: Type): unknown |
|
|
775
|
-
ConvertTo(value: unknown, destinationType: Type): unknown |
|
|
776
|
-
CreateInstance(context: ITypeDescriptorContext, propertyValues: IDictionary): unknown;
|
|
777
|
-
CreateInstance(propertyValues: IDictionary): unknown |
|
|
778
|
-
GetCreateInstanceSupported(context: ITypeDescriptorContext): boolean;
|
|
771
|
+
CanConvertTo(context: ITypeDescriptorContext | null, destinationType: Type | null): boolean;
|
|
772
|
+
CanConvertTo(destinationType: Type | null): boolean;
|
|
773
|
+
ConvertFrom(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown): unknown | null;
|
|
774
|
+
ConvertFrom(value: unknown): unknown | null;
|
|
775
|
+
ConvertTo(context: ITypeDescriptorContext | null, culture: CultureInfo | null, value: unknown | null, destinationType: Type): unknown | null;
|
|
776
|
+
ConvertTo(value: unknown | null, destinationType: Type): unknown | null;
|
|
777
|
+
CreateInstance(context: ITypeDescriptorContext | null, propertyValues: IDictionary): unknown;
|
|
778
|
+
CreateInstance(propertyValues: IDictionary): unknown | null;
|
|
779
|
+
GetCreateInstanceSupported(context: ITypeDescriptorContext | null): boolean;
|
|
779
780
|
GetCreateInstanceSupported(): boolean;
|
|
780
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown, attributes: Attribute[]): PropertyDescriptorCollection;
|
|
781
|
-
GetProperties(value: unknown): PropertyDescriptorCollection |
|
|
782
|
-
GetProperties(context: ITypeDescriptorContext, value: unknown): PropertyDescriptorCollection |
|
|
783
|
-
GetPropertiesSupported(context: ITypeDescriptorContext): boolean;
|
|
781
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown, attributes: Attribute[] | null): PropertyDescriptorCollection;
|
|
782
|
+
GetProperties(value: unknown): PropertyDescriptorCollection | null;
|
|
783
|
+
GetProperties(context: ITypeDescriptorContext | null, value: unknown): PropertyDescriptorCollection | null;
|
|
784
|
+
GetPropertiesSupported(context: ITypeDescriptorContext | null): boolean;
|
|
784
785
|
GetPropertiesSupported(): boolean;
|
|
785
786
|
}
|
|
786
787
|
|
package/System.Drawing.d.ts
CHANGED
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
// Import internal declarations
|
|
6
6
|
import * as Internal from './System.Drawing/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 { ICollection, IDictionary } from './System.Collections/internal/index.js';
|
|
10
14
|
import type { ITypeDescriptorContext, PropertyDescriptorCollection, TypeConverter, TypeConverter_StandardValuesCollection } from './System.ComponentModel/internal/index.js';
|