@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.Runtime.InteropServices
|
|
3
3
|
// Assembly: System.Collections.Immutable, System.Memory, System.Private.CoreLib, System.Runtime.InteropServices, System.Text.Json
|
|
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 Microsoft_Win32_SafeHandles_Internal from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -411,16 +409,16 @@ export interface ArrayWithOffset$instance {
|
|
|
411
409
|
|
|
412
410
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
413
411
|
|
|
414
|
-
Equals(obj: unknown): boolean;
|
|
412
|
+
Equals(obj: unknown | null): boolean;
|
|
415
413
|
Equals(obj: ArrayWithOffset): boolean;
|
|
416
|
-
GetArray(): unknown |
|
|
414
|
+
GetArray(): unknown | null;
|
|
417
415
|
GetHashCode(): int;
|
|
418
416
|
GetOffset(): int;
|
|
419
417
|
}
|
|
420
418
|
|
|
421
419
|
|
|
422
420
|
export const ArrayWithOffset: {
|
|
423
|
-
new(array: unknown, offset: int): ArrayWithOffset;
|
|
421
|
+
new(array: unknown | null, offset: int): ArrayWithOffset;
|
|
424
422
|
};
|
|
425
423
|
|
|
426
424
|
|
|
@@ -440,7 +438,7 @@ export interface CLong$instance {
|
|
|
440
438
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
441
439
|
|
|
442
440
|
readonly Value: nint;
|
|
443
|
-
Equals(o: unknown): boolean;
|
|
441
|
+
Equals(o: unknown | null): boolean;
|
|
444
442
|
Equals(other: CLong): boolean;
|
|
445
443
|
GetHashCode(): int;
|
|
446
444
|
ToString(): string;
|
|
@@ -463,43 +461,13 @@ export interface __CLong$views {
|
|
|
463
461
|
export type CLong = CLong$instance & __CLong$views;
|
|
464
462
|
|
|
465
463
|
|
|
466
|
-
export interface ComWrappers_ComInterfaceDispatch$instance {
|
|
467
|
-
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch: never;
|
|
468
|
-
|
|
469
|
-
Vtable: nint;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
export const ComWrappers_ComInterfaceDispatch: {
|
|
474
|
-
new(): ComWrappers_ComInterfaceDispatch;
|
|
475
|
-
GetInstance<T>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
export type ComWrappers_ComInterfaceDispatch = ComWrappers_ComInterfaceDispatch$instance;
|
|
480
|
-
|
|
481
|
-
export interface ComWrappers_ComInterfaceEntry$instance {
|
|
482
|
-
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry: never;
|
|
483
|
-
|
|
484
|
-
IID: Guid;
|
|
485
|
-
Vtable: nint;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
export const ComWrappers_ComInterfaceEntry: {
|
|
490
|
-
new(): ComWrappers_ComInterfaceEntry;
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
export type ComWrappers_ComInterfaceEntry = ComWrappers_ComInterfaceEntry$instance;
|
|
495
|
-
|
|
496
464
|
export interface CULong$instance {
|
|
497
465
|
readonly __tsonic_type_System_Runtime_InteropServices_CULong: never;
|
|
498
466
|
|
|
499
467
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
500
468
|
|
|
501
469
|
readonly Value: nuint;
|
|
502
|
-
Equals(o: unknown): boolean;
|
|
470
|
+
Equals(o: unknown | null): boolean;
|
|
503
471
|
Equals(other: CULong): boolean;
|
|
504
472
|
GetHashCode(): int;
|
|
505
473
|
ToString(): string;
|
|
@@ -528,10 +496,10 @@ export interface GCHandle$instance {
|
|
|
528
496
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
529
497
|
|
|
530
498
|
readonly IsAllocated: boolean;
|
|
531
|
-
get Target(): unknown |
|
|
532
|
-
set Target(value: unknown |
|
|
499
|
+
get Target(): unknown | null;
|
|
500
|
+
set Target(value: unknown | null);
|
|
533
501
|
AddrOfPinnedObject(): nint;
|
|
534
|
-
Equals(o: unknown): boolean;
|
|
502
|
+
Equals(o: unknown | null): boolean;
|
|
535
503
|
Equals(other: GCHandle): boolean;
|
|
536
504
|
Free(): void;
|
|
537
505
|
GetHashCode(): int;
|
|
@@ -540,8 +508,8 @@ export interface GCHandle$instance {
|
|
|
540
508
|
|
|
541
509
|
export const GCHandle: {
|
|
542
510
|
new(): GCHandle;
|
|
543
|
-
Alloc(value: unknown, type: GCHandleType): GCHandle;
|
|
544
|
-
Alloc(value: unknown): GCHandle;
|
|
511
|
+
Alloc(value: unknown | null, type: GCHandleType): GCHandle;
|
|
512
|
+
Alloc(value: unknown | null): GCHandle;
|
|
545
513
|
FromIntPtr(value: nint): GCHandle;
|
|
546
514
|
ToIntPtr(value: GCHandle): nint;
|
|
547
515
|
};
|
|
@@ -557,7 +525,7 @@ export interface __GCHandle$views {
|
|
|
557
525
|
export type GCHandle = GCHandle$instance & __GCHandle$views;
|
|
558
526
|
|
|
559
527
|
|
|
560
|
-
export interface GCHandle_1$instance<T> extends System_Internal.IDisposable$instance {
|
|
528
|
+
export interface GCHandle_1$instance<T extends (object | null)> extends System_Internal.IDisposable$instance {
|
|
561
529
|
readonly __tsonic_type_System_Runtime_InteropServices_GCHandle_1: never;
|
|
562
530
|
|
|
563
531
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -566,20 +534,20 @@ export interface GCHandle_1$instance<T> extends System_Internal.IDisposable$inst
|
|
|
566
534
|
readonly IsAllocated: boolean;
|
|
567
535
|
Target: T;
|
|
568
536
|
Dispose(): void;
|
|
569
|
-
Equals(obj: unknown): boolean;
|
|
537
|
+
Equals(obj: unknown | null): boolean;
|
|
570
538
|
Equals(other: GCHandle_1<T>): boolean;
|
|
571
539
|
GetHashCode(): int;
|
|
572
540
|
}
|
|
573
541
|
|
|
574
542
|
|
|
575
543
|
export const GCHandle_1: {
|
|
576
|
-
new<T>(target: T): GCHandle_1<T>;
|
|
577
|
-
FromIntPtr<T>(value: nint): GCHandle_1<T>;
|
|
578
|
-
ToIntPtr<T>(value: GCHandle_1<T>): nint;
|
|
544
|
+
new<T extends (object | null)>(target: T): GCHandle_1<T>;
|
|
545
|
+
FromIntPtr<T extends (object | null)>(value: nint): GCHandle_1<T>;
|
|
546
|
+
ToIntPtr<T extends (object | null)>(value: GCHandle_1<T>): nint;
|
|
579
547
|
};
|
|
580
548
|
|
|
581
549
|
|
|
582
|
-
export interface __GCHandle_1$views<T> {
|
|
550
|
+
export interface __GCHandle_1$views<T extends (object | null)> {
|
|
583
551
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
584
552
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<GCHandle_1<T>>;
|
|
585
553
|
|
|
@@ -587,26 +555,26 @@ export interface __GCHandle_1$views<T> {
|
|
|
587
555
|
Equals(other: GCHandle_1<T>): boolean;
|
|
588
556
|
}
|
|
589
557
|
|
|
590
|
-
export type GCHandle_1<T> = GCHandle_1$instance<T> & __GCHandle_1$views<T>;
|
|
558
|
+
export type GCHandle_1<T extends (object | null)> = GCHandle_1$instance<T> & __GCHandle_1$views<T>;
|
|
591
559
|
|
|
592
560
|
|
|
593
561
|
export interface HandleRef$instance {
|
|
594
562
|
readonly __tsonic_type_System_Runtime_InteropServices_HandleRef: never;
|
|
595
563
|
|
|
596
564
|
readonly Handle: nint;
|
|
597
|
-
readonly Wrapper: unknown |
|
|
565
|
+
readonly Wrapper: unknown | null;
|
|
598
566
|
}
|
|
599
567
|
|
|
600
568
|
|
|
601
569
|
export const HandleRef: {
|
|
602
|
-
new(wrapper: unknown, handle: nint): HandleRef;
|
|
570
|
+
new(wrapper: unknown | null, handle: nint): HandleRef;
|
|
603
571
|
ToIntPtr(value: HandleRef): nint;
|
|
604
572
|
};
|
|
605
573
|
|
|
606
574
|
|
|
607
575
|
export type HandleRef = HandleRef$instance;
|
|
608
576
|
|
|
609
|
-
export interface NFloat$instance extends
|
|
577
|
+
export interface NFloat$instance extends System_Numerics_Internal.IMinMaxValue_1$instance<NFloat> {
|
|
610
578
|
readonly __tsonic_type_System_Runtime_InteropServices_NFloat: never;
|
|
611
579
|
|
|
612
580
|
readonly __tsonic_iface_System_IComparable: never;
|
|
@@ -649,17 +617,17 @@ export interface NFloat$instance extends IBitwiseOperators_3<NFloat, NFloat, NFl
|
|
|
649
617
|
readonly __tsonic_iface_System_Numerics_IUnaryPlusOperators_2: never;
|
|
650
618
|
|
|
651
619
|
readonly Value: double;
|
|
652
|
-
CompareTo(obj: unknown): int;
|
|
620
|
+
CompareTo(obj: unknown | null): int;
|
|
653
621
|
CompareTo(other: NFloat): int;
|
|
654
|
-
Equals(obj: unknown): boolean;
|
|
622
|
+
Equals(obj: unknown | null): boolean;
|
|
655
623
|
Equals(other: NFloat): boolean;
|
|
656
624
|
GetHashCode(): int;
|
|
657
625
|
ToString(): string;
|
|
658
|
-
ToString(format: string): string;
|
|
659
|
-
ToString(provider: IFormatProvider): string;
|
|
660
|
-
ToString(format: string, provider: IFormatProvider): string;
|
|
661
|
-
TryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider): boolean;
|
|
662
|
-
TryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider): boolean;
|
|
626
|
+
ToString(format: string | null): string;
|
|
627
|
+
ToString(provider: IFormatProvider | null): string;
|
|
628
|
+
ToString(format: string | null, provider: IFormatProvider | null): string;
|
|
629
|
+
TryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider | null): boolean;
|
|
630
|
+
TryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider | null): boolean;
|
|
663
631
|
}
|
|
664
632
|
|
|
665
633
|
|
|
@@ -695,15 +663,15 @@ export const NFloat: {
|
|
|
695
663
|
Ceiling(x: NFloat): NFloat;
|
|
696
664
|
Clamp(value: NFloat, min: NFloat, max: NFloat): NFloat;
|
|
697
665
|
ClampNative(value: NFloat, min: NFloat, max: NFloat): NFloat;
|
|
698
|
-
ConvertToInteger<TInteger extends IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
699
|
-
ConvertToIntegerNative<TInteger extends IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
666
|
+
ConvertToInteger<TInteger extends unknown & IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
667
|
+
ConvertToIntegerNative<TInteger extends unknown & IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
700
668
|
CopySign(value: NFloat, sign: NFloat): NFloat;
|
|
701
669
|
Cos(x: NFloat): NFloat;
|
|
702
670
|
Cosh(x: NFloat): NFloat;
|
|
703
671
|
CosPi(x: NFloat): NFloat;
|
|
704
|
-
CreateChecked<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
705
|
-
CreateSaturating<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
706
|
-
CreateTruncating<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
672
|
+
CreateChecked<TOther extends unknown & INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
673
|
+
CreateSaturating<TOther extends unknown & INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
674
|
+
CreateTruncating<TOther extends unknown & INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
707
675
|
DegreesToRadians(degrees: NFloat): NFloat;
|
|
708
676
|
Exp(x: NFloat): NFloat;
|
|
709
677
|
Exp10(x: NFloat): NFloat;
|
|
@@ -749,13 +717,13 @@ export const NFloat: {
|
|
|
749
717
|
MinNative(x: NFloat, y: NFloat): NFloat;
|
|
750
718
|
MinNumber(x: NFloat, y: NFloat): NFloat;
|
|
751
719
|
MultiplyAddEstimate(left: NFloat, right: NFloat, addend: NFloat): NFloat;
|
|
752
|
-
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
753
|
-
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider): NFloat;
|
|
754
|
-
Parse(s: ReadOnlySpan_1<System_Internal.Char>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
755
|
-
Parse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider): NFloat;
|
|
756
|
-
Parse(s: string, style: NumberStyles, provider: IFormatProvider): NFloat;
|
|
720
|
+
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style?: NumberStyles, provider?: IFormatProvider | null): NFloat;
|
|
721
|
+
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider | null): NFloat;
|
|
722
|
+
Parse(s: ReadOnlySpan_1<System_Internal.Char>, style?: NumberStyles, provider?: IFormatProvider | null): NFloat;
|
|
723
|
+
Parse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider | null): NFloat;
|
|
724
|
+
Parse(s: string, style: NumberStyles, provider: IFormatProvider | null): NFloat;
|
|
757
725
|
Parse(s: string, style: NumberStyles): NFloat;
|
|
758
|
-
Parse(s: string, provider: IFormatProvider): NFloat;
|
|
726
|
+
Parse(s: string, provider: IFormatProvider | null): NFloat;
|
|
759
727
|
Parse(s: string): NFloat;
|
|
760
728
|
Pow(x: NFloat, y: NFloat): NFloat;
|
|
761
729
|
RadiansToDegrees(radians: NFloat): NFloat;
|
|
@@ -778,15 +746,15 @@ export const NFloat: {
|
|
|
778
746
|
Tanh(x: NFloat): NFloat;
|
|
779
747
|
TanPi(x: NFloat): NFloat;
|
|
780
748
|
Truncate(x: NFloat): NFloat;
|
|
781
|
-
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
782
|
-
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider, result: NFloat): boolean;
|
|
749
|
+
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style: NumberStyles, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
750
|
+
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
783
751
|
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: NFloat): boolean;
|
|
784
|
-
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
785
|
-
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider, result: NFloat): boolean;
|
|
752
|
+
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, style: NumberStyles, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
753
|
+
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
786
754
|
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: NFloat): boolean;
|
|
787
|
-
TryParse(s: string, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
788
|
-
TryParse(s: string, provider: IFormatProvider, result: NFloat): boolean;
|
|
789
|
-
TryParse(s: string, result: NFloat): boolean;
|
|
755
|
+
TryParse(s: string | null, style: NumberStyles, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
756
|
+
TryParse(s: string | null, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
757
|
+
TryParse(s: string | null, result: NFloat): boolean;
|
|
790
758
|
};
|
|
791
759
|
|
|
792
760
|
|
|
@@ -830,7 +798,7 @@ export interface OSPlatform$instance {
|
|
|
830
798
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
831
799
|
|
|
832
800
|
Equals(other: OSPlatform): boolean;
|
|
833
|
-
Equals(obj: unknown): boolean;
|
|
801
|
+
Equals(obj: unknown | null): boolean;
|
|
834
802
|
GetHashCode(): int;
|
|
835
803
|
ToString(): string;
|
|
836
804
|
}
|
|
@@ -856,7 +824,7 @@ export interface __OSPlatform$views {
|
|
|
856
824
|
export type OSPlatform = OSPlatform$instance & __OSPlatform$views;
|
|
857
825
|
|
|
858
826
|
|
|
859
|
-
export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposable$instance {
|
|
827
|
+
export interface PinnedGCHandle_1$instance<T extends (object | null)> extends System_Internal.IDisposable$instance {
|
|
860
828
|
readonly __tsonic_type_System_Runtime_InteropServices_PinnedGCHandle_1: never;
|
|
861
829
|
|
|
862
830
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -865,7 +833,7 @@ export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposabl
|
|
|
865
833
|
readonly IsAllocated: boolean;
|
|
866
834
|
Target: T;
|
|
867
835
|
Dispose(): void;
|
|
868
|
-
Equals(obj: unknown): boolean;
|
|
836
|
+
Equals(obj: unknown | null): boolean;
|
|
869
837
|
Equals(other: PinnedGCHandle_1<T>): boolean;
|
|
870
838
|
GetAddressOfObjectData(): ptr<void>;
|
|
871
839
|
GetHashCode(): int;
|
|
@@ -873,13 +841,13 @@ export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposabl
|
|
|
873
841
|
|
|
874
842
|
|
|
875
843
|
export const PinnedGCHandle_1: {
|
|
876
|
-
new<T>(target: T): PinnedGCHandle_1<T>;
|
|
877
|
-
FromIntPtr<T>(value: nint): PinnedGCHandle_1<T>;
|
|
878
|
-
ToIntPtr<T>(value: PinnedGCHandle_1<T>): nint;
|
|
844
|
+
new<T extends (object | null)>(target: T): PinnedGCHandle_1<T>;
|
|
845
|
+
FromIntPtr<T extends (object | null)>(value: nint): PinnedGCHandle_1<T>;
|
|
846
|
+
ToIntPtr<T extends (object | null)>(value: PinnedGCHandle_1<T>): nint;
|
|
879
847
|
};
|
|
880
848
|
|
|
881
849
|
|
|
882
|
-
export interface __PinnedGCHandle_1$views<T> {
|
|
850
|
+
export interface __PinnedGCHandle_1$views<T extends (object | null)> {
|
|
883
851
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
884
852
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<PinnedGCHandle_1<T>>;
|
|
885
853
|
|
|
@@ -887,10 +855,10 @@ export interface __PinnedGCHandle_1$views<T> {
|
|
|
887
855
|
Equals(other: PinnedGCHandle_1<T>): boolean;
|
|
888
856
|
}
|
|
889
857
|
|
|
890
|
-
export type PinnedGCHandle_1<T> = PinnedGCHandle_1$instance<T> & __PinnedGCHandle_1$views<T>;
|
|
858
|
+
export type PinnedGCHandle_1<T extends (object | null)> = PinnedGCHandle_1$instance<T> & __PinnedGCHandle_1$views<T>;
|
|
891
859
|
|
|
892
860
|
|
|
893
|
-
export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$instance {
|
|
861
|
+
export interface WeakGCHandle_1$instance<T extends (object | null)> extends System_Internal.IDisposable$instance {
|
|
894
862
|
readonly __tsonic_type_System_Runtime_InteropServices_WeakGCHandle_1: never;
|
|
895
863
|
|
|
896
864
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -898,22 +866,22 @@ export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$
|
|
|
898
866
|
|
|
899
867
|
readonly IsAllocated: boolean;
|
|
900
868
|
Dispose(): void;
|
|
901
|
-
Equals(obj: unknown): boolean;
|
|
869
|
+
Equals(obj: unknown | null): boolean;
|
|
902
870
|
Equals(other: WeakGCHandle_1<T>): boolean;
|
|
903
871
|
GetHashCode(): int;
|
|
904
872
|
SetTarget(target: T): void;
|
|
905
|
-
TryGetTarget(target: T): boolean;
|
|
873
|
+
TryGetTarget(target: T | null): boolean;
|
|
906
874
|
}
|
|
907
875
|
|
|
908
876
|
|
|
909
877
|
export const WeakGCHandle_1: {
|
|
910
|
-
new<T>(target: T, trackResurrection: boolean): WeakGCHandle_1<T>;
|
|
911
|
-
FromIntPtr<T>(value: nint): WeakGCHandle_1<T>;
|
|
912
|
-
ToIntPtr<T>(value: WeakGCHandle_1<T>): nint;
|
|
878
|
+
new<T extends (object | null)>(target: T, trackResurrection: boolean): WeakGCHandle_1<T>;
|
|
879
|
+
FromIntPtr<T extends (object | null)>(value: nint): WeakGCHandle_1<T>;
|
|
880
|
+
ToIntPtr<T extends (object | null)>(value: WeakGCHandle_1<T>): nint;
|
|
913
881
|
};
|
|
914
882
|
|
|
915
883
|
|
|
916
|
-
export interface __WeakGCHandle_1$views<T> {
|
|
884
|
+
export interface __WeakGCHandle_1$views<T extends (object | null)> {
|
|
917
885
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
918
886
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<WeakGCHandle_1<T>>;
|
|
919
887
|
|
|
@@ -921,7 +889,7 @@ export interface __WeakGCHandle_1$views<T> {
|
|
|
921
889
|
Equals(other: WeakGCHandle_1<T>): boolean;
|
|
922
890
|
}
|
|
923
891
|
|
|
924
|
-
export type WeakGCHandle_1<T> = WeakGCHandle_1$instance<T> & __WeakGCHandle_1$views<T>;
|
|
892
|
+
export type WeakGCHandle_1<T extends (object | null)> = WeakGCHandle_1$instance<T> & __WeakGCHandle_1$views<T>;
|
|
925
893
|
|
|
926
894
|
|
|
927
895
|
export interface AllowReversePInvokeCallsAttribute$instance extends Attribute {
|
|
@@ -969,13 +937,13 @@ export type BestFitMappingAttribute = BestFitMappingAttribute$instance;
|
|
|
969
937
|
export interface BStrWrapper$instance {
|
|
970
938
|
readonly __tsonic_type_System_Runtime_InteropServices_BStrWrapper: never;
|
|
971
939
|
|
|
972
|
-
readonly WrappedObject: string |
|
|
940
|
+
readonly WrappedObject: string | null;
|
|
973
941
|
}
|
|
974
942
|
|
|
975
943
|
|
|
976
944
|
export const BStrWrapper: {
|
|
977
|
-
new(value: string): BStrWrapper;
|
|
978
|
-
new(value: unknown): BStrWrapper;
|
|
945
|
+
new(value: string | null): BStrWrapper;
|
|
946
|
+
new(value: unknown | null): BStrWrapper;
|
|
979
947
|
};
|
|
980
948
|
|
|
981
949
|
|
|
@@ -1024,29 +992,29 @@ export const ComAliasNameAttribute: {
|
|
|
1024
992
|
|
|
1025
993
|
export type ComAliasNameAttribute = ComAliasNameAttribute$instance;
|
|
1026
994
|
|
|
1027
|
-
export interface ComAwareEventInfo$instance extends EventInfo {
|
|
995
|
+
export interface ComAwareEventInfo$instance extends EventInfo, System_Reflection_Internal.ICustomAttributeProvider$instance {
|
|
1028
996
|
readonly __tsonic_type_System_Runtime_InteropServices_ComAwareEventInfo: never;
|
|
1029
997
|
|
|
1030
998
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
1031
999
|
|
|
1032
1000
|
readonly Attributes: EventAttributes;
|
|
1033
|
-
readonly DeclaringType: Type |
|
|
1001
|
+
readonly DeclaringType: Type | null;
|
|
1034
1002
|
readonly MetadataToken: int;
|
|
1035
1003
|
readonly Module: Module;
|
|
1036
1004
|
readonly Name: string;
|
|
1037
|
-
readonly ReflectedType: Type |
|
|
1005
|
+
readonly ReflectedType: Type | null;
|
|
1038
1006
|
AddEventHandler(target: unknown, handler: Function): void;
|
|
1039
|
-
GetAddMethod(nonPublic: boolean): MethodInfo |
|
|
1040
|
-
GetAddMethod(): MethodInfo |
|
|
1007
|
+
GetAddMethod(nonPublic: boolean): MethodInfo | null;
|
|
1008
|
+
GetAddMethod(): MethodInfo | null;
|
|
1041
1009
|
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1042
1010
|
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1043
1011
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
1044
1012
|
GetOtherMethods(nonPublic: boolean): MethodInfo[];
|
|
1045
1013
|
GetOtherMethods(): MethodInfo[];
|
|
1046
|
-
GetRaiseMethod(nonPublic: boolean): MethodInfo |
|
|
1047
|
-
GetRaiseMethod(): MethodInfo |
|
|
1048
|
-
GetRemoveMethod(nonPublic: boolean): MethodInfo |
|
|
1049
|
-
GetRemoveMethod(): MethodInfo |
|
|
1014
|
+
GetRaiseMethod(nonPublic: boolean): MethodInfo | null;
|
|
1015
|
+
GetRaiseMethod(): MethodInfo | null;
|
|
1016
|
+
GetRemoveMethod(nonPublic: boolean): MethodInfo | null;
|
|
1017
|
+
GetRemoveMethod(): MethodInfo | null;
|
|
1050
1018
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1051
1019
|
RemoveEventHandler(target: unknown, handler: Function): void;
|
|
1052
1020
|
}
|
|
@@ -1134,9 +1102,9 @@ export interface COMException$instance extends ExternalException$instance, Syste
|
|
|
1134
1102
|
|
|
1135
1103
|
export const COMException: {
|
|
1136
1104
|
new(): COMException;
|
|
1137
|
-
new(message: string): COMException;
|
|
1138
|
-
new(message: string, inner: Exception): COMException;
|
|
1139
|
-
new(message: string, errorCode: int): COMException;
|
|
1105
|
+
new(message: string | null): COMException;
|
|
1106
|
+
new(message: string | null, inner: Exception | null): COMException;
|
|
1107
|
+
new(message: string | null, errorCode: int): COMException;
|
|
1140
1108
|
};
|
|
1141
1109
|
|
|
1142
1110
|
|
|
@@ -1222,11 +1190,11 @@ export interface ComWrappers$instance {
|
|
|
1222
1190
|
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers: never;
|
|
1223
1191
|
|
|
1224
1192
|
ComputeVtables(obj: unknown, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
|
|
1225
|
-
CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown |
|
|
1226
|
-
CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown, wrapperFlags: CreatedWrapperFlags): unknown |
|
|
1193
|
+
CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown | null;
|
|
1194
|
+
CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown | null, wrapperFlags: CreatedWrapperFlags): unknown | null;
|
|
1227
1195
|
GetOrCreateComInterfaceForObject(instance: unknown, flags: CreateComInterfaceFlags): nint;
|
|
1228
1196
|
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags): unknown;
|
|
1229
|
-
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState: unknown): unknown;
|
|
1197
|
+
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState: unknown | null): unknown;
|
|
1230
1198
|
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown): unknown;
|
|
1231
1199
|
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown, inner: nint): unknown;
|
|
1232
1200
|
ReleaseObjects(objects: IEnumerable): void;
|
|
@@ -1238,12 +1206,42 @@ export const ComWrappers: (abstract new() => ComWrappers) & {
|
|
|
1238
1206
|
RegisterForMarshalling(instance: ComWrappers): void;
|
|
1239
1207
|
RegisterForTrackerSupport(instance: ComWrappers): void;
|
|
1240
1208
|
TryGetComInstance(obj: unknown, unknown: nint): boolean;
|
|
1241
|
-
TryGetObject(unknown: nint, obj: unknown): boolean;
|
|
1209
|
+
TryGetObject(unknown: nint, obj: unknown | null): boolean;
|
|
1242
1210
|
};
|
|
1243
1211
|
|
|
1244
1212
|
|
|
1245
1213
|
export type ComWrappers = ComWrappers$instance;
|
|
1246
1214
|
|
|
1215
|
+
export interface ComWrappers_ComInterfaceDispatch$instance {
|
|
1216
|
+
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch: never;
|
|
1217
|
+
|
|
1218
|
+
Vtable: nint;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
export const ComWrappers_ComInterfaceDispatch: {
|
|
1223
|
+
new(): ComWrappers_ComInterfaceDispatch;
|
|
1224
|
+
GetInstance<T extends (object | null)>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
export type ComWrappers_ComInterfaceDispatch = ComWrappers_ComInterfaceDispatch$instance;
|
|
1229
|
+
|
|
1230
|
+
export interface ComWrappers_ComInterfaceEntry$instance {
|
|
1231
|
+
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry: never;
|
|
1232
|
+
|
|
1233
|
+
IID: Guid;
|
|
1234
|
+
Vtable: nint;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
export const ComWrappers_ComInterfaceEntry: {
|
|
1239
|
+
new(): ComWrappers_ComInterfaceEntry;
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
export type ComWrappers_ComInterfaceEntry = ComWrappers_ComInterfaceEntry$instance;
|
|
1244
|
+
|
|
1247
1245
|
export interface CriticalHandle$instance extends CriticalFinalizerObject {
|
|
1248
1246
|
readonly __tsonic_type_System_Runtime_InteropServices_CriticalHandle: never;
|
|
1249
1247
|
|
|
@@ -1317,12 +1315,12 @@ export type DefaultDllImportSearchPathsAttribute = DefaultDllImportSearchPathsAt
|
|
|
1317
1315
|
export interface DefaultParameterValueAttribute$instance extends Attribute {
|
|
1318
1316
|
readonly __tsonic_type_System_Runtime_InteropServices_DefaultParameterValueAttribute: never;
|
|
1319
1317
|
|
|
1320
|
-
readonly Value: unknown |
|
|
1318
|
+
readonly Value: unknown | null;
|
|
1321
1319
|
}
|
|
1322
1320
|
|
|
1323
1321
|
|
|
1324
1322
|
export const DefaultParameterValueAttribute: {
|
|
1325
|
-
new(value: unknown): DefaultParameterValueAttribute;
|
|
1323
|
+
new(value: unknown | null): DefaultParameterValueAttribute;
|
|
1326
1324
|
};
|
|
1327
1325
|
|
|
1328
1326
|
|
|
@@ -1331,12 +1329,12 @@ export type DefaultParameterValueAttribute = DefaultParameterValueAttribute$inst
|
|
|
1331
1329
|
export interface DispatchWrapper$instance {
|
|
1332
1330
|
readonly __tsonic_type_System_Runtime_InteropServices_DispatchWrapper: never;
|
|
1333
1331
|
|
|
1334
|
-
readonly WrappedObject: unknown |
|
|
1332
|
+
readonly WrappedObject: unknown | null;
|
|
1335
1333
|
}
|
|
1336
1334
|
|
|
1337
1335
|
|
|
1338
1336
|
export const DispatchWrapper: {
|
|
1339
|
-
new(obj: unknown): DispatchWrapper;
|
|
1337
|
+
new(obj: unknown | null): DispatchWrapper;
|
|
1340
1338
|
};
|
|
1341
1339
|
|
|
1342
1340
|
|
|
@@ -1359,7 +1357,7 @@ export type DispIdAttribute = DispIdAttribute$instance;
|
|
|
1359
1357
|
export interface DllImportAttribute$instance extends Attribute {
|
|
1360
1358
|
readonly __tsonic_type_System_Runtime_InteropServices_DllImportAttribute: never;
|
|
1361
1359
|
|
|
1362
|
-
EntryPoint: string |
|
|
1360
|
+
EntryPoint: string | null;
|
|
1363
1361
|
CharSet: CharSet;
|
|
1364
1362
|
SetLastError: boolean;
|
|
1365
1363
|
ExactSpelling: boolean;
|
|
@@ -1419,9 +1417,9 @@ export interface ExternalException$instance extends SystemException, System_Runt
|
|
|
1419
1417
|
|
|
1420
1418
|
export const ExternalException: {
|
|
1421
1419
|
new(): ExternalException;
|
|
1422
|
-
new(message: string): ExternalException;
|
|
1423
|
-
new(message: string, inner: Exception): ExternalException;
|
|
1424
|
-
new(message: string, errorCode: int): ExternalException;
|
|
1420
|
+
new(message: string | null): ExternalException;
|
|
1421
|
+
new(message: string | null, inner: Exception | null): ExternalException;
|
|
1422
|
+
new(message: string | null, errorCode: int): ExternalException;
|
|
1425
1423
|
};
|
|
1426
1424
|
|
|
1427
1425
|
|
|
@@ -1473,8 +1471,8 @@ export interface HandleCollector$instance {
|
|
|
1473
1471
|
|
|
1474
1472
|
|
|
1475
1473
|
export const HandleCollector: {
|
|
1476
|
-
new(name: string, initialThreshold: int): HandleCollector;
|
|
1477
|
-
new(name: string, initialThreshold: int, maximumThreshold: int): HandleCollector;
|
|
1474
|
+
new(name: string | null, initialThreshold: int): HandleCollector;
|
|
1475
|
+
new(name: string | null, initialThreshold: int, maximumThreshold: int): HandleCollector;
|
|
1478
1476
|
};
|
|
1479
1477
|
|
|
1480
1478
|
|
|
@@ -1532,8 +1530,8 @@ export interface InvalidComObjectException$instance extends SystemException, Sys
|
|
|
1532
1530
|
|
|
1533
1531
|
export const InvalidComObjectException: {
|
|
1534
1532
|
new(): InvalidComObjectException;
|
|
1535
|
-
new(message: string): InvalidComObjectException;
|
|
1536
|
-
new(message: string, inner: Exception): InvalidComObjectException;
|
|
1533
|
+
new(message: string | null): InvalidComObjectException;
|
|
1534
|
+
new(message: string | null, inner: Exception | null): InvalidComObjectException;
|
|
1537
1535
|
};
|
|
1538
1536
|
|
|
1539
1537
|
|
|
@@ -1554,8 +1552,8 @@ export interface InvalidOleVariantTypeException$instance extends SystemException
|
|
|
1554
1552
|
|
|
1555
1553
|
export const InvalidOleVariantTypeException: {
|
|
1556
1554
|
new(): InvalidOleVariantTypeException;
|
|
1557
|
-
new(message: string): InvalidOleVariantTypeException;
|
|
1558
|
-
new(message: string, inner: Exception): InvalidOleVariantTypeException;
|
|
1555
|
+
new(message: string | null): InvalidOleVariantTypeException;
|
|
1556
|
+
new(message: string | null, inner: Exception | null): InvalidOleVariantTypeException;
|
|
1559
1557
|
};
|
|
1560
1558
|
|
|
1561
1559
|
|
|
@@ -1583,13 +1581,13 @@ export type LCIDConversionAttribute = LCIDConversionAttribute$instance;
|
|
|
1583
1581
|
export interface LibraryImportAttribute$instance extends Attribute {
|
|
1584
1582
|
readonly __tsonic_type_System_Runtime_InteropServices_LibraryImportAttribute: never;
|
|
1585
1583
|
|
|
1586
|
-
get EntryPoint(): string |
|
|
1587
|
-
set EntryPoint(value: string |
|
|
1584
|
+
get EntryPoint(): string | null;
|
|
1585
|
+
set EntryPoint(value: string | null);
|
|
1588
1586
|
readonly LibraryName: string;
|
|
1589
1587
|
SetLastError: boolean;
|
|
1590
1588
|
StringMarshalling: StringMarshalling;
|
|
1591
|
-
get StringMarshallingCustomType(): Type |
|
|
1592
|
-
set StringMarshallingCustomType(value: Type |
|
|
1589
|
+
get StringMarshallingCustomType(): Type | null;
|
|
1590
|
+
set StringMarshallingCustomType(value: Type | null);
|
|
1593
1591
|
}
|
|
1594
1592
|
|
|
1595
1593
|
|
|
@@ -1619,14 +1617,14 @@ export interface MarshalAsAttribute$instance extends Attribute {
|
|
|
1619
1617
|
readonly __tsonic_type_System_Runtime_InteropServices_MarshalAsAttribute: never;
|
|
1620
1618
|
|
|
1621
1619
|
SafeArraySubType: VarEnum;
|
|
1622
|
-
SafeArrayUserDefinedSubType: Type |
|
|
1620
|
+
SafeArrayUserDefinedSubType: Type | null;
|
|
1623
1621
|
IidParameterIndex: int;
|
|
1624
1622
|
ArraySubType: UnmanagedType;
|
|
1625
1623
|
SizeParamIndex: short;
|
|
1626
1624
|
SizeConst: int;
|
|
1627
|
-
MarshalType: string |
|
|
1628
|
-
MarshalTypeRef: Type |
|
|
1629
|
-
MarshalCookie: string |
|
|
1625
|
+
MarshalType: string | null;
|
|
1626
|
+
MarshalTypeRef: Type | null;
|
|
1627
|
+
MarshalCookie: string | null;
|
|
1630
1628
|
readonly Value: UnmanagedType;
|
|
1631
1629
|
}
|
|
1632
1630
|
|
|
@@ -1649,8 +1647,8 @@ export interface MarshalDirectiveException$instance extends SystemException, Sys
|
|
|
1649
1647
|
|
|
1650
1648
|
export const MarshalDirectiveException: {
|
|
1651
1649
|
new(): MarshalDirectiveException;
|
|
1652
|
-
new(message: string): MarshalDirectiveException;
|
|
1653
|
-
new(message: string, inner: Exception): MarshalDirectiveException;
|
|
1650
|
+
new(message: string | null): MarshalDirectiveException;
|
|
1651
|
+
new(message: string | null, inner: Exception | null): MarshalDirectiveException;
|
|
1654
1652
|
};
|
|
1655
1653
|
|
|
1656
1654
|
|
|
@@ -1776,8 +1774,8 @@ export interface SafeArrayRankMismatchException$instance extends SystemException
|
|
|
1776
1774
|
|
|
1777
1775
|
export const SafeArrayRankMismatchException: {
|
|
1778
1776
|
new(): SafeArrayRankMismatchException;
|
|
1779
|
-
new(message: string): SafeArrayRankMismatchException;
|
|
1780
|
-
new(message: string, inner: Exception): SafeArrayRankMismatchException;
|
|
1777
|
+
new(message: string | null): SafeArrayRankMismatchException;
|
|
1778
|
+
new(message: string | null, inner: Exception | null): SafeArrayRankMismatchException;
|
|
1781
1779
|
};
|
|
1782
1780
|
|
|
1783
1781
|
|
|
@@ -1798,8 +1796,8 @@ export interface SafeArrayTypeMismatchException$instance extends SystemException
|
|
|
1798
1796
|
|
|
1799
1797
|
export const SafeArrayTypeMismatchException: {
|
|
1800
1798
|
new(): SafeArrayTypeMismatchException;
|
|
1801
|
-
new(message: string): SafeArrayTypeMismatchException;
|
|
1802
|
-
new(message: string, inner: Exception): SafeArrayTypeMismatchException;
|
|
1799
|
+
new(message: string | null): SafeArrayTypeMismatchException;
|
|
1800
|
+
new(message: string | null, inner: Exception | null): SafeArrayTypeMismatchException;
|
|
1803
1801
|
};
|
|
1804
1802
|
|
|
1805
1803
|
|
|
@@ -1819,14 +1817,14 @@ export interface SafeBuffer$instance extends SafeHandleZeroOrMinusOneIsInvalid {
|
|
|
1819
1817
|
AcquirePointer(pointer: ptr<byte>): void;
|
|
1820
1818
|
Initialize(numBytes: ulong): void;
|
|
1821
1819
|
Initialize(numElements: uint, sizeOfEachElement: uint): void;
|
|
1822
|
-
Initialize<T extends unknown
|
|
1823
|
-
Read<T extends unknown
|
|
1824
|
-
ReadArray<T extends unknown
|
|
1825
|
-
ReadSpan<T extends unknown
|
|
1820
|
+
Initialize<T extends NonNullable<unknown>>(numElements: uint): void;
|
|
1821
|
+
Read<T extends NonNullable<unknown>>(byteOffset: ulong): T;
|
|
1822
|
+
ReadArray<T extends NonNullable<unknown>>(byteOffset: ulong, array: T[], index: int, count: int): void;
|
|
1823
|
+
ReadSpan<T extends NonNullable<unknown>>(byteOffset: ulong, buffer: Span_1<T>): void;
|
|
1826
1824
|
ReleasePointer(): void;
|
|
1827
|
-
Write<T extends unknown
|
|
1828
|
-
WriteArray<T extends unknown
|
|
1829
|
-
WriteSpan<T extends unknown
|
|
1825
|
+
Write<T extends NonNullable<unknown>>(byteOffset: ulong, value: T): void;
|
|
1826
|
+
WriteArray<T extends NonNullable<unknown>>(byteOffset: ulong, array: T[], index: int, count: int): void;
|
|
1827
|
+
WriteSpan<T extends NonNullable<unknown>>(byteOffset: ulong, data: ReadOnlySpan_1<T>): void;
|
|
1830
1828
|
}
|
|
1831
1829
|
|
|
1832
1830
|
|
|
@@ -1882,8 +1880,8 @@ export interface SEHException$instance extends ExternalException$instance, Syste
|
|
|
1882
1880
|
|
|
1883
1881
|
export const SEHException: {
|
|
1884
1882
|
new(): SEHException;
|
|
1885
|
-
new(message: string): SEHException;
|
|
1886
|
-
new(message: string, inner: Exception): SEHException;
|
|
1883
|
+
new(message: string | null): SEHException;
|
|
1884
|
+
new(message: string | null, inner: Exception | null): SEHException;
|
|
1887
1885
|
};
|
|
1888
1886
|
|
|
1889
1887
|
|
|
@@ -1940,14 +1938,14 @@ export type SuppressGCTransitionAttribute = SuppressGCTransitionAttribute$instan
|
|
|
1940
1938
|
export interface TypeIdentifierAttribute$instance extends Attribute {
|
|
1941
1939
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeIdentifierAttribute: never;
|
|
1942
1940
|
|
|
1943
|
-
readonly Identifier: string |
|
|
1944
|
-
readonly Scope: string |
|
|
1941
|
+
readonly Identifier: string | null;
|
|
1942
|
+
readonly Scope: string | null;
|
|
1945
1943
|
}
|
|
1946
1944
|
|
|
1947
1945
|
|
|
1948
1946
|
export const TypeIdentifierAttribute: {
|
|
1949
1947
|
new(): TypeIdentifierAttribute;
|
|
1950
|
-
new(scope: string, identifier: string): TypeIdentifierAttribute;
|
|
1948
|
+
new(scope: string | null, identifier: string | null): TypeIdentifierAttribute;
|
|
1951
1949
|
};
|
|
1952
1950
|
|
|
1953
1951
|
|
|
@@ -2027,55 +2025,55 @@ export const TypeLibVersionAttribute: {
|
|
|
2027
2025
|
|
|
2028
2026
|
export type TypeLibVersionAttribute = TypeLibVersionAttribute$instance;
|
|
2029
2027
|
|
|
2030
|
-
export interface TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup> extends Attribute {
|
|
2028
|
+
export interface TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup extends unknown> extends Attribute {
|
|
2031
2029
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeMapAssemblyTargetAttribute_1: never;
|
|
2032
2030
|
|
|
2033
2031
|
}
|
|
2034
2032
|
|
|
2035
2033
|
|
|
2036
2034
|
export const TypeMapAssemblyTargetAttribute_1: {
|
|
2037
|
-
new<TTypeMapGroup>(assemblyName: string): TypeMapAssemblyTargetAttribute_1<TTypeMapGroup>;
|
|
2035
|
+
new<TTypeMapGroup extends unknown>(assemblyName: string): TypeMapAssemblyTargetAttribute_1<TTypeMapGroup>;
|
|
2038
2036
|
};
|
|
2039
2037
|
|
|
2040
2038
|
|
|
2041
|
-
export type TypeMapAssemblyTargetAttribute_1<TTypeMapGroup> = TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup>;
|
|
2039
|
+
export type TypeMapAssemblyTargetAttribute_1<TTypeMapGroup extends unknown> = TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup>;
|
|
2042
2040
|
|
|
2043
|
-
export interface TypeMapAssociationAttribute_1$instance<TTypeMapGroup> extends Attribute {
|
|
2041
|
+
export interface TypeMapAssociationAttribute_1$instance<TTypeMapGroup extends unknown> extends Attribute {
|
|
2044
2042
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeMapAssociationAttribute_1: never;
|
|
2045
2043
|
|
|
2046
2044
|
}
|
|
2047
2045
|
|
|
2048
2046
|
|
|
2049
2047
|
export const TypeMapAssociationAttribute_1: {
|
|
2050
|
-
new<TTypeMapGroup>(source: Type, proxy: Type): TypeMapAssociationAttribute_1<TTypeMapGroup>;
|
|
2048
|
+
new<TTypeMapGroup extends unknown>(source: Type, proxy: Type): TypeMapAssociationAttribute_1<TTypeMapGroup>;
|
|
2051
2049
|
};
|
|
2052
2050
|
|
|
2053
2051
|
|
|
2054
|
-
export type TypeMapAssociationAttribute_1<TTypeMapGroup> = TypeMapAssociationAttribute_1$instance<TTypeMapGroup>;
|
|
2052
|
+
export type TypeMapAssociationAttribute_1<TTypeMapGroup extends unknown> = TypeMapAssociationAttribute_1$instance<TTypeMapGroup>;
|
|
2055
2053
|
|
|
2056
|
-
export interface TypeMapAttribute_1$instance<TTypeMapGroup> extends Attribute {
|
|
2054
|
+
export interface TypeMapAttribute_1$instance<TTypeMapGroup extends unknown> extends Attribute {
|
|
2057
2055
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeMapAttribute_1: never;
|
|
2058
2056
|
|
|
2059
2057
|
}
|
|
2060
2058
|
|
|
2061
2059
|
|
|
2062
2060
|
export const TypeMapAttribute_1: {
|
|
2063
|
-
new<TTypeMapGroup>(value: string, target: Type): TypeMapAttribute_1<TTypeMapGroup>;
|
|
2064
|
-
new<TTypeMapGroup>(value: string, target: Type, trimTarget: Type): TypeMapAttribute_1<TTypeMapGroup>;
|
|
2061
|
+
new<TTypeMapGroup extends unknown>(value: string, target: Type): TypeMapAttribute_1<TTypeMapGroup>;
|
|
2062
|
+
new<TTypeMapGroup extends unknown>(value: string, target: Type, trimTarget: Type): TypeMapAttribute_1<TTypeMapGroup>;
|
|
2065
2063
|
};
|
|
2066
2064
|
|
|
2067
2065
|
|
|
2068
|
-
export type TypeMapAttribute_1<TTypeMapGroup> = TypeMapAttribute_1$instance<TTypeMapGroup>;
|
|
2066
|
+
export type TypeMapAttribute_1<TTypeMapGroup extends unknown> = TypeMapAttribute_1$instance<TTypeMapGroup>;
|
|
2069
2067
|
|
|
2070
2068
|
export interface UnknownWrapper$instance {
|
|
2071
2069
|
readonly __tsonic_type_System_Runtime_InteropServices_UnknownWrapper: never;
|
|
2072
2070
|
|
|
2073
|
-
readonly WrappedObject: unknown |
|
|
2071
|
+
readonly WrappedObject: unknown | null;
|
|
2074
2072
|
}
|
|
2075
2073
|
|
|
2076
2074
|
|
|
2077
2075
|
export const UnknownWrapper: {
|
|
2078
|
-
new(obj: unknown): UnknownWrapper;
|
|
2076
|
+
new(obj: unknown | null): UnknownWrapper;
|
|
2079
2077
|
};
|
|
2080
2078
|
|
|
2081
2079
|
|
|
@@ -2084,7 +2082,7 @@ export type UnknownWrapper = UnknownWrapper$instance;
|
|
|
2084
2082
|
export interface UnmanagedCallConvAttribute$instance extends Attribute {
|
|
2085
2083
|
readonly __tsonic_type_System_Runtime_InteropServices_UnmanagedCallConvAttribute: never;
|
|
2086
2084
|
|
|
2087
|
-
CallConvs: Type[] |
|
|
2085
|
+
CallConvs: Type[] | null;
|
|
2088
2086
|
}
|
|
2089
2087
|
|
|
2090
2088
|
|
|
@@ -2098,8 +2096,8 @@ export type UnmanagedCallConvAttribute = UnmanagedCallConvAttribute$instance;
|
|
|
2098
2096
|
export interface UnmanagedCallersOnlyAttribute$instance extends Attribute {
|
|
2099
2097
|
readonly __tsonic_type_System_Runtime_InteropServices_UnmanagedCallersOnlyAttribute: never;
|
|
2100
2098
|
|
|
2101
|
-
CallConvs: Type[] |
|
|
2102
|
-
EntryPoint: string |
|
|
2099
|
+
CallConvs: Type[] | null;
|
|
2100
|
+
EntryPoint: string | null;
|
|
2103
2101
|
}
|
|
2104
2102
|
|
|
2105
2103
|
|
|
@@ -2131,12 +2129,12 @@ export type UnmanagedFunctionPointerAttribute = UnmanagedFunctionPointerAttribut
|
|
|
2131
2129
|
export interface VariantWrapper$instance {
|
|
2132
2130
|
readonly __tsonic_type_System_Runtime_InteropServices_VariantWrapper: never;
|
|
2133
2131
|
|
|
2134
|
-
readonly WrappedObject: unknown |
|
|
2132
|
+
readonly WrappedObject: unknown | null;
|
|
2135
2133
|
}
|
|
2136
2134
|
|
|
2137
2135
|
|
|
2138
2136
|
export const VariantWrapper: {
|
|
2139
|
-
new(obj: unknown): VariantWrapper;
|
|
2137
|
+
new(obj: unknown | null): VariantWrapper;
|
|
2140
2138
|
};
|
|
2141
2139
|
|
|
2142
2140
|
|
|
@@ -2156,13 +2154,13 @@ export const WasmImportLinkageAttribute: {
|
|
|
2156
2154
|
export type WasmImportLinkageAttribute = WasmImportLinkageAttribute$instance;
|
|
2157
2155
|
|
|
2158
2156
|
export abstract class CollectionsMarshal$instance {
|
|
2159
|
-
static AsBytes(array: BitArray): Span_1<System_Internal.Byte>;
|
|
2160
|
-
static AsSpan<T>(list: List_1<T>): Span_1<T>;
|
|
2161
|
-
static GetValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue |
|
|
2162
|
-
static GetValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue |
|
|
2163
|
-
static GetValueRefOrNullRef<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): TValue;
|
|
2164
|
-
static GetValueRefOrNullRef<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): TValue;
|
|
2165
|
-
static SetCount<T>(list: List_1<T>, count: int): void;
|
|
2157
|
+
static AsBytes(array: BitArray | null): Span_1<System_Internal.Byte>;
|
|
2158
|
+
static AsSpan<T extends unknown>(list: List_1<T> | null): Span_1<T>;
|
|
2159
|
+
static GetValueRefOrAddDefault<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue | null;
|
|
2160
|
+
static GetValueRefOrAddDefault<TKey extends unknown, TValue extends unknown>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue | null;
|
|
2161
|
+
static GetValueRefOrNullRef<TKey extends unknown, TValue extends unknown, TAlternateKey extends unknown>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): TValue;
|
|
2162
|
+
static GetValueRefOrNullRef<TKey extends unknown, TValue extends unknown>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): TValue;
|
|
2163
|
+
static SetCount<T extends unknown>(list: List_1<T>, count: int): void;
|
|
2166
2164
|
}
|
|
2167
2165
|
|
|
2168
2166
|
|
|
@@ -2177,7 +2175,7 @@ export abstract class ComEventsHelper$instance {
|
|
|
2177
2175
|
export type ComEventsHelper = ComEventsHelper$instance;
|
|
2178
2176
|
|
|
2179
2177
|
export abstract class GCHandleExtensions$instance {
|
|
2180
|
-
static GetAddressOfArrayData<T>(handle: PinnedGCHandle_1<T[]>): ptr<T>;
|
|
2178
|
+
static GetAddressOfArrayData<T extends unknown>(handle: PinnedGCHandle_1<T[]>): ptr<T>;
|
|
2181
2179
|
static GetAddressOfStringData(handle: PinnedGCHandle_1<System_Internal.String>): ptr<char>;
|
|
2182
2180
|
}
|
|
2183
2181
|
|
|
@@ -2185,9 +2183,9 @@ export abstract class GCHandleExtensions$instance {
|
|
|
2185
2183
|
export type GCHandleExtensions = GCHandleExtensions$instance;
|
|
2186
2184
|
|
|
2187
2185
|
export abstract class ImmutableCollectionsMarshal$instance {
|
|
2188
|
-
static AsArray<T>(array: ImmutableArray_1<T>): T[] |
|
|
2189
|
-
static AsImmutableArray<T>(array: T[]): ImmutableArray_1<T>;
|
|
2190
|
-
static AsMemory<T>(builder: ImmutableArray_1_Builder<T>): Memory_1<T>;
|
|
2186
|
+
static AsArray<T extends unknown>(array: ImmutableArray_1<T>): T[] | null;
|
|
2187
|
+
static AsImmutableArray<T extends unknown>(array: T[] | null): ImmutableArray_1<T>;
|
|
2188
|
+
static AsMemory<T extends unknown>(builder: ImmutableArray_1_Builder<T> | null): Memory_1<T>;
|
|
2191
2189
|
}
|
|
2192
2190
|
|
|
2193
2191
|
|
|
@@ -2229,33 +2227,33 @@ export abstract class Marshal$instance {
|
|
|
2229
2227
|
static Copy(source: nint[], startIndex: int, destination: nint, length: int): void;
|
|
2230
2228
|
static Copy(source: float[], startIndex: int, destination: nint, length: int): void;
|
|
2231
2229
|
static CreateAggregatedObject(pOuter: nint, o: unknown): nint;
|
|
2232
|
-
static CreateAggregatedObject<T>(pOuter: nint, o: T): nint;
|
|
2233
|
-
static CreateWrapperOfType(o: unknown, t: Type): unknown |
|
|
2234
|
-
static CreateWrapperOfType<T, TWrapper>(o: T): TWrapper;
|
|
2230
|
+
static CreateAggregatedObject<T extends unknown>(pOuter: nint, o: T): nint;
|
|
2231
|
+
static CreateWrapperOfType(o: unknown | null, t: Type): unknown | null;
|
|
2232
|
+
static CreateWrapperOfType<T extends unknown, TWrapper extends unknown>(o: T | null): TWrapper;
|
|
2235
2233
|
static DestroyStructure(ptr: nint, structuretype: Type): void;
|
|
2236
|
-
static DestroyStructure<T>(ptr: nint): void;
|
|
2234
|
+
static DestroyStructure<T extends unknown>(ptr: nint): void;
|
|
2237
2235
|
static FinalReleaseComObject(o: unknown): int;
|
|
2238
2236
|
static FreeBSTR(ptr: nint): void;
|
|
2239
2237
|
static FreeCoTaskMem(ptr: nint): void;
|
|
2240
2238
|
static FreeHGlobal(hglobal: nint): void;
|
|
2241
2239
|
static GenerateGuidForType(type: Type): Guid;
|
|
2242
|
-
static GenerateProgIdForType(type: Type): string |
|
|
2240
|
+
static GenerateProgIdForType(type: Type): string | null;
|
|
2243
2241
|
static GetComInterfaceForObject(o: unknown, T: Type, mode: CustomQueryInterfaceMode): nint;
|
|
2244
2242
|
static GetComInterfaceForObject(o: unknown, T: Type): nint;
|
|
2245
|
-
static GetComInterfaceForObject<T, TInterface>(o: T): nint;
|
|
2246
|
-
static GetComObjectData(obj: unknown, key: unknown): unknown |
|
|
2243
|
+
static GetComInterfaceForObject<T extends unknown, TInterface extends unknown>(o: T): nint;
|
|
2244
|
+
static GetComObjectData(obj: unknown, key: unknown): unknown | null;
|
|
2247
2245
|
static GetDelegateForFunctionPointer(ptr: nint, t: Type): Function;
|
|
2248
|
-
static GetDelegateForFunctionPointer<TDelegate>(ptr: nint): TDelegate;
|
|
2246
|
+
static GetDelegateForFunctionPointer<TDelegate extends unknown>(ptr: nint): TDelegate;
|
|
2249
2247
|
static GetEndComSlot(t: Type): int;
|
|
2250
2248
|
static GetExceptionCode(): int;
|
|
2251
|
-
static GetExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception |
|
|
2252
|
-
static GetExceptionForHR(errorCode: int, errorInfo: nint): Exception |
|
|
2253
|
-
static GetExceptionForHR(errorCode: int): Exception |
|
|
2249
|
+
static GetExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception | null;
|
|
2250
|
+
static GetExceptionForHR(errorCode: int, errorInfo: nint): Exception | null;
|
|
2251
|
+
static GetExceptionForHR(errorCode: int): Exception | null;
|
|
2254
2252
|
static GetExceptionPointers(): nint;
|
|
2255
2253
|
static GetFunctionPointerForDelegate(d: Function): nint;
|
|
2256
|
-
static GetFunctionPointerForDelegate<TDelegate>(d: TDelegate): nint;
|
|
2254
|
+
static GetFunctionPointerForDelegate<TDelegate extends unknown>(d: TDelegate): nint;
|
|
2257
2255
|
static GetHINSTANCE(m: Module): nint;
|
|
2258
|
-
static GetHRForException(e: Exception): int;
|
|
2256
|
+
static GetHRForException(e: Exception | null): int;
|
|
2259
2257
|
static GetHRForLastWin32Error(): int;
|
|
2260
2258
|
static GetIDispatchForObject(o: unknown): nint;
|
|
2261
2259
|
static GetIUnknownForObject(o: unknown): nint;
|
|
@@ -2263,39 +2261,39 @@ export abstract class Marshal$instance {
|
|
|
2263
2261
|
static GetLastPInvokeErrorMessage(): string;
|
|
2264
2262
|
static GetLastSystemError(): int;
|
|
2265
2263
|
static GetLastWin32Error(): int;
|
|
2266
|
-
static GetNativeVariantForObject(obj: unknown, pDstNativeVariant: nint): void;
|
|
2267
|
-
static GetNativeVariantForObject<T>(obj: T, pDstNativeVariant: nint): void;
|
|
2264
|
+
static GetNativeVariantForObject(obj: unknown | null, pDstNativeVariant: nint): void;
|
|
2265
|
+
static GetNativeVariantForObject<T extends unknown>(obj: T | null, pDstNativeVariant: nint): void;
|
|
2268
2266
|
static GetObjectForIUnknown(pUnk: nint): unknown;
|
|
2269
|
-
static GetObjectForNativeVariant(pSrcNativeVariant: nint): unknown |
|
|
2270
|
-
static GetObjectForNativeVariant<T>(pSrcNativeVariant: nint): T |
|
|
2271
|
-
static GetObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): (unknown |
|
|
2272
|
-
static GetObjectsForNativeVariants<T>(aSrcNativeVariant: nint, cVars: int): T[];
|
|
2267
|
+
static GetObjectForNativeVariant(pSrcNativeVariant: nint): unknown | null;
|
|
2268
|
+
static GetObjectForNativeVariant<T extends unknown>(pSrcNativeVariant: nint): T | null;
|
|
2269
|
+
static GetObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): (unknown | null)[];
|
|
2270
|
+
static GetObjectsForNativeVariants<T extends unknown>(aSrcNativeVariant: nint, cVars: int): T[];
|
|
2273
2271
|
static GetPInvokeErrorMessage(error: int): string;
|
|
2274
2272
|
static GetStartComSlot(t: Type): int;
|
|
2275
2273
|
static GetTypedObjectForIUnknown(pUnk: nint, t: Type): unknown;
|
|
2276
|
-
static GetTypeFromCLSID(clsid: Guid): Type |
|
|
2274
|
+
static GetTypeFromCLSID(clsid: Guid): Type | null;
|
|
2277
2275
|
static GetTypeInfoName(typeInfo: ITypeInfo): string;
|
|
2278
2276
|
static GetUniqueObjectForIUnknown(unknown: nint): unknown;
|
|
2279
2277
|
static InitHandle(safeHandle: SafeHandle, handle: nint): void;
|
|
2280
2278
|
static IsComObject(o: unknown): boolean;
|
|
2281
2279
|
static IsTypeVisibleFromCom(t: Type): boolean;
|
|
2282
|
-
static OffsetOf<T>(fieldName: string): nint;
|
|
2280
|
+
static OffsetOf<T extends unknown>(fieldName: string): nint;
|
|
2283
2281
|
static OffsetOf(t: Type, fieldName: string): nint;
|
|
2284
2282
|
static Prelink(m: MethodInfo): void;
|
|
2285
2283
|
static PrelinkAll(c: Type): void;
|
|
2286
2284
|
static PtrToStringAnsi(ptr: nint, len: int): string;
|
|
2287
|
-
static PtrToStringAnsi(ptr: nint): string |
|
|
2288
|
-
static PtrToStringAuto(ptr: nint, len: int): string |
|
|
2289
|
-
static PtrToStringAuto(ptr: nint): string |
|
|
2285
|
+
static PtrToStringAnsi(ptr: nint): string | null;
|
|
2286
|
+
static PtrToStringAuto(ptr: nint, len: int): string | null;
|
|
2287
|
+
static PtrToStringAuto(ptr: nint): string | null;
|
|
2290
2288
|
static PtrToStringBSTR(ptr: nint): string;
|
|
2291
2289
|
static PtrToStringUni(ptr: nint, len: int): string;
|
|
2292
|
-
static PtrToStringUni(ptr: nint): string |
|
|
2290
|
+
static PtrToStringUni(ptr: nint): string | null;
|
|
2293
2291
|
static PtrToStringUTF8(ptr: nint, byteLen: int): string;
|
|
2294
|
-
static PtrToStringUTF8(ptr: nint): string |
|
|
2292
|
+
static PtrToStringUTF8(ptr: nint): string | null;
|
|
2295
2293
|
static PtrToStructure(ptr: nint, structure: unknown): void;
|
|
2296
|
-
static PtrToStructure(ptr: nint, structureType: Type): unknown |
|
|
2297
|
-
static PtrToStructure<T>(ptr: nint, structure: T): void;
|
|
2298
|
-
static PtrToStructure<T>(ptr: nint): T |
|
|
2294
|
+
static PtrToStructure(ptr: nint, structureType: Type): unknown | null;
|
|
2295
|
+
static PtrToStructure<T extends unknown>(ptr: nint, structure: T): void;
|
|
2296
|
+
static PtrToStructure<T extends unknown>(ptr: nint): T | null;
|
|
2299
2297
|
static QueryInterface(pUnk: nint, iid: Guid, ppv: nint): int;
|
|
2300
2298
|
static ReadByte(ptr: nint, ofs: int): byte;
|
|
2301
2299
|
static ReadByte(ptr: nint): byte;
|
|
@@ -2321,28 +2319,28 @@ export abstract class Marshal$instance {
|
|
|
2321
2319
|
static SecureStringToCoTaskMemUnicode(s: SecureString): nint;
|
|
2322
2320
|
static SecureStringToGlobalAllocAnsi(s: SecureString): nint;
|
|
2323
2321
|
static SecureStringToGlobalAllocUnicode(s: SecureString): nint;
|
|
2324
|
-
static SetComObjectData(obj: unknown, key: unknown, data: unknown): boolean;
|
|
2322
|
+
static SetComObjectData(obj: unknown, key: unknown, data: unknown | null): boolean;
|
|
2325
2323
|
static SetLastPInvokeError(error: int): void;
|
|
2326
2324
|
static SetLastSystemError(error: int): void;
|
|
2327
|
-
static SizeOf<T>(): int;
|
|
2325
|
+
static SizeOf<T extends unknown>(): int;
|
|
2328
2326
|
static SizeOf(structure: unknown): int;
|
|
2329
2327
|
static SizeOf(t: Type): int;
|
|
2330
|
-
static SizeOf<T>(structure: T): int;
|
|
2331
|
-
static StringToBSTR(s: string): nint;
|
|
2332
|
-
static StringToCoTaskMemAnsi(s: string): nint;
|
|
2333
|
-
static StringToCoTaskMemAuto(s: string): nint;
|
|
2334
|
-
static StringToCoTaskMemUni(s: string): nint;
|
|
2335
|
-
static StringToCoTaskMemUTF8(s: string): nint;
|
|
2336
|
-
static StringToHGlobalAnsi(s: string): nint;
|
|
2337
|
-
static StringToHGlobalAuto(s: string): nint;
|
|
2338
|
-
static StringToHGlobalUni(s: string): nint;
|
|
2328
|
+
static SizeOf<T extends unknown>(structure: T): int;
|
|
2329
|
+
static StringToBSTR(s: string | null): nint;
|
|
2330
|
+
static StringToCoTaskMemAnsi(s: string | null): nint;
|
|
2331
|
+
static StringToCoTaskMemAuto(s: string | null): nint;
|
|
2332
|
+
static StringToCoTaskMemUni(s: string | null): nint;
|
|
2333
|
+
static StringToCoTaskMemUTF8(s: string | null): nint;
|
|
2334
|
+
static StringToHGlobalAnsi(s: string | null): nint;
|
|
2335
|
+
static StringToHGlobalAuto(s: string | null): nint;
|
|
2336
|
+
static StringToHGlobalUni(s: string | null): nint;
|
|
2339
2337
|
static StructureToPtr(structure: unknown, ptr: nint, fDeleteOld: boolean): void;
|
|
2340
|
-
static StructureToPtr<T>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
2338
|
+
static StructureToPtr<T extends unknown>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
2341
2339
|
static ThrowExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): void;
|
|
2342
2340
|
static ThrowExceptionForHR(errorCode: int, errorInfo: nint): void;
|
|
2343
2341
|
static ThrowExceptionForHR(errorCode: int): void;
|
|
2344
2342
|
static UnsafeAddrOfPinnedArrayElement(arr: ClrArray, index: int): nint;
|
|
2345
|
-
static UnsafeAddrOfPinnedArrayElement<T>(arr: T[], index: int): nint;
|
|
2343
|
+
static UnsafeAddrOfPinnedArrayElement<T extends unknown>(arr: T[], index: int): nint;
|
|
2346
2344
|
static WriteByte(ptr: nint, val: byte): void;
|
|
2347
2345
|
static WriteByte(ptr: nint, ofs: int, val: byte): void;
|
|
2348
2346
|
static WriteByte(ptr: unknown, ofs: int, val: byte): void;
|
|
@@ -2373,31 +2371,31 @@ export abstract class Marshal$instance {
|
|
|
2373
2371
|
export type Marshal = Marshal$instance;
|
|
2374
2372
|
|
|
2375
2373
|
export abstract class MemoryMarshal$instance {
|
|
2376
|
-
static AsBytes<T extends unknown
|
|
2377
|
-
static AsBytes<T extends unknown
|
|
2378
|
-
static AsMemory<T>(memory: ReadOnlyMemory_1<T>): Memory_1<T>;
|
|
2379
|
-
static AsRef<T extends unknown
|
|
2380
|
-
static AsRef<T extends unknown
|
|
2381
|
-
static Cast<TFrom extends unknown
|
|
2382
|
-
static Cast<TFrom extends unknown
|
|
2383
|
-
static CreateFromPinnedArray<T>(array: T[], start: int, length: int): Memory_1<T>;
|
|
2384
|
-
static CreateReadOnlySpan<T>(reference: T, length: int): ReadOnlySpan_1<T>;
|
|
2374
|
+
static AsBytes<T extends NonNullable<unknown>>(span: ReadOnlySpan_1<T>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2375
|
+
static AsBytes<T extends NonNullable<unknown>>(span: Span_1<T>): Span_1<System_Internal.Byte>;
|
|
2376
|
+
static AsMemory<T extends unknown>(memory: ReadOnlyMemory_1<T>): Memory_1<T>;
|
|
2377
|
+
static AsRef<T extends NonNullable<unknown>>(span: ReadOnlySpan_1<System_Internal.Byte>): T;
|
|
2378
|
+
static AsRef<T extends NonNullable<unknown>>(span: Span_1<System_Internal.Byte>): T;
|
|
2379
|
+
static Cast<TFrom extends NonNullable<unknown>, TTo extends NonNullable<unknown>>(span: ReadOnlySpan_1<TFrom>): ReadOnlySpan_1<TTo>;
|
|
2380
|
+
static Cast<TFrom extends NonNullable<unknown>, TTo extends NonNullable<unknown>>(span: Span_1<TFrom>): Span_1<TTo>;
|
|
2381
|
+
static CreateFromPinnedArray<T extends unknown>(array: T[] | null, start: int, length: int): Memory_1<T>;
|
|
2382
|
+
static CreateReadOnlySpan<T extends unknown>(reference: T, length: int): ReadOnlySpan_1<T>;
|
|
2385
2383
|
static CreateReadOnlySpanFromNullTerminated(value: ptr<byte>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2386
2384
|
static CreateReadOnlySpanFromNullTerminated(value: ptr<char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
2387
|
-
static CreateSpan<T>(reference: T, length: int): Span_1<T>;
|
|
2385
|
+
static CreateSpan<T extends unknown>(reference: T, length: int): Span_1<T>;
|
|
2388
2386
|
static GetArrayDataReference(array: ClrArray): byte;
|
|
2389
|
-
static GetArrayDataReference<T>(array: T[]): T;
|
|
2390
|
-
static GetReference<T>(span: ReadOnlySpan_1<T>): T;
|
|
2391
|
-
static GetReference<T>(span: Span_1<T>): T;
|
|
2392
|
-
static Read<T extends unknown
|
|
2393
|
-
static ToEnumerable<T>(memory: ReadOnlyMemory_1<T>): IEnumerable_1<T>;
|
|
2394
|
-
static TryGetArray<T>(memory: ReadOnlyMemory_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2395
|
-
static TryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager, start: int, length: int): boolean;
|
|
2396
|
-
static TryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager): boolean;
|
|
2397
|
-
static TryGetString(memory: ReadOnlyMemory_1<System_Internal.Char>, text: string, start: int, length: int): boolean;
|
|
2398
|
-
static TryRead<T extends unknown
|
|
2399
|
-
static TryWrite<T extends unknown
|
|
2400
|
-
static Write<T extends unknown
|
|
2387
|
+
static GetArrayDataReference<T extends unknown>(array: T[]): T;
|
|
2388
|
+
static GetReference<T extends unknown>(span: ReadOnlySpan_1<T>): T;
|
|
2389
|
+
static GetReference<T extends unknown>(span: Span_1<T>): T;
|
|
2390
|
+
static Read<T extends NonNullable<unknown>>(source: ReadOnlySpan_1<System_Internal.Byte>): T;
|
|
2391
|
+
static ToEnumerable<T extends unknown>(memory: ReadOnlyMemory_1<T>): IEnumerable_1<T>;
|
|
2392
|
+
static TryGetArray<T extends unknown>(memory: ReadOnlyMemory_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2393
|
+
static TryGetMemoryManager<T extends unknown, TManager extends unknown & MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager | null, start: int, length: int): boolean;
|
|
2394
|
+
static TryGetMemoryManager<T extends unknown, TManager extends unknown & MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager | null): boolean;
|
|
2395
|
+
static TryGetString(memory: ReadOnlyMemory_1<System_Internal.Char>, text: string | null, start: int, length: int): boolean;
|
|
2396
|
+
static TryRead<T extends NonNullable<unknown>>(source: ReadOnlySpan_1<System_Internal.Byte>, value: T): boolean;
|
|
2397
|
+
static TryWrite<T extends NonNullable<unknown>>(destination: Span_1<System_Internal.Byte>, value: T): boolean;
|
|
2398
|
+
static Write<T extends NonNullable<unknown>>(destination: Span_1<System_Internal.Byte>, value: T): void;
|
|
2401
2399
|
}
|
|
2402
2400
|
|
|
2403
2401
|
|
|
@@ -2461,18 +2459,18 @@ export abstract class RuntimeInformation$instance {
|
|
|
2461
2459
|
export type RuntimeInformation = RuntimeInformation$instance;
|
|
2462
2460
|
|
|
2463
2461
|
export abstract class SequenceMarshal$instance {
|
|
2464
|
-
static TryGetArray<T>(sequence: ReadOnlySequence_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2465
|
-
static TryGetReadOnlyMemory<T>(sequence: ReadOnlySequence_1<T>, memory: ReadOnlyMemory_1<T>): boolean;
|
|
2466
|
-
static TryGetReadOnlySequenceSegment<T>(sequence: ReadOnlySequence_1<T>, startSegment: ReadOnlySequenceSegment_1<T
|
|
2467
|
-
static TryRead<T extends unknown
|
|
2462
|
+
static TryGetArray<T extends unknown>(sequence: ReadOnlySequence_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2463
|
+
static TryGetReadOnlyMemory<T extends unknown>(sequence: ReadOnlySequence_1<T>, memory: ReadOnlyMemory_1<T>): boolean;
|
|
2464
|
+
static TryGetReadOnlySequenceSegment<T extends unknown>(sequence: ReadOnlySequence_1<T>, startSegment: ReadOnlySequenceSegment_1<T> | null, startIndex: int, endSegment: ReadOnlySequenceSegment_1<T> | null, endIndex: int): boolean;
|
|
2465
|
+
static TryRead<T extends NonNullable<unknown>>(reader: SequenceReader_1<System_Internal.Byte>, value: T): boolean;
|
|
2468
2466
|
}
|
|
2469
2467
|
|
|
2470
2468
|
|
|
2471
2469
|
export type SequenceMarshal = SequenceMarshal$instance;
|
|
2472
2470
|
|
|
2473
2471
|
export abstract class TypeMapping$instance {
|
|
2474
|
-
static GetOrCreateExternalTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<System_Internal.String, Type>;
|
|
2475
|
-
static GetOrCreateProxyTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<Type, Type>;
|
|
2472
|
+
static GetOrCreateExternalTypeMapping<TTypeMapGroup extends unknown>(): IReadOnlyDictionary_2<System_Internal.String, Type>;
|
|
2473
|
+
static GetOrCreateProxyTypeMapping<TTypeMapGroup extends unknown>(): IReadOnlyDictionary_2<Type, Type>;
|
|
2476
2474
|
}
|
|
2477
2475
|
|
|
2478
2476
|
|