@tsonic/dotnet 10.0.40 → 10.0.41
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 +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Runtime.InteropServices
|
|
3
3
|
// Assembly: System.Collections.Immutable, System.Memory, System.Private.CoreLib, System.Runtime.InteropServices, System.Text.Json
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import * as Microsoft_Win32_SafeHandles_Internal from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -359,7 +357,7 @@ export type DllImportResolver = (libraryName: string, assembly: Assembly, search
|
|
|
359
357
|
export interface ICustomAdapter$instance {
|
|
360
358
|
readonly __tsonic_iface_System_Runtime_InteropServices_ICustomAdapter: never;
|
|
361
359
|
|
|
362
|
-
GetUnderlyingObject():
|
|
360
|
+
GetUnderlyingObject(): JsValue;
|
|
363
361
|
}
|
|
364
362
|
|
|
365
363
|
|
|
@@ -377,11 +375,11 @@ export type ICustomFactory = ICustomFactory$instance;
|
|
|
377
375
|
export interface ICustomMarshaler$instance {
|
|
378
376
|
readonly __tsonic_iface_System_Runtime_InteropServices_ICustomMarshaler: never;
|
|
379
377
|
|
|
380
|
-
CleanUpManagedData(ManagedObj:
|
|
378
|
+
CleanUpManagedData(ManagedObj: JsValue): void;
|
|
381
379
|
CleanUpNativeData(pNativeData: nint): void;
|
|
382
380
|
GetNativeDataSize(): int;
|
|
383
|
-
MarshalManagedToNative(ManagedObj:
|
|
384
|
-
MarshalNativeToManaged(pNativeData: nint):
|
|
381
|
+
MarshalManagedToNative(ManagedObj: JsValue): nint;
|
|
382
|
+
MarshalNativeToManaged(pNativeData: nint): JsValue;
|
|
385
383
|
}
|
|
386
384
|
|
|
387
385
|
|
|
@@ -411,16 +409,16 @@ export interface ArrayWithOffset$instance {
|
|
|
411
409
|
|
|
412
410
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
413
411
|
|
|
414
|
-
Equals(obj:
|
|
412
|
+
Equals(obj: JsValue | null): boolean;
|
|
415
413
|
Equals(obj: ArrayWithOffset): boolean;
|
|
416
|
-
GetArray():
|
|
414
|
+
GetArray(): JsValue | null;
|
|
417
415
|
GetHashCode(): int;
|
|
418
416
|
GetOffset(): int;
|
|
419
417
|
}
|
|
420
418
|
|
|
421
419
|
|
|
422
420
|
export const ArrayWithOffset: {
|
|
423
|
-
new(array:
|
|
421
|
+
new(array: JsValue | null, offset: int): ArrayWithOffset;
|
|
424
422
|
};
|
|
425
423
|
|
|
426
424
|
|
|
@@ -440,7 +438,7 @@ export interface CLong$instance {
|
|
|
440
438
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
441
439
|
|
|
442
440
|
readonly Value: nint;
|
|
443
|
-
Equals(o:
|
|
441
|
+
Equals(o: JsValue | null): boolean;
|
|
444
442
|
Equals(other: CLong): boolean;
|
|
445
443
|
GetHashCode(): int;
|
|
446
444
|
ToString(): string;
|
|
@@ -463,43 +461,13 @@ export interface __CLong$views {
|
|
|
463
461
|
export type CLong = CLong$instance & __CLong$views;
|
|
464
462
|
|
|
465
463
|
|
|
466
|
-
export interface ComWrappers_ComInterfaceDispatch$instance {
|
|
467
|
-
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch: never;
|
|
468
|
-
|
|
469
|
-
Vtable: nint;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
export const ComWrappers_ComInterfaceDispatch: {
|
|
474
|
-
new(): ComWrappers_ComInterfaceDispatch;
|
|
475
|
-
GetInstance<T>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
476
|
-
};
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
export type ComWrappers_ComInterfaceDispatch = ComWrappers_ComInterfaceDispatch$instance;
|
|
480
|
-
|
|
481
|
-
export interface ComWrappers_ComInterfaceEntry$instance {
|
|
482
|
-
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry: never;
|
|
483
|
-
|
|
484
|
-
IID: Guid;
|
|
485
|
-
Vtable: nint;
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
export const ComWrappers_ComInterfaceEntry: {
|
|
490
|
-
new(): ComWrappers_ComInterfaceEntry;
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
export type ComWrappers_ComInterfaceEntry = ComWrappers_ComInterfaceEntry$instance;
|
|
495
|
-
|
|
496
464
|
export interface CULong$instance {
|
|
497
465
|
readonly __tsonic_type_System_Runtime_InteropServices_CULong: never;
|
|
498
466
|
|
|
499
467
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
500
468
|
|
|
501
469
|
readonly Value: nuint;
|
|
502
|
-
Equals(o:
|
|
470
|
+
Equals(o: JsValue | null): boolean;
|
|
503
471
|
Equals(other: CULong): boolean;
|
|
504
472
|
GetHashCode(): int;
|
|
505
473
|
ToString(): string;
|
|
@@ -528,10 +496,10 @@ export interface GCHandle$instance {
|
|
|
528
496
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
529
497
|
|
|
530
498
|
readonly IsAllocated: boolean;
|
|
531
|
-
get Target():
|
|
532
|
-
set Target(value:
|
|
499
|
+
get Target(): JsValue | null;
|
|
500
|
+
set Target(value: JsValue | null);
|
|
533
501
|
AddrOfPinnedObject(): nint;
|
|
534
|
-
Equals(o:
|
|
502
|
+
Equals(o: JsValue | null): boolean;
|
|
535
503
|
Equals(other: GCHandle): boolean;
|
|
536
504
|
Free(): void;
|
|
537
505
|
GetHashCode(): int;
|
|
@@ -540,8 +508,8 @@ export interface GCHandle$instance {
|
|
|
540
508
|
|
|
541
509
|
export const GCHandle: {
|
|
542
510
|
new(): GCHandle;
|
|
543
|
-
Alloc(value:
|
|
544
|
-
Alloc(value:
|
|
511
|
+
Alloc(value: JsValue | null, type: GCHandleType): GCHandle;
|
|
512
|
+
Alloc(value: JsValue | null): GCHandle;
|
|
545
513
|
FromIntPtr(value: nint): GCHandle;
|
|
546
514
|
ToIntPtr(value: GCHandle): nint;
|
|
547
515
|
};
|
|
@@ -566,7 +534,7 @@ export interface GCHandle_1$instance<T> extends System_Internal.IDisposable$inst
|
|
|
566
534
|
readonly IsAllocated: boolean;
|
|
567
535
|
Target: T;
|
|
568
536
|
Dispose(): void;
|
|
569
|
-
Equals(obj:
|
|
537
|
+
Equals(obj: JsValue | null): boolean;
|
|
570
538
|
Equals(other: GCHandle_1<T>): boolean;
|
|
571
539
|
GetHashCode(): int;
|
|
572
540
|
}
|
|
@@ -594,12 +562,12 @@ export interface HandleRef$instance {
|
|
|
594
562
|
readonly __tsonic_type_System_Runtime_InteropServices_HandleRef: never;
|
|
595
563
|
|
|
596
564
|
readonly Handle: nint;
|
|
597
|
-
readonly Wrapper:
|
|
565
|
+
readonly Wrapper: JsValue | null;
|
|
598
566
|
}
|
|
599
567
|
|
|
600
568
|
|
|
601
569
|
export const HandleRef: {
|
|
602
|
-
new(wrapper:
|
|
570
|
+
new(wrapper: JsValue | null, handle: nint): HandleRef;
|
|
603
571
|
ToIntPtr(value: HandleRef): nint;
|
|
604
572
|
};
|
|
605
573
|
|
|
@@ -649,17 +617,17 @@ export interface NFloat$instance extends IBitwiseOperators_3<NFloat, NFloat, NFl
|
|
|
649
617
|
readonly __tsonic_iface_System_Numerics_IUnaryPlusOperators_2: never;
|
|
650
618
|
|
|
651
619
|
readonly Value: double;
|
|
652
|
-
CompareTo(obj:
|
|
620
|
+
CompareTo(obj: JsValue | null): int;
|
|
653
621
|
CompareTo(other: NFloat): int;
|
|
654
|
-
Equals(obj:
|
|
622
|
+
Equals(obj: JsValue | null): boolean;
|
|
655
623
|
Equals(other: NFloat): boolean;
|
|
656
624
|
GetHashCode(): int;
|
|
657
625
|
ToString(): string;
|
|
658
|
-
ToString(format: string): string;
|
|
659
|
-
ToString(provider: IFormatProvider): string;
|
|
660
|
-
ToString(format: string, provider: IFormatProvider): string;
|
|
661
|
-
TryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider): boolean;
|
|
662
|
-
TryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider): boolean;
|
|
626
|
+
ToString(format: string | null): string;
|
|
627
|
+
ToString(provider: IFormatProvider | null): string;
|
|
628
|
+
ToString(format: string | null, provider: IFormatProvider | null): string;
|
|
629
|
+
TryFormat(destination: Span_1<System_Internal.Char>, charsWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider | null): boolean;
|
|
630
|
+
TryFormat(utf8Destination: Span_1<System_Internal.Byte>, bytesWritten: int, format?: ReadOnlySpan_1<System_Internal.Char>, provider?: IFormatProvider | null): boolean;
|
|
663
631
|
}
|
|
664
632
|
|
|
665
633
|
|
|
@@ -749,13 +717,13 @@ export const NFloat: {
|
|
|
749
717
|
MinNative(x: NFloat, y: NFloat): NFloat;
|
|
750
718
|
MinNumber(x: NFloat, y: NFloat): NFloat;
|
|
751
719
|
MultiplyAddEstimate(left: NFloat, right: NFloat, addend: NFloat): NFloat;
|
|
752
|
-
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
753
|
-
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider): NFloat;
|
|
754
|
-
Parse(s: ReadOnlySpan_1<System_Internal.Char>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
755
|
-
Parse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider): NFloat;
|
|
756
|
-
Parse(s: string, style: NumberStyles, provider: IFormatProvider): NFloat;
|
|
720
|
+
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style?: NumberStyles, provider?: IFormatProvider | null): NFloat;
|
|
721
|
+
Parse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider | null): NFloat;
|
|
722
|
+
Parse(s: ReadOnlySpan_1<System_Internal.Char>, style?: NumberStyles, provider?: IFormatProvider | null): NFloat;
|
|
723
|
+
Parse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider | null): NFloat;
|
|
724
|
+
Parse(s: string, style: NumberStyles, provider: IFormatProvider | null): NFloat;
|
|
757
725
|
Parse(s: string, style: NumberStyles): NFloat;
|
|
758
|
-
Parse(s: string, provider: IFormatProvider): NFloat;
|
|
726
|
+
Parse(s: string, provider: IFormatProvider | null): NFloat;
|
|
759
727
|
Parse(s: string): NFloat;
|
|
760
728
|
Pow(x: NFloat, y: NFloat): NFloat;
|
|
761
729
|
RadiansToDegrees(radians: NFloat): NFloat;
|
|
@@ -778,15 +746,15 @@ export const NFloat: {
|
|
|
778
746
|
Tanh(x: NFloat): NFloat;
|
|
779
747
|
TanPi(x: NFloat): NFloat;
|
|
780
748
|
Truncate(x: NFloat): NFloat;
|
|
781
|
-
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
782
|
-
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider, result: NFloat): boolean;
|
|
749
|
+
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, style: NumberStyles, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
750
|
+
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
783
751
|
TryParse(utf8Text: ReadOnlySpan_1<System_Internal.Byte>, result: NFloat): boolean;
|
|
784
|
-
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
785
|
-
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider, result: NFloat): boolean;
|
|
752
|
+
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, style: NumberStyles, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
753
|
+
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
786
754
|
TryParse(s: ReadOnlySpan_1<System_Internal.Char>, result: NFloat): boolean;
|
|
787
|
-
TryParse(s: string, style: NumberStyles, provider: IFormatProvider, result: NFloat): boolean;
|
|
788
|
-
TryParse(s: string, provider: IFormatProvider, result: NFloat): boolean;
|
|
789
|
-
TryParse(s: string, result: NFloat): boolean;
|
|
755
|
+
TryParse(s: string | null, style: NumberStyles, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
756
|
+
TryParse(s: string | null, provider: IFormatProvider | null, result: NFloat): boolean;
|
|
757
|
+
TryParse(s: string | null, result: NFloat): boolean;
|
|
790
758
|
};
|
|
791
759
|
|
|
792
760
|
|
|
@@ -809,7 +777,7 @@ export interface __NFloat$views {
|
|
|
809
777
|
|
|
810
778
|
// Structural method bridges for numeric interface constraints
|
|
811
779
|
Equals(other: NFloat): boolean;
|
|
812
|
-
CompareTo(obj:
|
|
780
|
+
CompareTo(obj: JsValue): int;
|
|
813
781
|
ToString(format: string, formatProvider: import("../../System/internal/index").IFormatProvider): string;
|
|
814
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;
|
|
815
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;
|
|
@@ -830,7 +798,7 @@ export interface OSPlatform$instance {
|
|
|
830
798
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
831
799
|
|
|
832
800
|
Equals(other: OSPlatform): boolean;
|
|
833
|
-
Equals(obj:
|
|
801
|
+
Equals(obj: JsValue | null): boolean;
|
|
834
802
|
GetHashCode(): int;
|
|
835
803
|
ToString(): string;
|
|
836
804
|
}
|
|
@@ -865,7 +833,7 @@ export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposabl
|
|
|
865
833
|
readonly IsAllocated: boolean;
|
|
866
834
|
Target: T;
|
|
867
835
|
Dispose(): void;
|
|
868
|
-
Equals(obj:
|
|
836
|
+
Equals(obj: JsValue | null): boolean;
|
|
869
837
|
Equals(other: PinnedGCHandle_1<T>): boolean;
|
|
870
838
|
GetAddressOfObjectData(): ptr<void>;
|
|
871
839
|
GetHashCode(): int;
|
|
@@ -898,11 +866,11 @@ export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$
|
|
|
898
866
|
|
|
899
867
|
readonly IsAllocated: boolean;
|
|
900
868
|
Dispose(): void;
|
|
901
|
-
Equals(obj:
|
|
869
|
+
Equals(obj: JsValue | null): boolean;
|
|
902
870
|
Equals(other: WeakGCHandle_1<T>): boolean;
|
|
903
871
|
GetHashCode(): int;
|
|
904
872
|
SetTarget(target: T): void;
|
|
905
|
-
TryGetTarget(target: T): boolean;
|
|
873
|
+
TryGetTarget(target: T | null): boolean;
|
|
906
874
|
}
|
|
907
875
|
|
|
908
876
|
|
|
@@ -969,13 +937,13 @@ export type BestFitMappingAttribute = BestFitMappingAttribute$instance;
|
|
|
969
937
|
export interface BStrWrapper$instance {
|
|
970
938
|
readonly __tsonic_type_System_Runtime_InteropServices_BStrWrapper: never;
|
|
971
939
|
|
|
972
|
-
readonly WrappedObject: string |
|
|
940
|
+
readonly WrappedObject: string | null;
|
|
973
941
|
}
|
|
974
942
|
|
|
975
943
|
|
|
976
944
|
export const BStrWrapper: {
|
|
977
|
-
new(value: string): BStrWrapper;
|
|
978
|
-
new(value:
|
|
945
|
+
new(value: string | null): BStrWrapper;
|
|
946
|
+
new(value: JsValue | null): BStrWrapper;
|
|
979
947
|
};
|
|
980
948
|
|
|
981
949
|
|
|
@@ -1030,25 +998,25 @@ export interface ComAwareEventInfo$instance extends EventInfo {
|
|
|
1030
998
|
readonly __tsonic_iface_System_Reflection_ICustomAttributeProvider: never;
|
|
1031
999
|
|
|
1032
1000
|
readonly Attributes: EventAttributes;
|
|
1033
|
-
readonly DeclaringType: Type |
|
|
1001
|
+
readonly DeclaringType: Type | null;
|
|
1034
1002
|
readonly MetadataToken: int;
|
|
1035
1003
|
readonly Module: Module;
|
|
1036
1004
|
readonly Name: string;
|
|
1037
|
-
readonly ReflectedType: Type |
|
|
1038
|
-
AddEventHandler(target:
|
|
1039
|
-
GetAddMethod(nonPublic: boolean): MethodInfo |
|
|
1040
|
-
GetAddMethod(): MethodInfo |
|
|
1041
|
-
GetCustomAttributes(attributeType: Type, inherit: boolean):
|
|
1042
|
-
GetCustomAttributes(inherit: boolean):
|
|
1005
|
+
readonly ReflectedType: Type | null;
|
|
1006
|
+
AddEventHandler(target: JsValue, handler: Function): void;
|
|
1007
|
+
GetAddMethod(nonPublic: boolean): MethodInfo | null;
|
|
1008
|
+
GetAddMethod(): MethodInfo | null;
|
|
1009
|
+
GetCustomAttributes(attributeType: Type, inherit: boolean): JsValue[];
|
|
1010
|
+
GetCustomAttributes(inherit: boolean): JsValue[];
|
|
1043
1011
|
GetCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
1044
1012
|
GetOtherMethods(nonPublic: boolean): MethodInfo[];
|
|
1045
1013
|
GetOtherMethods(): MethodInfo[];
|
|
1046
|
-
GetRaiseMethod(nonPublic: boolean): MethodInfo |
|
|
1047
|
-
GetRaiseMethod(): MethodInfo |
|
|
1048
|
-
GetRemoveMethod(nonPublic: boolean): MethodInfo |
|
|
1049
|
-
GetRemoveMethod(): MethodInfo |
|
|
1014
|
+
GetRaiseMethod(nonPublic: boolean): MethodInfo | null;
|
|
1015
|
+
GetRaiseMethod(): MethodInfo | null;
|
|
1016
|
+
GetRemoveMethod(nonPublic: boolean): MethodInfo | null;
|
|
1017
|
+
GetRemoveMethod(): MethodInfo | null;
|
|
1050
1018
|
IsDefined(attributeType: Type, inherit: boolean): boolean;
|
|
1051
|
-
RemoveEventHandler(target:
|
|
1019
|
+
RemoveEventHandler(target: JsValue, handler: Function): void;
|
|
1052
1020
|
}
|
|
1053
1021
|
|
|
1054
1022
|
|
|
@@ -1134,9 +1102,9 @@ export interface COMException$instance extends ExternalException$instance, Syste
|
|
|
1134
1102
|
|
|
1135
1103
|
export const COMException: {
|
|
1136
1104
|
new(): COMException;
|
|
1137
|
-
new(message: string): COMException;
|
|
1138
|
-
new(message: string, inner: Exception): COMException;
|
|
1139
|
-
new(message: string, errorCode: int): COMException;
|
|
1105
|
+
new(message: string | null): COMException;
|
|
1106
|
+
new(message: string | null, inner: Exception | null): COMException;
|
|
1107
|
+
new(message: string | null, errorCode: int): COMException;
|
|
1140
1108
|
};
|
|
1141
1109
|
|
|
1142
1110
|
|
|
@@ -1221,14 +1189,14 @@ export type ComVisibleAttribute = ComVisibleAttribute$instance;
|
|
|
1221
1189
|
export interface ComWrappers$instance {
|
|
1222
1190
|
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers: never;
|
|
1223
1191
|
|
|
1224
|
-
ComputeVtables(obj:
|
|
1225
|
-
CreateObject(externalComObject: nint, flags: CreateObjectFlags):
|
|
1226
|
-
CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState:
|
|
1227
|
-
GetOrCreateComInterfaceForObject(instance:
|
|
1228
|
-
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags):
|
|
1229
|
-
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState:
|
|
1230
|
-
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper:
|
|
1231
|
-
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper:
|
|
1192
|
+
ComputeVtables(obj: JsValue, flags: CreateComInterfaceFlags, count: int): ptr<ComWrappers_ComInterfaceEntry>;
|
|
1193
|
+
CreateObject(externalComObject: nint, flags: CreateObjectFlags): JsValue | null;
|
|
1194
|
+
CreateObject(externalComObject: nint, flags: CreateObjectFlags, userState: JsValue | null, wrapperFlags: CreatedWrapperFlags): JsValue | null;
|
|
1195
|
+
GetOrCreateComInterfaceForObject(instance: JsValue, flags: CreateComInterfaceFlags): nint;
|
|
1196
|
+
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags): JsValue;
|
|
1197
|
+
GetOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState: JsValue | null): JsValue;
|
|
1198
|
+
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: JsValue): JsValue;
|
|
1199
|
+
GetOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: JsValue, inner: nint): JsValue;
|
|
1232
1200
|
ReleaseObjects(objects: IEnumerable): void;
|
|
1233
1201
|
}
|
|
1234
1202
|
|
|
@@ -1237,13 +1205,43 @@ export const ComWrappers: (abstract new() => ComWrappers) & {
|
|
|
1237
1205
|
GetIUnknownImpl(fpQueryInterface: nint, fpAddRef: nint, fpRelease: nint): void;
|
|
1238
1206
|
RegisterForMarshalling(instance: ComWrappers): void;
|
|
1239
1207
|
RegisterForTrackerSupport(instance: ComWrappers): void;
|
|
1240
|
-
TryGetComInstance(obj:
|
|
1241
|
-
TryGetObject(unknown: nint, obj:
|
|
1208
|
+
TryGetComInstance(obj: JsValue, unknown: nint): boolean;
|
|
1209
|
+
TryGetObject(unknown: nint, obj: JsValue | null): boolean;
|
|
1242
1210
|
};
|
|
1243
1211
|
|
|
1244
1212
|
|
|
1245
1213
|
export type ComWrappers = ComWrappers$instance;
|
|
1246
1214
|
|
|
1215
|
+
export interface ComWrappers_ComInterfaceDispatch$instance {
|
|
1216
|
+
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceDispatch: never;
|
|
1217
|
+
|
|
1218
|
+
Vtable: nint;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
export const ComWrappers_ComInterfaceDispatch: {
|
|
1223
|
+
new(): ComWrappers_ComInterfaceDispatch;
|
|
1224
|
+
GetInstance<T>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
export type ComWrappers_ComInterfaceDispatch = ComWrappers_ComInterfaceDispatch$instance;
|
|
1229
|
+
|
|
1230
|
+
export interface ComWrappers_ComInterfaceEntry$instance {
|
|
1231
|
+
readonly __tsonic_type_System_Runtime_InteropServices_ComWrappers_ComInterfaceEntry: never;
|
|
1232
|
+
|
|
1233
|
+
IID: Guid;
|
|
1234
|
+
Vtable: nint;
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
export const ComWrappers_ComInterfaceEntry: {
|
|
1239
|
+
new(): ComWrappers_ComInterfaceEntry;
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
export type ComWrappers_ComInterfaceEntry = ComWrappers_ComInterfaceEntry$instance;
|
|
1244
|
+
|
|
1247
1245
|
export interface CriticalHandle$instance extends CriticalFinalizerObject {
|
|
1248
1246
|
readonly __tsonic_type_System_Runtime_InteropServices_CriticalHandle: never;
|
|
1249
1247
|
|
|
@@ -1280,7 +1278,7 @@ export interface CurrencyWrapper$instance {
|
|
|
1280
1278
|
|
|
1281
1279
|
export const CurrencyWrapper: {
|
|
1282
1280
|
new(obj: decimal): CurrencyWrapper;
|
|
1283
|
-
new(obj:
|
|
1281
|
+
new(obj: JsValue): CurrencyWrapper;
|
|
1284
1282
|
};
|
|
1285
1283
|
|
|
1286
1284
|
|
|
@@ -1317,12 +1315,12 @@ export type DefaultDllImportSearchPathsAttribute = DefaultDllImportSearchPathsAt
|
|
|
1317
1315
|
export interface DefaultParameterValueAttribute$instance extends Attribute {
|
|
1318
1316
|
readonly __tsonic_type_System_Runtime_InteropServices_DefaultParameterValueAttribute: never;
|
|
1319
1317
|
|
|
1320
|
-
readonly Value:
|
|
1318
|
+
readonly Value: JsValue | null;
|
|
1321
1319
|
}
|
|
1322
1320
|
|
|
1323
1321
|
|
|
1324
1322
|
export const DefaultParameterValueAttribute: {
|
|
1325
|
-
new(value:
|
|
1323
|
+
new(value: JsValue | null): DefaultParameterValueAttribute;
|
|
1326
1324
|
};
|
|
1327
1325
|
|
|
1328
1326
|
|
|
@@ -1331,12 +1329,12 @@ export type DefaultParameterValueAttribute = DefaultParameterValueAttribute$inst
|
|
|
1331
1329
|
export interface DispatchWrapper$instance {
|
|
1332
1330
|
readonly __tsonic_type_System_Runtime_InteropServices_DispatchWrapper: never;
|
|
1333
1331
|
|
|
1334
|
-
readonly WrappedObject:
|
|
1332
|
+
readonly WrappedObject: JsValue | null;
|
|
1335
1333
|
}
|
|
1336
1334
|
|
|
1337
1335
|
|
|
1338
1336
|
export const DispatchWrapper: {
|
|
1339
|
-
new(obj:
|
|
1337
|
+
new(obj: JsValue | null): DispatchWrapper;
|
|
1340
1338
|
};
|
|
1341
1339
|
|
|
1342
1340
|
|
|
@@ -1359,7 +1357,7 @@ export type DispIdAttribute = DispIdAttribute$instance;
|
|
|
1359
1357
|
export interface DllImportAttribute$instance extends Attribute {
|
|
1360
1358
|
readonly __tsonic_type_System_Runtime_InteropServices_DllImportAttribute: never;
|
|
1361
1359
|
|
|
1362
|
-
EntryPoint: string |
|
|
1360
|
+
EntryPoint: string | null;
|
|
1363
1361
|
CharSet: CharSet;
|
|
1364
1362
|
SetLastError: boolean;
|
|
1365
1363
|
ExactSpelling: boolean;
|
|
@@ -1400,7 +1398,7 @@ export interface ErrorWrapper$instance {
|
|
|
1400
1398
|
|
|
1401
1399
|
export const ErrorWrapper: {
|
|
1402
1400
|
new(errorCode: int): ErrorWrapper;
|
|
1403
|
-
new(errorCode:
|
|
1401
|
+
new(errorCode: JsValue): ErrorWrapper;
|
|
1404
1402
|
new(e: Exception): ErrorWrapper;
|
|
1405
1403
|
};
|
|
1406
1404
|
|
|
@@ -1419,9 +1417,9 @@ export interface ExternalException$instance extends SystemException, System_Runt
|
|
|
1419
1417
|
|
|
1420
1418
|
export const ExternalException: {
|
|
1421
1419
|
new(): ExternalException;
|
|
1422
|
-
new(message: string): ExternalException;
|
|
1423
|
-
new(message: string, inner: Exception): ExternalException;
|
|
1424
|
-
new(message: string, errorCode: int): ExternalException;
|
|
1420
|
+
new(message: string | null): ExternalException;
|
|
1421
|
+
new(message: string | null, inner: Exception | null): ExternalException;
|
|
1422
|
+
new(message: string | null, errorCode: int): ExternalException;
|
|
1425
1423
|
};
|
|
1426
1424
|
|
|
1427
1425
|
|
|
@@ -1473,8 +1471,8 @@ export interface HandleCollector$instance {
|
|
|
1473
1471
|
|
|
1474
1472
|
|
|
1475
1473
|
export const HandleCollector: {
|
|
1476
|
-
new(name: string, initialThreshold: int): HandleCollector;
|
|
1477
|
-
new(name: string, initialThreshold: int, maximumThreshold: int): HandleCollector;
|
|
1474
|
+
new(name: string | null, initialThreshold: int): HandleCollector;
|
|
1475
|
+
new(name: string | null, initialThreshold: int, maximumThreshold: int): HandleCollector;
|
|
1478
1476
|
};
|
|
1479
1477
|
|
|
1480
1478
|
|
|
@@ -1532,8 +1530,8 @@ export interface InvalidComObjectException$instance extends SystemException, Sys
|
|
|
1532
1530
|
|
|
1533
1531
|
export const InvalidComObjectException: {
|
|
1534
1532
|
new(): InvalidComObjectException;
|
|
1535
|
-
new(message: string): InvalidComObjectException;
|
|
1536
|
-
new(message: string, inner: Exception): InvalidComObjectException;
|
|
1533
|
+
new(message: string | null): InvalidComObjectException;
|
|
1534
|
+
new(message: string | null, inner: Exception | null): InvalidComObjectException;
|
|
1537
1535
|
};
|
|
1538
1536
|
|
|
1539
1537
|
|
|
@@ -1554,8 +1552,8 @@ export interface InvalidOleVariantTypeException$instance extends SystemException
|
|
|
1554
1552
|
|
|
1555
1553
|
export const InvalidOleVariantTypeException: {
|
|
1556
1554
|
new(): InvalidOleVariantTypeException;
|
|
1557
|
-
new(message: string): InvalidOleVariantTypeException;
|
|
1558
|
-
new(message: string, inner: Exception): InvalidOleVariantTypeException;
|
|
1555
|
+
new(message: string | null): InvalidOleVariantTypeException;
|
|
1556
|
+
new(message: string | null, inner: Exception | null): InvalidOleVariantTypeException;
|
|
1559
1557
|
};
|
|
1560
1558
|
|
|
1561
1559
|
|
|
@@ -1583,13 +1581,13 @@ export type LCIDConversionAttribute = LCIDConversionAttribute$instance;
|
|
|
1583
1581
|
export interface LibraryImportAttribute$instance extends Attribute {
|
|
1584
1582
|
readonly __tsonic_type_System_Runtime_InteropServices_LibraryImportAttribute: never;
|
|
1585
1583
|
|
|
1586
|
-
get EntryPoint(): string |
|
|
1587
|
-
set EntryPoint(value: string |
|
|
1584
|
+
get EntryPoint(): string | null;
|
|
1585
|
+
set EntryPoint(value: string | null);
|
|
1588
1586
|
readonly LibraryName: string;
|
|
1589
1587
|
SetLastError: boolean;
|
|
1590
1588
|
StringMarshalling: StringMarshalling;
|
|
1591
|
-
get StringMarshallingCustomType(): Type |
|
|
1592
|
-
set StringMarshallingCustomType(value: Type |
|
|
1589
|
+
get StringMarshallingCustomType(): Type | null;
|
|
1590
|
+
set StringMarshallingCustomType(value: Type | null);
|
|
1593
1591
|
}
|
|
1594
1592
|
|
|
1595
1593
|
|
|
@@ -1619,14 +1617,14 @@ export interface MarshalAsAttribute$instance extends Attribute {
|
|
|
1619
1617
|
readonly __tsonic_type_System_Runtime_InteropServices_MarshalAsAttribute: never;
|
|
1620
1618
|
|
|
1621
1619
|
SafeArraySubType: VarEnum;
|
|
1622
|
-
SafeArrayUserDefinedSubType: Type |
|
|
1620
|
+
SafeArrayUserDefinedSubType: Type | null;
|
|
1623
1621
|
IidParameterIndex: int;
|
|
1624
1622
|
ArraySubType: UnmanagedType;
|
|
1625
1623
|
SizeParamIndex: short;
|
|
1626
1624
|
SizeConst: int;
|
|
1627
|
-
MarshalType: string |
|
|
1628
|
-
MarshalTypeRef: Type |
|
|
1629
|
-
MarshalCookie: string |
|
|
1625
|
+
MarshalType: string | null;
|
|
1626
|
+
MarshalTypeRef: Type | null;
|
|
1627
|
+
MarshalCookie: string | null;
|
|
1630
1628
|
readonly Value: UnmanagedType;
|
|
1631
1629
|
}
|
|
1632
1630
|
|
|
@@ -1649,8 +1647,8 @@ export interface MarshalDirectiveException$instance extends SystemException, Sys
|
|
|
1649
1647
|
|
|
1650
1648
|
export const MarshalDirectiveException: {
|
|
1651
1649
|
new(): MarshalDirectiveException;
|
|
1652
|
-
new(message: string): MarshalDirectiveException;
|
|
1653
|
-
new(message: string, inner: Exception): MarshalDirectiveException;
|
|
1650
|
+
new(message: string | null): MarshalDirectiveException;
|
|
1651
|
+
new(message: string | null, inner: Exception | null): MarshalDirectiveException;
|
|
1654
1652
|
};
|
|
1655
1653
|
|
|
1656
1654
|
|
|
@@ -1776,8 +1774,8 @@ export interface SafeArrayRankMismatchException$instance extends SystemException
|
|
|
1776
1774
|
|
|
1777
1775
|
export const SafeArrayRankMismatchException: {
|
|
1778
1776
|
new(): SafeArrayRankMismatchException;
|
|
1779
|
-
new(message: string): SafeArrayRankMismatchException;
|
|
1780
|
-
new(message: string, inner: Exception): SafeArrayRankMismatchException;
|
|
1777
|
+
new(message: string | null): SafeArrayRankMismatchException;
|
|
1778
|
+
new(message: string | null, inner: Exception | null): SafeArrayRankMismatchException;
|
|
1781
1779
|
};
|
|
1782
1780
|
|
|
1783
1781
|
|
|
@@ -1798,8 +1796,8 @@ export interface SafeArrayTypeMismatchException$instance extends SystemException
|
|
|
1798
1796
|
|
|
1799
1797
|
export const SafeArrayTypeMismatchException: {
|
|
1800
1798
|
new(): SafeArrayTypeMismatchException;
|
|
1801
|
-
new(message: string): SafeArrayTypeMismatchException;
|
|
1802
|
-
new(message: string, inner: Exception): SafeArrayTypeMismatchException;
|
|
1799
|
+
new(message: string | null): SafeArrayTypeMismatchException;
|
|
1800
|
+
new(message: string | null, inner: Exception | null): SafeArrayTypeMismatchException;
|
|
1803
1801
|
};
|
|
1804
1802
|
|
|
1805
1803
|
|
|
@@ -1819,14 +1817,14 @@ export interface SafeBuffer$instance extends SafeHandleZeroOrMinusOneIsInvalid {
|
|
|
1819
1817
|
AcquirePointer(pointer: ptr<byte>): void;
|
|
1820
1818
|
Initialize(numBytes: ulong): void;
|
|
1821
1819
|
Initialize(numElements: uint, sizeOfEachElement: uint): void;
|
|
1822
|
-
Initialize<T extends
|
|
1823
|
-
Read<T extends
|
|
1824
|
-
ReadArray<T extends
|
|
1825
|
-
ReadSpan<T extends
|
|
1820
|
+
Initialize<T extends NonNullable<JsValue>>(numElements: uint): void;
|
|
1821
|
+
Read<T extends NonNullable<JsValue>>(byteOffset: ulong): T;
|
|
1822
|
+
ReadArray<T extends NonNullable<JsValue>>(byteOffset: ulong, array: T[], index: int, count: int): void;
|
|
1823
|
+
ReadSpan<T extends NonNullable<JsValue>>(byteOffset: ulong, buffer: Span_1<T>): void;
|
|
1826
1824
|
ReleasePointer(): void;
|
|
1827
|
-
Write<T extends
|
|
1828
|
-
WriteArray<T extends
|
|
1829
|
-
WriteSpan<T extends
|
|
1825
|
+
Write<T extends NonNullable<JsValue>>(byteOffset: ulong, value: T): void;
|
|
1826
|
+
WriteArray<T extends NonNullable<JsValue>>(byteOffset: ulong, array: T[], index: int, count: int): void;
|
|
1827
|
+
WriteSpan<T extends NonNullable<JsValue>>(byteOffset: ulong, data: ReadOnlySpan_1<T>): void;
|
|
1830
1828
|
}
|
|
1831
1829
|
|
|
1832
1830
|
|
|
@@ -1882,8 +1880,8 @@ export interface SEHException$instance extends ExternalException$instance, Syste
|
|
|
1882
1880
|
|
|
1883
1881
|
export const SEHException: {
|
|
1884
1882
|
new(): SEHException;
|
|
1885
|
-
new(message: string): SEHException;
|
|
1886
|
-
new(message: string, inner: Exception): SEHException;
|
|
1883
|
+
new(message: string | null): SEHException;
|
|
1884
|
+
new(message: string | null, inner: Exception | null): SEHException;
|
|
1887
1885
|
};
|
|
1888
1886
|
|
|
1889
1887
|
|
|
@@ -1940,14 +1938,14 @@ export type SuppressGCTransitionAttribute = SuppressGCTransitionAttribute$instan
|
|
|
1940
1938
|
export interface TypeIdentifierAttribute$instance extends Attribute {
|
|
1941
1939
|
readonly __tsonic_type_System_Runtime_InteropServices_TypeIdentifierAttribute: never;
|
|
1942
1940
|
|
|
1943
|
-
readonly Identifier: string |
|
|
1944
|
-
readonly Scope: string |
|
|
1941
|
+
readonly Identifier: string | null;
|
|
1942
|
+
readonly Scope: string | null;
|
|
1945
1943
|
}
|
|
1946
1944
|
|
|
1947
1945
|
|
|
1948
1946
|
export const TypeIdentifierAttribute: {
|
|
1949
1947
|
new(): TypeIdentifierAttribute;
|
|
1950
|
-
new(scope: string, identifier: string): TypeIdentifierAttribute;
|
|
1948
|
+
new(scope: string | null, identifier: string | null): TypeIdentifierAttribute;
|
|
1951
1949
|
};
|
|
1952
1950
|
|
|
1953
1951
|
|
|
@@ -2070,12 +2068,12 @@ export type TypeMapAttribute_1<TTypeMapGroup> = TypeMapAttribute_1$instance<TTyp
|
|
|
2070
2068
|
export interface UnknownWrapper$instance {
|
|
2071
2069
|
readonly __tsonic_type_System_Runtime_InteropServices_UnknownWrapper: never;
|
|
2072
2070
|
|
|
2073
|
-
readonly WrappedObject:
|
|
2071
|
+
readonly WrappedObject: JsValue | null;
|
|
2074
2072
|
}
|
|
2075
2073
|
|
|
2076
2074
|
|
|
2077
2075
|
export const UnknownWrapper: {
|
|
2078
|
-
new(obj:
|
|
2076
|
+
new(obj: JsValue | null): UnknownWrapper;
|
|
2079
2077
|
};
|
|
2080
2078
|
|
|
2081
2079
|
|
|
@@ -2084,7 +2082,7 @@ export type UnknownWrapper = UnknownWrapper$instance;
|
|
|
2084
2082
|
export interface UnmanagedCallConvAttribute$instance extends Attribute {
|
|
2085
2083
|
readonly __tsonic_type_System_Runtime_InteropServices_UnmanagedCallConvAttribute: never;
|
|
2086
2084
|
|
|
2087
|
-
CallConvs: Type[] |
|
|
2085
|
+
CallConvs: Type[] | null;
|
|
2088
2086
|
}
|
|
2089
2087
|
|
|
2090
2088
|
|
|
@@ -2098,8 +2096,8 @@ export type UnmanagedCallConvAttribute = UnmanagedCallConvAttribute$instance;
|
|
|
2098
2096
|
export interface UnmanagedCallersOnlyAttribute$instance extends Attribute {
|
|
2099
2097
|
readonly __tsonic_type_System_Runtime_InteropServices_UnmanagedCallersOnlyAttribute: never;
|
|
2100
2098
|
|
|
2101
|
-
CallConvs: Type[] |
|
|
2102
|
-
EntryPoint: string |
|
|
2099
|
+
CallConvs: Type[] | null;
|
|
2100
|
+
EntryPoint: string | null;
|
|
2103
2101
|
}
|
|
2104
2102
|
|
|
2105
2103
|
|
|
@@ -2131,12 +2129,12 @@ export type UnmanagedFunctionPointerAttribute = UnmanagedFunctionPointerAttribut
|
|
|
2131
2129
|
export interface VariantWrapper$instance {
|
|
2132
2130
|
readonly __tsonic_type_System_Runtime_InteropServices_VariantWrapper: never;
|
|
2133
2131
|
|
|
2134
|
-
readonly WrappedObject:
|
|
2132
|
+
readonly WrappedObject: JsValue | null;
|
|
2135
2133
|
}
|
|
2136
2134
|
|
|
2137
2135
|
|
|
2138
2136
|
export const VariantWrapper: {
|
|
2139
|
-
new(obj:
|
|
2137
|
+
new(obj: JsValue | null): VariantWrapper;
|
|
2140
2138
|
};
|
|
2141
2139
|
|
|
2142
2140
|
|
|
@@ -2156,10 +2154,10 @@ export const WasmImportLinkageAttribute: {
|
|
|
2156
2154
|
export type WasmImportLinkageAttribute = WasmImportLinkageAttribute$instance;
|
|
2157
2155
|
|
|
2158
2156
|
export abstract class CollectionsMarshal$instance {
|
|
2159
|
-
static AsBytes(array: BitArray): Span_1<System_Internal.Byte>;
|
|
2160
|
-
static AsSpan<T>(list: List_1<T>): Span_1<T>;
|
|
2161
|
-
static GetValueRefOrAddDefault<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: boolean): TValue |
|
|
2162
|
-
static GetValueRefOrAddDefault<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: boolean): TValue |
|
|
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;
|
|
2163
2161
|
static GetValueRefOrNullRef<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): TValue;
|
|
2164
2162
|
static GetValueRefOrNullRef<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): TValue;
|
|
2165
2163
|
static SetCount<T>(list: List_1<T>, count: int): void;
|
|
@@ -2169,8 +2167,8 @@ export abstract class CollectionsMarshal$instance {
|
|
|
2169
2167
|
export type CollectionsMarshal = CollectionsMarshal$instance;
|
|
2170
2168
|
|
|
2171
2169
|
export abstract class ComEventsHelper$instance {
|
|
2172
|
-
static Combine(rcw:
|
|
2173
|
-
static Remove(rcw:
|
|
2170
|
+
static Combine(rcw: JsValue, iid: Guid, dispid: int, d: Function): void;
|
|
2171
|
+
static Remove(rcw: JsValue, iid: Guid, dispid: int, d: Function): Function;
|
|
2174
2172
|
}
|
|
2175
2173
|
|
|
2176
2174
|
|
|
@@ -2185,9 +2183,9 @@ export abstract class GCHandleExtensions$instance {
|
|
|
2185
2183
|
export type GCHandleExtensions = GCHandleExtensions$instance;
|
|
2186
2184
|
|
|
2187
2185
|
export abstract class ImmutableCollectionsMarshal$instance {
|
|
2188
|
-
static AsArray<T>(array: ImmutableArray_1<T>): T[] |
|
|
2189
|
-
static AsImmutableArray<T>(array: T[]): ImmutableArray_1<T>;
|
|
2190
|
-
static AsMemory<T>(builder: ImmutableArray_1_Builder<T>): Memory_1<T>;
|
|
2186
|
+
static AsArray<T>(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>;
|
|
2191
2189
|
}
|
|
2192
2190
|
|
|
2193
2191
|
|
|
@@ -2209,8 +2207,8 @@ export abstract class Marshal$instance {
|
|
|
2209
2207
|
static AllocHGlobal(cb: int): nint;
|
|
2210
2208
|
static AllocHGlobal(cb: nint): nint;
|
|
2211
2209
|
static AreComObjectsAvailableForCleanup(): boolean;
|
|
2212
|
-
static BindToMoniker(monikerName: string):
|
|
2213
|
-
static ChangeWrapperHandleStrength(otp:
|
|
2210
|
+
static BindToMoniker(monikerName: string): JsValue;
|
|
2211
|
+
static ChangeWrapperHandleStrength(otp: JsValue, fIsWeak: boolean): void;
|
|
2214
2212
|
static CleanupUnusedObjectsInCurrentContext(): void;
|
|
2215
2213
|
static Copy(source: byte[], startIndex: int, destination: nint, length: int): void;
|
|
2216
2214
|
static Copy(source: char[], startIndex: int, destination: nint, length: int): void;
|
|
@@ -2228,115 +2226,115 @@ export abstract class Marshal$instance {
|
|
|
2228
2226
|
static Copy(source: nint, destination: float[], startIndex: int, length: int): void;
|
|
2229
2227
|
static Copy(source: nint[], startIndex: int, destination: nint, length: int): void;
|
|
2230
2228
|
static Copy(source: float[], startIndex: int, destination: nint, length: int): void;
|
|
2231
|
-
static CreateAggregatedObject(pOuter: nint, o:
|
|
2229
|
+
static CreateAggregatedObject(pOuter: nint, o: JsValue): nint;
|
|
2232
2230
|
static CreateAggregatedObject<T>(pOuter: nint, o: T): nint;
|
|
2233
|
-
static CreateWrapperOfType(o:
|
|
2234
|
-
static CreateWrapperOfType<T, TWrapper>(o: T): TWrapper;
|
|
2231
|
+
static CreateWrapperOfType(o: JsValue | null, t: Type): JsValue | null;
|
|
2232
|
+
static CreateWrapperOfType<T, TWrapper>(o: T | null): TWrapper;
|
|
2235
2233
|
static DestroyStructure(ptr: nint, structuretype: Type): void;
|
|
2236
2234
|
static DestroyStructure<T>(ptr: nint): void;
|
|
2237
|
-
static FinalReleaseComObject(o:
|
|
2235
|
+
static FinalReleaseComObject(o: JsValue): int;
|
|
2238
2236
|
static FreeBSTR(ptr: nint): void;
|
|
2239
2237
|
static FreeCoTaskMem(ptr: nint): void;
|
|
2240
2238
|
static FreeHGlobal(hglobal: nint): void;
|
|
2241
2239
|
static GenerateGuidForType(type: Type): Guid;
|
|
2242
|
-
static GenerateProgIdForType(type: Type): string |
|
|
2243
|
-
static GetComInterfaceForObject(o:
|
|
2244
|
-
static GetComInterfaceForObject(o:
|
|
2240
|
+
static GenerateProgIdForType(type: Type): string | null;
|
|
2241
|
+
static GetComInterfaceForObject(o: JsValue, T: Type, mode: CustomQueryInterfaceMode): nint;
|
|
2242
|
+
static GetComInterfaceForObject(o: JsValue, T: Type): nint;
|
|
2245
2243
|
static GetComInterfaceForObject<T, TInterface>(o: T): nint;
|
|
2246
|
-
static GetComObjectData(obj:
|
|
2244
|
+
static GetComObjectData(obj: JsValue, key: JsValue): JsValue | null;
|
|
2247
2245
|
static GetDelegateForFunctionPointer(ptr: nint, t: Type): Function;
|
|
2248
2246
|
static GetDelegateForFunctionPointer<TDelegate>(ptr: nint): TDelegate;
|
|
2249
2247
|
static GetEndComSlot(t: Type): int;
|
|
2250
2248
|
static GetExceptionCode(): int;
|
|
2251
|
-
static GetExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception |
|
|
2252
|
-
static GetExceptionForHR(errorCode: int, errorInfo: nint): Exception |
|
|
2253
|
-
static GetExceptionForHR(errorCode: int): Exception |
|
|
2249
|
+
static GetExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): Exception | null;
|
|
2250
|
+
static GetExceptionForHR(errorCode: int, errorInfo: nint): Exception | null;
|
|
2251
|
+
static GetExceptionForHR(errorCode: int): Exception | null;
|
|
2254
2252
|
static GetExceptionPointers(): nint;
|
|
2255
2253
|
static GetFunctionPointerForDelegate(d: Function): nint;
|
|
2256
2254
|
static GetFunctionPointerForDelegate<TDelegate>(d: TDelegate): nint;
|
|
2257
2255
|
static GetHINSTANCE(m: Module): nint;
|
|
2258
|
-
static GetHRForException(e: Exception): int;
|
|
2256
|
+
static GetHRForException(e: Exception | null): int;
|
|
2259
2257
|
static GetHRForLastWin32Error(): int;
|
|
2260
|
-
static GetIDispatchForObject(o:
|
|
2261
|
-
static GetIUnknownForObject(o:
|
|
2258
|
+
static GetIDispatchForObject(o: JsValue): nint;
|
|
2259
|
+
static GetIUnknownForObject(o: JsValue): nint;
|
|
2262
2260
|
static GetLastPInvokeError(): int;
|
|
2263
2261
|
static GetLastPInvokeErrorMessage(): string;
|
|
2264
2262
|
static GetLastSystemError(): int;
|
|
2265
2263
|
static GetLastWin32Error(): int;
|
|
2266
|
-
static GetNativeVariantForObject(obj:
|
|
2267
|
-
static GetNativeVariantForObject<T>(obj: T, pDstNativeVariant: nint): void;
|
|
2268
|
-
static GetObjectForIUnknown(pUnk: nint):
|
|
2269
|
-
static GetObjectForNativeVariant(pSrcNativeVariant: nint):
|
|
2270
|
-
static GetObjectForNativeVariant<T>(pSrcNativeVariant: nint): T |
|
|
2271
|
-
static GetObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): (
|
|
2264
|
+
static GetNativeVariantForObject(obj: JsValue | null, pDstNativeVariant: nint): void;
|
|
2265
|
+
static GetNativeVariantForObject<T>(obj: T | null, pDstNativeVariant: nint): void;
|
|
2266
|
+
static GetObjectForIUnknown(pUnk: nint): JsValue;
|
|
2267
|
+
static GetObjectForNativeVariant(pSrcNativeVariant: nint): JsValue | null;
|
|
2268
|
+
static GetObjectForNativeVariant<T>(pSrcNativeVariant: nint): T | null;
|
|
2269
|
+
static GetObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): (JsValue | null)[];
|
|
2272
2270
|
static GetObjectsForNativeVariants<T>(aSrcNativeVariant: nint, cVars: int): T[];
|
|
2273
2271
|
static GetPInvokeErrorMessage(error: int): string;
|
|
2274
2272
|
static GetStartComSlot(t: Type): int;
|
|
2275
|
-
static GetTypedObjectForIUnknown(pUnk: nint, t: Type):
|
|
2276
|
-
static GetTypeFromCLSID(clsid: Guid): Type |
|
|
2273
|
+
static GetTypedObjectForIUnknown(pUnk: nint, t: Type): JsValue;
|
|
2274
|
+
static GetTypeFromCLSID(clsid: Guid): Type | null;
|
|
2277
2275
|
static GetTypeInfoName(typeInfo: ITypeInfo): string;
|
|
2278
|
-
static GetUniqueObjectForIUnknown(unknown: nint):
|
|
2276
|
+
static GetUniqueObjectForIUnknown(unknown: nint): JsValue;
|
|
2279
2277
|
static InitHandle(safeHandle: SafeHandle, handle: nint): void;
|
|
2280
|
-
static IsComObject(o:
|
|
2278
|
+
static IsComObject(o: JsValue): boolean;
|
|
2281
2279
|
static IsTypeVisibleFromCom(t: Type): boolean;
|
|
2282
2280
|
static OffsetOf<T>(fieldName: string): nint;
|
|
2283
2281
|
static OffsetOf(t: Type, fieldName: string): nint;
|
|
2284
2282
|
static Prelink(m: MethodInfo): void;
|
|
2285
2283
|
static PrelinkAll(c: Type): void;
|
|
2286
2284
|
static PtrToStringAnsi(ptr: nint, len: int): string;
|
|
2287
|
-
static PtrToStringAnsi(ptr: nint): string |
|
|
2288
|
-
static PtrToStringAuto(ptr: nint, len: int): string |
|
|
2289
|
-
static PtrToStringAuto(ptr: nint): string |
|
|
2285
|
+
static PtrToStringAnsi(ptr: nint): string | null;
|
|
2286
|
+
static PtrToStringAuto(ptr: nint, len: int): string | null;
|
|
2287
|
+
static PtrToStringAuto(ptr: nint): string | null;
|
|
2290
2288
|
static PtrToStringBSTR(ptr: nint): string;
|
|
2291
2289
|
static PtrToStringUni(ptr: nint, len: int): string;
|
|
2292
|
-
static PtrToStringUni(ptr: nint): string |
|
|
2290
|
+
static PtrToStringUni(ptr: nint): string | null;
|
|
2293
2291
|
static PtrToStringUTF8(ptr: nint, byteLen: int): string;
|
|
2294
|
-
static PtrToStringUTF8(ptr: nint): string |
|
|
2295
|
-
static PtrToStructure(ptr: nint, structure:
|
|
2296
|
-
static PtrToStructure(ptr: nint, structureType: Type):
|
|
2292
|
+
static PtrToStringUTF8(ptr: nint): string | null;
|
|
2293
|
+
static PtrToStructure(ptr: nint, structure: JsValue): void;
|
|
2294
|
+
static PtrToStructure(ptr: nint, structureType: Type): JsValue | null;
|
|
2297
2295
|
static PtrToStructure<T>(ptr: nint, structure: T): void;
|
|
2298
|
-
static PtrToStructure<T>(ptr: nint): T |
|
|
2296
|
+
static PtrToStructure<T>(ptr: nint): T | null;
|
|
2299
2297
|
static QueryInterface(pUnk: nint, iid: Guid, ppv: nint): int;
|
|
2300
2298
|
static ReadByte(ptr: nint, ofs: int): byte;
|
|
2301
2299
|
static ReadByte(ptr: nint): byte;
|
|
2302
|
-
static ReadByte(ptr:
|
|
2300
|
+
static ReadByte(ptr: JsValue, ofs: int): byte;
|
|
2303
2301
|
static ReadInt16(ptr: nint, ofs: int): short;
|
|
2304
2302
|
static ReadInt16(ptr: nint): short;
|
|
2305
|
-
static ReadInt16(ptr:
|
|
2303
|
+
static ReadInt16(ptr: JsValue, ofs: int): short;
|
|
2306
2304
|
static ReadInt32(ptr: nint, ofs: int): int;
|
|
2307
2305
|
static ReadInt32(ptr: nint): int;
|
|
2308
|
-
static ReadInt32(ptr:
|
|
2306
|
+
static ReadInt32(ptr: JsValue, ofs: int): int;
|
|
2309
2307
|
static ReadInt64(ptr: nint, ofs: int): long;
|
|
2310
2308
|
static ReadInt64(ptr: nint): long;
|
|
2311
|
-
static ReadInt64(ptr:
|
|
2309
|
+
static ReadInt64(ptr: JsValue, ofs: int): long;
|
|
2312
2310
|
static ReadIntPtr(ptr: nint, ofs: int): nint;
|
|
2313
2311
|
static ReadIntPtr(ptr: nint): nint;
|
|
2314
|
-
static ReadIntPtr(ptr:
|
|
2312
|
+
static ReadIntPtr(ptr: JsValue, ofs: int): nint;
|
|
2315
2313
|
static ReAllocCoTaskMem(pv: nint, cb: int): nint;
|
|
2316
2314
|
static ReAllocHGlobal(pv: nint, cb: nint): nint;
|
|
2317
2315
|
static Release(pUnk: nint): int;
|
|
2318
|
-
static ReleaseComObject(o:
|
|
2316
|
+
static ReleaseComObject(o: JsValue): int;
|
|
2319
2317
|
static SecureStringToBSTR(s: SecureString): nint;
|
|
2320
2318
|
static SecureStringToCoTaskMemAnsi(s: SecureString): nint;
|
|
2321
2319
|
static SecureStringToCoTaskMemUnicode(s: SecureString): nint;
|
|
2322
2320
|
static SecureStringToGlobalAllocAnsi(s: SecureString): nint;
|
|
2323
2321
|
static SecureStringToGlobalAllocUnicode(s: SecureString): nint;
|
|
2324
|
-
static SetComObjectData(obj:
|
|
2322
|
+
static SetComObjectData(obj: JsValue, key: JsValue, data: JsValue | null): boolean;
|
|
2325
2323
|
static SetLastPInvokeError(error: int): void;
|
|
2326
2324
|
static SetLastSystemError(error: int): void;
|
|
2327
2325
|
static SizeOf<T>(): int;
|
|
2328
|
-
static SizeOf(structure:
|
|
2326
|
+
static SizeOf(structure: JsValue): int;
|
|
2329
2327
|
static SizeOf(t: Type): int;
|
|
2330
2328
|
static SizeOf<T>(structure: T): int;
|
|
2331
|
-
static StringToBSTR(s: string): nint;
|
|
2332
|
-
static StringToCoTaskMemAnsi(s: string): nint;
|
|
2333
|
-
static StringToCoTaskMemAuto(s: string): nint;
|
|
2334
|
-
static StringToCoTaskMemUni(s: string): nint;
|
|
2335
|
-
static StringToCoTaskMemUTF8(s: string): nint;
|
|
2336
|
-
static StringToHGlobalAnsi(s: string): nint;
|
|
2337
|
-
static StringToHGlobalAuto(s: string): nint;
|
|
2338
|
-
static StringToHGlobalUni(s: string): nint;
|
|
2339
|
-
static StructureToPtr(structure:
|
|
2329
|
+
static StringToBSTR(s: string | null): nint;
|
|
2330
|
+
static StringToCoTaskMemAnsi(s: string | null): nint;
|
|
2331
|
+
static StringToCoTaskMemAuto(s: string | null): nint;
|
|
2332
|
+
static StringToCoTaskMemUni(s: string | null): nint;
|
|
2333
|
+
static StringToCoTaskMemUTF8(s: string | null): nint;
|
|
2334
|
+
static StringToHGlobalAnsi(s: string | null): nint;
|
|
2335
|
+
static StringToHGlobalAuto(s: string | null): nint;
|
|
2336
|
+
static StringToHGlobalUni(s: string | null): nint;
|
|
2337
|
+
static StructureToPtr(structure: JsValue, ptr: nint, fDeleteOld: boolean): void;
|
|
2340
2338
|
static StructureToPtr<T>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
2341
2339
|
static ThrowExceptionForHR(errorCode: int, iid: Guid, pUnk: nint): void;
|
|
2342
2340
|
static ThrowExceptionForHR(errorCode: int, errorInfo: nint): void;
|
|
@@ -2345,22 +2343,22 @@ export abstract class Marshal$instance {
|
|
|
2345
2343
|
static UnsafeAddrOfPinnedArrayElement<T>(arr: T[], index: int): nint;
|
|
2346
2344
|
static WriteByte(ptr: nint, val: byte): void;
|
|
2347
2345
|
static WriteByte(ptr: nint, ofs: int, val: byte): void;
|
|
2348
|
-
static WriteByte(ptr:
|
|
2346
|
+
static WriteByte(ptr: JsValue, ofs: int, val: byte): void;
|
|
2349
2347
|
static WriteInt16(ptr: nint, val: char): void;
|
|
2350
2348
|
static WriteInt16(ptr: nint, val: short): void;
|
|
2351
2349
|
static WriteInt16(ptr: nint, ofs: int, val: char): void;
|
|
2352
2350
|
static WriteInt16(ptr: nint, ofs: int, val: short): void;
|
|
2353
|
-
static WriteInt16(ptr:
|
|
2354
|
-
static WriteInt16(ptr:
|
|
2351
|
+
static WriteInt16(ptr: JsValue, ofs: int, val: char): void;
|
|
2352
|
+
static WriteInt16(ptr: JsValue, ofs: int, val: short): void;
|
|
2355
2353
|
static WriteInt32(ptr: nint, ofs: int, val: int): void;
|
|
2356
2354
|
static WriteInt32(ptr: nint, val: int): void;
|
|
2357
|
-
static WriteInt32(ptr:
|
|
2355
|
+
static WriteInt32(ptr: JsValue, ofs: int, val: int): void;
|
|
2358
2356
|
static WriteInt64(ptr: nint, ofs: int, val: long): void;
|
|
2359
2357
|
static WriteInt64(ptr: nint, val: long): void;
|
|
2360
|
-
static WriteInt64(ptr:
|
|
2358
|
+
static WriteInt64(ptr: JsValue, ofs: int, val: long): void;
|
|
2361
2359
|
static WriteIntPtr(ptr: nint, ofs: int, val: nint): void;
|
|
2362
2360
|
static WriteIntPtr(ptr: nint, val: nint): void;
|
|
2363
|
-
static WriteIntPtr(ptr:
|
|
2361
|
+
static WriteIntPtr(ptr: JsValue, ofs: int, val: nint): void;
|
|
2364
2362
|
static ZeroFreeBSTR(s: nint): void;
|
|
2365
2363
|
static ZeroFreeCoTaskMemAnsi(s: nint): void;
|
|
2366
2364
|
static ZeroFreeCoTaskMemUnicode(s: nint): void;
|
|
@@ -2373,14 +2371,14 @@ export abstract class Marshal$instance {
|
|
|
2373
2371
|
export type Marshal = Marshal$instance;
|
|
2374
2372
|
|
|
2375
2373
|
export abstract class MemoryMarshal$instance {
|
|
2376
|
-
static AsBytes<T extends
|
|
2377
|
-
static AsBytes<T extends
|
|
2374
|
+
static AsBytes<T extends NonNullable<JsValue>>(span: ReadOnlySpan_1<T>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2375
|
+
static AsBytes<T extends NonNullable<JsValue>>(span: Span_1<T>): Span_1<System_Internal.Byte>;
|
|
2378
2376
|
static AsMemory<T>(memory: ReadOnlyMemory_1<T>): Memory_1<T>;
|
|
2379
|
-
static AsRef<T extends
|
|
2380
|
-
static AsRef<T extends
|
|
2381
|
-
static Cast<TFrom extends
|
|
2382
|
-
static Cast<TFrom extends
|
|
2383
|
-
static CreateFromPinnedArray<T>(array: T[], start: int, length: int): Memory_1<T>;
|
|
2377
|
+
static AsRef<T extends NonNullable<JsValue>>(span: ReadOnlySpan_1<System_Internal.Byte>): T;
|
|
2378
|
+
static AsRef<T extends NonNullable<JsValue>>(span: Span_1<System_Internal.Byte>): T;
|
|
2379
|
+
static Cast<TFrom extends NonNullable<JsValue>, TTo extends NonNullable<JsValue>>(span: ReadOnlySpan_1<TFrom>): ReadOnlySpan_1<TTo>;
|
|
2380
|
+
static Cast<TFrom extends NonNullable<JsValue>, TTo extends NonNullable<JsValue>>(span: Span_1<TFrom>): Span_1<TTo>;
|
|
2381
|
+
static CreateFromPinnedArray<T>(array: T[] | null, start: int, length: int): Memory_1<T>;
|
|
2384
2382
|
static CreateReadOnlySpan<T>(reference: T, length: int): ReadOnlySpan_1<T>;
|
|
2385
2383
|
static CreateReadOnlySpanFromNullTerminated(value: ptr<byte>): ReadOnlySpan_1<System_Internal.Byte>;
|
|
2386
2384
|
static CreateReadOnlySpanFromNullTerminated(value: ptr<char>): ReadOnlySpan_1<System_Internal.Char>;
|
|
@@ -2389,15 +2387,15 @@ export abstract class MemoryMarshal$instance {
|
|
|
2389
2387
|
static GetArrayDataReference<T>(array: T[]): T;
|
|
2390
2388
|
static GetReference<T>(span: ReadOnlySpan_1<T>): T;
|
|
2391
2389
|
static GetReference<T>(span: Span_1<T>): T;
|
|
2392
|
-
static Read<T extends
|
|
2390
|
+
static Read<T extends NonNullable<JsValue>>(source: ReadOnlySpan_1<System_Internal.Byte>): T;
|
|
2393
2391
|
static ToEnumerable<T>(memory: ReadOnlyMemory_1<T>): IEnumerable_1<T>;
|
|
2394
2392
|
static TryGetArray<T>(memory: ReadOnlyMemory_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2395
|
-
static TryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager, start: int, length: int): boolean;
|
|
2396
|
-
static TryGetMemoryManager<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: TManager): boolean;
|
|
2397
|
-
static TryGetString(memory: ReadOnlyMemory_1<System_Internal.Char>, text: string, start: int, length: int): boolean;
|
|
2398
|
-
static TryRead<T extends
|
|
2399
|
-
static TryWrite<T extends
|
|
2400
|
-
static Write<T extends
|
|
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;
|
|
2395
|
+
static TryGetString(memory: ReadOnlyMemory_1<System_Internal.Char>, text: string | null, start: int, length: int): boolean;
|
|
2396
|
+
static TryRead<T extends NonNullable<JsValue>>(source: ReadOnlySpan_1<System_Internal.Byte>, value: T): boolean;
|
|
2397
|
+
static TryWrite<T extends NonNullable<JsValue>>(destination: Span_1<System_Internal.Byte>, value: T): boolean;
|
|
2398
|
+
static Write<T extends NonNullable<JsValue>>(destination: Span_1<System_Internal.Byte>, value: T): void;
|
|
2401
2399
|
}
|
|
2402
2400
|
|
|
2403
2401
|
|
|
@@ -2441,7 +2439,7 @@ export abstract class RuntimeEnvironment$instance {
|
|
|
2441
2439
|
static FromGlobalAccessCache(a: Assembly): boolean;
|
|
2442
2440
|
static GetRuntimeDirectory(): string;
|
|
2443
2441
|
static GetRuntimeInterfaceAsIntPtr(clsid: Guid, riid: Guid): nint;
|
|
2444
|
-
static GetRuntimeInterfaceAsObject(clsid: Guid, riid: Guid):
|
|
2442
|
+
static GetRuntimeInterfaceAsObject(clsid: Guid, riid: Guid): JsValue;
|
|
2445
2443
|
static GetSystemVersion(): string;
|
|
2446
2444
|
}
|
|
2447
2445
|
|
|
@@ -2463,8 +2461,8 @@ export type RuntimeInformation = RuntimeInformation$instance;
|
|
|
2463
2461
|
export abstract class SequenceMarshal$instance {
|
|
2464
2462
|
static TryGetArray<T>(sequence: ReadOnlySequence_1<T>, segment: ArraySegment_1<T>): boolean;
|
|
2465
2463
|
static TryGetReadOnlyMemory<T>(sequence: ReadOnlySequence_1<T>, memory: ReadOnlyMemory_1<T>): boolean;
|
|
2466
|
-
static TryGetReadOnlySequenceSegment<T>(sequence: ReadOnlySequence_1<T>, startSegment: ReadOnlySequenceSegment_1<T
|
|
2467
|
-
static TryRead<T extends
|
|
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<JsValue>>(reader: SequenceReader_1<System_Internal.Byte>, value: T): boolean;
|
|
2468
2466
|
}
|
|
2469
2467
|
|
|
2470
2468
|
|