@tsonic/dotnet 10.0.41 → 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 +1 -1
- package/Internal.d.ts +4 -0
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +1 -1
- package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
- package/Microsoft.VisualBasic/bindings.json +13 -13
- package/Microsoft.VisualBasic/internal/index.d.ts +51 -51
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +116 -116
- package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
- package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
- package/Microsoft.VisualBasic.d.ts +4 -0
- package/Microsoft.Win32/internal/index.d.ts +9 -9
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +1 -1
- package/Microsoft.Win32.SafeHandles.d.ts +4 -0
- package/Microsoft.Win32.d.ts +4 -0
- package/README.md +8 -1
- package/System/bindings.json +204 -124
- package/System/internal/index.d.ts +1041 -1026
- package/System.Buffers/internal/index.d.ts +51 -51
- package/System.Buffers.Binary/internal/index.d.ts +1 -1
- package/System.Buffers.Binary.d.ts +4 -0
- package/System.Buffers.Text/internal/index.d.ts +1 -1
- package/System.Buffers.Text.d.ts +4 -0
- package/System.Buffers.d.ts +10 -6
- package/System.CodeDom.Compiler/internal/index.d.ts +14 -14
- package/System.CodeDom.Compiler.d.ts +4 -0
- package/System.Collections/bindings.json +300 -300
- package/System.Collections/internal/index.d.ts +113 -113
- package/System.Collections.Concurrent/bindings.json +93 -93
- package/System.Collections.Concurrent/internal/index.d.ts +65 -65
- package/System.Collections.Concurrent.d.ts +7 -3
- package/System.Collections.Frozen/bindings.json +90 -50
- package/System.Collections.Frozen/internal/index.d.ts +35 -33
- package/System.Collections.Frozen.d.ts +6 -2
- package/System.Collections.Generic/bindings.json +932 -612
- package/System.Collections.Generic/internal/index.d.ts +303 -287
- package/System.Collections.Generic.d.ts +19 -15
- package/System.Collections.Immutable/bindings.json +189 -189
- package/System.Collections.Immutable/internal/index.d.ts +235 -234
- package/System.Collections.Immutable.d.ts +21 -17
- package/System.Collections.ObjectModel/bindings.json +229 -229
- package/System.Collections.ObjectModel/internal/index.d.ts +41 -41
- package/System.Collections.ObjectModel.d.ts +6 -2
- package/System.Collections.Specialized/bindings.json +79 -79
- package/System.Collections.Specialized/internal/index.d.ts +46 -46
- package/System.Collections.Specialized.d.ts +4 -0
- package/System.Collections.d.ts +4 -0
- package/System.ComponentModel/bindings.json +108 -108
- package/System.ComponentModel/internal/index.d.ts +368 -363
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +78 -78
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +1 -1
- package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
- package/System.ComponentModel.DataAnnotations.d.ts +4 -0
- package/System.ComponentModel.Design/bindings.json +18 -18
- package/System.ComponentModel.Design/internal/index.d.ts +47 -47
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +38 -38
- package/System.ComponentModel.Design.Serialization.d.ts +4 -0
- package/System.ComponentModel.Design.d.ts +4 -0
- package/System.ComponentModel.d.ts +4 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +1 -1
- package/System.Configuration.Assemblies.d.ts +4 -0
- package/System.Data/bindings.json +124 -124
- package/System.Data/internal/index.d.ts +156 -156
- package/System.Data.Common/bindings.json +68 -68
- package/System.Data.Common/internal/index.d.ts +42 -42
- package/System.Data.Common.d.ts +4 -0
- package/System.Data.SqlTypes/internal/index.d.ts +40 -40
- package/System.Data.SqlTypes.d.ts +4 -0
- package/System.Data.d.ts +8 -4
- package/System.Diagnostics/bindings.json +251 -231
- package/System.Diagnostics/internal/index.d.ts +167 -154
- package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +7 -7
- package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
- package/System.Diagnostics.Contracts/bindings.json +62 -62
- package/System.Diagnostics.Contracts/internal/index.d.ts +9 -9
- package/System.Diagnostics.Contracts.d.ts +4 -0
- package/System.Diagnostics.Metrics/internal/index.d.ts +86 -86
- package/System.Diagnostics.Metrics.d.ts +7 -3
- package/System.Diagnostics.SymbolStore/bindings.json +2 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +3 -3
- package/System.Diagnostics.SymbolStore.d.ts +4 -0
- package/System.Diagnostics.Tracing/bindings.json +212 -212
- package/System.Diagnostics.Tracing/internal/index.d.ts +7 -7
- package/System.Diagnostics.Tracing.d.ts +4 -0
- package/System.Diagnostics.d.ts +5 -1
- package/System.Drawing/internal/index.d.ts +48 -48
- package/System.Drawing.d.ts +4 -0
- package/System.Dynamic/bindings.json +13 -13
- package/System.Dynamic/internal/index.d.ts +36 -35
- package/System.Dynamic.d.ts +4 -0
- package/System.Formats.Asn1/internal/index.d.ts +11 -11
- package/System.Formats.Asn1.d.ts +4 -0
- package/System.Formats.Tar/internal/index.d.ts +1 -1
- package/System.Formats.Tar.d.ts +4 -0
- package/System.Globalization/bindings.json +3 -3
- package/System.Globalization/internal/index.d.ts +19 -19
- package/System.Globalization.d.ts +4 -0
- package/System.IO/bindings.json +957 -957
- package/System.IO/internal/index.d.ts +55 -55
- package/System.IO.Compression/internal/index.d.ts +13 -13
- package/System.IO.Compression.d.ts +4 -0
- package/System.IO.Enumeration/bindings.json +47 -47
- package/System.IO.Enumeration/internal/index.d.ts +11 -11
- package/System.IO.Enumeration.d.ts +4 -0
- package/System.IO.IsolatedStorage/internal/index.d.ts +10 -10
- package/System.IO.IsolatedStorage.d.ts +4 -0
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +1 -1
- package/System.IO.MemoryMappedFiles.d.ts +4 -0
- package/System.IO.Pipelines/internal/index.d.ts +4 -4
- package/System.IO.Pipelines.d.ts +4 -0
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- 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 +703 -701
- package/System.Linq.Expressions/internal/index.d.ts +67 -41
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
- 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 +27 -27
- package/System.Net/internal/index.d.ts +53 -53
- package/System.Net.Cache/internal/index.d.ts +1 -1
- package/System.Net.Cache.d.ts +4 -0
- package/System.Net.Http/bindings.json +22 -22
- package/System.Net.Http/internal/index.d.ts +16 -16
- package/System.Net.Http.Headers/bindings.json +66 -26
- package/System.Net.Http.Headers/internal/index.d.ts +26 -24
- package/System.Net.Http.Headers.d.ts +4 -0
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Json.d.ts +4 -0
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- 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 +8 -8
- package/System.Net.Mail.d.ts +4 -0
- package/System.Net.Mime/internal/index.d.ts +3 -3
- package/System.Net.Mime.d.ts +4 -0
- package/System.Net.NetworkInformation/bindings.json +40 -40
- package/System.Net.NetworkInformation/internal/index.d.ts +15 -15
- package/System.Net.NetworkInformation.d.ts +4 -0
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Quic.d.ts +4 -0
- package/System.Net.Security/internal/index.d.ts +29 -29
- package/System.Net.Security.d.ts +4 -0
- package/System.Net.ServerSentEvents/internal/index.d.ts +9 -9
- package/System.Net.ServerSentEvents.d.ts +7 -3
- package/System.Net.Sockets/internal/index.d.ts +42 -42
- package/System.Net.Sockets.d.ts +4 -0
- package/System.Net.WebSockets/bindings.json +101 -101
- package/System.Net.WebSockets/internal/index.d.ts +5 -5
- package/System.Net.WebSockets.d.ts +4 -0
- package/System.Net.d.ts +4 -0
- package/System.Numerics/bindings.json +3 -3
- package/System.Numerics/internal/index.d.ts +218 -218
- package/System.Numerics.d.ts +38 -34
- package/System.Reflection/bindings.json +870 -870
- package/System.Reflection/internal/index.d.ts +107 -107
- package/System.Reflection.Emit/bindings.json +754 -754
- package/System.Reflection.Emit/internal/index.d.ts +27 -25
- package/System.Reflection.Emit.d.ts +4 -0
- package/System.Reflection.Metadata/bindings.json +607 -87
- package/System.Reflection.Metadata/internal/index.d.ts +144 -118
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +9 -9
- package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
- package/System.Reflection.Metadata.d.ts +9 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
- package/System.Reflection.PortableExecutable.d.ts +4 -0
- package/System.Reflection.d.ts +4 -0
- package/System.Resources/bindings.json +3 -3
- package/System.Resources/internal/index.d.ts +7 -7
- package/System.Resources.d.ts +4 -0
- package/System.Runtime/bindings.json +9 -9
- package/System.Runtime/internal/index.d.ts +7 -7
- package/System.Runtime.CompilerServices/bindings.json +383 -383
- package/System.Runtime.CompilerServices/internal/index.d.ts +226 -226
- package/System.Runtime.CompilerServices.d.ts +20 -16
- package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +1 -1
- package/System.Runtime.ConstrainedExecution.d.ts +4 -0
- package/System.Runtime.ExceptionServices/bindings.json +9 -9
- package/System.Runtime.ExceptionServices/internal/index.d.ts +2 -2
- package/System.Runtime.ExceptionServices.d.ts +4 -0
- package/System.Runtime.InteropServices/bindings.json +559 -559
- package/System.Runtime.InteropServices/internal/index.d.ts +182 -182
- package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +19 -19
- 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 +2 -2
- package/System.Runtime.InteropServices.Java.d.ts +4 -0
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +38 -38
- package/System.Runtime.InteropServices.JavaScript.d.ts +6 -2
- package/System.Runtime.InteropServices.Marshalling/bindings.json +117 -117
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +81 -81
- package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +15 -15
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +2 -2
- 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 +4 -4
- package/System.Runtime.InteropServices.Swift.d.ts +6 -2
- package/System.Runtime.InteropServices.d.ts +6 -2
- package/System.Runtime.Intrinsics/internal/index.d.ts +514 -514
- package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -1
- 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 +1 -1
- package/System.Runtime.Intrinsics.X86.d.ts +4 -0
- package/System.Runtime.Intrinsics.d.ts +12 -8
- package/System.Runtime.Loader/internal/index.d.ts +1 -1
- package/System.Runtime.Loader.d.ts +4 -0
- package/System.Runtime.Remoting/internal/index.d.ts +3 -3
- package/System.Runtime.Remoting.d.ts +4 -0
- package/System.Runtime.Serialization/bindings.json +13 -13
- package/System.Runtime.Serialization/internal/index.d.ts +102 -102
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +1 -1
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -3
- 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 +13 -13
- 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 +2 -2
- 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 +10 -10
- package/System.Security.AccessControl/bindings.json +33 -33
- package/System.Security.AccessControl/internal/index.d.ts +21 -21
- package/System.Security.AccessControl.d.ts +10 -6
- package/System.Security.Authentication/internal/index.d.ts +1 -1
- package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -3
- 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 +3 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Security.Cryptography/bindings.json +40 -40
- package/System.Security.Cryptography/internal/index.d.ts +28 -27
- package/System.Security.Cryptography.X509Certificates/bindings.json +312 -312
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +10 -10
- 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 +1 -1
- 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 -9
- package/System.Security.Policy.d.ts +4 -0
- package/System.Security.Principal/bindings.json +8 -8
- package/System.Security.Principal/internal/index.d.ts +8 -8
- package/System.Security.Principal.d.ts +4 -0
- package/System.Security.d.ts +4 -0
- package/System.Text/bindings.json +20 -20
- package/System.Text/internal/index.d.ts +48 -48
- package/System.Text.Encodings.Web/internal/index.d.ts +1 -1
- package/System.Text.Encodings.Web.d.ts +4 -0
- package/System.Text.Json/internal/index.d.ts +109 -109
- package/System.Text.Json.Nodes/bindings.json +27 -27
- package/System.Text.Json.Nodes/internal/index.d.ts +8 -8
- package/System.Text.Json.Nodes.d.ts +4 -0
- package/System.Text.Json.Schema/internal/index.d.ts +1 -1
- package/System.Text.Json.Schema.d.ts +4 -0
- package/System.Text.Json.Serialization/internal/index.d.ts +18 -18
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +67 -67
- 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 +158 -118
- package/System.Text.RegularExpressions/internal/index.d.ts +9 -7
- package/System.Text.RegularExpressions.d.ts +4 -0
- package/System.Text.Unicode/internal/index.d.ts +6 -6
- package/System.Text.Unicode.d.ts +4 -0
- package/System.Text.d.ts +4 -0
- package/System.Threading/bindings.json +19 -19
- package/System.Threading/internal/index.d.ts +97 -97
- package/System.Threading.Channels/internal/index.d.ts +23 -23
- package/System.Threading.Channels.d.ts +8 -4
- package/System.Threading.Tasks/bindings.json +138 -38
- package/System.Threading.Tasks/internal/index.d.ts +229 -227
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +95 -95
- 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 +9 -9
- 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 +2 -2
- package/System.Timers.d.ts +4 -0
- package/System.Transactions/internal/index.d.ts +6 -6
- package/System.Transactions.d.ts +4 -0
- package/System.Web/internal/index.d.ts +2 -2
- package/System.Web.d.ts +4 -0
- package/System.Windows.Input/internal/index.d.ts +3 -3
- package/System.Windows.Input.d.ts +4 -0
- package/System.Windows.Markup/internal/index.d.ts +1 -1
- package/System.Windows.Markup.d.ts +4 -0
- package/System.Xml/bindings.json +27 -27
- package/System.Xml/internal/index.d.ts +29 -29
- package/System.Xml.Linq/bindings.json +6 -6
- package/System.Xml.Linq/internal/index.d.ts +49 -49
- package/System.Xml.Linq.d.ts +4 -0
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Resolvers.d.ts +4 -0
- package/System.Xml.Schema/bindings.json +24 -24
- package/System.Xml.Schema/internal/index.d.ts +24 -24
- package/System.Xml.Schema.d.ts +4 -0
- package/System.Xml.Serialization/bindings.json +57 -57
- package/System.Xml.Serialization/internal/index.d.ts +49 -49
- package/System.Xml.Serialization.d.ts +4 -0
- package/System.Xml.XPath/bindings.json +1 -1
- package/System.Xml.XPath/internal/index.d.ts +18 -18
- package/System.Xml.XPath.d.ts +4 -0
- package/System.Xml.Xsl/bindings.json +1 -1
- package/System.Xml.Xsl/internal/index.d.ts +12 -12
- package/System.Xml.Xsl.Runtime/bindings.json +70 -70
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +21 -21
- 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 +1288 -1293
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Assembly: System.Collections.Immutable, System.Memory, System.Private.CoreLib, System.Runtime.InteropServices, System.Text.Json
|
|
4
4
|
|
|
5
5
|
// Core type aliases from @tsonic/core
|
|
6
|
-
import type {
|
|
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
9
|
// Import types from other namespaces
|
|
@@ -357,7 +357,7 @@ export type DllImportResolver = (libraryName: string, assembly: Assembly, search
|
|
|
357
357
|
export interface ICustomAdapter$instance {
|
|
358
358
|
readonly __tsonic_iface_System_Runtime_InteropServices_ICustomAdapter: never;
|
|
359
359
|
|
|
360
|
-
GetUnderlyingObject():
|
|
360
|
+
GetUnderlyingObject(): unknown;
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
|
|
@@ -375,11 +375,11 @@ export type ICustomFactory = ICustomFactory$instance;
|
|
|
375
375
|
export interface ICustomMarshaler$instance {
|
|
376
376
|
readonly __tsonic_iface_System_Runtime_InteropServices_ICustomMarshaler: never;
|
|
377
377
|
|
|
378
|
-
CleanUpManagedData(ManagedObj:
|
|
378
|
+
CleanUpManagedData(ManagedObj: unknown): void;
|
|
379
379
|
CleanUpNativeData(pNativeData: nint): void;
|
|
380
380
|
GetNativeDataSize(): int;
|
|
381
|
-
MarshalManagedToNative(ManagedObj:
|
|
382
|
-
MarshalNativeToManaged(pNativeData: nint):
|
|
381
|
+
MarshalManagedToNative(ManagedObj: unknown): nint;
|
|
382
|
+
MarshalNativeToManaged(pNativeData: nint): unknown;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
|
|
@@ -409,16 +409,16 @@ export interface ArrayWithOffset$instance {
|
|
|
409
409
|
|
|
410
410
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
411
411
|
|
|
412
|
-
Equals(obj:
|
|
412
|
+
Equals(obj: unknown | null): boolean;
|
|
413
413
|
Equals(obj: ArrayWithOffset): boolean;
|
|
414
|
-
GetArray():
|
|
414
|
+
GetArray(): unknown | null;
|
|
415
415
|
GetHashCode(): int;
|
|
416
416
|
GetOffset(): int;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
|
|
420
420
|
export const ArrayWithOffset: {
|
|
421
|
-
new(array:
|
|
421
|
+
new(array: unknown | null, offset: int): ArrayWithOffset;
|
|
422
422
|
};
|
|
423
423
|
|
|
424
424
|
|
|
@@ -438,7 +438,7 @@ export interface CLong$instance {
|
|
|
438
438
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
439
439
|
|
|
440
440
|
readonly Value: nint;
|
|
441
|
-
Equals(o:
|
|
441
|
+
Equals(o: unknown | null): boolean;
|
|
442
442
|
Equals(other: CLong): boolean;
|
|
443
443
|
GetHashCode(): int;
|
|
444
444
|
ToString(): string;
|
|
@@ -467,7 +467,7 @@ export interface CULong$instance {
|
|
|
467
467
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
468
468
|
|
|
469
469
|
readonly Value: nuint;
|
|
470
|
-
Equals(o:
|
|
470
|
+
Equals(o: unknown | null): boolean;
|
|
471
471
|
Equals(other: CULong): boolean;
|
|
472
472
|
GetHashCode(): int;
|
|
473
473
|
ToString(): string;
|
|
@@ -496,10 +496,10 @@ export interface GCHandle$instance {
|
|
|
496
496
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
497
497
|
|
|
498
498
|
readonly IsAllocated: boolean;
|
|
499
|
-
get Target():
|
|
500
|
-
set Target(value:
|
|
499
|
+
get Target(): unknown | null;
|
|
500
|
+
set Target(value: unknown | null);
|
|
501
501
|
AddrOfPinnedObject(): nint;
|
|
502
|
-
Equals(o:
|
|
502
|
+
Equals(o: unknown | null): boolean;
|
|
503
503
|
Equals(other: GCHandle): boolean;
|
|
504
504
|
Free(): void;
|
|
505
505
|
GetHashCode(): int;
|
|
@@ -508,8 +508,8 @@ export interface GCHandle$instance {
|
|
|
508
508
|
|
|
509
509
|
export const GCHandle: {
|
|
510
510
|
new(): GCHandle;
|
|
511
|
-
Alloc(value:
|
|
512
|
-
Alloc(value:
|
|
511
|
+
Alloc(value: unknown | null, type: GCHandleType): GCHandle;
|
|
512
|
+
Alloc(value: unknown | null): GCHandle;
|
|
513
513
|
FromIntPtr(value: nint): GCHandle;
|
|
514
514
|
ToIntPtr(value: GCHandle): nint;
|
|
515
515
|
};
|
|
@@ -525,7 +525,7 @@ export interface __GCHandle$views {
|
|
|
525
525
|
export type GCHandle = GCHandle$instance & __GCHandle$views;
|
|
526
526
|
|
|
527
527
|
|
|
528
|
-
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 {
|
|
529
529
|
readonly __tsonic_type_System_Runtime_InteropServices_GCHandle_1: never;
|
|
530
530
|
|
|
531
531
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -534,20 +534,20 @@ export interface GCHandle_1$instance<T> extends System_Internal.IDisposable$inst
|
|
|
534
534
|
readonly IsAllocated: boolean;
|
|
535
535
|
Target: T;
|
|
536
536
|
Dispose(): void;
|
|
537
|
-
Equals(obj:
|
|
537
|
+
Equals(obj: unknown | null): boolean;
|
|
538
538
|
Equals(other: GCHandle_1<T>): boolean;
|
|
539
539
|
GetHashCode(): int;
|
|
540
540
|
}
|
|
541
541
|
|
|
542
542
|
|
|
543
543
|
export const GCHandle_1: {
|
|
544
|
-
new<T>(target: T): GCHandle_1<T>;
|
|
545
|
-
FromIntPtr<T>(value: nint): GCHandle_1<T>;
|
|
546
|
-
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;
|
|
547
547
|
};
|
|
548
548
|
|
|
549
549
|
|
|
550
|
-
export interface __GCHandle_1$views<T> {
|
|
550
|
+
export interface __GCHandle_1$views<T extends (object | null)> {
|
|
551
551
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
552
552
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<GCHandle_1<T>>;
|
|
553
553
|
|
|
@@ -555,26 +555,26 @@ export interface __GCHandle_1$views<T> {
|
|
|
555
555
|
Equals(other: GCHandle_1<T>): boolean;
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
-
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>;
|
|
559
559
|
|
|
560
560
|
|
|
561
561
|
export interface HandleRef$instance {
|
|
562
562
|
readonly __tsonic_type_System_Runtime_InteropServices_HandleRef: never;
|
|
563
563
|
|
|
564
564
|
readonly Handle: nint;
|
|
565
|
-
readonly Wrapper:
|
|
565
|
+
readonly Wrapper: unknown | null;
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
|
|
569
569
|
export const HandleRef: {
|
|
570
|
-
new(wrapper:
|
|
570
|
+
new(wrapper: unknown | null, handle: nint): HandleRef;
|
|
571
571
|
ToIntPtr(value: HandleRef): nint;
|
|
572
572
|
};
|
|
573
573
|
|
|
574
574
|
|
|
575
575
|
export type HandleRef = HandleRef$instance;
|
|
576
576
|
|
|
577
|
-
export interface NFloat$instance extends
|
|
577
|
+
export interface NFloat$instance extends System_Numerics_Internal.IMinMaxValue_1$instance<NFloat> {
|
|
578
578
|
readonly __tsonic_type_System_Runtime_InteropServices_NFloat: never;
|
|
579
579
|
|
|
580
580
|
readonly __tsonic_iface_System_IComparable: never;
|
|
@@ -617,9 +617,9 @@ export interface NFloat$instance extends IBitwiseOperators_3<NFloat, NFloat, NFl
|
|
|
617
617
|
readonly __tsonic_iface_System_Numerics_IUnaryPlusOperators_2: never;
|
|
618
618
|
|
|
619
619
|
readonly Value: double;
|
|
620
|
-
CompareTo(obj:
|
|
620
|
+
CompareTo(obj: unknown | null): int;
|
|
621
621
|
CompareTo(other: NFloat): int;
|
|
622
|
-
Equals(obj:
|
|
622
|
+
Equals(obj: unknown | null): boolean;
|
|
623
623
|
Equals(other: NFloat): boolean;
|
|
624
624
|
GetHashCode(): int;
|
|
625
625
|
ToString(): string;
|
|
@@ -663,15 +663,15 @@ export const NFloat: {
|
|
|
663
663
|
Ceiling(x: NFloat): NFloat;
|
|
664
664
|
Clamp(value: NFloat, min: NFloat, max: NFloat): NFloat;
|
|
665
665
|
ClampNative(value: NFloat, min: NFloat, max: NFloat): NFloat;
|
|
666
|
-
ConvertToInteger<TInteger extends IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
667
|
-
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;
|
|
668
668
|
CopySign(value: NFloat, sign: NFloat): NFloat;
|
|
669
669
|
Cos(x: NFloat): NFloat;
|
|
670
670
|
Cosh(x: NFloat): NFloat;
|
|
671
671
|
CosPi(x: NFloat): NFloat;
|
|
672
|
-
CreateChecked<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
673
|
-
CreateSaturating<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
674
|
-
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;
|
|
675
675
|
DegreesToRadians(degrees: NFloat): NFloat;
|
|
676
676
|
Exp(x: NFloat): NFloat;
|
|
677
677
|
Exp10(x: NFloat): NFloat;
|
|
@@ -777,7 +777,7 @@ export interface __NFloat$views {
|
|
|
777
777
|
|
|
778
778
|
// Structural method bridges for numeric interface constraints
|
|
779
779
|
Equals(other: NFloat): boolean;
|
|
780
|
-
CompareTo(obj:
|
|
780
|
+
CompareTo(obj: unknown): int;
|
|
781
781
|
ToString(format: string, formatProvider: import("../../System/internal/index").IFormatProvider): string;
|
|
782
782
|
TryFormat(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").Char>, charsWritten: int, format: import("../../System/internal/index").ReadOnlySpan_1<import("../../System/internal/index").Char>, provider: import("../../System/internal/index").IFormatProvider): boolean;
|
|
783
783
|
TryFormat(utf8Destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").Byte>, bytesWritten: int, format: import("../../System/internal/index").ReadOnlySpan_1<import("../../System/internal/index").Char>, provider: import("../../System/internal/index").IFormatProvider): boolean;
|
|
@@ -798,7 +798,7 @@ export interface OSPlatform$instance {
|
|
|
798
798
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
799
799
|
|
|
800
800
|
Equals(other: OSPlatform): boolean;
|
|
801
|
-
Equals(obj:
|
|
801
|
+
Equals(obj: unknown | null): boolean;
|
|
802
802
|
GetHashCode(): int;
|
|
803
803
|
ToString(): string;
|
|
804
804
|
}
|
|
@@ -824,7 +824,7 @@ export interface __OSPlatform$views {
|
|
|
824
824
|
export type OSPlatform = OSPlatform$instance & __OSPlatform$views;
|
|
825
825
|
|
|
826
826
|
|
|
827
|
-
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 {
|
|
828
828
|
readonly __tsonic_type_System_Runtime_InteropServices_PinnedGCHandle_1: never;
|
|
829
829
|
|
|
830
830
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -833,7 +833,7 @@ export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposabl
|
|
|
833
833
|
readonly IsAllocated: boolean;
|
|
834
834
|
Target: T;
|
|
835
835
|
Dispose(): void;
|
|
836
|
-
Equals(obj:
|
|
836
|
+
Equals(obj: unknown | null): boolean;
|
|
837
837
|
Equals(other: PinnedGCHandle_1<T>): boolean;
|
|
838
838
|
GetAddressOfObjectData(): ptr<void>;
|
|
839
839
|
GetHashCode(): int;
|
|
@@ -841,13 +841,13 @@ export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposabl
|
|
|
841
841
|
|
|
842
842
|
|
|
843
843
|
export const PinnedGCHandle_1: {
|
|
844
|
-
new<T>(target: T): PinnedGCHandle_1<T>;
|
|
845
|
-
FromIntPtr<T>(value: nint): PinnedGCHandle_1<T>;
|
|
846
|
-
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;
|
|
847
847
|
};
|
|
848
848
|
|
|
849
849
|
|
|
850
|
-
export interface __PinnedGCHandle_1$views<T> {
|
|
850
|
+
export interface __PinnedGCHandle_1$views<T extends (object | null)> {
|
|
851
851
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
852
852
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<PinnedGCHandle_1<T>>;
|
|
853
853
|
|
|
@@ -855,10 +855,10 @@ export interface __PinnedGCHandle_1$views<T> {
|
|
|
855
855
|
Equals(other: PinnedGCHandle_1<T>): boolean;
|
|
856
856
|
}
|
|
857
857
|
|
|
858
|
-
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>;
|
|
859
859
|
|
|
860
860
|
|
|
861
|
-
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 {
|
|
862
862
|
readonly __tsonic_type_System_Runtime_InteropServices_WeakGCHandle_1: never;
|
|
863
863
|
|
|
864
864
|
readonly __tsonic_iface_System_IDisposable: never;
|
|
@@ -866,7 +866,7 @@ export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$
|
|
|
866
866
|
|
|
867
867
|
readonly IsAllocated: boolean;
|
|
868
868
|
Dispose(): void;
|
|
869
|
-
Equals(obj:
|
|
869
|
+
Equals(obj: unknown | null): boolean;
|
|
870
870
|
Equals(other: WeakGCHandle_1<T>): boolean;
|
|
871
871
|
GetHashCode(): int;
|
|
872
872
|
SetTarget(target: T): void;
|
|
@@ -875,13 +875,13 @@ export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$
|
|
|
875
875
|
|
|
876
876
|
|
|
877
877
|
export const WeakGCHandle_1: {
|
|
878
|
-
new<T>(target: T, trackResurrection: boolean): WeakGCHandle_1<T>;
|
|
879
|
-
FromIntPtr<T>(value: nint): WeakGCHandle_1<T>;
|
|
880
|
-
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;
|
|
881
881
|
};
|
|
882
882
|
|
|
883
883
|
|
|
884
|
-
export interface __WeakGCHandle_1$views<T> {
|
|
884
|
+
export interface __WeakGCHandle_1$views<T extends (object | null)> {
|
|
885
885
|
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
886
886
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<WeakGCHandle_1<T>>;
|
|
887
887
|
|
|
@@ -889,7 +889,7 @@ export interface __WeakGCHandle_1$views<T> {
|
|
|
889
889
|
Equals(other: WeakGCHandle_1<T>): boolean;
|
|
890
890
|
}
|
|
891
891
|
|
|
892
|
-
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>;
|
|
893
893
|
|
|
894
894
|
|
|
895
895
|
export interface AllowReversePInvokeCallsAttribute$instance extends Attribute {
|
|
@@ -943,7 +943,7 @@ export interface BStrWrapper$instance {
|
|
|
943
943
|
|
|
944
944
|
export const BStrWrapper: {
|
|
945
945
|
new(value: string | null): BStrWrapper;
|
|
946
|
-
new(value:
|
|
946
|
+
new(value: unknown | null): BStrWrapper;
|
|
947
947
|
};
|
|
948
948
|
|
|
949
949
|
|
|
@@ -992,7 +992,7 @@ export const ComAliasNameAttribute: {
|
|
|
992
992
|
|
|
993
993
|
export type ComAliasNameAttribute = ComAliasNameAttribute$instance;
|
|
994
994
|
|
|
995
|
-
export interface ComAwareEventInfo$instance extends EventInfo {
|
|
995
|
+
export interface ComAwareEventInfo$instance extends EventInfo, System_Reflection_Internal.ICustomAttributeProvider$instance {
|
|
996
996
|
readonly __tsonic_type_System_Runtime_InteropServices_ComAwareEventInfo: never;
|
|
997
997
|
|
|
998
998
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
@@ -1003,11 +1003,11 @@ export interface ComAwareEventInfo$instance extends EventInfo {
|
|
|
1003
1003
|
readonly Module: Module;
|
|
1004
1004
|
readonly Name: string;
|
|
1005
1005
|
readonly ReflectedType: Type | null;
|
|
1006
|
-
AddEventHandler(target:
|
|
1006
|
+
AddEventHandler(target: unknown, handler: Function): void;
|
|
1007
1007
|
GetAddMethod(nonPublic: boolean): MethodInfo | null;
|
|
1008
1008
|
GetAddMethod(): MethodInfo | null;
|
|
1009
|
-
GetCustomAttributes(attributeType: Type, inherit: boolean):
|
|
1010
|
-
GetCustomAttributes(inherit: boolean):
|
|
1009
|
+
GetCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
1010
|
+
GetCustomAttributes(inherit: boolean): unknown[];
|
|
1011
1011
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
1012
1012
|
GetOtherMethods(nonPublic: boolean): MethodInfo[];
|
|
1013
1013
|
GetOtherMethods(): MethodInfo[];
|
|
@@ -1016,7 +1016,7 @@ export interface ComAwareEventInfo$instance extends EventInfo {
|
|
|
1016
1016
|
GetRemoveMethod(nonPublic: boolean): MethodInfo | null;
|
|
1017
1017
|
GetRemoveMethod(): MethodInfo | null;
|
|
1018
1018
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1019
|
-
RemoveEventHandler(target:
|
|
1019
|
+
RemoveEventHandler(target: unknown, handler: Function): void;
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
|
|
@@ -1189,14 +1189,14 @@ export type ComVisibleAttribute = ComVisibleAttribute$instance;
|
|
|
1189
1189
|
export interface ComWrappers$instance {
|
|
1190
1190
|
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers: never;
|
|
1191
1191
|
|
|
1192
|
-
ComputeVtables(obj:
|
|
1193
|
-
CreateObject(externalComObject: nint, flags: CreateObjectFlags):
|
|
1194
|
-
CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState:
|
|
1195
|
-
GetOrCreateComInterfaceForObject(instance:
|
|
1196
|
-
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags):
|
|
1197
|
-
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState:
|
|
1198
|
-
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper:
|
|
1199
|
-
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper:
|
|
1192
|
+
ComputeVtables(obj: unknown, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
|
|
1193
|
+
CreateObject(externalComObject: nint, flags: CreateObjectFlags): unknown | null;
|
|
1194
|
+
CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: unknown | null, wrapperFlags: CreatedWrapperFlags): unknown | null;
|
|
1195
|
+
GetOrCreateComInterfaceForObject(instance: unknown, flags: CreateComInterfaceFlags): nint;
|
|
1196
|
+
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags): unknown;
|
|
1197
|
+
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState: unknown | null): unknown;
|
|
1198
|
+
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown): unknown;
|
|
1199
|
+
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown, inner: nint): unknown;
|
|
1200
1200
|
ReleaseObjects(objects: IEnumerable): void;
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
@@ -1205,8 +1205,8 @@ export const ComWrappers: (abstract new() => ComWrappers) & {
|
|
|
1205
1205
|
GetIUnknownImpl(fpQueryInterface: nint, fpAddRef: nint, fpRelease: nint): void;
|
|
1206
1206
|
RegisterForMarshalling(instance: ComWrappers): void;
|
|
1207
1207
|
RegisterForTrackerSupport(instance: ComWrappers): void;
|
|
1208
|
-
TryGetComInstance(obj:
|
|
1209
|
-
TryGetObject(unknown: nint, obj:
|
|
1208
|
+
TryGetComInstance(obj: unknown, unknown: nint): boolean;
|
|
1209
|
+
TryGetObject(unknown: nint, obj: unknown | null): boolean;
|
|
1210
1210
|
};
|
|
1211
1211
|
|
|
1212
1212
|
|
|
@@ -1221,7 +1221,7 @@ export interface ComWrappers_ComInterfaceDispatch$instance {
|
|
|
1221
1221
|
|
|
1222
1222
|
export const ComWrappers_ComInterfaceDispatch: {
|
|
1223
1223
|
new(): ComWrappers_ComInterfaceDispatch;
|
|
1224
|
-
GetInstance<T>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
1224
|
+
GetInstance<T extends (object | null)>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
1225
1225
|
};
|
|
1226
1226
|
|
|
1227
1227
|
|
|
@@ -1278,7 +1278,7 @@ export interface CurrencyWrapper$instance {
|
|
|
1278
1278
|
|
|
1279
1279
|
export const CurrencyWrapper: {
|
|
1280
1280
|
new(obj: decimal): CurrencyWrapper;
|
|
1281
|
-
new(obj:
|
|
1281
|
+
new(obj: unknown): CurrencyWrapper;
|
|
1282
1282
|
};
|
|
1283
1283
|
|
|
1284
1284
|
|
|
@@ -1315,12 +1315,12 @@ export type DefaultDllImportSearchPathsAttribute = DefaultDllImportSearchPathsAt
|
|
|
1315
1315
|
export interface DefaultParameterValueAttribute$instance extends Attribute {
|
|
1316
1316
|
readonly __tsonic_type_System_Runtime_InteropServices_DefaultParameterValueAttribute: never;
|
|
1317
1317
|
|
|
1318
|
-
readonly Value:
|
|
1318
|
+
readonly Value: unknown | null;
|
|
1319
1319
|
}
|
|
1320
1320
|
|
|
1321
1321
|
|
|
1322
1322
|
export const DefaultParameterValueAttribute: {
|
|
1323
|
-
new(value:
|
|
1323
|
+
new(value: unknown | null): DefaultParameterValueAttribute;
|
|
1324
1324
|
};
|
|
1325
1325
|
|
|
1326
1326
|
|
|
@@ -1329,12 +1329,12 @@ export type DefaultParameterValueAttribute = DefaultParameterValueAttribute$inst
|
|
|
1329
1329
|
export interface DispatchWrapper$instance {
|
|
1330
1330
|
readonly __tsonic_type_System_Runtime_InteropServices_DispatchWrapper: never;
|
|
1331
1331
|
|
|
1332
|
-
readonly WrappedObject:
|
|
1332
|
+
readonly WrappedObject: unknown | null;
|
|
1333
1333
|
}
|
|
1334
1334
|
|
|
1335
1335
|
|
|
1336
1336
|
export const DispatchWrapper: {
|
|
1337
|
-
new(obj:
|
|
1337
|
+
new(obj: unknown | null): DispatchWrapper;
|
|
1338
1338
|
};
|
|
1339
1339
|
|
|
1340
1340
|
|
|
@@ -1398,7 +1398,7 @@ export interface ErrorWrapper$instance {
|
|
|
1398
1398
|
|
|
1399
1399
|
export const ErrorWrapper: {
|
|
1400
1400
|
new(errorCode: int): ErrorWrapper;
|
|
1401
|
-
new(errorCode:
|
|
1401
|
+
new(errorCode: unknown): ErrorWrapper;
|
|
1402
1402
|
new(e: Exception): ErrorWrapper;
|
|
1403
1403
|
};
|
|
1404
1404
|
|
|
@@ -1817,14 +1817,14 @@ export interface SafeBuffer$instance extends SafeHandleZeroOrMinusOneIsInvalid {
|
|
|
1817
1817
|
AcquirePointer(pointer: ptr<byte>): void;
|
|
1818
1818
|
Initialize(numBytes: ulong): void;
|
|
1819
1819
|
Initialize(numElements: uint, sizeOfEachElement: uint): void;
|
|
1820
|
-
Initialize<T extends NonNullable<
|
|
1821
|
-
Read<T extends NonNullable<
|
|
1822
|
-
ReadArray<T extends NonNullable<
|
|
1823
|
-
ReadSpan<T extends NonNullable<
|
|
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;
|
|
1824
1824
|
ReleasePointer(): void;
|
|
1825
|
-
Write<T extends NonNullable<
|
|
1826
|
-
WriteArray<T extends NonNullable<
|
|
1827
|
-
WriteSpan<T extends NonNullable<
|
|
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;
|
|
1828
1828
|
}
|
|
1829
1829
|
|
|
1830
1830
|
|
|
@@ -2025,55 +2025,55 @@ export const TypeLibVersionAttribute: {
|
|
|
2025
2025
|
|
|
2026
2026
|
export type TypeLibVersionAttribute = TypeLibVersionAttribute$instance;
|
|
2027
2027
|
|
|
2028
|
-
export interface TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup> extends Attribute {
|
|
2028
|
+
export interface TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup extends unknown> extends Attribute {
|
|
2029
2029
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeMapAssemblyTargetAttribute_1: never;
|
|
2030
2030
|
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
2033
|
|
|
2034
2034
|
export const TypeMapAssemblyTargetAttribute_1: {
|
|
2035
|
-
new<TTypeMapGroup>(assemblyName: string): TypeMapAssemblyTargetAttribute_1<TTypeMapGroup>;
|
|
2035
|
+
new<TTypeMapGroup extends unknown>(assemblyName: string): TypeMapAssemblyTargetAttribute_1<TTypeMapGroup>;
|
|
2036
2036
|
};
|
|
2037
2037
|
|
|
2038
2038
|
|
|
2039
|
-
export type TypeMapAssemblyTargetAttribute_1<TTypeMapGroup> = TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup>;
|
|
2039
|
+
export type TypeMapAssemblyTargetAttribute_1<TTypeMapGroup extends unknown> = TypeMapAssemblyTargetAttribute_1$instance<TTypeMapGroup>;
|
|
2040
2040
|
|
|
2041
|
-
export interface TypeMapAssociationAttribute_1$instance<TTypeMapGroup> extends Attribute {
|
|
2041
|
+
export interface TypeMapAssociationAttribute_1$instance<TTypeMapGroup extends unknown> extends Attribute {
|
|
2042
2042
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeMapAssociationAttribute_1: never;
|
|
2043
2043
|
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
2046
|
|
|
2047
2047
|
export const TypeMapAssociationAttribute_1: {
|
|
2048
|
-
new<TTypeMapGroup>(source: Type, proxy: Type): TypeMapAssociationAttribute_1<TTypeMapGroup>;
|
|
2048
|
+
new<TTypeMapGroup extends unknown>(source: Type, proxy: Type): TypeMapAssociationAttribute_1<TTypeMapGroup>;
|
|
2049
2049
|
};
|
|
2050
2050
|
|
|
2051
2051
|
|
|
2052
|
-
export type TypeMapAssociationAttribute_1<TTypeMapGroup> = TypeMapAssociationAttribute_1$instance<TTypeMapGroup>;
|
|
2052
|
+
export type TypeMapAssociationAttribute_1<TTypeMapGroup extends unknown> = TypeMapAssociationAttribute_1$instance<TTypeMapGroup>;
|
|
2053
2053
|
|
|
2054
|
-
export interface TypeMapAttribute_1$instance<TTypeMapGroup> extends Attribute {
|
|
2054
|
+
export interface TypeMapAttribute_1$instance<TTypeMapGroup extends unknown> extends Attribute {
|
|
2055
2055
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeMapAttribute_1: never;
|
|
2056
2056
|
|
|
2057
2057
|
}
|
|
2058
2058
|
|
|
2059
2059
|
|
|
2060
2060
|
export const TypeMapAttribute_1: {
|
|
2061
|
-
new<TTypeMapGroup>(value: string, target: Type): TypeMapAttribute_1<TTypeMapGroup>;
|
|
2062
|
-
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>;
|
|
2063
2063
|
};
|
|
2064
2064
|
|
|
2065
2065
|
|
|
2066
|
-
export type TypeMapAttribute_1<TTypeMapGroup> = TypeMapAttribute_1$instance<TTypeMapGroup>;
|
|
2066
|
+
export type TypeMapAttribute_1<TTypeMapGroup extends unknown> = TypeMapAttribute_1$instance<TTypeMapGroup>;
|
|
2067
2067
|
|
|
2068
2068
|
export interface UnknownWrapper$instance {
|
|
2069
2069
|
readonly __tsonic_type_System_Runtime_InteropServices_UnknownWrapper: never;
|
|
2070
2070
|
|
|
2071
|
-
readonly WrappedObject:
|
|
2071
|
+
readonly WrappedObject: unknown | null;
|
|
2072
2072
|
}
|
|
2073
2073
|
|
|
2074
2074
|
|
|
2075
2075
|
export const UnknownWrapper: {
|
|
2076
|
-
new(obj:
|
|
2076
|
+
new(obj: unknown | null): UnknownWrapper;
|
|
2077
2077
|
};
|
|
2078
2078
|
|
|
2079
2079
|
|
|
@@ -2129,12 +2129,12 @@ export type UnmanagedFunctionPointerAttribute = UnmanagedFunctionPointerAttribut
|
|
|
2129
2129
|
export interface VariantWrapper$instance {
|
|
2130
2130
|
readonly __tsonic_type_System_Runtime_InteropServices_VariantWrapper: never;
|
|
2131
2131
|
|
|
2132
|
-
readonly WrappedObject:
|
|
2132
|
+
readonly WrappedObject: unknown | null;
|
|
2133
2133
|
}
|
|
2134
2134
|
|
|
2135
2135
|
|
|
2136
2136
|
export const VariantWrapper: {
|
|
2137
|
-
new(obj:
|
|
2137
|
+
new(obj: unknown | null): VariantWrapper;
|
|
2138
2138
|
};
|
|
2139
2139
|
|
|
2140
2140
|
|
|
@@ -2155,27 +2155,27 @@ export type WasmImportLinkageAttribute = WasmImportLinkageAttribute$instance;
|
|
|
2155
2155
|
|
|
2156
2156
|
export abstract class CollectionsMarshal$instance {
|
|
2157
2157
|
static AsBytes(array: BitArray | null): Span_1<System_Internal.Byte>;
|
|
2158
|
-
static AsSpan<T>(list: List_1<T> | null): Span_1<T>;
|
|
2159
|
-
static GetValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue | null;
|
|
2160
|
-
static GetValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue | null;
|
|
2161
|
-
static GetValueRefOrNullRef<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): TValue;
|
|
2162
|
-
static GetValueRefOrNullRef<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): TValue;
|
|
2163
|
-
static SetCount<T>(list: List_1<T>, count: int): void;
|
|
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;
|
|
2164
2164
|
}
|
|
2165
2165
|
|
|
2166
2166
|
|
|
2167
2167
|
export type CollectionsMarshal = CollectionsMarshal$instance;
|
|
2168
2168
|
|
|
2169
2169
|
export abstract class ComEventsHelper$instance {
|
|
2170
|
-
static Combine(rcw:
|
|
2171
|
-
static Remove(rcw:
|
|
2170
|
+
static Combine(rcw: unknown, iid: Guid, dispid: int, d: Function): void;
|
|
2171
|
+
static Remove(rcw: unknown, iid: Guid, dispid: int, d: Function): Function;
|
|
2172
2172
|
}
|
|
2173
2173
|
|
|
2174
2174
|
|
|
2175
2175
|
export type ComEventsHelper = ComEventsHelper$instance;
|
|
2176
2176
|
|
|
2177
2177
|
export abstract class GCHandleExtensions$instance {
|
|
2178
|
-
static GetAddressOfArrayData<T>(handle: PinnedGCHandle_1<T[]>): ptr<T>;
|
|
2178
|
+
static GetAddressOfArrayData<T extends unknown>(handle: PinnedGCHandle_1<T[]>): ptr<T>;
|
|
2179
2179
|
static GetAddressOfStringData(handle: PinnedGCHandle_1<System_Internal.String>): ptr<char>;
|
|
2180
2180
|
}
|
|
2181
2181
|
|
|
@@ -2183,9 +2183,9 @@ export abstract class GCHandleExtensions$instance {
|
|
|
2183
2183
|
export type GCHandleExtensions = GCHandleExtensions$instance;
|
|
2184
2184
|
|
|
2185
2185
|
export abstract class ImmutableCollectionsMarshal$instance {
|
|
2186
|
-
static AsArray<T>(array: ImmutableArray_1<T>): T[] | null;
|
|
2187
|
-
static AsImmutableArray<T>(array: T[] | null): ImmutableArray_1<T>;
|
|
2188
|
-
static AsMemory<T>(builder: ImmutableArray_1_Builder<T> | null): 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>;
|
|
2189
2189
|
}
|
|
2190
2190
|
|
|
2191
2191
|
|
|
@@ -2207,8 +2207,8 @@ export abstract class Marshal$instance {
|
|
|
2207
2207
|
static AllocHGlobal(cb: int): nint;
|
|
2208
2208
|
static AllocHGlobal(cb: nint): nint;
|
|
2209
2209
|
static AreComObjectsAvailableForCleanup(): boolean;
|
|
2210
|
-
static BindToMoniker(monikerName: string):
|
|
2211
|
-
static ChangeWrapperHandleStrength(otp:
|
|
2210
|
+
static BindToMoniker(monikerName: string): unknown;
|
|
2211
|
+
static ChangeWrapperHandleStrength(otp: unknown, fIsWeak: boolean): void;
|
|
2212
2212
|
static CleanupUnusedObjectsInCurrentContext(): void;
|
|
2213
2213
|
static Copy(source: byte[], startIndex: int, destination: nint, length: int): void;
|
|
2214
2214
|
static Copy(source: char[], startIndex: int, destination: nint, length: int): void;
|
|
@@ -2226,24 +2226,24 @@ export abstract class Marshal$instance {
|
|
|
2226
2226
|
static Copy(source: nint, destination: float[], startIndex: int, length: int): void;
|
|
2227
2227
|
static Copy(source: nint[], startIndex: int, destination: nint, length: int): void;
|
|
2228
2228
|
static Copy(source: float[], startIndex: int, destination: nint, length: int): void;
|
|
2229
|
-
static CreateAggregatedObject(pOuter: nint, o:
|
|
2230
|
-
static CreateAggregatedObject<T>(pOuter: nint, o: T): nint;
|
|
2231
|
-
static CreateWrapperOfType(o:
|
|
2232
|
-
static CreateWrapperOfType<T, TWrapper>(o: T | null): TWrapper;
|
|
2229
|
+
static CreateAggregatedObject(pOuter: nint, o: unknown): nint;
|
|
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;
|
|
2233
2233
|
static DestroyStructure(ptr: nint, structuretype: Type): void;
|
|
2234
|
-
static DestroyStructure<T>(ptr: nint): void;
|
|
2235
|
-
static FinalReleaseComObject(o:
|
|
2234
|
+
static DestroyStructure<T extends unknown>(ptr: nint): void;
|
|
2235
|
+
static FinalReleaseComObject(o: unknown): int;
|
|
2236
2236
|
static FreeBSTR(ptr: nint): void;
|
|
2237
2237
|
static FreeCoTaskMem(ptr: nint): void;
|
|
2238
2238
|
static FreeHGlobal(hglobal: nint): void;
|
|
2239
2239
|
static GenerateGuidForType(type: Type): Guid;
|
|
2240
2240
|
static GenerateProgIdForType(type: Type): string | null;
|
|
2241
|
-
static GetComInterfaceForObject(o:
|
|
2242
|
-
static GetComInterfaceForObject(o:
|
|
2243
|
-
static GetComInterfaceForObject<T, TInterface>(o: T): nint;
|
|
2244
|
-
static GetComObjectData(obj:
|
|
2241
|
+
static GetComInterfaceForObject(o: unknown, T: Type, mode: CustomQueryInterfaceMode): nint;
|
|
2242
|
+
static GetComInterfaceForObject(o: unknown, T: Type): nint;
|
|
2243
|
+
static GetComInterfaceForObject<T extends unknown, TInterface extends unknown>(o: T): nint;
|
|
2244
|
+
static GetComObjectData(obj: unknown, key: unknown): unknown | null;
|
|
2245
2245
|
static GetDelegateForFunctionPointer(ptr: nint, t: Type): Function;
|
|
2246
|
-
static GetDelegateForFunctionPointer<TDelegate>(ptr: nint): TDelegate;
|
|
2246
|
+
static GetDelegateForFunctionPointer<TDelegate extends unknown>(ptr: nint): TDelegate;
|
|
2247
2247
|
static GetEndComSlot(t: Type): int;
|
|
2248
2248
|
static GetExceptionCode(): int;
|
|
2249
2249
|
static GetExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception | null;
|
|
@@ -2251,33 +2251,33 @@ export abstract class Marshal$instance {
|
|
|
2251
2251
|
static GetExceptionForHR(errorCode: int): Exception | null;
|
|
2252
2252
|
static GetExceptionPointers(): nint;
|
|
2253
2253
|
static GetFunctionPointerForDelegate(d: Function): nint;
|
|
2254
|
-
static GetFunctionPointerForDelegate<TDelegate>(d: TDelegate): nint;
|
|
2254
|
+
static GetFunctionPointerForDelegate<TDelegate extends unknown>(d: TDelegate): nint;
|
|
2255
2255
|
static GetHINSTANCE(m: Module): nint;
|
|
2256
2256
|
static GetHRForException(e: Exception | null): int;
|
|
2257
2257
|
static GetHRForLastWin32Error(): int;
|
|
2258
|
-
static GetIDispatchForObject(o:
|
|
2259
|
-
static GetIUnknownForObject(o:
|
|
2258
|
+
static GetIDispatchForObject(o: unknown): nint;
|
|
2259
|
+
static GetIUnknownForObject(o: unknown): nint;
|
|
2260
2260
|
static GetLastPInvokeError(): int;
|
|
2261
2261
|
static GetLastPInvokeErrorMessage(): string;
|
|
2262
2262
|
static GetLastSystemError(): int;
|
|
2263
2263
|
static GetLastWin32Error(): int;
|
|
2264
|
-
static GetNativeVariantForObject(obj:
|
|
2265
|
-
static GetNativeVariantForObject<T>(obj: T | null, pDstNativeVariant: nint): void;
|
|
2266
|
-
static GetObjectForIUnknown(pUnk: nint):
|
|
2267
|
-
static GetObjectForNativeVariant(pSrcNativeVariant: nint):
|
|
2268
|
-
static GetObjectForNativeVariant<T>(pSrcNativeVariant: nint): T | null;
|
|
2269
|
-
static GetObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): (
|
|
2270
|
-
static GetObjectsForNativeVariants<T>(aSrcNativeVariant: nint, cVars: int): T[];
|
|
2264
|
+
static GetNativeVariantForObject(obj: unknown | null, pDstNativeVariant: nint): void;
|
|
2265
|
+
static GetNativeVariantForObject<T extends unknown>(obj: T | null, pDstNativeVariant: nint): void;
|
|
2266
|
+
static GetObjectForIUnknown(pUnk: nint): unknown;
|
|
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[];
|
|
2271
2271
|
static GetPInvokeErrorMessage(error: int): string;
|
|
2272
2272
|
static GetStartComSlot(t: Type): int;
|
|
2273
|
-
static GetTypedObjectForIUnknown(pUnk: nint, t: Type):
|
|
2273
|
+
static GetTypedObjectForIUnknown(pUnk: nint, t: Type): unknown;
|
|
2274
2274
|
static GetTypeFromCLSID(clsid: Guid): Type | null;
|
|
2275
2275
|
static GetTypeInfoName(typeInfo: ITypeInfo): string;
|
|
2276
|
-
static GetUniqueObjectForIUnknown(unknown: nint):
|
|
2276
|
+
static GetUniqueObjectForIUnknown(unknown: nint): unknown;
|
|
2277
2277
|
static InitHandle(safeHandle: SafeHandle, handle: nint): void;
|
|
2278
|
-
static IsComObject(o:
|
|
2278
|
+
static IsComObject(o: unknown): boolean;
|
|
2279
2279
|
static IsTypeVisibleFromCom(t: Type): boolean;
|
|
2280
|
-
static OffsetOf<T>(fieldName: string): nint;
|
|
2280
|
+
static OffsetOf<T extends unknown>(fieldName: string): nint;
|
|
2281
2281
|
static OffsetOf(t: Type, fieldName: string): nint;
|
|
2282
2282
|
static Prelink(m: MethodInfo): void;
|
|
2283
2283
|
static PrelinkAll(c: Type): void;
|
|
@@ -2290,42 +2290,42 @@ export abstract class Marshal$instance {
|
|
|
2290
2290
|
static PtrToStringUni(ptr: nint): string | null;
|
|
2291
2291
|
static PtrToStringUTF8(ptr: nint, byteLen: int): string;
|
|
2292
2292
|
static PtrToStringUTF8(ptr: nint): string | null;
|
|
2293
|
-
static PtrToStructure(ptr: nint, structure:
|
|
2294
|
-
static PtrToStructure(ptr: nint, structureType: Type):
|
|
2295
|
-
static PtrToStructure<T>(ptr: nint, structure: T): void;
|
|
2296
|
-
static PtrToStructure<T>(ptr: nint): T | null;
|
|
2293
|
+
static PtrToStructure(ptr: nint, structure: unknown): void;
|
|
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;
|
|
2297
2297
|
static QueryInterface(pUnk: nint, iid: Guid, ppv: nint): int;
|
|
2298
2298
|
static ReadByte(ptr: nint, ofs: int): byte;
|
|
2299
2299
|
static ReadByte(ptr: nint): byte;
|
|
2300
|
-
static ReadByte(ptr:
|
|
2300
|
+
static ReadByte(ptr: unknown, ofs: int): byte;
|
|
2301
2301
|
static ReadInt16(ptr: nint, ofs: int): short;
|
|
2302
2302
|
static ReadInt16(ptr: nint): short;
|
|
2303
|
-
static ReadInt16(ptr:
|
|
2303
|
+
static ReadInt16(ptr: unknown, ofs: int): short;
|
|
2304
2304
|
static ReadInt32(ptr: nint, ofs: int): int;
|
|
2305
2305
|
static ReadInt32(ptr: nint): int;
|
|
2306
|
-
static ReadInt32(ptr:
|
|
2306
|
+
static ReadInt32(ptr: unknown, ofs: int): int;
|
|
2307
2307
|
static ReadInt64(ptr: nint, ofs: int): long;
|
|
2308
2308
|
static ReadInt64(ptr: nint): long;
|
|
2309
|
-
static ReadInt64(ptr:
|
|
2309
|
+
static ReadInt64(ptr: unknown, ofs: int): long;
|
|
2310
2310
|
static ReadIntPtr(ptr: nint, ofs: int): nint;
|
|
2311
2311
|
static ReadIntPtr(ptr: nint): nint;
|
|
2312
|
-
static ReadIntPtr(ptr:
|
|
2312
|
+
static ReadIntPtr(ptr: unknown, ofs: int): nint;
|
|
2313
2313
|
static ReAllocCoTaskMem(pv: nint, cb: int): nint;
|
|
2314
2314
|
static ReAllocHGlobal(pv: nint, cb: nint): nint;
|
|
2315
2315
|
static Release(pUnk: nint): int;
|
|
2316
|
-
static ReleaseComObject(o:
|
|
2316
|
+
static ReleaseComObject(o: unknown): int;
|
|
2317
2317
|
static SecureStringToBSTR(s: SecureString): nint;
|
|
2318
2318
|
static SecureStringToCoTaskMemAnsi(s: SecureString): nint;
|
|
2319
2319
|
static SecureStringToCoTaskMemUnicode(s: SecureString): nint;
|
|
2320
2320
|
static SecureStringToGlobalAllocAnsi(s: SecureString): nint;
|
|
2321
2321
|
static SecureStringToGlobalAllocUnicode(s: SecureString): nint;
|
|
2322
|
-
static SetComObjectData(obj:
|
|
2322
|
+
static SetComObjectData(obj: unknown, key: unknown, data: unknown | null): boolean;
|
|
2323
2323
|
static SetLastPInvokeError(error: int): void;
|
|
2324
2324
|
static SetLastSystemError(error: int): void;
|
|
2325
|
-
static SizeOf<T>(): int;
|
|
2326
|
-
static SizeOf(structure:
|
|
2325
|
+
static SizeOf<T extends unknown>(): int;
|
|
2326
|
+
static SizeOf(structure: unknown): int;
|
|
2327
2327
|
static SizeOf(t: Type): int;
|
|
2328
|
-
static SizeOf<T>(structure: T): int;
|
|
2328
|
+
static SizeOf<T extends unknown>(structure: T): int;
|
|
2329
2329
|
static StringToBSTR(s: string | null): nint;
|
|
2330
2330
|
static StringToCoTaskMemAnsi(s: string | null): nint;
|
|
2331
2331
|
static StringToCoTaskMemAuto(s: string | null): nint;
|
|
@@ -2334,31 +2334,31 @@ export abstract class Marshal$instance {
|
|
|
2334
2334
|
static StringToHGlobalAnsi(s: string | null): nint;
|
|
2335
2335
|
static StringToHGlobalAuto(s: string | null): nint;
|
|
2336
2336
|
static StringToHGlobalUni(s: string | null): nint;
|
|
2337
|
-
static StructureToPtr(structure:
|
|
2338
|
-
static StructureToPtr<T>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
2337
|
+
static StructureToPtr(structure: unknown, ptr: nint, fDeleteOld: boolean): void;
|
|
2338
|
+
static StructureToPtr<T extends unknown>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
2339
2339
|
static ThrowExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): void;
|
|
2340
2340
|
static ThrowExceptionForHR(errorCode: int, errorInfo: nint): void;
|
|
2341
2341
|
static ThrowExceptionForHR(errorCode: int): void;
|
|
2342
2342
|
static UnsafeAddrOfPinnedArrayElement(arr: ClrArray, index: int): nint;
|
|
2343
|
-
static UnsafeAddrOfPinnedArrayElement<T>(arr: T[], index: int): nint;
|
|
2343
|
+
static UnsafeAddrOfPinnedArrayElement<T extends unknown>(arr: T[], index: int): nint;
|
|
2344
2344
|
static WriteByte(ptr: nint, val: byte): void;
|
|
2345
2345
|
static WriteByte(ptr: nint, ofs: int, val: byte): void;
|
|
2346
|
-
static WriteByte(ptr:
|
|
2346
|
+
static WriteByte(ptr: unknown, ofs: int, val: byte): void;
|
|
2347
2347
|
static WriteInt16(ptr: nint, val: char): void;
|
|
2348
2348
|
static WriteInt16(ptr: nint, val: short): void;
|
|
2349
2349
|
static WriteInt16(ptr: nint, ofs: int, val: char): void;
|
|
2350
2350
|
static WriteInt16(ptr: nint, ofs: int, val: short): void;
|
|
2351
|
-
static WriteInt16(ptr:
|
|
2352
|
-
static WriteInt16(ptr:
|
|
2351
|
+
static WriteInt16(ptr: unknown, ofs: int, val: char): void;
|
|
2352
|
+
static WriteInt16(ptr: unknown, ofs: int, val: short): void;
|
|
2353
2353
|
static WriteInt32(ptr: nint, ofs: int, val: int): void;
|
|
2354
2354
|
static WriteInt32(ptr: nint, val: int): void;
|
|
2355
|
-
static WriteInt32(ptr:
|
|
2355
|
+
static WriteInt32(ptr: unknown, ofs: int, val: int): void;
|
|
2356
2356
|
static WriteInt64(ptr: nint, ofs: int, val: long): void;
|
|
2357
2357
|
static WriteInt64(ptr: nint, val: long): void;
|
|
2358
|
-
static WriteInt64(ptr:
|
|
2358
|
+
static WriteInt64(ptr: unknown, ofs: int, val: long): void;
|
|
2359
2359
|
static WriteIntPtr(ptr: nint, ofs: int, val: nint): void;
|
|
2360
2360
|
static WriteIntPtr(ptr: nint, val: nint): void;
|
|
2361
|
-
static WriteIntPtr(ptr:
|
|
2361
|
+
static WriteIntPtr(ptr: unknown, ofs: int, val: nint): void;
|
|
2362
2362
|
static ZeroFreeBSTR(s: nint): void;
|
|
2363
2363
|
static ZeroFreeCoTaskMemAnsi(s: nint): void;
|
|
2364
2364
|
static ZeroFreeCoTaskMemUnicode(s: nint): void;
|
|
@@ -2371,31 +2371,31 @@ export abstract class Marshal$instance {
|
|
|
2371
2371
|
export type Marshal = Marshal$instance;
|
|
2372
2372
|
|
|
2373
2373
|
export abstract class MemoryMarshal$instance {
|
|
2374
|
-
static AsBytes<T extends NonNullable<
|
|
2375
|
-
static AsBytes<T extends NonNullable<
|
|
2376
|
-
static AsMemory<T>(memory: ReadOnlyMemory_1<T>): Memory_1<T>;
|
|
2377
|
-
static AsRef<T extends NonNullable<
|
|
2378
|
-
static AsRef<T extends NonNullable<
|
|
2379
|
-
static Cast<TFrom extends NonNullable<
|
|
2380
|
-
static Cast<TFrom extends NonNullable<
|
|
2381
|
-
static CreateFromPinnedArray<T>(array: T[] | null, start: int, length: int): Memory_1<T>;
|
|
2382
|
-
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>;
|
|
2383
2383
|
static CreateReadOnlySpanFromNullTerminated(value: ptr<byte>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2384
2384
|
static CreateReadOnlySpanFromNullTerminated(value: ptr<char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
2385
|
-
static CreateSpan<T>(reference: T, length: int): Span_1<T>;
|
|
2385
|
+
static CreateSpan<T extends unknown>(reference: T, length: int): Span_1<T>;
|
|
2386
2386
|
static GetArrayDataReference(array: ClrArray): byte;
|
|
2387
|
-
static GetArrayDataReference<T>(array: T[]): T;
|
|
2388
|
-
static GetReference<T>(span: ReadOnlySpan_1<T>): T;
|
|
2389
|
-
static GetReference<T>(span: Span_1<T>): T;
|
|
2390
|
-
static Read<T extends NonNullable<
|
|
2391
|
-
static ToEnumerable<T>(memory: ReadOnlyMemory_1<T>): IEnumerable_1<T>;
|
|
2392
|
-
static TryGetArray<T>(memory: ReadOnlyMemory_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2393
|
-
static TryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager | null, start: int, length: int): boolean;
|
|
2394
|
-
static TryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager | null): boolean;
|
|
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
2395
|
static TryGetString(memory: ReadOnlyMemory_1<System_Internal.Char>, text: string | null, start: int, length: int): boolean;
|
|
2396
|
-
static TryRead<T extends NonNullable<
|
|
2397
|
-
static TryWrite<T extends NonNullable<
|
|
2398
|
-
static Write<T extends NonNullable<
|
|
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;
|
|
2399
2399
|
}
|
|
2400
2400
|
|
|
2401
2401
|
|
|
@@ -2439,7 +2439,7 @@ export abstract class RuntimeEnvironment$instance {
|
|
|
2439
2439
|
static FromGlobalAccessCache(a: Assembly): boolean;
|
|
2440
2440
|
static GetRuntimeDirectory(): string;
|
|
2441
2441
|
static GetRuntimeInterfaceAsIntPtr(clsid: Guid, riid: Guid): nint;
|
|
2442
|
-
static GetRuntimeInterfaceAsObject(clsid: Guid, riid: Guid):
|
|
2442
|
+
static GetRuntimeInterfaceAsObject(clsid: Guid, riid: Guid): unknown;
|
|
2443
2443
|
static GetSystemVersion(): string;
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
@@ -2459,18 +2459,18 @@ export abstract class RuntimeInformation$instance {
|
|
|
2459
2459
|
export type RuntimeInformation = RuntimeInformation$instance;
|
|
2460
2460
|
|
|
2461
2461
|
export abstract class SequenceMarshal$instance {
|
|
2462
|
-
static TryGetArray<T>(sequence: ReadOnlySequence_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2463
|
-
static TryGetReadOnlyMemory<T>(sequence: ReadOnlySequence_1<T>, memory: ReadOnlyMemory_1<T>): boolean;
|
|
2464
|
-
static TryGetReadOnlySequenceSegment<T>(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<
|
|
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;
|
|
2466
2466
|
}
|
|
2467
2467
|
|
|
2468
2468
|
|
|
2469
2469
|
export type SequenceMarshal = SequenceMarshal$instance;
|
|
2470
2470
|
|
|
2471
2471
|
export abstract class TypeMapping$instance {
|
|
2472
|
-
static GetOrCreateExternalTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<System_Internal.String, Type>;
|
|
2473
|
-
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>;
|
|
2474
2474
|
}
|
|
2475
2475
|
|
|
2476
2476
|
|