@tsonic/dotnet 0.7.3 → 0.7.6
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/internal/index.d.ts +0 -25
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
- package/Microsoft.VisualBasic/bindings.json +203 -29
- package/Microsoft.VisualBasic/internal/index.d.ts +38 -63
- package/Microsoft.VisualBasic/internal/metadata.json +203 -29
- package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +6 -31
- package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +10 -35
- package/Microsoft.Win32/internal/index.d.ts +0 -25
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
- package/System/bindings.json +4800 -552
- package/System/internal/index.d.ts +2608 -459
- package/System/internal/metadata.json +4800 -552
- package/System.Buffers/bindings.json +196 -24
- package/System.Buffers/internal/index.d.ts +30 -55
- package/System.Buffers/internal/metadata.json +196 -24
- package/System.Buffers.Binary/bindings.json +182 -26
- package/System.Buffers.Binary/internal/index.d.ts +115 -140
- package/System.Buffers.Binary/internal/metadata.json +182 -26
- package/System.Buffers.Text/bindings.json +431 -49
- package/System.Buffers.Text/internal/index.d.ts +64 -89
- package/System.Buffers.Text/internal/metadata.json +431 -49
- package/System.Buffers.d.ts +11 -2
- package/System.CodeDom.Compiler/internal/index.d.ts +8 -33
- package/System.Collections/bindings.json +11 -1
- package/System.Collections/internal/index.d.ts +2 -27
- package/System.Collections/internal/metadata.json +11 -1
- package/System.Collections.Concurrent/bindings.json +211 -29
- package/System.Collections.Concurrent/internal/index.d.ts +32 -56
- package/System.Collections.Concurrent/internal/metadata.json +211 -29
- package/System.Collections.Concurrent.d.ts +11 -2
- package/System.Collections.Frozen/bindings.json +56 -8
- package/System.Collections.Frozen/internal/index.d.ts +9 -34
- package/System.Collections.Frozen/internal/metadata.json +56 -8
- package/System.Collections.Generic/bindings.json +273 -35
- package/System.Collections.Generic/internal/index.d.ts +46 -61
- package/System.Collections.Generic/internal/metadata.json +273 -35
- package/System.Collections.Immutable/bindings.json +362 -50
- package/System.Collections.Immutable/internal/index.d.ts +65 -85
- package/System.Collections.Immutable/internal/metadata.json +362 -50
- package/System.Collections.ObjectModel/bindings.json +28 -4
- package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
- package/System.Collections.ObjectModel/internal/metadata.json +28 -4
- package/System.Collections.ObjectModel.d.ts +11 -2
- package/System.Collections.Specialized/internal/index.d.ts +3 -27
- package/System.ComponentModel/bindings.json +174 -18
- package/System.ComponentModel/internal/index.d.ts +33 -54
- package/System.ComponentModel/internal/metadata.json +174 -18
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design/internal/index.d.ts +3 -25
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +3 -26
- package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
- package/System.Data/internal/index.d.ts +19 -39
- package/System.Data.Common/bindings.json +14 -2
- package/System.Data.Common/internal/index.d.ts +27 -52
- package/System.Data.Common/internal/metadata.json +14 -2
- package/System.Data.SqlTypes/internal/index.d.ts +27 -52
- package/System.Data.d.ts +17 -4
- package/System.Diagnostics/bindings.json +181 -23
- package/System.Diagnostics/internal/index.d.ts +106 -131
- package/System.Diagnostics/internal/metadata.json +181 -23
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
- package/System.Diagnostics.Contracts/bindings.json +7 -1
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
- package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
- package/System.Diagnostics.Metrics/bindings.json +35 -5
- package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
- package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
- package/System.Diagnostics.Metrics.d.ts +11 -2
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +1 -26
- package/System.Diagnostics.Tracing/bindings.json +37 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
- package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
- package/System.Drawing/internal/index.d.ts +7 -32
- package/System.Dynamic/bindings.json +63 -9
- package/System.Dynamic/internal/index.d.ts +19 -44
- package/System.Dynamic/internal/metadata.json +63 -9
- package/System.Formats.Asn1/bindings.json +451 -49
- package/System.Formats.Asn1/internal/index.d.ts +70 -95
- package/System.Formats.Asn1/internal/metadata.json +451 -49
- package/System.Formats.Tar/internal/index.d.ts +4 -29
- package/System.Globalization/bindings.json +28 -4
- package/System.Globalization/internal/index.d.ts +19 -44
- package/System.Globalization/internal/metadata.json +28 -4
- package/System.IO/bindings.json +35 -5
- package/System.IO/internal/index.d.ts +206 -231
- package/System.IO/internal/metadata.json +35 -5
- package/System.IO.Compression/bindings.json +50 -6
- package/System.IO.Compression/internal/index.d.ts +51 -76
- package/System.IO.Compression/internal/metadata.json +50 -6
- package/System.IO.Enumeration/bindings.json +42 -6
- package/System.IO.Enumeration/internal/index.d.ts +11 -36
- package/System.IO.Enumeration/internal/metadata.json +42 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
- package/System.IO.Pipelines/bindings.json +7 -1
- package/System.IO.Pipelines/internal/index.d.ts +17 -42
- package/System.IO.Pipelines/internal/metadata.json +7 -1
- package/System.IO.Pipes/internal/index.d.ts +11 -36
- package/System.Linq/bindings.json +7 -1
- package/System.Linq/internal/index.d.ts +337 -357
- package/System.Linq/internal/metadata.json +7 -1
- package/System.Linq.Expressions/bindings.json +14 -2
- package/System.Linq.Expressions/internal/index.d.ts +50 -75
- package/System.Linq.Expressions/internal/metadata.json +14 -2
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -27
- package/System.Linq.Expressions.d.ts +11 -2
- package/System.Linq.d.ts +35 -10
- package/System.Net/bindings.json +175 -25
- package/System.Net/internal/index.d.ts +40 -61
- package/System.Net/internal/metadata.json +175 -25
- package/System.Net.Cache/internal/index.d.ts +0 -25
- package/System.Net.Http/bindings.json +21 -3
- package/System.Net.Http/internal/index.d.ts +22 -47
- package/System.Net.Http/internal/metadata.json +21 -3
- package/System.Net.Http.Headers/bindings.json +154 -22
- package/System.Net.Http.Headers/internal/index.d.ts +67 -92
- package/System.Net.Http.Headers/internal/metadata.json +154 -22
- package/System.Net.Http.Json/internal/index.d.ts +0 -25
- package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
- package/System.Net.Mail/bindings.json +21 -3
- package/System.Net.Mail/internal/index.d.ts +4 -29
- package/System.Net.Mail/internal/metadata.json +21 -3
- package/System.Net.Mime/internal/index.d.ts +0 -25
- package/System.Net.NetworkInformation/bindings.json +14 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
- package/System.Net.NetworkInformation/internal/metadata.json +14 -2
- package/System.Net.Quic/internal/index.d.ts +14 -39
- package/System.Net.Security/bindings.json +43 -5
- package/System.Net.Security/internal/index.d.ts +30 -55
- package/System.Net.Security/internal/metadata.json +43 -5
- package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
- package/System.Net.ServerSentEvents.d.ts +11 -2
- package/System.Net.Sockets/bindings.json +224 -28
- package/System.Net.Sockets/internal/index.d.ts +110 -135
- package/System.Net.Sockets/internal/metadata.json +224 -28
- package/System.Net.WebSockets/internal/index.d.ts +29 -54
- package/System.Numerics/bindings.json +1030 -142
- package/System.Numerics/internal/index.d.ts +303 -288
- package/System.Numerics/internal/metadata.json +1030 -142
- package/System.Numerics.d.ts +11 -2
- package/System.Reflection/bindings.json +29 -3
- package/System.Reflection/internal/index.d.ts +7 -32
- package/System.Reflection/internal/metadata.json +29 -3
- package/System.Reflection.Emit/bindings.json +26 -2
- package/System.Reflection.Emit/internal/index.d.ts +10 -35
- package/System.Reflection.Emit/internal/metadata.json +26 -2
- package/System.Reflection.Metadata/bindings.json +46 -6
- package/System.Reflection.Metadata/internal/index.d.ts +77 -99
- package/System.Reflection.Metadata/internal/metadata.json +46 -6
- package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +26 -51
- package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
- package/System.Reflection.PortableExecutable/bindings.json +18 -2
- package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
- package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
- package/System.Resources/bindings.json +11 -1
- package/System.Resources/internal/index.d.ts +5 -28
- package/System.Resources/internal/metadata.json +11 -1
- package/System.Runtime/internal/index.d.ts +0 -25
- package/System.Runtime.CompilerServices/bindings.json +495 -57
- package/System.Runtime.CompilerServices/internal/index.d.ts +70 -94
- package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
- package/System.Runtime.CompilerServices.d.ts +41 -12
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
- package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices/bindings.json +377 -47
- package/System.Runtime.InteropServices/internal/index.d.ts +83 -107
- package/System.Runtime.InteropServices/internal/metadata.json +377 -47
- package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
- package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
- package/System.Runtime.InteropServices.JavaScript.d.ts +17 -2
- package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
- package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
- package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.Swift.d.ts +11 -2
- package/System.Runtime.InteropServices.d.ts +11 -2
- package/System.Runtime.Intrinsics/bindings.json +112 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +804 -829
- package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
- package/System.Runtime.Intrinsics.d.ts +29 -8
- package/System.Runtime.Loader/internal/index.d.ts +0 -25
- package/System.Runtime.Remoting/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization/bindings.json +71 -9
- package/System.Runtime.Serialization/internal/index.d.ts +9 -34
- package/System.Runtime.Serialization/internal/metadata.json +71 -9
- package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
- package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
- package/System.Runtime.Versioning/internal/index.d.ts +1 -26
- package/System.Security/internal/index.d.ts +1 -26
- package/System.Security.AccessControl/bindings.json +14 -2
- package/System.Security.AccessControl/internal/index.d.ts +3 -28
- package/System.Security.AccessControl/internal/metadata.json +14 -2
- package/System.Security.AccessControl.d.ts +23 -6
- package/System.Security.Authentication/internal/index.d.ts +0 -25
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
- package/System.Security.Claims/internal/index.d.ts +1 -26
- package/System.Security.Cryptography/bindings.json +1348 -192
- package/System.Security.Cryptography/internal/index.d.ts +608 -633
- package/System.Security.Cryptography/internal/metadata.json +1348 -192
- package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
- package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
- package/System.Security.Permissions/internal/index.d.ts +0 -25
- package/System.Security.Policy/internal/index.d.ts +0 -25
- package/System.Security.Principal/internal/index.d.ts +1 -26
- package/System.Text/bindings.json +494 -58
- package/System.Text/internal/index.d.ts +146 -170
- package/System.Text/internal/metadata.json +494 -58
- package/System.Text.Encodings.Web/bindings.json +29 -3
- package/System.Text.Encodings.Web/internal/index.d.ts +14 -39
- package/System.Text.Encodings.Web/internal/metadata.json +29 -3
- package/System.Text.Json/bindings.json +309 -43
- package/System.Text.Json/internal/index.d.ts +142 -167
- package/System.Text.Json/internal/metadata.json +309 -43
- package/System.Text.Json.Nodes/bindings.json +46 -6
- package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
- package/System.Text.Json.Nodes/internal/metadata.json +46 -6
- package/System.Text.Json.Schema/internal/index.d.ts +1 -26
- package/System.Text.Json.Serialization/bindings.json +21 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
- package/System.Text.Json.Serialization/internal/metadata.json +21 -3
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +21 -46
- package/System.Text.Json.Serialization.Metadata.d.ts +11 -2
- package/System.Text.Json.Serialization.d.ts +23 -6
- package/System.Text.RegularExpressions/bindings.json +14 -2
- package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
- package/System.Text.RegularExpressions/internal/metadata.json +14 -2
- package/System.Text.Unicode/bindings.json +58 -6
- package/System.Text.Unicode/internal/index.d.ts +12 -37
- package/System.Text.Unicode/internal/metadata.json +58 -6
- package/System.Threading/bindings.json +1012 -140
- package/System.Threading/internal/index.d.ts +154 -179
- package/System.Threading/internal/metadata.json +1012 -140
- package/System.Threading.Channels/bindings.json +14 -2
- package/System.Threading.Channels/internal/index.d.ts +5 -30
- package/System.Threading.Channels/internal/metadata.json +14 -2
- package/System.Threading.Channels.d.ts +13 -2
- package/System.Threading.Tasks/internal/index.d.ts +35 -60
- package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +34 -59
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
- package/System.Threading.Tasks.Dataflow.d.ts +21 -2
- package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
- package/System.Threading.Tasks.Sources.d.ts +11 -2
- package/System.Threading.Tasks.d.ts +29 -8
- package/System.Timers/internal/index.d.ts +0 -25
- package/System.Transactions/internal/index.d.ts +1 -26
- package/System.Web/internal/index.d.ts +0 -25
- package/System.Windows.Input/internal/index.d.ts +0 -25
- package/System.Windows.Markup/internal/index.d.ts +0 -25
- package/System.Xml/bindings.json +197 -27
- package/System.Xml/internal/index.d.ts +35 -60
- package/System.Xml/internal/metadata.json +197 -27
- package/System.Xml.Linq/internal/index.d.ts +10 -35
- package/System.Xml.Resolvers/internal/index.d.ts +0 -25
- package/System.Xml.Schema/internal/index.d.ts +0 -25
- package/System.Xml.Serialization/internal/index.d.ts +0 -25
- package/System.Xml.XPath/internal/index.d.ts +1 -26
- package/System.Xml.Xsl/internal/index.d.ts +1 -26
- package/System.Xml.Xsl.Runtime/bindings.json +35 -5
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
- package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
- package/System.d.ts +75 -14
- package/__internal/extensions/index.d.ts +463 -463
- package/families.json +359 -0
- package/package.json +1 -1
- package/tsconfig.json +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import * as Microsoft_Win32_SafeHandles_Internal from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -31,31 +31,6 @@ import type { JsonElement, JsonProperty } from "../../System.Text.Json/internal/
|
|
|
31
31
|
import * as System_Internal from "../../System/internal/index.js";
|
|
32
32
|
import type { Action_1, Array as ClrArray, ArraySegment_1, AsyncCallback, Attribute, Boolean as ClrBoolean, Byte, Char, Decimal, Delegate, Double, Enum, Exception, Guid, IAsyncResult, ICloneable, IComparable, IComparable_1, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, IParsable_1, ISpanFormattable, ISpanParsable_1, IUtf8SpanFormattable, IUtf8SpanParsable_1, MarshalByRefObject, Memory_1, MidpointRounding, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, RuntimeTypeHandle, Single, Span_1, String as ClrString, SystemException, Type, TypeCode, UInt32, UInt64, UIntPtr, ValueTuple_2, ValueType, Void } from "../../System/internal/index.js";
|
|
33
33
|
|
|
34
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
35
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
36
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
37
|
-
export type CLROf<T> =
|
|
38
|
-
T extends sbyte ? System_Internal.SByte :
|
|
39
|
-
T extends short ? System_Internal.Int16 :
|
|
40
|
-
T extends int ? System_Internal.Int32 :
|
|
41
|
-
T extends long ? System_Internal.Int64 :
|
|
42
|
-
T extends int128 ? System_Internal.Int128 :
|
|
43
|
-
T extends nint ? System_Internal.IntPtr :
|
|
44
|
-
T extends byte ? System_Internal.Byte :
|
|
45
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
46
|
-
T extends uint ? System_Internal.UInt32 :
|
|
47
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
48
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
49
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
50
|
-
T extends half ? System_Internal.Half :
|
|
51
|
-
T extends float ? System_Internal.Single :
|
|
52
|
-
T extends double ? System_Internal.Double :
|
|
53
|
-
T extends decimal ? System_Internal.Decimal :
|
|
54
|
-
T extends char ? System_Internal.Char :
|
|
55
|
-
T extends boolean ? System_Internal.Boolean :
|
|
56
|
-
T extends string ? System_Internal.String :
|
|
57
|
-
T; // Identity fallback for non-primitive types
|
|
58
|
-
|
|
59
34
|
export enum Architecture {
|
|
60
35
|
X86 = 0,
|
|
61
36
|
X64 = 1,
|
|
@@ -407,7 +382,7 @@ export interface ICustomMarshaler$instance {
|
|
|
407
382
|
export type ICustomMarshaler = ICustomMarshaler$instance;
|
|
408
383
|
|
|
409
384
|
export interface ICustomQueryInterface$instance {
|
|
410
|
-
getInterface(iid:
|
|
385
|
+
getInterface(iid: Guid, ppv: nint): CustomQueryInterfaceResult;
|
|
411
386
|
}
|
|
412
387
|
|
|
413
388
|
|
|
@@ -439,7 +414,7 @@ export interface __ArrayWithOffset$views {
|
|
|
439
414
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<ArrayWithOffset>;
|
|
440
415
|
|
|
441
416
|
// Structural method bridges for numeric interface constraints
|
|
442
|
-
|
|
417
|
+
equals(other: ArrayWithOffset): boolean;
|
|
443
418
|
}
|
|
444
419
|
|
|
445
420
|
export type ArrayWithOffset = ArrayWithOffset$instance & __ArrayWithOffset$views;
|
|
@@ -464,7 +439,7 @@ export interface __CLong$views {
|
|
|
464
439
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CLong>;
|
|
465
440
|
|
|
466
441
|
// Structural method bridges for numeric interface constraints
|
|
467
|
-
|
|
442
|
+
equals(other: CLong): boolean;
|
|
468
443
|
}
|
|
469
444
|
|
|
470
445
|
export type CLong = CLong$instance & __CLong$views;
|
|
@@ -515,7 +490,7 @@ export interface __CULong$views {
|
|
|
515
490
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CULong>;
|
|
516
491
|
|
|
517
492
|
// Structural method bridges for numeric interface constraints
|
|
518
|
-
|
|
493
|
+
equals(other: CULong): boolean;
|
|
519
494
|
}
|
|
520
495
|
|
|
521
496
|
export type CULong = CULong$instance & __CULong$views;
|
|
@@ -545,7 +520,7 @@ export interface __GCHandle$views {
|
|
|
545
520
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<GCHandle>;
|
|
546
521
|
|
|
547
522
|
// Structural method bridges for numeric interface constraints
|
|
548
|
-
|
|
523
|
+
equals(other: GCHandle): boolean;
|
|
549
524
|
}
|
|
550
525
|
|
|
551
526
|
export type GCHandle = GCHandle$instance & __GCHandle$views;
|
|
@@ -573,7 +548,7 @@ export interface __GCHandle_1$views<T> {
|
|
|
573
548
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<GCHandle_1<T>>;
|
|
574
549
|
|
|
575
550
|
// Structural method bridges for numeric interface constraints
|
|
576
|
-
|
|
551
|
+
equals(other: GCHandle_1<T>): boolean;
|
|
577
552
|
}
|
|
578
553
|
|
|
579
554
|
export interface GCHandle_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
@@ -595,7 +570,7 @@ export const HandleRef: {
|
|
|
595
570
|
|
|
596
571
|
export type HandleRef = HandleRef$instance;
|
|
597
572
|
|
|
598
|
-
export interface NFloat$instance extends IBitwiseOperators_3<NFloat, NFloat, NFloat>, IComparisonOperators_3<NFloat, NFloat,
|
|
573
|
+
export interface NFloat$instance extends IBitwiseOperators_3<NFloat, NFloat, NFloat>, IComparisonOperators_3<NFloat, NFloat, System_Internal.Boolean>, IEqualityOperators_3<NFloat, NFloat, System_Internal.Boolean>, IModulusOperators_3<NFloat, NFloat, NFloat>, IAdditionOperators_3<NFloat, NFloat, NFloat>, IDecrementOperators_1<NFloat>, IDivisionOperators_3<NFloat, NFloat, NFloat>, IIncrementOperators_1<NFloat>, IMultiplyOperators_3<NFloat, NFloat, NFloat>, ISubtractionOperators_3<NFloat, NFloat, NFloat>, IUnaryPlusOperators_2<NFloat, NFloat>, IUnaryNegationOperators_2<NFloat, NFloat> {
|
|
599
574
|
readonly value: double;
|
|
600
575
|
compareTo(obj: unknown): int;
|
|
601
576
|
compareTo(other: NFloat): int;
|
|
@@ -606,8 +581,8 @@ export interface NFloat$instance extends IBitwiseOperators_3<NFloat, NFloat, NFl
|
|
|
606
581
|
toString(format: string): string;
|
|
607
582
|
toString(provider: IFormatProvider): string;
|
|
608
583
|
toString(format: string, provider: IFormatProvider): string;
|
|
609
|
-
tryFormat(destination: Span_1<
|
|
610
|
-
tryFormat(utf8Destination: Span_1<
|
|
584
|
+
tryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider): boolean;
|
|
585
|
+
tryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider): boolean;
|
|
611
586
|
}
|
|
612
587
|
|
|
613
588
|
|
|
@@ -697,10 +672,10 @@ export const NFloat: {
|
|
|
697
672
|
minNative(x: NFloat, y: NFloat): NFloat;
|
|
698
673
|
minNumber(x: NFloat, y: NFloat): NFloat;
|
|
699
674
|
multiplyAddEstimate(left: NFloat, right: NFloat, addend: NFloat): NFloat;
|
|
700
|
-
parse(utf8Text: ReadOnlySpan_1<
|
|
701
|
-
parse(utf8Text: ReadOnlySpan_1<
|
|
702
|
-
parse(s: ReadOnlySpan_1<
|
|
703
|
-
parse(s: ReadOnlySpan_1<
|
|
675
|
+
parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
676
|
+
parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider): NFloat;
|
|
677
|
+
parse(s: ReadOnlySpan_1<System_Internal.Char>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
678
|
+
parse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider): NFloat;
|
|
704
679
|
parse(s: string, style: NumberStyles, provider: IFormatProvider): NFloat;
|
|
705
680
|
parse(s: string, style: NumberStyles): NFloat;
|
|
706
681
|
parse(s: string, provider: IFormatProvider): NFloat;
|
|
@@ -726,15 +701,15 @@ export const NFloat: {
|
|
|
726
701
|
tanh(x: NFloat): NFloat;
|
|
727
702
|
tanPi(x: NFloat): NFloat;
|
|
728
703
|
truncate(x: NFloat): NFloat;
|
|
729
|
-
tryParse(utf8Text: ReadOnlySpan_1<
|
|
730
|
-
tryParse(utf8Text: ReadOnlySpan_1<
|
|
731
|
-
tryParse(utf8Text: ReadOnlySpan_1<
|
|
732
|
-
tryParse(s: ReadOnlySpan_1<
|
|
733
|
-
tryParse(s: ReadOnlySpan_1<
|
|
734
|
-
tryParse(s: ReadOnlySpan_1<
|
|
735
|
-
tryParse(s: string, style: NumberStyles, provider: IFormatProvider, result:
|
|
736
|
-
tryParse(s: string, provider: IFormatProvider, result:
|
|
737
|
-
tryParse(s: string, result:
|
|
704
|
+
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
705
|
+
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider, result: NFloat): boolean;
|
|
706
|
+
tryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: NFloat): boolean;
|
|
707
|
+
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
708
|
+
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider, result: NFloat): boolean;
|
|
709
|
+
tryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: NFloat): boolean;
|
|
710
|
+
tryParse(s: string, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
711
|
+
tryParse(s: string, provider: IFormatProvider, result: NFloat): boolean;
|
|
712
|
+
tryParse(s: string, result: NFloat): boolean;
|
|
738
713
|
};
|
|
739
714
|
|
|
740
715
|
|
|
@@ -756,16 +731,17 @@ export interface __NFloat$views {
|
|
|
756
731
|
As_ITrigonometricFunctions_1(): System_Numerics_Internal.ITrigonometricFunctions_1$instance<NFloat>;
|
|
757
732
|
|
|
758
733
|
// Structural method bridges for numeric interface constraints
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
734
|
+
equals(other: NFloat): boolean;
|
|
735
|
+
compareTo(obj: unknown): int;
|
|
736
|
+
toString(format: string, formatProvider: import("../../System/internal/index").IFormatProvider): string;
|
|
737
|
+
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;
|
|
738
|
+
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;
|
|
739
|
+
getExponentByteCount(): int;
|
|
740
|
+
getExponentShortestBitLength(): int;
|
|
741
|
+
tryWriteExponentBigEndian(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").Byte>, bytesWritten: int): boolean;
|
|
742
|
+
writeExponentBigEndian(destination: byte[], startIndex: int): int;
|
|
743
|
+
writeExponentBigEndian(destination: byte[]): int;
|
|
744
|
+
writeExponentBigEndian(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").Byte>): int;
|
|
769
745
|
}
|
|
770
746
|
|
|
771
747
|
export interface NFloat$instance extends System_Numerics_Internal.IMinMaxValue_1$instance<NFloat> {}
|
|
@@ -795,7 +771,7 @@ export interface __OSPlatform$views {
|
|
|
795
771
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<OSPlatform>;
|
|
796
772
|
|
|
797
773
|
// Structural method bridges for numeric interface constraints
|
|
798
|
-
|
|
774
|
+
equals(other: OSPlatform): boolean;
|
|
799
775
|
}
|
|
800
776
|
|
|
801
777
|
export type OSPlatform = OSPlatform$instance & __OSPlatform$views;
|
|
@@ -824,7 +800,7 @@ export interface __PinnedGCHandle_1$views<T> {
|
|
|
824
800
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<PinnedGCHandle_1<T>>;
|
|
825
801
|
|
|
826
802
|
// Structural method bridges for numeric interface constraints
|
|
827
|
-
|
|
803
|
+
equals(other: PinnedGCHandle_1<T>): boolean;
|
|
828
804
|
}
|
|
829
805
|
|
|
830
806
|
export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
@@ -839,7 +815,7 @@ export interface WeakGCHandle_1$instance<T> {
|
|
|
839
815
|
equals(other: WeakGCHandle_1<T>): boolean;
|
|
840
816
|
getHashCode(): int;
|
|
841
817
|
setTarget(target: T): void;
|
|
842
|
-
tryGetTarget(target:
|
|
818
|
+
tryGetTarget(target: T): boolean;
|
|
843
819
|
}
|
|
844
820
|
|
|
845
821
|
|
|
@@ -855,7 +831,7 @@ export interface __WeakGCHandle_1$views<T> {
|
|
|
855
831
|
As_IEquatable_1(): System_Internal.IEquatable_1$instance<WeakGCHandle_1<T>>;
|
|
856
832
|
|
|
857
833
|
// Structural method bridges for numeric interface constraints
|
|
858
|
-
|
|
834
|
+
equals(other: WeakGCHandle_1<T>): boolean;
|
|
859
835
|
}
|
|
860
836
|
|
|
861
837
|
export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
@@ -1129,11 +1105,11 @@ export interface ComWrappers$instance {
|
|
|
1129
1105
|
|
|
1130
1106
|
|
|
1131
1107
|
export const ComWrappers: {
|
|
1132
|
-
getIUnknownImpl(fpQueryInterface:
|
|
1108
|
+
getIUnknownImpl(fpQueryInterface: nint, fpAddRef: nint, fpRelease: nint): void;
|
|
1133
1109
|
registerForMarshalling(instance: ComWrappers): void;
|
|
1134
1110
|
registerForTrackerSupport(instance: ComWrappers): void;
|
|
1135
|
-
tryGetComInstance(obj: unknown, unknown_:
|
|
1136
|
-
tryGetObject(unknown_: nint, obj:
|
|
1111
|
+
tryGetComInstance(obj: unknown, unknown_: nint): boolean;
|
|
1112
|
+
tryGetObject(unknown_: nint, obj: unknown): boolean;
|
|
1137
1113
|
};
|
|
1138
1114
|
|
|
1139
1115
|
|
|
@@ -1630,7 +1606,7 @@ export type SafeArrayTypeMismatchException = SafeArrayTypeMismatchException$inst
|
|
|
1630
1606
|
|
|
1631
1607
|
export interface SafeBuffer$instance extends SafeHandleZeroOrMinusOneIsInvalid {
|
|
1632
1608
|
readonly byteLength: ulong;
|
|
1633
|
-
acquirePointer(pointer:
|
|
1609
|
+
acquirePointer(pointer: ptr<byte>): void;
|
|
1634
1610
|
dispose(): void;
|
|
1635
1611
|
initialize(numBytes: ulong): void;
|
|
1636
1612
|
initialize(numElements: uint, sizeOfEachElement: uint): void;
|
|
@@ -1660,7 +1636,7 @@ export interface SafeHandle$instance extends CriticalFinalizerObject {
|
|
|
1660
1636
|
readonly isClosed: boolean;
|
|
1661
1637
|
readonly isInvalid: boolean;
|
|
1662
1638
|
close(): void;
|
|
1663
|
-
dangerousAddRef(success:
|
|
1639
|
+
dangerousAddRef(success: boolean): void;
|
|
1664
1640
|
dangerousGetHandle(): nint;
|
|
1665
1641
|
dangerousRelease(): void;
|
|
1666
1642
|
dispose(): void;
|
|
@@ -1928,12 +1904,12 @@ export const WasmImportLinkageAttribute: {
|
|
|
1928
1904
|
export type WasmImportLinkageAttribute = WasmImportLinkageAttribute$instance;
|
|
1929
1905
|
|
|
1930
1906
|
export abstract class CollectionsMarshal$instance {
|
|
1931
|
-
static asBytes(array: BitArray): Span_1<
|
|
1907
|
+
static asBytes(array: BitArray): Span_1<System_Internal.Byte>;
|
|
1932
1908
|
static asSpan<T>(list: List_1<T>): Span_1<T>;
|
|
1933
|
-
static getValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists:
|
|
1934
|
-
static getValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists:
|
|
1935
|
-
static getValueRefOrNullRef<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey):
|
|
1936
|
-
static getValueRefOrNullRef<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey):
|
|
1909
|
+
static getValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue;
|
|
1910
|
+
static getValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue;
|
|
1911
|
+
static getValueRefOrNullRef<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): TValue;
|
|
1912
|
+
static getValueRefOrNullRef<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): TValue;
|
|
1937
1913
|
static setCount<T>(list: List_1<T>, count: int): void;
|
|
1938
1914
|
}
|
|
1939
1915
|
|
|
@@ -1950,7 +1926,7 @@ export type ComEventsHelper = ComEventsHelper$instance;
|
|
|
1950
1926
|
|
|
1951
1927
|
export abstract class GCHandleExtensions$instance {
|
|
1952
1928
|
static getAddressOfArrayData<T>(handle: PinnedGCHandle_1<T[]>): ptr<T>;
|
|
1953
|
-
static getAddressOfStringData(handle: PinnedGCHandle_1<
|
|
1929
|
+
static getAddressOfStringData(handle: PinnedGCHandle_1<System_Internal.String>): ptr<char>;
|
|
1954
1930
|
}
|
|
1955
1931
|
|
|
1956
1932
|
|
|
@@ -1966,8 +1942,8 @@ export abstract class ImmutableCollectionsMarshal$instance {
|
|
|
1966
1942
|
export type ImmutableCollectionsMarshal = ImmutableCollectionsMarshal$instance;
|
|
1967
1943
|
|
|
1968
1944
|
export abstract class JsonMarshal$instance {
|
|
1969
|
-
static getRawUtf8PropertyName(property: JsonProperty): ReadOnlySpan_1<
|
|
1970
|
-
static getRawUtf8Value(element: JsonElement): ReadOnlySpan_1<
|
|
1945
|
+
static getRawUtf8PropertyName(property: JsonProperty): ReadOnlySpan_1<System_Internal.Byte>;
|
|
1946
|
+
static getRawUtf8Value(element: JsonElement): ReadOnlySpan_1<System_Internal.Byte>;
|
|
1971
1947
|
}
|
|
1972
1948
|
|
|
1973
1949
|
|
|
@@ -2020,7 +1996,7 @@ export abstract class Marshal$instance {
|
|
|
2020
1996
|
static getDelegateForFunctionPointer<TDelegate>(ptr: nint): TDelegate;
|
|
2021
1997
|
static getEndComSlot(t: Type): int;
|
|
2022
1998
|
static getExceptionCode(): int;
|
|
2023
|
-
static getExceptionForHR(errorCode: int, iid:
|
|
1999
|
+
static getExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception;
|
|
2024
2000
|
static getExceptionForHR(errorCode: int, errorInfo: nint): Exception;
|
|
2025
2001
|
static getExceptionForHR(errorCode: int): Exception;
|
|
2026
2002
|
static getExceptionPointers(): nint;
|
|
@@ -2068,7 +2044,7 @@ export abstract class Marshal$instance {
|
|
|
2068
2044
|
static ptrToStructure(ptr: nint, structureType: Type): unknown;
|
|
2069
2045
|
static ptrToStructure<T>(ptr: nint, structure: T): void;
|
|
2070
2046
|
static ptrToStructure<T>(ptr: nint): T;
|
|
2071
|
-
static queryInterface(pUnk: nint, iid:
|
|
2047
|
+
static queryInterface(pUnk: nint, iid: Guid, ppv: nint): int;
|
|
2072
2048
|
static readByte(ptr: nint, ofs: int): byte;
|
|
2073
2049
|
static readByte(ptr: nint): byte;
|
|
2074
2050
|
static readByte(ptr: unknown, ofs: int): byte;
|
|
@@ -2110,7 +2086,7 @@ export abstract class Marshal$instance {
|
|
|
2110
2086
|
static stringToHGlobalUni(s: string): nint;
|
|
2111
2087
|
static structureToPtr(structure: unknown, ptr: nint, fDeleteOld: boolean): void;
|
|
2112
2088
|
static structureToPtr<T>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
2113
|
-
static throwExceptionForHR(errorCode: int, iid:
|
|
2089
|
+
static throwExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): void;
|
|
2114
2090
|
static throwExceptionForHR(errorCode: int, errorInfo: nint): void;
|
|
2115
2091
|
static throwExceptionForHR(errorCode: int): void;
|
|
2116
2092
|
static unsafeAddrOfPinnedArrayElement(arr: ClrArray, index: int): nint;
|
|
@@ -2122,7 +2098,7 @@ export abstract class Marshal$instance {
|
|
|
2122
2098
|
static writeInt16(ptr: nint, val: short): void;
|
|
2123
2099
|
static writeInt16(ptr: nint, ofs: int, val: char): void;
|
|
2124
2100
|
static writeInt16(ptr: nint, ofs: int, val: short): void;
|
|
2125
|
-
static writeInt16(ptr:
|
|
2101
|
+
static writeInt16(ptr: unknown, ofs: int, val: char): void;
|
|
2126
2102
|
static writeInt16(ptr: unknown, ofs: int, val: short): void;
|
|
2127
2103
|
static writeInt32(ptr: nint, ofs: int, val: int): void;
|
|
2128
2104
|
static writeInt32(ptr: nint, val: int): void;
|
|
@@ -2145,31 +2121,31 @@ export abstract class Marshal$instance {
|
|
|
2145
2121
|
export type Marshal = Marshal$instance;
|
|
2146
2122
|
|
|
2147
2123
|
export abstract class MemoryMarshal$instance {
|
|
2148
|
-
static asBytes<T extends unknown>(span: ReadOnlySpan_1<T>): ReadOnlySpan_1<
|
|
2149
|
-
static asBytes<T extends unknown>(span: Span_1<T>): Span_1<
|
|
2124
|
+
static asBytes<T extends unknown>(span: ReadOnlySpan_1<T>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2125
|
+
static asBytes<T extends unknown>(span: Span_1<T>): Span_1<System_Internal.Byte>;
|
|
2150
2126
|
static asMemory<T>(memory: ReadOnlyMemory_1<T>): Memory_1<T>;
|
|
2151
|
-
static asRef<T extends unknown>(span: ReadOnlySpan_1<
|
|
2152
|
-
static asRef<T extends unknown>(span: Span_1<
|
|
2127
|
+
static asRef<T extends unknown>(span: ReadOnlySpan_1<System_Internal.Byte>): T;
|
|
2128
|
+
static asRef<T extends unknown>(span: Span_1<System_Internal.Byte>): T;
|
|
2153
2129
|
static cast<TFrom extends unknown, TTo extends unknown>(span: ReadOnlySpan_1<TFrom>): ReadOnlySpan_1<TTo>;
|
|
2154
2130
|
static cast<TFrom extends unknown, TTo extends unknown>(span: Span_1<TFrom>): Span_1<TTo>;
|
|
2155
2131
|
static createFromPinnedArray<T>(array: T[], start: int, length: int): Memory_1<T>;
|
|
2156
|
-
static createReadOnlySpan<T>(reference:
|
|
2157
|
-
static createReadOnlySpanFromNullTerminated(value: ptr<byte>): ReadOnlySpan_1<
|
|
2158
|
-
static createReadOnlySpanFromNullTerminated(value: ptr<char>): ReadOnlySpan_1<
|
|
2159
|
-
static createSpan<T>(reference:
|
|
2160
|
-
static getArrayDataReference(array: ClrArray):
|
|
2161
|
-
static getArrayDataReference<T>(array: T[]):
|
|
2162
|
-
static getReference<T>(span: ReadOnlySpan_1<T>):
|
|
2163
|
-
static getReference<T>(span: Span_1<T>):
|
|
2164
|
-
static read<T extends unknown>(source: ReadOnlySpan_1<
|
|
2132
|
+
static createReadOnlySpan<T>(reference: T, length: int): ReadOnlySpan_1<T>;
|
|
2133
|
+
static createReadOnlySpanFromNullTerminated(value: ptr<byte>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2134
|
+
static createReadOnlySpanFromNullTerminated(value: ptr<char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
2135
|
+
static createSpan<T>(reference: T, length: int): Span_1<T>;
|
|
2136
|
+
static getArrayDataReference(array: ClrArray): byte;
|
|
2137
|
+
static getArrayDataReference<T>(array: T[]): T;
|
|
2138
|
+
static getReference<T>(span: ReadOnlySpan_1<T>): T;
|
|
2139
|
+
static getReference<T>(span: Span_1<T>): T;
|
|
2140
|
+
static read<T extends unknown>(source: ReadOnlySpan_1<System_Internal.Byte>): T;
|
|
2165
2141
|
static toEnumerable<T>(memory: ReadOnlyMemory_1<T>): IEnumerable_1<T>;
|
|
2166
|
-
static tryGetArray<T>(memory: ReadOnlyMemory_1<T>, segment:
|
|
2167
|
-
static tryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager:
|
|
2168
|
-
static tryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager:
|
|
2169
|
-
static tryGetString(memory: ReadOnlyMemory_1<
|
|
2170
|
-
static tryRead<T extends unknown>(source: ReadOnlySpan_1<
|
|
2171
|
-
static tryWrite<T extends unknown>(destination: Span_1<
|
|
2172
|
-
static write<T extends unknown>(destination: Span_1<
|
|
2142
|
+
static tryGetArray<T>(memory: ReadOnlyMemory_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2143
|
+
static tryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager, start: int, length: int): boolean;
|
|
2144
|
+
static tryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager): boolean;
|
|
2145
|
+
static tryGetString(memory: ReadOnlyMemory_1<System_Internal.Char>, text: string, start: int, length: int): boolean;
|
|
2146
|
+
static tryRead<T extends unknown>(source: ReadOnlySpan_1<System_Internal.Byte>, value: T): boolean;
|
|
2147
|
+
static tryWrite<T extends unknown>(destination: Span_1<System_Internal.Byte>, value: T): boolean;
|
|
2148
|
+
static write<T extends unknown>(destination: Span_1<System_Internal.Byte>, value: T): void;
|
|
2173
2149
|
}
|
|
2174
2150
|
|
|
2175
2151
|
|
|
@@ -2182,9 +2158,9 @@ export abstract class NativeLibrary$instance {
|
|
|
2182
2158
|
static load(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>): nint;
|
|
2183
2159
|
static load(libraryPath: string): nint;
|
|
2184
2160
|
static setDllImportResolver(assembly: Assembly, resolver: DllImportResolver): void;
|
|
2185
|
-
static tryGetExport(handle: nint, name: string, address:
|
|
2186
|
-
static tryLoad(libraryPath: string, handle:
|
|
2187
|
-
static tryLoad(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>, handle:
|
|
2161
|
+
static tryGetExport(handle: nint, name: string, address: nint): boolean;
|
|
2162
|
+
static tryLoad(libraryPath: string, handle: nint): boolean;
|
|
2163
|
+
static tryLoad(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>, handle: nint): boolean;
|
|
2188
2164
|
}
|
|
2189
2165
|
|
|
2190
2166
|
|
|
@@ -2233,17 +2209,17 @@ export abstract class RuntimeInformation$instance {
|
|
|
2233
2209
|
export type RuntimeInformation = RuntimeInformation$instance;
|
|
2234
2210
|
|
|
2235
2211
|
export abstract class SequenceMarshal$instance {
|
|
2236
|
-
static tryGetArray<T>(sequence: ReadOnlySequence_1<T>, segment:
|
|
2237
|
-
static tryGetReadOnlyMemory<T>(sequence: ReadOnlySequence_1<T>, memory:
|
|
2238
|
-
static tryGetReadOnlySequenceSegment<T>(sequence: ReadOnlySequence_1<T>, startSegment:
|
|
2239
|
-
static tryRead<T extends unknown>(reader:
|
|
2212
|
+
static tryGetArray<T>(sequence: ReadOnlySequence_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2213
|
+
static tryGetReadOnlyMemory<T>(sequence: ReadOnlySequence_1<T>, memory: ReadOnlyMemory_1<T>): boolean;
|
|
2214
|
+
static tryGetReadOnlySequenceSegment<T>(sequence: ReadOnlySequence_1<T>, startSegment: ReadOnlySequenceSegment_1<T>, startIndex: int, endSegment: ReadOnlySequenceSegment_1<T>, endIndex: int): boolean;
|
|
2215
|
+
static tryRead<T extends unknown>(reader: SequenceReader_1<System_Internal.Byte>, value: T): boolean;
|
|
2240
2216
|
}
|
|
2241
2217
|
|
|
2242
2218
|
|
|
2243
2219
|
export type SequenceMarshal = SequenceMarshal$instance;
|
|
2244
2220
|
|
|
2245
2221
|
export abstract class TypeMapping$instance {
|
|
2246
|
-
static getOrCreateExternalTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<
|
|
2222
|
+
static getOrCreateExternalTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<System_Internal.String, Type>;
|
|
2247
2223
|
static getOrCreateProxyTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<Type, Type>;
|
|
2248
2224
|
}
|
|
2249
2225
|
|