@tsonic/dotnet 0.5.2 → 0.6.0
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 +5 -5
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +14 -14
- package/Microsoft.VisualBasic/bindings.json +28 -28
- package/Microsoft.VisualBasic/internal/index.d.ts +265 -265
- package/Microsoft.VisualBasic/internal/metadata.json +14 -14
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +202 -202
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +68 -66
- package/Microsoft.Win32/internal/index.d.ts +16 -14
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +18 -18
- package/README.md +39 -0
- package/System/bindings.json +138 -138
- package/System/internal/index.d.ts +4165 -3967
- package/System/internal/metadata.json +81 -487
- package/System.Buffers/internal/index.d.ts +60 -50
- package/System.Buffers.Binary/internal/index.d.ts +126 -126
- package/System.Buffers.Text/internal/index.d.ts +67 -67
- package/System.CodeDom.Compiler/internal/index.d.ts +35 -35
- package/System.Collections/internal/index.d.ts +199 -179
- package/System.Collections.Concurrent/internal/index.d.ts +61 -59
- package/System.Collections.Frozen/internal/index.d.ts +29 -29
- package/System.Collections.Frozen/internal/metadata.json +2 -16
- package/System.Collections.Generic/index.d.ts +1 -1
- package/System.Collections.Generic/internal/index.d.ts +382 -354
- package/System.Collections.Generic/internal/metadata.json +5 -54
- package/System.Collections.Immutable/internal/index.d.ts +321 -319
- package/System.Collections.Immutable/internal/metadata.json +5 -40
- package/System.Collections.ObjectModel/internal/index.d.ts +83 -79
- package/System.Collections.ObjectModel/internal/metadata.json +1 -36
- package/System.Collections.Specialized/internal/index.d.ts +104 -96
- package/System.ComponentModel/internal/index.d.ts +661 -631
- package/System.ComponentModel/internal/metadata.json +0 -7
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +60 -58
- package/System.ComponentModel.Design/bindings.json +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +207 -193
- package/System.ComponentModel.Design/internal/metadata.json +1 -1
- package/System.ComponentModel.Design.Serialization/index.d.ts +2 -2
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +103 -98
- package/System.Configuration.Assemblies/bindings.json +10 -10
- package/System.Configuration.Assemblies/internal/index.d.ts +5 -5
- package/System.Configuration.Assemblies/internal/metadata.json +5 -5
- package/System.Data/internal/index.d.ts +481 -453
- package/System.Data.Common/internal/index.d.ts +149 -121
- package/System.Data.SqlTypes/bindings.json +2 -2
- package/System.Data.SqlTypes/internal/index.d.ts +331 -299
- package/System.Data.SqlTypes/internal/metadata.json +1 -1
- package/System.Diagnostics/bindings.json +6 -6
- package/System.Diagnostics/internal/index.d.ts +333 -313
- package/System.Diagnostics/internal/metadata.json +3 -10
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +16 -16
- package/System.Diagnostics.Contracts/internal/index.d.ts +21 -21
- package/System.Diagnostics.Metrics/internal/index.d.ts +81 -75
- package/System.Diagnostics.SymbolStore/bindings.json +6 -6
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +72 -72
- package/System.Diagnostics.SymbolStore/internal/metadata.json +3 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +24 -18
- package/System.Drawing/bindings.json +24 -24
- package/System.Drawing/internal/index.d.ts +281 -281
- package/System.Drawing/internal/metadata.json +12 -12
- package/System.Dynamic/internal/index.d.ts +46 -42
- package/System.Formats.Asn1/bindings.json +12 -12
- package/System.Formats.Asn1/internal/index.d.ts +50 -48
- package/System.Formats.Asn1/internal/metadata.json +6 -6
- package/System.Formats.Tar/bindings.json +2 -2
- package/System.Formats.Tar/internal/index.d.ts +17 -13
- package/System.Formats.Tar/internal/metadata.json +1 -1
- package/System.Globalization/bindings.json +8 -8
- package/System.Globalization/internal/index.d.ts +177 -163
- package/System.Globalization/internal/metadata.json +4 -4
- package/System.IO/internal/index.d.ts +457 -439
- package/System.IO.Compression/internal/index.d.ts +78 -72
- package/System.IO.Enumeration/internal/index.d.ts +22 -22
- package/System.IO.IsolatedStorage/internal/index.d.ts +26 -24
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +22 -20
- package/System.IO.Pipelines/internal/index.d.ts +15 -13
- package/System.IO.Pipes/internal/index.d.ts +23 -23
- package/System.Linq/internal/index.d.ts +853 -845
- package/System.Linq/internal/metadata.json +0 -17
- package/System.Linq.Expressions/internal/index.d.ts +354 -340
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/bindings.json +2 -2
- package/System.Net/internal/index.d.ts +351 -317
- package/System.Net/internal/metadata.json +1 -1
- package/System.Net.Http/internal/index.d.ts +64 -54
- package/System.Net.Http.Headers/bindings.json +2 -2
- package/System.Net.Http.Headers/internal/index.d.ts +139 -99
- package/System.Net.Http.Headers/internal/metadata.json +1 -1
- package/System.Net.Http.Json/internal/index.d.ts +63 -63
- package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
- package/System.Net.Mail/bindings.json +2 -2
- package/System.Net.Mail/internal/index.d.ts +90 -78
- package/System.Net.Mail/internal/metadata.json +4 -32
- package/System.Net.Mime/internal/index.d.ts +51 -51
- package/System.Net.NetworkInformation/internal/index.d.ts +59 -57
- package/System.Net.Quic/internal/index.d.ts +15 -11
- package/System.Net.Security/bindings.json +674 -674
- package/System.Net.Security/internal/index.d.ts +396 -394
- package/System.Net.Security/internal/metadata.json +337 -337
- package/System.Net.ServerSentEvents/internal/index.d.ts +10 -10
- package/System.Net.Sockets/bindings.json +10 -10
- package/System.Net.Sockets/internal/index.d.ts +100 -90
- package/System.Net.Sockets/internal/metadata.json +5 -5
- package/System.Net.WebSockets/internal/index.d.ts +21 -19
- package/System.Numerics/bindings.json +110 -110
- package/System.Numerics/internal/index.d.ts +1057 -1039
- package/System.Numerics/internal/metadata.json +55 -89
- package/System.Reflection/bindings.json +25 -25
- package/System.Reflection/internal/index.d.ts +336 -316
- package/System.Reflection/internal/metadata.json +12 -12
- package/System.Reflection.Emit/bindings.json +307 -307
- package/System.Reflection.Emit/internal/index.d.ts +242 -236
- package/System.Reflection.Emit/internal/metadata.json +152 -152
- package/System.Reflection.Metadata/bindings.json +272 -272
- package/System.Reflection.Metadata/internal/index.d.ts +448 -438
- package/System.Reflection.Metadata/internal/metadata.json +164 -360
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +91 -91
- package/System.Reflection.PortableExecutable/bindings.json +26 -26
- package/System.Reflection.PortableExecutable/internal/index.d.ts +22 -20
- package/System.Reflection.PortableExecutable/internal/metadata.json +13 -13
- package/System.Resources/internal/index.d.ts +30 -24
- package/System.Runtime/internal/index.d.ts +20 -16
- package/System.Runtime.CompilerServices/bindings.json +4 -4
- package/System.Runtime.CompilerServices/internal/index.d.ts +233 -209
- package/System.Runtime.CompilerServices/internal/metadata.json +2 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +6 -6
- package/System.Runtime.InteropServices/bindings.json +146 -146
- package/System.Runtime.InteropServices/internal/index.d.ts +604 -586
- package/System.Runtime.InteropServices/internal/metadata.json +73 -130
- package/System.Runtime.InteropServices.ComTypes/bindings.json +252 -252
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +296 -292
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +126 -126
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +12 -12
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +60 -58
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +102 -94
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +9 -9
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -1
- package/System.Runtime.Intrinsics/internal/index.d.ts +1252 -1244
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +9662 -9662
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -471
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +16033 -16033
- package/System.Runtime.Loader/internal/index.d.ts +9 -7
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +179 -171
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +5 -5
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -3
- package/System.Runtime.Serialization.Json/internal/index.d.ts +27 -27
- package/System.Runtime.Versioning/internal/index.d.ts +4 -4
- package/System.Security/internal/index.d.ts +45 -39
- package/System.Security.AccessControl/internal/index.d.ts +28 -26
- package/System.Security.Authentication/internal/index.d.ts +2 -2
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +11 -7
- package/System.Security.Claims/internal/index.d.ts +94 -90
- package/System.Security.Cryptography/bindings.json +111 -111
- package/System.Security.Cryptography/internal/index.d.ts +842 -794
- package/System.Security.Cryptography/internal/metadata.json +52 -59
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +121 -113
- package/System.Security.Policy/internal/index.d.ts +6 -6
- package/System.Security.Principal/internal/index.d.ts +36 -30
- package/System.Text/bindings.json +28 -28
- package/System.Text/internal/index.d.ts +325 -319
- package/System.Text/internal/metadata.json +4 -4
- package/System.Text.Encodings.Web/internal/index.d.ts +18 -18
- package/System.Text.Json/internal/index.d.ts +184 -180
- package/System.Text.Json.Nodes/internal/index.d.ts +54 -54
- package/System.Text.Json.Schema/internal/index.d.ts +3 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +12 -12
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +85 -83
- package/System.Text.RegularExpressions/internal/index.d.ts +91 -89
- package/System.Text.RegularExpressions/internal/metadata.json +5 -40
- package/System.Text.Unicode/internal/index.d.ts +171 -171
- package/System.Threading/bindings.json +4 -4
- package/System.Threading/internal/index.d.ts +411 -377
- package/System.Threading/internal/metadata.json +2 -2
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +209 -205
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +106 -102
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +0 -42
- package/System.Threading.Tasks.Sources/internal/index.d.ts +7 -7
- package/System.Timers/internal/index.d.ts +11 -9
- package/System.Transactions/internal/index.d.ts +83 -67
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/bindings.json +35 -35
- package/System.Xml/internal/index.d.ts +343 -325
- package/System.Xml/internal/metadata.json +17 -17
- package/System.Xml.Linq/internal/index.d.ts +122 -110
- package/System.Xml.Resolvers/internal/index.d.ts +3 -3
- package/System.Xml.Schema/internal/index.d.ts +71 -71
- package/System.Xml.Serialization/internal/index.d.ts +120 -120
- package/System.Xml.XPath/internal/index.d.ts +40 -34
- package/System.Xml.Xsl/internal/index.d.ts +27 -27
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +99 -99
- package/__internal/extensions/index.d.ts +2294 -0
- package/package.json +1 -1
- package/internal/extensions/index.d.ts +0 -2280
|
@@ -57,8 +57,8 @@ export type CLROf<T> =
|
|
|
57
57
|
T; // Identity fallback for non-primitive types
|
|
58
58
|
|
|
59
59
|
export enum Architecture {
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
X86 = 0,
|
|
61
|
+
X64 = 1,
|
|
62
62
|
arm = 2,
|
|
63
63
|
arm64 = 3,
|
|
64
64
|
wasm = 4,
|
|
@@ -163,9 +163,9 @@ export enum DllImportSearchPath {
|
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
export enum ExporterEventKind {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
NOTIF_TYPECONVERTED = 0,
|
|
167
|
+
NOTIF_CONVERTWARNING = 1,
|
|
168
|
+
ERROR_REFTOINVALIDASSEMBLY = 2
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
|
|
@@ -185,16 +185,16 @@ export enum LayoutKind {
|
|
|
185
185
|
|
|
186
186
|
|
|
187
187
|
export enum PosixSignal {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
188
|
+
SIGHUP = -1,
|
|
189
|
+
SIGINT = -2,
|
|
190
|
+
SIGQUIT = -3,
|
|
191
|
+
SIGTERM = -4,
|
|
192
|
+
SIGCHLD = -5,
|
|
193
|
+
SIGCONT = -6,
|
|
194
|
+
SIGWINCH = -7,
|
|
195
|
+
SIGTTIN = -8,
|
|
196
|
+
SIGTTOU = -9,
|
|
197
|
+
SIGTSTP = -10
|
|
198
198
|
}
|
|
199
199
|
|
|
200
200
|
|
|
@@ -290,16 +290,16 @@ export enum TypeLibVarFlags {
|
|
|
290
290
|
|
|
291
291
|
export enum UnmanagedType {
|
|
292
292
|
bool = 2,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
293
|
+
I1 = 3,
|
|
294
|
+
U1 = 4,
|
|
295
|
+
I2 = 5,
|
|
296
|
+
U2 = 6,
|
|
297
|
+
I4 = 7,
|
|
298
|
+
U4 = 8,
|
|
299
|
+
I8 = 9,
|
|
300
|
+
U8 = 10,
|
|
301
|
+
R4 = 11,
|
|
302
|
+
R8 = 12,
|
|
303
303
|
currency = 15,
|
|
304
304
|
bStr = 19,
|
|
305
305
|
lpStr = 20,
|
|
@@ -326,110 +326,110 @@ export enum UnmanagedType {
|
|
|
326
326
|
error = 45,
|
|
327
327
|
iInspectable = 46,
|
|
328
328
|
hString = 47,
|
|
329
|
-
|
|
329
|
+
lputF8Str = 48
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
|
|
333
333
|
export enum VarEnum {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
334
|
+
VT_EMPTY = 0,
|
|
335
|
+
VT_NULL = 1,
|
|
336
|
+
VT_I2 = 2,
|
|
337
|
+
VT_I4 = 3,
|
|
338
|
+
VT_R4 = 4,
|
|
339
|
+
VT_R8 = 5,
|
|
340
|
+
VT_CY = 6,
|
|
341
|
+
VT_DATE = 7,
|
|
342
|
+
VT_BSTR = 8,
|
|
343
|
+
VT_DISPATCH = 9,
|
|
344
|
+
VT_ERROR = 10,
|
|
345
|
+
VT_BOOL = 11,
|
|
346
|
+
VT_VARIANT = 12,
|
|
347
|
+
VT_UNKNOWN = 13,
|
|
348
|
+
VT_DECIMAL = 14,
|
|
349
|
+
VT_I1 = 16,
|
|
350
|
+
VT_UI1 = 17,
|
|
351
|
+
VT_UI2 = 18,
|
|
352
|
+
VT_UI4 = 19,
|
|
353
|
+
VT_I8 = 20,
|
|
354
|
+
VT_UI8 = 21,
|
|
355
|
+
VT_INT = 22,
|
|
356
|
+
VT_UINT = 23,
|
|
357
|
+
VT_VOID = 24,
|
|
358
|
+
VT_HRESULT = 25,
|
|
359
|
+
VT_PTR = 26,
|
|
360
|
+
VT_SAFEARRAY = 27,
|
|
361
|
+
VT_CARRAY = 28,
|
|
362
|
+
VT_USERDEFINED = 29,
|
|
363
|
+
VT_LPSTR = 30,
|
|
364
|
+
VT_LPWSTR = 31,
|
|
365
|
+
VT_RECORD = 36,
|
|
366
|
+
VT_FILETIME = 64,
|
|
367
|
+
VT_BLOB = 65,
|
|
368
|
+
VT_STREAM = 66,
|
|
369
|
+
VT_STORAGE = 67,
|
|
370
|
+
VT_STREAMED_OBJECT = 68,
|
|
371
|
+
VT_STORED_OBJECT = 69,
|
|
372
|
+
VT_BLOB_OBJECT = 70,
|
|
373
|
+
VT_CF = 71,
|
|
374
|
+
VT_CLSID = 72,
|
|
375
|
+
VT_VECTOR = 4096,
|
|
376
|
+
VT_ARRAY = 8192,
|
|
377
|
+
VT_BYREF = 16384
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
|
|
381
381
|
export interface ICustomAdapter$instance {
|
|
382
|
-
|
|
382
|
+
getUnderlyingObject(): unknown;
|
|
383
383
|
}
|
|
384
384
|
|
|
385
385
|
|
|
386
386
|
export type ICustomAdapter = ICustomAdapter$instance;
|
|
387
387
|
|
|
388
388
|
export interface ICustomFactory$instance {
|
|
389
|
-
|
|
389
|
+
createInstance(serverType: Type): MarshalByRefObject;
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
|
|
393
393
|
export type ICustomFactory = ICustomFactory$instance;
|
|
394
394
|
|
|
395
395
|
export interface ICustomMarshaler$instance {
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
396
|
+
cleanUpManagedData(ManagedObj: unknown): void;
|
|
397
|
+
cleanUpNativeData(pNativeData: nint): void;
|
|
398
|
+
getNativeDataSize(): int;
|
|
399
|
+
marshalManagedToNative(ManagedObj: unknown): nint;
|
|
400
|
+
marshalNativeToManaged(pNativeData: nint): unknown;
|
|
401
401
|
}
|
|
402
402
|
|
|
403
403
|
|
|
404
404
|
export type ICustomMarshaler = ICustomMarshaler$instance;
|
|
405
405
|
|
|
406
406
|
export interface ICustomQueryInterface$instance {
|
|
407
|
-
|
|
407
|
+
getInterface(iid: { value: ref<Guid> }, ppv: { value: ref<nint> }): CustomQueryInterfaceResult;
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
|
|
411
411
|
export type ICustomQueryInterface = ICustomQueryInterface$instance;
|
|
412
412
|
|
|
413
413
|
export interface IDynamicInterfaceCastable$instance {
|
|
414
|
-
|
|
415
|
-
|
|
414
|
+
getInterfaceImplementation(interfaceType: RuntimeTypeHandle): RuntimeTypeHandle;
|
|
415
|
+
isInterfaceImplemented(interfaceType: RuntimeTypeHandle, throwIfNotImplemented: boolean): boolean;
|
|
416
416
|
}
|
|
417
417
|
|
|
418
418
|
|
|
419
419
|
export type IDynamicInterfaceCastable = IDynamicInterfaceCastable$instance;
|
|
420
420
|
|
|
421
421
|
export class ArrayWithOffset$instance {
|
|
422
|
-
constructor(array:
|
|
423
|
-
equals(obj:
|
|
422
|
+
constructor(array: unknown, offset: int);
|
|
423
|
+
equals(obj: unknown): boolean;
|
|
424
424
|
equals(obj: ArrayWithOffset): boolean;
|
|
425
|
-
getArray():
|
|
425
|
+
getArray(): unknown;
|
|
426
426
|
getHashCode(): int;
|
|
427
427
|
getOffset(): int;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
|
|
431
431
|
export interface __ArrayWithOffset$views {
|
|
432
|
-
|
|
432
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<ArrayWithOffset>;
|
|
433
433
|
|
|
434
434
|
// Structural method bridges for numeric interface constraints
|
|
435
435
|
Equals(other: ArrayWithOffset): boolean;
|
|
@@ -442,7 +442,7 @@ export class CLong$instance {
|
|
|
442
442
|
constructor(value: int);
|
|
443
443
|
constructor(value: nint);
|
|
444
444
|
readonly value: nint;
|
|
445
|
-
equals(o:
|
|
445
|
+
equals(o: unknown): boolean;
|
|
446
446
|
equals(other: CLong): boolean;
|
|
447
447
|
getHashCode(): int;
|
|
448
448
|
toString(): string;
|
|
@@ -450,7 +450,7 @@ export class CLong$instance {
|
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
export interface __CLong$views {
|
|
453
|
-
|
|
453
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CLong>;
|
|
454
454
|
|
|
455
455
|
// Structural method bridges for numeric interface constraints
|
|
456
456
|
Equals(other: CLong): boolean;
|
|
@@ -460,8 +460,8 @@ export type CLong = CLong$instance & __CLong$views;
|
|
|
460
460
|
|
|
461
461
|
|
|
462
462
|
export class ComWrappers_ComInterfaceDispatch$instance {
|
|
463
|
-
|
|
464
|
-
static
|
|
463
|
+
vtable: nint;
|
|
464
|
+
static getInstance<T>(dispatchPtr: ptr<ComWrappers_ComInterfaceDispatch>): T;
|
|
465
465
|
}
|
|
466
466
|
|
|
467
467
|
|
|
@@ -469,7 +469,7 @@ export type ComWrappers_ComInterfaceDispatch = ComWrappers_ComInterfaceDispatch$
|
|
|
469
469
|
|
|
470
470
|
export class ComWrappers_ComInterfaceEntry$instance {
|
|
471
471
|
IID: Guid;
|
|
472
|
-
|
|
472
|
+
vtable: nint;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
|
|
@@ -479,7 +479,7 @@ export class CULong$instance {
|
|
|
479
479
|
constructor(value: uint);
|
|
480
480
|
constructor(value: nuint);
|
|
481
481
|
readonly value: nuint;
|
|
482
|
-
equals(o:
|
|
482
|
+
equals(o: unknown): boolean;
|
|
483
483
|
equals(other: CULong): boolean;
|
|
484
484
|
getHashCode(): int;
|
|
485
485
|
toString(): string;
|
|
@@ -487,7 +487,7 @@ export class CULong$instance {
|
|
|
487
487
|
|
|
488
488
|
|
|
489
489
|
export interface __CULong$views {
|
|
490
|
-
|
|
490
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<CULong>;
|
|
491
491
|
|
|
492
492
|
// Structural method bridges for numeric interface constraints
|
|
493
493
|
Equals(other: CULong): boolean;
|
|
@@ -498,21 +498,21 @@ export type CULong = CULong$instance & __CULong$views;
|
|
|
498
498
|
|
|
499
499
|
export class GCHandle$instance {
|
|
500
500
|
readonly isAllocated: boolean;
|
|
501
|
-
target:
|
|
501
|
+
target: unknown;
|
|
502
502
|
addrOfPinnedObject(): nint;
|
|
503
|
-
equals(o:
|
|
503
|
+
equals(o: unknown): boolean;
|
|
504
504
|
equals(other: GCHandle): boolean;
|
|
505
505
|
free(): void;
|
|
506
506
|
getHashCode(): int;
|
|
507
|
-
static
|
|
508
|
-
static
|
|
509
|
-
static
|
|
510
|
-
static
|
|
507
|
+
static alloc2(value: unknown, type_: GCHandleType): GCHandle;
|
|
508
|
+
static alloc2(value: unknown): GCHandle;
|
|
509
|
+
static fromIntPtr(value: nint): GCHandle;
|
|
510
|
+
static toIntPtr(value: GCHandle): nint;
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
|
|
514
514
|
export interface __GCHandle$views {
|
|
515
|
-
|
|
515
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<GCHandle>;
|
|
516
516
|
|
|
517
517
|
// Structural method bridges for numeric interface constraints
|
|
518
518
|
Equals(other: GCHandle): boolean;
|
|
@@ -526,218 +526,226 @@ export class GCHandle_1$instance<T> {
|
|
|
526
526
|
readonly isAllocated: boolean;
|
|
527
527
|
target: T;
|
|
528
528
|
dispose(): void;
|
|
529
|
-
equals(obj:
|
|
529
|
+
equals(obj: unknown): boolean;
|
|
530
530
|
equals(other: GCHandle_1<T>): boolean;
|
|
531
531
|
getHashCode(): int;
|
|
532
|
-
static
|
|
533
|
-
static
|
|
532
|
+
static fromIntPtr<T>(value: nint): GCHandle_1<T>;
|
|
533
|
+
static toIntPtr<T>(value: GCHandle_1<T>): nint;
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
|
|
537
537
|
export interface __GCHandle_1$views<T> {
|
|
538
|
-
|
|
539
|
-
|
|
538
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
539
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<GCHandle_1<T>>;
|
|
540
540
|
|
|
541
541
|
// Structural method bridges for numeric interface constraints
|
|
542
542
|
Equals(other: GCHandle_1<T>): boolean;
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
+
export interface GCHandle_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
546
|
+
|
|
545
547
|
export type GCHandle_1<T> = GCHandle_1$instance<T> & __GCHandle_1$views<T>;
|
|
546
548
|
|
|
547
549
|
|
|
548
550
|
export class HandleRef$instance {
|
|
549
|
-
constructor(wrapper:
|
|
551
|
+
constructor(wrapper: unknown, handle: nint);
|
|
550
552
|
readonly handle: nint;
|
|
551
|
-
readonly wrapper:
|
|
552
|
-
static
|
|
553
|
+
readonly wrapper: unknown;
|
|
554
|
+
static toIntPtr(value: HandleRef): nint;
|
|
553
555
|
}
|
|
554
556
|
|
|
555
557
|
|
|
556
558
|
export type HandleRef = HandleRef$instance;
|
|
557
559
|
|
|
558
|
-
export class NFloat$instance {
|
|
560
|
+
export class NFloat$instance implements IBitwiseOperators_3<NFloat, NFloat, NFloat>, IComparisonOperators_3<NFloat, NFloat, CLROf<boolean>>, IEqualityOperators_3<NFloat, NFloat, CLROf<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> {
|
|
559
561
|
constructor(value: float);
|
|
560
562
|
constructor(value: double);
|
|
561
563
|
readonly value: double;
|
|
562
|
-
compareTo(obj:
|
|
564
|
+
compareTo(obj: unknown): int;
|
|
563
565
|
compareTo(other: NFloat): int;
|
|
564
|
-
equals(obj:
|
|
566
|
+
equals(obj: unknown): boolean;
|
|
565
567
|
equals(other: NFloat): boolean;
|
|
566
568
|
getHashCode(): int;
|
|
567
569
|
toString(): string;
|
|
568
570
|
toString(format: string): string;
|
|
569
571
|
toString(provider: IFormatProvider): string;
|
|
570
572
|
toString(format: string, provider: IFormatProvider): string;
|
|
571
|
-
tryFormat(destination: Span_1<CLROf<
|
|
572
|
-
tryFormat(utf8Destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }, format?: ReadOnlySpan_1<CLROf<
|
|
573
|
-
static readonly
|
|
574
|
-
static readonly
|
|
575
|
-
static readonly
|
|
576
|
-
static readonly
|
|
577
|
-
static readonly
|
|
578
|
-
static readonly
|
|
579
|
-
static readonly
|
|
573
|
+
tryFormat(destination: Span_1<CLROf<char>>, charsWritten: { value: ref<int> }, format?: ReadOnlySpan_1<CLROf<char>>, provider?: IFormatProvider): boolean;
|
|
574
|
+
tryFormat(utf8Destination: Span_1<CLROf<byte>>, bytesWritten: { value: ref<int> }, format?: ReadOnlySpan_1<CLROf<char>>, provider?: IFormatProvider): boolean;
|
|
575
|
+
static readonly epsilon: NFloat;
|
|
576
|
+
static readonly maxValue: NFloat;
|
|
577
|
+
static readonly minValue: NFloat;
|
|
578
|
+
static readonly naN: NFloat;
|
|
579
|
+
static readonly negativeInfinity: NFloat;
|
|
580
|
+
static readonly positiveInfinity: NFloat;
|
|
581
|
+
static readonly size: int;
|
|
580
582
|
static readonly E: NFloat;
|
|
581
|
-
static readonly
|
|
582
|
-
static readonly
|
|
583
|
-
static readonly
|
|
584
|
-
static
|
|
585
|
-
static
|
|
586
|
-
static
|
|
587
|
-
static
|
|
588
|
-
static
|
|
589
|
-
static
|
|
590
|
-
static
|
|
591
|
-
static
|
|
592
|
-
static
|
|
593
|
-
static
|
|
594
|
-
static
|
|
595
|
-
static
|
|
596
|
-
static
|
|
597
|
-
static
|
|
598
|
-
static
|
|
599
|
-
static
|
|
600
|
-
static
|
|
601
|
-
static
|
|
602
|
-
static
|
|
603
|
-
static
|
|
604
|
-
static
|
|
605
|
-
static
|
|
606
|
-
static
|
|
607
|
-
static
|
|
608
|
-
static
|
|
609
|
-
static
|
|
610
|
-
static
|
|
611
|
-
static
|
|
612
|
-
static
|
|
613
|
-
static
|
|
614
|
-
static
|
|
615
|
-
static
|
|
616
|
-
static
|
|
617
|
-
static
|
|
618
|
-
static
|
|
619
|
-
static
|
|
620
|
-
static
|
|
621
|
-
static
|
|
622
|
-
static
|
|
623
|
-
static
|
|
624
|
-
static
|
|
625
|
-
static
|
|
626
|
-
static
|
|
627
|
-
static
|
|
628
|
-
static
|
|
629
|
-
static
|
|
630
|
-
static
|
|
631
|
-
static
|
|
632
|
-
static
|
|
633
|
-
static
|
|
634
|
-
static
|
|
635
|
-
static
|
|
636
|
-
static
|
|
637
|
-
static
|
|
638
|
-
static
|
|
639
|
-
static
|
|
640
|
-
static
|
|
641
|
-
static
|
|
642
|
-
static
|
|
643
|
-
static
|
|
644
|
-
static
|
|
645
|
-
static
|
|
646
|
-
static
|
|
647
|
-
static
|
|
648
|
-
static
|
|
649
|
-
static
|
|
650
|
-
static
|
|
651
|
-
static
|
|
652
|
-
static
|
|
653
|
-
static
|
|
654
|
-
static
|
|
655
|
-
static
|
|
656
|
-
static
|
|
657
|
-
static
|
|
658
|
-
static
|
|
659
|
-
static
|
|
660
|
-
static
|
|
661
|
-
static
|
|
662
|
-
static
|
|
663
|
-
static
|
|
664
|
-
static
|
|
665
|
-
static
|
|
666
|
-
static
|
|
667
|
-
static
|
|
668
|
-
static
|
|
669
|
-
static
|
|
670
|
-
static
|
|
671
|
-
static
|
|
672
|
-
static
|
|
673
|
-
static
|
|
674
|
-
static
|
|
675
|
-
static
|
|
676
|
-
static
|
|
677
|
-
static
|
|
678
|
-
static
|
|
679
|
-
static
|
|
680
|
-
static
|
|
681
|
-
static
|
|
682
|
-
static
|
|
683
|
-
static
|
|
684
|
-
static
|
|
685
|
-
static
|
|
686
|
-
static
|
|
687
|
-
static
|
|
688
|
-
static
|
|
689
|
-
static
|
|
690
|
-
static
|
|
691
|
-
static
|
|
692
|
-
static
|
|
693
|
-
static
|
|
583
|
+
static readonly pi: NFloat;
|
|
584
|
+
static readonly tau: NFloat;
|
|
585
|
+
static readonly negativeZero: NFloat;
|
|
586
|
+
static abs(value: NFloat): NFloat;
|
|
587
|
+
static acos(x: NFloat): NFloat;
|
|
588
|
+
static acosh(x: NFloat): NFloat;
|
|
589
|
+
static acosPi(x: NFloat): NFloat;
|
|
590
|
+
static asin(x: NFloat): NFloat;
|
|
591
|
+
static asinh(x: NFloat): NFloat;
|
|
592
|
+
static asinPi(x: NFloat): NFloat;
|
|
593
|
+
static atan(x: NFloat): NFloat;
|
|
594
|
+
static atan2(y: NFloat, x: NFloat): NFloat;
|
|
595
|
+
static atan2Pi(y: NFloat, x: NFloat): NFloat;
|
|
596
|
+
static atanh(x: NFloat): NFloat;
|
|
597
|
+
static atanPi(x: NFloat): NFloat;
|
|
598
|
+
static bitDecrement(x: NFloat): NFloat;
|
|
599
|
+
static bitIncrement(x: NFloat): NFloat;
|
|
600
|
+
static cbrt(x: NFloat): NFloat;
|
|
601
|
+
static ceiling(x: NFloat): NFloat;
|
|
602
|
+
static clamp(value: NFloat, min: NFloat, max: NFloat): NFloat;
|
|
603
|
+
static clampNative(value: NFloat, min: NFloat, max: NFloat): NFloat;
|
|
604
|
+
static convertToInteger<TInteger extends IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
605
|
+
static convertToIntegerNative<TInteger extends IBinaryInteger_1<TInteger>>(value: NFloat): TInteger;
|
|
606
|
+
static copySign(value: NFloat, sign: NFloat): NFloat;
|
|
607
|
+
static cos(x: NFloat): NFloat;
|
|
608
|
+
static cosh(x: NFloat): NFloat;
|
|
609
|
+
static cosPi(x: NFloat): NFloat;
|
|
610
|
+
static createChecked<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
611
|
+
static createSaturating<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
612
|
+
static createTruncating<TOther extends INumberBase_1<TOther>>(value: TOther): NFloat;
|
|
613
|
+
static degreesToRadians(degrees: NFloat): NFloat;
|
|
614
|
+
static exp(x: NFloat): NFloat;
|
|
615
|
+
static exp10(x: NFloat): NFloat;
|
|
616
|
+
static exp10M1(x: NFloat): NFloat;
|
|
617
|
+
static exp2(x: NFloat): NFloat;
|
|
618
|
+
static exp2M1(x: NFloat): NFloat;
|
|
619
|
+
static expM1(x: NFloat): NFloat;
|
|
620
|
+
static floor(x: NFloat): NFloat;
|
|
621
|
+
static fusedMultiplyAdd(left: NFloat, right: NFloat, addend: NFloat): NFloat;
|
|
622
|
+
static hypot(x: NFloat, y: NFloat): NFloat;
|
|
623
|
+
static ieee754Remainder(left: NFloat, right: NFloat): NFloat;
|
|
624
|
+
static iLogB(x: NFloat): int;
|
|
625
|
+
static isEvenInteger(value: NFloat): boolean;
|
|
626
|
+
static isFinite(value: NFloat): boolean;
|
|
627
|
+
static isInfinity(value: NFloat): boolean;
|
|
628
|
+
static isInteger(value: NFloat): boolean;
|
|
629
|
+
static isNaN(value: NFloat): boolean;
|
|
630
|
+
static isNegative(value: NFloat): boolean;
|
|
631
|
+
static isNegativeInfinity(value: NFloat): boolean;
|
|
632
|
+
static isNormal(value: NFloat): boolean;
|
|
633
|
+
static isOddInteger(value: NFloat): boolean;
|
|
634
|
+
static isPositive(value: NFloat): boolean;
|
|
635
|
+
static isPositiveInfinity(value: NFloat): boolean;
|
|
636
|
+
static isPow2(value: NFloat): boolean;
|
|
637
|
+
static isRealNumber(value: NFloat): boolean;
|
|
638
|
+
static isSubnormal(value: NFloat): boolean;
|
|
639
|
+
static lerp(value1: NFloat, value2: NFloat, amount: NFloat): NFloat;
|
|
640
|
+
static log2(x: NFloat, newBase: NFloat): NFloat;
|
|
641
|
+
static log2(x: NFloat): NFloat;
|
|
642
|
+
static log10(x: NFloat): NFloat;
|
|
643
|
+
static log10P1(x: NFloat): NFloat;
|
|
644
|
+
static log22(value: NFloat): NFloat;
|
|
645
|
+
static log2P1(x: NFloat): NFloat;
|
|
646
|
+
static logP1(x: NFloat): NFloat;
|
|
647
|
+
static max(x: NFloat, y: NFloat): NFloat;
|
|
648
|
+
static maxMagnitude(x: NFloat, y: NFloat): NFloat;
|
|
649
|
+
static maxMagnitudeNumber(x: NFloat, y: NFloat): NFloat;
|
|
650
|
+
static maxNative(x: NFloat, y: NFloat): NFloat;
|
|
651
|
+
static maxNumber(x: NFloat, y: NFloat): NFloat;
|
|
652
|
+
static min(x: NFloat, y: NFloat): NFloat;
|
|
653
|
+
static minMagnitude(x: NFloat, y: NFloat): NFloat;
|
|
654
|
+
static minMagnitudeNumber(x: NFloat, y: NFloat): NFloat;
|
|
655
|
+
static minNative(x: NFloat, y: NFloat): NFloat;
|
|
656
|
+
static minNumber(x: NFloat, y: NFloat): NFloat;
|
|
657
|
+
static multiplyAddEstimate(left: NFloat, right: NFloat, addend: NFloat): NFloat;
|
|
658
|
+
static parse7(utf8Text: ReadOnlySpan_1<CLROf<byte>>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
659
|
+
static parse7(utf8Text: ReadOnlySpan_1<CLROf<byte>>, provider: IFormatProvider): NFloat;
|
|
660
|
+
static parse7(s: ReadOnlySpan_1<CLROf<char>>, style?: NumberStyles, provider?: IFormatProvider): NFloat;
|
|
661
|
+
static parse7(s: ReadOnlySpan_1<CLROf<char>>, provider: IFormatProvider): NFloat;
|
|
662
|
+
static parse7(s: string, style: NumberStyles, provider: IFormatProvider): NFloat;
|
|
663
|
+
static parse7(s: string, style: NumberStyles): NFloat;
|
|
664
|
+
static parse7(s: string, provider: IFormatProvider): NFloat;
|
|
665
|
+
static parse7(s: string): NFloat;
|
|
666
|
+
static pow(x: NFloat, y: NFloat): NFloat;
|
|
667
|
+
static radiansToDegrees(radians: NFloat): NFloat;
|
|
668
|
+
static reciprocalEstimate(x: NFloat): NFloat;
|
|
669
|
+
static reciprocalSqrtEstimate(x: NFloat): NFloat;
|
|
670
|
+
static rootN(x: NFloat, n: int): NFloat;
|
|
671
|
+
static round4(x: NFloat, digits: int, mode: MidpointRounding): NFloat;
|
|
672
|
+
static round4(x: NFloat, digits: int): NFloat;
|
|
673
|
+
static round4(x: NFloat, mode: MidpointRounding): NFloat;
|
|
674
|
+
static round4(x: NFloat): NFloat;
|
|
675
|
+
static scaleB(x: NFloat, n: int): NFloat;
|
|
676
|
+
static sign(value: NFloat): int;
|
|
677
|
+
static sin(x: NFloat): NFloat;
|
|
678
|
+
static sinCos(x: NFloat): ValueTuple_2<NFloat, NFloat>;
|
|
679
|
+
static sinCosPi(x: NFloat): ValueTuple_2<NFloat, NFloat>;
|
|
680
|
+
static sinh(x: NFloat): NFloat;
|
|
681
|
+
static sinPi(x: NFloat): NFloat;
|
|
682
|
+
static sqrt(x: NFloat): NFloat;
|
|
683
|
+
static tan(x: NFloat): NFloat;
|
|
684
|
+
static tanh(x: NFloat): NFloat;
|
|
685
|
+
static tanPi(x: NFloat): NFloat;
|
|
686
|
+
static truncate(x: NFloat): NFloat;
|
|
687
|
+
static tryParse8(utf8Text: ReadOnlySpan_1<CLROf<byte>>, style: NumberStyles, provider: IFormatProvider, result: { value: ref<NFloat> }): boolean;
|
|
688
|
+
static tryParse8(utf8Text: ReadOnlySpan_1<CLROf<byte>>, provider: IFormatProvider, result: { value: ref<NFloat> }): boolean;
|
|
689
|
+
static tryParse8(utf8Text: ReadOnlySpan_1<CLROf<byte>>, result: { value: ref<NFloat> }): boolean;
|
|
690
|
+
static tryParse8(s: ReadOnlySpan_1<CLROf<char>>, style: NumberStyles, provider: IFormatProvider, result: { value: ref<NFloat> }): boolean;
|
|
691
|
+
static tryParse8(s: ReadOnlySpan_1<CLROf<char>>, provider: IFormatProvider, result: { value: ref<NFloat> }): boolean;
|
|
692
|
+
static tryParse8(s: ReadOnlySpan_1<CLROf<char>>, result: { value: ref<NFloat> }): boolean;
|
|
693
|
+
static tryParse8(s: string, style: NumberStyles, provider: IFormatProvider, result: { value: ref<NFloat> }): boolean;
|
|
694
|
+
static tryParse8(s: string, provider: IFormatProvider, result: { value: ref<NFloat> }): boolean;
|
|
695
|
+
static tryParse8(s: string, result: { value: ref<NFloat> }): boolean;
|
|
694
696
|
}
|
|
695
697
|
|
|
696
698
|
|
|
697
699
|
export interface __NFloat$views {
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
700
|
+
As_IComparable(): System_Internal.IComparable$instance;
|
|
701
|
+
As_IComparable_1(): System_Internal.IComparable_1$instance<NFloat>;
|
|
702
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<NFloat>;
|
|
703
|
+
As_IFormattable(): System_Internal.IFormattable$instance;
|
|
704
|
+
As_IParsable_1(): System_Internal.IParsable_1$instance<NFloat>;
|
|
705
|
+
As_ISpanParsable_1(): System_Internal.ISpanParsable_1$instance<NFloat>;
|
|
706
|
+
As_IUtf8SpanFormattable(): System_Internal.IUtf8SpanFormattable$instance;
|
|
707
|
+
As_IUtf8SpanParsable_1(): System_Internal.IUtf8SpanParsable_1$instance<NFloat>;
|
|
708
|
+
As_IAdditiveIdentity_2(): System_Numerics_Internal.IAdditiveIdentity_2$instance<NFloat, NFloat>;
|
|
709
|
+
As_IFloatingPoint_1(): System_Numerics_Internal.IFloatingPoint_1$instance<NFloat>;
|
|
710
|
+
As_IMinMaxValue_1(): System_Numerics_Internal.IMinMaxValue_1$instance<NFloat>;
|
|
711
|
+
As_INumber_1(): System_Numerics_Internal.INumber_1$instance<NFloat>;
|
|
712
|
+
As_INumberBase_1(): System_Numerics_Internal.INumberBase_1$instance<NFloat>;
|
|
713
|
+
As_IRootFunctions_1(): System_Numerics_Internal.IRootFunctions_1$instance<NFloat>;
|
|
714
|
+
As_ITrigonometricFunctions_1(): System_Numerics_Internal.ITrigonometricFunctions_1$instance<NFloat>;
|
|
713
715
|
|
|
714
716
|
// Structural method bridges for numeric interface constraints
|
|
715
717
|
Equals(other: NFloat): boolean;
|
|
716
|
-
CompareTo(obj:
|
|
718
|
+
CompareTo(obj: unknown): int;
|
|
717
719
|
ToString(format: string, formatProvider: import("../../System/internal/index").IFormatProvider): string;
|
|
718
|
-
TryFormat(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").CLROf<
|
|
720
|
+
TryFormat(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").CLROf<char>>, charsWritten: { value: ref<int> }, format: import("../../System/internal/index").ReadOnlySpan_1<import("../../System/internal/index").CLROf<char>>, provider: import("../../System/internal/index").IFormatProvider): boolean;
|
|
719
721
|
GetExponentByteCount(): int;
|
|
720
722
|
GetExponentShortestBitLength(): int;
|
|
723
|
+
TryWriteExponentBigEndian(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").CLROf<byte>>, bytesWritten: { value: ref<int> }): boolean;
|
|
724
|
+
WriteExponentBigEndian(destination: byte[], startIndex: int): int;
|
|
725
|
+
WriteExponentBigEndian(destination: byte[]): int;
|
|
726
|
+
WriteExponentBigEndian(destination: import("../../System/internal/index").Span_1<import("../../System/internal/index").CLROf<byte>>): int;
|
|
721
727
|
}
|
|
722
728
|
|
|
729
|
+
export interface NFloat$instance extends System_Numerics_Internal.IMinMaxValue_1$instance<NFloat> {}
|
|
730
|
+
|
|
723
731
|
export type NFloat = NFloat$instance & __NFloat$views;
|
|
724
732
|
|
|
725
733
|
|
|
726
734
|
export class OSPlatform$instance {
|
|
727
735
|
equals(other: OSPlatform): boolean;
|
|
728
|
-
equals(obj:
|
|
736
|
+
equals(obj: unknown): boolean;
|
|
729
737
|
getHashCode(): int;
|
|
730
738
|
toString(): string;
|
|
731
|
-
static readonly
|
|
732
|
-
static readonly
|
|
739
|
+
static readonly freeBSD: OSPlatform;
|
|
740
|
+
static readonly linux: OSPlatform;
|
|
733
741
|
static readonly OSX: OSPlatform;
|
|
734
|
-
static readonly
|
|
735
|
-
static
|
|
742
|
+
static readonly windows: OSPlatform;
|
|
743
|
+
static create(osPlatform: string): OSPlatform;
|
|
736
744
|
}
|
|
737
745
|
|
|
738
746
|
|
|
739
747
|
export interface __OSPlatform$views {
|
|
740
|
-
|
|
748
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<OSPlatform>;
|
|
741
749
|
|
|
742
750
|
// Structural method bridges for numeric interface constraints
|
|
743
751
|
Equals(other: OSPlatform): boolean;
|
|
@@ -751,23 +759,25 @@ export class PinnedGCHandle_1$instance<T> {
|
|
|
751
759
|
readonly isAllocated: boolean;
|
|
752
760
|
target: T;
|
|
753
761
|
dispose(): void;
|
|
754
|
-
equals(obj:
|
|
762
|
+
equals(obj: unknown): boolean;
|
|
755
763
|
equals(other: PinnedGCHandle_1<T>): boolean;
|
|
756
764
|
getAddressOfObjectData(): ptr<void>;
|
|
757
765
|
getHashCode(): int;
|
|
758
|
-
static
|
|
759
|
-
static
|
|
766
|
+
static fromIntPtr<T>(value: nint): PinnedGCHandle_1<T>;
|
|
767
|
+
static toIntPtr<T>(value: PinnedGCHandle_1<T>): nint;
|
|
760
768
|
}
|
|
761
769
|
|
|
762
770
|
|
|
763
771
|
export interface __PinnedGCHandle_1$views<T> {
|
|
764
|
-
|
|
765
|
-
|
|
772
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
773
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<PinnedGCHandle_1<T>>;
|
|
766
774
|
|
|
767
775
|
// Structural method bridges for numeric interface constraints
|
|
768
776
|
Equals(other: PinnedGCHandle_1<T>): boolean;
|
|
769
777
|
}
|
|
770
778
|
|
|
779
|
+
export interface PinnedGCHandle_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
780
|
+
|
|
771
781
|
export type PinnedGCHandle_1<T> = PinnedGCHandle_1$instance<T> & __PinnedGCHandle_1$views<T>;
|
|
772
782
|
|
|
773
783
|
|
|
@@ -775,24 +785,26 @@ export class WeakGCHandle_1$instance<T> {
|
|
|
775
785
|
constructor(target: T, trackResurrection: boolean);
|
|
776
786
|
readonly isAllocated: boolean;
|
|
777
787
|
dispose(): void;
|
|
778
|
-
equals(obj:
|
|
788
|
+
equals(obj: unknown): boolean;
|
|
779
789
|
equals(other: WeakGCHandle_1<T>): boolean;
|
|
780
790
|
getHashCode(): int;
|
|
781
791
|
setTarget(target: T): void;
|
|
782
792
|
tryGetTarget(target: { value: ref<T> }): boolean;
|
|
783
|
-
static
|
|
784
|
-
static
|
|
793
|
+
static fromIntPtr<T>(value: nint): WeakGCHandle_1<T>;
|
|
794
|
+
static toIntPtr<T>(value: WeakGCHandle_1<T>): nint;
|
|
785
795
|
}
|
|
786
796
|
|
|
787
797
|
|
|
788
798
|
export interface __WeakGCHandle_1$views<T> {
|
|
789
|
-
|
|
790
|
-
|
|
799
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
800
|
+
As_IEquatable_1(): System_Internal.IEquatable_1$instance<WeakGCHandle_1<T>>;
|
|
791
801
|
|
|
792
802
|
// Structural method bridges for numeric interface constraints
|
|
793
803
|
Equals(other: WeakGCHandle_1<T>): boolean;
|
|
794
804
|
}
|
|
795
805
|
|
|
806
|
+
export interface WeakGCHandle_1$instance<T> extends System_Internal.IDisposable$instance {}
|
|
807
|
+
|
|
796
808
|
export type WeakGCHandle_1<T> = WeakGCHandle_1$instance<T> & __WeakGCHandle_1$views<T>;
|
|
797
809
|
|
|
798
810
|
|
|
@@ -813,7 +825,7 @@ export type AutomationProxyAttribute = AutomationProxyAttribute$instance;
|
|
|
813
825
|
|
|
814
826
|
export class BestFitMappingAttribute$instance extends System_Internal.Attribute$instance {
|
|
815
827
|
constructor(BestFitMapping: boolean);
|
|
816
|
-
|
|
828
|
+
throwOnUnmappableChar: boolean;
|
|
817
829
|
readonly bestFitMapping: boolean;
|
|
818
830
|
}
|
|
819
831
|
|
|
@@ -822,7 +834,7 @@ export type BestFitMappingAttribute = BestFitMappingAttribute$instance;
|
|
|
822
834
|
|
|
823
835
|
export class BStrWrapper$instance {
|
|
824
836
|
constructor(value: string);
|
|
825
|
-
constructor(value:
|
|
837
|
+
constructor(value: unknown);
|
|
826
838
|
readonly wrappedObject: string;
|
|
827
839
|
}
|
|
828
840
|
|
|
@@ -862,11 +874,11 @@ export class ComAwareEventInfo$instance extends System_Reflection_Internal.Event
|
|
|
862
874
|
readonly module_: Module;
|
|
863
875
|
readonly name: string;
|
|
864
876
|
readonly reflectedType: Type;
|
|
865
|
-
addEventHandler(target:
|
|
877
|
+
addEventHandler(target: unknown, handler: Function): void;
|
|
866
878
|
getAddMethod(nonPublic: boolean): MethodInfo;
|
|
867
879
|
getAddMethod(): MethodInfo;
|
|
868
|
-
getCustomAttributes(attributeType: Type, inherit: boolean):
|
|
869
|
-
getCustomAttributes(inherit: boolean):
|
|
880
|
+
getCustomAttributes(attributeType: Type, inherit: boolean): unknown[];
|
|
881
|
+
getCustomAttributes(inherit: boolean): unknown[];
|
|
870
882
|
getCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
871
883
|
getCustomAttributesData(): IList_1<CustomAttributeData>;
|
|
872
884
|
getOtherMethods(nonPublic: boolean): MethodInfo[];
|
|
@@ -876,12 +888,12 @@ export class ComAwareEventInfo$instance extends System_Reflection_Internal.Event
|
|
|
876
888
|
getRemoveMethod(nonPublic: boolean): MethodInfo;
|
|
877
889
|
getRemoveMethod(): MethodInfo;
|
|
878
890
|
isDefined(attributeType: Type, inherit: boolean): boolean;
|
|
879
|
-
removeEventHandler(target:
|
|
891
|
+
removeEventHandler(target: unknown, handler: Function): void;
|
|
880
892
|
}
|
|
881
893
|
|
|
882
894
|
|
|
883
895
|
export interface __ComAwareEventInfo$views {
|
|
884
|
-
|
|
896
|
+
As_ICustomAttributeProvider(): System_Reflection_Internal.ICustomAttributeProvider$instance;
|
|
885
897
|
}
|
|
886
898
|
|
|
887
899
|
export type ComAwareEventInfo = ComAwareEventInfo$instance & __ComAwareEventInfo$views;
|
|
@@ -933,7 +945,7 @@ export class COMException$instance extends ExternalException$instance {
|
|
|
933
945
|
|
|
934
946
|
|
|
935
947
|
export interface __COMException$views {
|
|
936
|
-
|
|
948
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
937
949
|
}
|
|
938
950
|
|
|
939
951
|
export type COMException = COMException$instance & __COMException$views;
|
|
@@ -981,16 +993,16 @@ export class ComVisibleAttribute$instance extends System_Internal.Attribute$inst
|
|
|
981
993
|
export type ComVisibleAttribute = ComVisibleAttribute$instance;
|
|
982
994
|
|
|
983
995
|
export abstract class ComWrappers$instance {
|
|
984
|
-
getOrCreateComInterfaceForObject(instance:
|
|
985
|
-
getOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags):
|
|
986
|
-
getOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState:
|
|
987
|
-
getOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper:
|
|
988
|
-
getOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper:
|
|
989
|
-
static
|
|
990
|
-
static
|
|
991
|
-
static
|
|
992
|
-
static
|
|
993
|
-
static
|
|
996
|
+
getOrCreateComInterfaceForObject(instance: unknown, flags: CreateComInterfaceFlags): nint;
|
|
997
|
+
getOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags): unknown;
|
|
998
|
+
getOrCreateObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, userState: unknown): unknown;
|
|
999
|
+
getOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown): unknown;
|
|
1000
|
+
getOrRegisterObjectForComInstance(externalComObject: nint, flags: CreateObjectFlags, wrapper: unknown, inner: nint): unknown;
|
|
1001
|
+
static getIUnknownImpl(fpQueryInterface: { value: ref<nint> }, fpAddRef: { value: ref<nint> }, fpRelease: { value: ref<nint> }): void;
|
|
1002
|
+
static registerForMarshalling(instance: ComWrappers): void;
|
|
1003
|
+
static registerForTrackerSupport(instance: ComWrappers): void;
|
|
1004
|
+
static tryGetComInstance(obj: unknown, unknown_: { value: ref<nint> }): boolean;
|
|
1005
|
+
static tryGetObject(unknown_: nint, obj: { value: ref<unknown> }): boolean;
|
|
994
1006
|
}
|
|
995
1007
|
|
|
996
1008
|
|
|
@@ -1006,15 +1018,17 @@ export abstract class CriticalHandle$instance extends System_Runtime_Constrained
|
|
|
1006
1018
|
|
|
1007
1019
|
|
|
1008
1020
|
export interface __CriticalHandle$views {
|
|
1009
|
-
|
|
1021
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1010
1022
|
}
|
|
1011
1023
|
|
|
1024
|
+
export interface CriticalHandle$instance extends System_Internal.IDisposable$instance {}
|
|
1025
|
+
|
|
1012
1026
|
export type CriticalHandle = CriticalHandle$instance & __CriticalHandle$views;
|
|
1013
1027
|
|
|
1014
1028
|
|
|
1015
1029
|
export class CurrencyWrapper$instance {
|
|
1016
1030
|
constructor(obj: decimal);
|
|
1017
|
-
constructor(obj:
|
|
1031
|
+
constructor(obj: unknown);
|
|
1018
1032
|
readonly wrappedObject: decimal;
|
|
1019
1033
|
}
|
|
1020
1034
|
|
|
@@ -1038,16 +1052,16 @@ export class DefaultDllImportSearchPathsAttribute$instance extends System_Intern
|
|
|
1038
1052
|
export type DefaultDllImportSearchPathsAttribute = DefaultDllImportSearchPathsAttribute$instance;
|
|
1039
1053
|
|
|
1040
1054
|
export class DefaultParameterValueAttribute$instance extends System_Internal.Attribute$instance {
|
|
1041
|
-
constructor(value:
|
|
1042
|
-
readonly value:
|
|
1055
|
+
constructor(value: unknown);
|
|
1056
|
+
readonly value: unknown;
|
|
1043
1057
|
}
|
|
1044
1058
|
|
|
1045
1059
|
|
|
1046
1060
|
export type DefaultParameterValueAttribute = DefaultParameterValueAttribute$instance;
|
|
1047
1061
|
|
|
1048
1062
|
export class DispatchWrapper$instance {
|
|
1049
|
-
constructor(obj:
|
|
1050
|
-
readonly wrappedObject:
|
|
1063
|
+
constructor(obj: unknown);
|
|
1064
|
+
readonly wrappedObject: unknown;
|
|
1051
1065
|
}
|
|
1052
1066
|
|
|
1053
1067
|
|
|
@@ -1063,14 +1077,14 @@ export type DispIdAttribute = DispIdAttribute$instance;
|
|
|
1063
1077
|
|
|
1064
1078
|
export class DllImportAttribute$instance extends System_Internal.Attribute$instance {
|
|
1065
1079
|
constructor(dllName: string);
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1080
|
+
entryPoint: string;
|
|
1081
|
+
charSet: CharSet;
|
|
1082
|
+
setLastError: boolean;
|
|
1083
|
+
exactSpelling: boolean;
|
|
1084
|
+
callingConvention: CallingConvention;
|
|
1085
|
+
bestFitMapping: boolean;
|
|
1086
|
+
preserveSig: boolean;
|
|
1087
|
+
throwOnUnmappableChar: boolean;
|
|
1074
1088
|
readonly value: string;
|
|
1075
1089
|
}
|
|
1076
1090
|
|
|
@@ -1078,9 +1092,9 @@ export class DllImportAttribute$instance extends System_Internal.Attribute$insta
|
|
|
1078
1092
|
export type DllImportAttribute = DllImportAttribute$instance;
|
|
1079
1093
|
|
|
1080
1094
|
export class DllImportResolver$instance extends Function {
|
|
1081
|
-
constructor(object_:
|
|
1082
|
-
beginInvoke(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>, callback: AsyncCallback, object_:
|
|
1083
|
-
clone():
|
|
1095
|
+
constructor(object_: unknown, method: nint);
|
|
1096
|
+
beginInvoke(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>, callback: AsyncCallback, object_: unknown): IAsyncResult;
|
|
1097
|
+
clone(): unknown;
|
|
1084
1098
|
endInvoke(result: IAsyncResult): nint;
|
|
1085
1099
|
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1086
1100
|
invoke(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>): nint;
|
|
@@ -1088,8 +1102,8 @@ export class DllImportResolver$instance extends Function {
|
|
|
1088
1102
|
|
|
1089
1103
|
|
|
1090
1104
|
export interface __DllImportResolver$views {
|
|
1091
|
-
|
|
1092
|
-
|
|
1105
|
+
As_ICloneable(): System_Internal.ICloneable$instance;
|
|
1106
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1093
1107
|
}
|
|
1094
1108
|
|
|
1095
1109
|
export type DllImportResolver = DllImportResolver$instance & __DllImportResolver$views;
|
|
@@ -1104,7 +1118,7 @@ export type DynamicInterfaceCastableImplementationAttribute = DynamicInterfaceCa
|
|
|
1104
1118
|
|
|
1105
1119
|
export class ErrorWrapper$instance {
|
|
1106
1120
|
constructor(errorCode: int);
|
|
1107
|
-
constructor(errorCode:
|
|
1121
|
+
constructor(errorCode: unknown);
|
|
1108
1122
|
constructor(e: Exception);
|
|
1109
1123
|
readonly errorCode: int;
|
|
1110
1124
|
}
|
|
@@ -1124,7 +1138,7 @@ export class ExternalException$instance extends System_Internal.SystemException$
|
|
|
1124
1138
|
|
|
1125
1139
|
|
|
1126
1140
|
export interface __ExternalException$views {
|
|
1127
|
-
|
|
1141
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1128
1142
|
}
|
|
1129
1143
|
|
|
1130
1144
|
export type ExternalException = ExternalException$instance & __ExternalException$views;
|
|
@@ -1193,7 +1207,7 @@ export class InvalidComObjectException$instance extends System_Internal.SystemEx
|
|
|
1193
1207
|
|
|
1194
1208
|
|
|
1195
1209
|
export interface __InvalidComObjectException$views {
|
|
1196
|
-
|
|
1210
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1197
1211
|
}
|
|
1198
1212
|
|
|
1199
1213
|
export type InvalidComObjectException = InvalidComObjectException$instance & __InvalidComObjectException$views;
|
|
@@ -1208,7 +1222,7 @@ export class InvalidOleVariantTypeException$instance extends System_Internal.Sys
|
|
|
1208
1222
|
|
|
1209
1223
|
|
|
1210
1224
|
export interface __InvalidOleVariantTypeException$views {
|
|
1211
|
-
|
|
1225
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1212
1226
|
}
|
|
1213
1227
|
|
|
1214
1228
|
export type InvalidOleVariantTypeException = InvalidOleVariantTypeException$instance & __InvalidOleVariantTypeException$views;
|
|
@@ -1246,15 +1260,15 @@ export type ManagedToNativeComInteropStubAttribute = ManagedToNativeComInteropSt
|
|
|
1246
1260
|
export class MarshalAsAttribute$instance extends System_Internal.Attribute$instance {
|
|
1247
1261
|
constructor(unmanagedType: UnmanagedType);
|
|
1248
1262
|
constructor(unmanagedType: short);
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1263
|
+
safeArraySubType: VarEnum;
|
|
1264
|
+
safeArrayUserDefinedSubType: Type;
|
|
1265
|
+
iidParameterIndex: int;
|
|
1266
|
+
arraySubType: UnmanagedType;
|
|
1267
|
+
sizeParamIndex: short;
|
|
1268
|
+
sizeConst: int;
|
|
1269
|
+
marshalType: string;
|
|
1270
|
+
marshalTypeRef: Type;
|
|
1271
|
+
marshalCookie: string;
|
|
1258
1272
|
readonly value: UnmanagedType;
|
|
1259
1273
|
}
|
|
1260
1274
|
|
|
@@ -1270,7 +1284,7 @@ export class MarshalDirectiveException$instance extends System_Internal.SystemEx
|
|
|
1270
1284
|
|
|
1271
1285
|
|
|
1272
1286
|
export interface __MarshalDirectiveException$views {
|
|
1273
|
-
|
|
1287
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1274
1288
|
}
|
|
1275
1289
|
|
|
1276
1290
|
export type MarshalDirectiveException = MarshalDirectiveException$instance & __MarshalDirectiveException$views;
|
|
@@ -1301,14 +1315,16 @@ export type PosixSignalContext = PosixSignalContext$instance;
|
|
|
1301
1315
|
|
|
1302
1316
|
export class PosixSignalRegistration$instance {
|
|
1303
1317
|
dispose(): void;
|
|
1304
|
-
static
|
|
1318
|
+
static create(signal: PosixSignal, handler: Action_1<PosixSignalContext>): PosixSignalRegistration;
|
|
1305
1319
|
}
|
|
1306
1320
|
|
|
1307
1321
|
|
|
1308
1322
|
export interface __PosixSignalRegistration$views {
|
|
1309
|
-
|
|
1323
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1310
1324
|
}
|
|
1311
1325
|
|
|
1326
|
+
export interface PosixSignalRegistration$instance extends System_Internal.IDisposable$instance {}
|
|
1327
|
+
|
|
1312
1328
|
export type PosixSignalRegistration = PosixSignalRegistration$instance & __PosixSignalRegistration$views;
|
|
1313
1329
|
|
|
1314
1330
|
|
|
@@ -1345,7 +1361,7 @@ export class SafeArrayRankMismatchException$instance extends System_Internal.Sys
|
|
|
1345
1361
|
|
|
1346
1362
|
|
|
1347
1363
|
export interface __SafeArrayRankMismatchException$views {
|
|
1348
|
-
|
|
1364
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1349
1365
|
}
|
|
1350
1366
|
|
|
1351
1367
|
export type SafeArrayRankMismatchException = SafeArrayRankMismatchException$instance & __SafeArrayRankMismatchException$views;
|
|
@@ -1360,7 +1376,7 @@ export class SafeArrayTypeMismatchException$instance extends System_Internal.Sys
|
|
|
1360
1376
|
|
|
1361
1377
|
|
|
1362
1378
|
export interface __SafeArrayTypeMismatchException$views {
|
|
1363
|
-
|
|
1379
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1364
1380
|
}
|
|
1365
1381
|
|
|
1366
1382
|
export type SafeArrayTypeMismatchException = SafeArrayTypeMismatchException$instance & __SafeArrayTypeMismatchException$views;
|
|
@@ -1372,19 +1388,19 @@ export abstract class SafeBuffer$instance extends Microsoft_Win32_SafeHandles_In
|
|
|
1372
1388
|
dispose(): void;
|
|
1373
1389
|
initialize(numBytes: ulong): void;
|
|
1374
1390
|
initialize(numElements: uint, sizeOfEachElement: uint): void;
|
|
1375
|
-
initialize<T extends
|
|
1376
|
-
read<T extends
|
|
1377
|
-
readArray<T extends
|
|
1378
|
-
readSpan<T extends
|
|
1391
|
+
initialize<T extends unknown>(numElements: uint): void;
|
|
1392
|
+
read<T extends unknown>(byteOffset: ulong): T;
|
|
1393
|
+
readArray<T extends unknown>(byteOffset: ulong, array: T[], index: int, count: int): void;
|
|
1394
|
+
readSpan<T extends unknown>(byteOffset: ulong, buffer: Span_1<T>): void;
|
|
1379
1395
|
releasePointer(): void;
|
|
1380
|
-
write<T extends
|
|
1381
|
-
writeArray<T extends
|
|
1382
|
-
writeSpan<T extends
|
|
1396
|
+
write<T extends unknown>(byteOffset: ulong, value: T): void;
|
|
1397
|
+
writeArray<T extends unknown>(byteOffset: ulong, array: T[], index: int, count: int): void;
|
|
1398
|
+
writeSpan<T extends unknown>(byteOffset: ulong, data: ReadOnlySpan_1<T>): void;
|
|
1383
1399
|
}
|
|
1384
1400
|
|
|
1385
1401
|
|
|
1386
1402
|
export interface __SafeBuffer$views {
|
|
1387
|
-
|
|
1403
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1388
1404
|
}
|
|
1389
1405
|
|
|
1390
1406
|
export type SafeBuffer = SafeBuffer$instance & __SafeBuffer$views;
|
|
@@ -1403,9 +1419,11 @@ export abstract class SafeHandle$instance extends System_Runtime_ConstrainedExec
|
|
|
1403
1419
|
|
|
1404
1420
|
|
|
1405
1421
|
export interface __SafeHandle$views {
|
|
1406
|
-
|
|
1422
|
+
As_IDisposable(): System_Internal.IDisposable$instance;
|
|
1407
1423
|
}
|
|
1408
1424
|
|
|
1425
|
+
export interface SafeHandle$instance extends System_Internal.IDisposable$instance {}
|
|
1426
|
+
|
|
1409
1427
|
export type SafeHandle = SafeHandle$instance & __SafeHandle$views;
|
|
1410
1428
|
|
|
1411
1429
|
|
|
@@ -1419,7 +1437,7 @@ export class SEHException$instance extends ExternalException$instance {
|
|
|
1419
1437
|
|
|
1420
1438
|
|
|
1421
1439
|
export interface __SEHException$views {
|
|
1422
|
-
|
|
1440
|
+
As_ISerializable(): System_Runtime_Serialization_Internal.ISerializable$instance;
|
|
1423
1441
|
}
|
|
1424
1442
|
|
|
1425
1443
|
export type SEHException = SEHException$instance & __SEHException$views;
|
|
@@ -1434,9 +1452,9 @@ export type StandardOleMarshalObject = StandardOleMarshalObject$instance;
|
|
|
1434
1452
|
export class StructLayoutAttribute$instance extends System_Internal.Attribute$instance {
|
|
1435
1453
|
constructor(layoutKind: LayoutKind);
|
|
1436
1454
|
constructor(layoutKind: short);
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1455
|
+
pack: int;
|
|
1456
|
+
size: int;
|
|
1457
|
+
charSet: CharSet;
|
|
1440
1458
|
readonly value: LayoutKind;
|
|
1441
1459
|
}
|
|
1442
1460
|
|
|
@@ -1527,8 +1545,8 @@ export class TypeMapAttribute_1$instance<TTypeMapGroup> extends System_Internal.
|
|
|
1527
1545
|
export type TypeMapAttribute_1<TTypeMapGroup> = TypeMapAttribute_1$instance<TTypeMapGroup>;
|
|
1528
1546
|
|
|
1529
1547
|
export class UnknownWrapper$instance {
|
|
1530
|
-
constructor(obj:
|
|
1531
|
-
readonly wrappedObject:
|
|
1548
|
+
constructor(obj: unknown);
|
|
1549
|
+
readonly wrappedObject: unknown;
|
|
1532
1550
|
}
|
|
1533
1551
|
|
|
1534
1552
|
|
|
@@ -1536,7 +1554,7 @@ export type UnknownWrapper = UnknownWrapper$instance;
|
|
|
1536
1554
|
|
|
1537
1555
|
export class UnmanagedCallConvAttribute$instance extends System_Internal.Attribute$instance {
|
|
1538
1556
|
constructor();
|
|
1539
|
-
|
|
1557
|
+
callConvs: Type[];
|
|
1540
1558
|
}
|
|
1541
1559
|
|
|
1542
1560
|
|
|
@@ -1544,8 +1562,8 @@ export type UnmanagedCallConvAttribute = UnmanagedCallConvAttribute$instance;
|
|
|
1544
1562
|
|
|
1545
1563
|
export class UnmanagedCallersOnlyAttribute$instance extends System_Internal.Attribute$instance {
|
|
1546
1564
|
constructor();
|
|
1547
|
-
|
|
1548
|
-
|
|
1565
|
+
callConvs: Type[];
|
|
1566
|
+
entryPoint: string;
|
|
1549
1567
|
}
|
|
1550
1568
|
|
|
1551
1569
|
|
|
@@ -1553,10 +1571,10 @@ export type UnmanagedCallersOnlyAttribute = UnmanagedCallersOnlyAttribute$instan
|
|
|
1553
1571
|
|
|
1554
1572
|
export class UnmanagedFunctionPointerAttribute$instance extends System_Internal.Attribute$instance {
|
|
1555
1573
|
constructor(callingConvention: CallingConvention);
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1574
|
+
bestFitMapping: boolean;
|
|
1575
|
+
setLastError: boolean;
|
|
1576
|
+
throwOnUnmappableChar: boolean;
|
|
1577
|
+
charSet: CharSet;
|
|
1560
1578
|
readonly callingConvention: CallingConvention;
|
|
1561
1579
|
}
|
|
1562
1580
|
|
|
@@ -1564,8 +1582,8 @@ export class UnmanagedFunctionPointerAttribute$instance extends System_Internal.
|
|
|
1564
1582
|
export type UnmanagedFunctionPointerAttribute = UnmanagedFunctionPointerAttribute$instance;
|
|
1565
1583
|
|
|
1566
1584
|
export class VariantWrapper$instance {
|
|
1567
|
-
constructor(obj:
|
|
1568
|
-
readonly wrappedObject:
|
|
1585
|
+
constructor(obj: unknown);
|
|
1586
|
+
readonly wrappedObject: unknown;
|
|
1569
1587
|
}
|
|
1570
1588
|
|
|
1571
1589
|
|
|
@@ -1579,46 +1597,46 @@ export class WasmImportLinkageAttribute$instance extends System_Internal.Attribu
|
|
|
1579
1597
|
export type WasmImportLinkageAttribute = WasmImportLinkageAttribute$instance;
|
|
1580
1598
|
|
|
1581
1599
|
export abstract class CollectionsMarshal$instance {
|
|
1582
|
-
static
|
|
1583
|
-
static
|
|
1584
|
-
static
|
|
1585
|
-
static
|
|
1586
|
-
static
|
|
1587
|
-
static
|
|
1588
|
-
static
|
|
1600
|
+
static asBytes(array: BitArray): Span_1<CLROf<byte>>;
|
|
1601
|
+
static asSpan<T>(list: List_1<T>): Span_1<T>;
|
|
1602
|
+
static getValueRefOrAddDefault2<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey, exists: { value: ref<boolean> }): ref<TValue>;
|
|
1603
|
+
static getValueRefOrAddDefault2<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey, exists: { value: ref<boolean> }): ref<TValue>;
|
|
1604
|
+
static getValueRefOrNullRef2<TKey, TValue, TAlternateKey>(dictionary: Dictionary_2_AlternateLookup_1<TKey, TValue, TAlternateKey>, key: TAlternateKey): ref<TValue>;
|
|
1605
|
+
static getValueRefOrNullRef2<TKey, TValue>(dictionary: Dictionary_2<TKey, TValue>, key: TKey): ref<TValue>;
|
|
1606
|
+
static setCount<T>(list: List_1<T>, count: int): void;
|
|
1589
1607
|
}
|
|
1590
1608
|
|
|
1591
1609
|
|
|
1592
1610
|
export type CollectionsMarshal = CollectionsMarshal$instance;
|
|
1593
1611
|
|
|
1594
1612
|
export abstract class ComEventsHelper$instance {
|
|
1595
|
-
static
|
|
1596
|
-
static
|
|
1613
|
+
static combine(rcw: unknown, iid: Guid, dispid: int, d: Function): void;
|
|
1614
|
+
static remove(rcw: unknown, iid: Guid, dispid: int, d: Function): Function;
|
|
1597
1615
|
}
|
|
1598
1616
|
|
|
1599
1617
|
|
|
1600
1618
|
export type ComEventsHelper = ComEventsHelper$instance;
|
|
1601
1619
|
|
|
1602
1620
|
export abstract class GCHandleExtensions$instance {
|
|
1603
|
-
static
|
|
1604
|
-
static
|
|
1621
|
+
static getAddressOfArrayData<T>(handle: PinnedGCHandle_1<T[]>): ptr<T>;
|
|
1622
|
+
static getAddressOfStringData(handle: PinnedGCHandle_1<CLROf<string>>): ptr<char>;
|
|
1605
1623
|
}
|
|
1606
1624
|
|
|
1607
1625
|
|
|
1608
1626
|
export type GCHandleExtensions = GCHandleExtensions$instance;
|
|
1609
1627
|
|
|
1610
1628
|
export abstract class ImmutableCollectionsMarshal$instance {
|
|
1611
|
-
static
|
|
1612
|
-
static
|
|
1613
|
-
static
|
|
1629
|
+
static asArray<T>(array: ImmutableArray_1<T>): T[];
|
|
1630
|
+
static asImmutableArray<T>(array: T[]): ImmutableArray_1<T>;
|
|
1631
|
+
static asMemory<T>(builder: ImmutableArray_1_Builder<T>): Memory_1<T>;
|
|
1614
1632
|
}
|
|
1615
1633
|
|
|
1616
1634
|
|
|
1617
1635
|
export type ImmutableCollectionsMarshal = ImmutableCollectionsMarshal$instance;
|
|
1618
1636
|
|
|
1619
1637
|
export abstract class JsonMarshal$instance {
|
|
1620
|
-
static
|
|
1621
|
-
static
|
|
1638
|
+
static getRawUtf8PropertyName(property: JsonProperty): ReadOnlySpan_1<CLROf<byte>>;
|
|
1639
|
+
static getRawUtf8Value(element: JsonElement): ReadOnlySpan_1<CLROf<byte>>;
|
|
1622
1640
|
}
|
|
1623
1641
|
|
|
1624
1642
|
|
|
@@ -1627,275 +1645,275 @@ export type JsonMarshal = JsonMarshal$instance;
|
|
|
1627
1645
|
export abstract class Marshal$instance {
|
|
1628
1646
|
static readonly systemDefaultCharSize: int;
|
|
1629
1647
|
static readonly systemMaxDBCSCharSize: int;
|
|
1630
|
-
static
|
|
1631
|
-
static
|
|
1632
|
-
static
|
|
1633
|
-
static
|
|
1634
|
-
static
|
|
1635
|
-
static
|
|
1636
|
-
static
|
|
1637
|
-
static
|
|
1638
|
-
static
|
|
1639
|
-
static
|
|
1640
|
-
static
|
|
1641
|
-
static
|
|
1642
|
-
static
|
|
1643
|
-
static
|
|
1644
|
-
static
|
|
1645
|
-
static
|
|
1646
|
-
static
|
|
1647
|
-
static
|
|
1648
|
-
static
|
|
1649
|
-
static
|
|
1650
|
-
static
|
|
1651
|
-
static
|
|
1652
|
-
static
|
|
1653
|
-
static
|
|
1654
|
-
static
|
|
1655
|
-
static
|
|
1656
|
-
static
|
|
1657
|
-
static
|
|
1658
|
-
static
|
|
1659
|
-
static
|
|
1660
|
-
static
|
|
1661
|
-
static
|
|
1662
|
-
static
|
|
1663
|
-
static
|
|
1664
|
-
static
|
|
1665
|
-
static
|
|
1666
|
-
static
|
|
1667
|
-
static
|
|
1668
|
-
static
|
|
1669
|
-
static
|
|
1670
|
-
static
|
|
1671
|
-
static
|
|
1672
|
-
static
|
|
1673
|
-
static
|
|
1674
|
-
static
|
|
1675
|
-
static
|
|
1676
|
-
static
|
|
1677
|
-
static
|
|
1678
|
-
static
|
|
1679
|
-
static
|
|
1680
|
-
static
|
|
1681
|
-
static
|
|
1682
|
-
static
|
|
1683
|
-
static
|
|
1684
|
-
static
|
|
1685
|
-
static
|
|
1686
|
-
static
|
|
1687
|
-
static
|
|
1688
|
-
static
|
|
1689
|
-
static
|
|
1690
|
-
static
|
|
1691
|
-
static
|
|
1692
|
-
static
|
|
1693
|
-
static
|
|
1694
|
-
static
|
|
1695
|
-
static
|
|
1696
|
-
static
|
|
1697
|
-
static
|
|
1698
|
-
static
|
|
1699
|
-
static
|
|
1700
|
-
static
|
|
1701
|
-
static
|
|
1702
|
-
static
|
|
1703
|
-
static
|
|
1704
|
-
static
|
|
1705
|
-
static
|
|
1706
|
-
static
|
|
1707
|
-
static
|
|
1708
|
-
static
|
|
1709
|
-
static
|
|
1710
|
-
static
|
|
1711
|
-
static
|
|
1712
|
-
static
|
|
1713
|
-
static
|
|
1714
|
-
static
|
|
1715
|
-
static
|
|
1716
|
-
static
|
|
1717
|
-
static
|
|
1718
|
-
static
|
|
1719
|
-
static
|
|
1720
|
-
static
|
|
1721
|
-
static
|
|
1722
|
-
static
|
|
1723
|
-
static
|
|
1724
|
-
static
|
|
1725
|
-
static
|
|
1726
|
-
static
|
|
1727
|
-
static
|
|
1728
|
-
static
|
|
1729
|
-
static
|
|
1730
|
-
static
|
|
1731
|
-
static
|
|
1732
|
-
static
|
|
1733
|
-
static
|
|
1734
|
-
static
|
|
1735
|
-
static
|
|
1736
|
-
static
|
|
1737
|
-
static
|
|
1738
|
-
static
|
|
1739
|
-
static
|
|
1740
|
-
static
|
|
1741
|
-
static
|
|
1742
|
-
static
|
|
1743
|
-
static
|
|
1744
|
-
static
|
|
1745
|
-
static
|
|
1746
|
-
static
|
|
1747
|
-
static
|
|
1748
|
-
static
|
|
1749
|
-
static
|
|
1750
|
-
static
|
|
1751
|
-
static
|
|
1752
|
-
static
|
|
1753
|
-
static
|
|
1754
|
-
static
|
|
1755
|
-
static
|
|
1756
|
-
static
|
|
1757
|
-
static
|
|
1758
|
-
static
|
|
1759
|
-
static
|
|
1760
|
-
static
|
|
1761
|
-
static
|
|
1762
|
-
static
|
|
1763
|
-
static
|
|
1764
|
-
static
|
|
1765
|
-
static
|
|
1766
|
-
static
|
|
1767
|
-
static
|
|
1768
|
-
static
|
|
1769
|
-
static
|
|
1770
|
-
static
|
|
1771
|
-
static
|
|
1772
|
-
static
|
|
1773
|
-
static
|
|
1774
|
-
static
|
|
1775
|
-
static
|
|
1776
|
-
static
|
|
1777
|
-
static
|
|
1778
|
-
static
|
|
1779
|
-
static
|
|
1780
|
-
static
|
|
1781
|
-
static
|
|
1782
|
-
static
|
|
1783
|
-
static
|
|
1784
|
-
static
|
|
1785
|
-
static
|
|
1786
|
-
static
|
|
1787
|
-
static
|
|
1788
|
-
static
|
|
1789
|
-
static
|
|
1790
|
-
static
|
|
1791
|
-
static
|
|
1792
|
-
static
|
|
1648
|
+
static addRef(pUnk: nint): int;
|
|
1649
|
+
static allocCoTaskMem(cb: int): nint;
|
|
1650
|
+
static allocHGlobal(cb: int): nint;
|
|
1651
|
+
static allocHGlobal(cb: nint): nint;
|
|
1652
|
+
static areComObjectsAvailableForCleanup(): boolean;
|
|
1653
|
+
static bindToMoniker(monikerName: string): unknown;
|
|
1654
|
+
static changeWrapperHandleStrength(otp: unknown, fIsWeak: boolean): void;
|
|
1655
|
+
static cleanupUnusedObjectsInCurrentContext(): void;
|
|
1656
|
+
static copy7(source: byte[], startIndex: int, destination: nint, length: int): void;
|
|
1657
|
+
static copy7(source: char[], startIndex: int, destination: nint, length: int): void;
|
|
1658
|
+
static copy7(source: double[], startIndex: int, destination: nint, length: int): void;
|
|
1659
|
+
static copy7(source: short[], startIndex: int, destination: nint, length: int): void;
|
|
1660
|
+
static copy7(source: int[], startIndex: int, destination: nint, length: int): void;
|
|
1661
|
+
static copy7(source: long[], startIndex: int, destination: nint, length: int): void;
|
|
1662
|
+
static copy7(source: nint, destination: byte[], startIndex: int, length: int): void;
|
|
1663
|
+
static copy7(source: nint, destination: char[], startIndex: int, length: int): void;
|
|
1664
|
+
static copy7(source: nint, destination: double[], startIndex: int, length: int): void;
|
|
1665
|
+
static copy7(source: nint, destination: short[], startIndex: int, length: int): void;
|
|
1666
|
+
static copy7(source: nint, destination: int[], startIndex: int, length: int): void;
|
|
1667
|
+
static copy7(source: nint, destination: long[], startIndex: int, length: int): void;
|
|
1668
|
+
static copy7(source: nint, destination: nint[], startIndex: int, length: int): void;
|
|
1669
|
+
static copy7(source: nint, destination: float[], startIndex: int, length: int): void;
|
|
1670
|
+
static copy7(source: nint[], startIndex: int, destination: nint, length: int): void;
|
|
1671
|
+
static copy7(source: float[], startIndex: int, destination: nint, length: int): void;
|
|
1672
|
+
static createAggregatedObject(pOuter: nint, o: unknown): nint;
|
|
1673
|
+
static createAggregatedObject<T>(pOuter: nint, o: T): nint;
|
|
1674
|
+
static createWrapperOfType(o: unknown, t: Type): unknown;
|
|
1675
|
+
static createWrapperOfType<T, TWrapper>(o: T): TWrapper;
|
|
1676
|
+
static destroyStructure(ptr: nint, structuretype: Type): void;
|
|
1677
|
+
static destroyStructure<T>(ptr: nint): void;
|
|
1678
|
+
static finalReleaseComObject(o: unknown): int;
|
|
1679
|
+
static freeBSTR(ptr: nint): void;
|
|
1680
|
+
static freeCoTaskMem(ptr: nint): void;
|
|
1681
|
+
static freeHGlobal(hglobal: nint): void;
|
|
1682
|
+
static generateGuidForType(type_: Type): Guid;
|
|
1683
|
+
static generateProgIdForType(type_: Type): string;
|
|
1684
|
+
static getComInterfaceForObject2(o: unknown, T: Type, mode: CustomQueryInterfaceMode): nint;
|
|
1685
|
+
static getComInterfaceForObject2(o: unknown, T: Type): nint;
|
|
1686
|
+
static getComInterfaceForObject2<T, TInterface>(o: T): nint;
|
|
1687
|
+
static getComObjectData(obj: unknown, key: unknown): unknown;
|
|
1688
|
+
static getDelegateForFunctionPointer(ptr: nint, t: Type): Function;
|
|
1689
|
+
static getDelegateForFunctionPointer<TDelegate>(ptr: nint): TDelegate;
|
|
1690
|
+
static getEndComSlot(t: Type): int;
|
|
1691
|
+
static getExceptionCode(): int;
|
|
1692
|
+
static getExceptionForHR3(errorCode: int, iid: { value: ref<Guid> }, pUnk: nint): Exception;
|
|
1693
|
+
static getExceptionForHR3(errorCode: int, errorInfo: nint): Exception;
|
|
1694
|
+
static getExceptionForHR3(errorCode: int): Exception;
|
|
1695
|
+
static getExceptionPointers(): nint;
|
|
1696
|
+
static getFunctionPointerForDelegate(d: Function): nint;
|
|
1697
|
+
static getFunctionPointerForDelegate<TDelegate>(d: TDelegate): nint;
|
|
1698
|
+
static getHINSTANCE(m: Module): nint;
|
|
1699
|
+
static getHRForException(e: Exception): int;
|
|
1700
|
+
static getHRForLastWin32Error(): int;
|
|
1701
|
+
static getIDispatchForObject(o: unknown): nint;
|
|
1702
|
+
static getIUnknownForObject(o: unknown): nint;
|
|
1703
|
+
static getLastPInvokeError(): int;
|
|
1704
|
+
static getLastPInvokeErrorMessage(): string;
|
|
1705
|
+
static getLastSystemError(): int;
|
|
1706
|
+
static getLastWin32Error(): int;
|
|
1707
|
+
static getNativeVariantForObject(obj: unknown, pDstNativeVariant: nint): void;
|
|
1708
|
+
static getNativeVariantForObject<T>(obj: T, pDstNativeVariant: nint): void;
|
|
1709
|
+
static getObjectForIUnknown(pUnk: nint): unknown;
|
|
1710
|
+
static getObjectForNativeVariant(pSrcNativeVariant: nint): unknown;
|
|
1711
|
+
static getObjectForNativeVariant<T>(pSrcNativeVariant: nint): T;
|
|
1712
|
+
static getObjectsForNativeVariants(aSrcNativeVariant: nint, cVars: int): unknown[];
|
|
1713
|
+
static getObjectsForNativeVariants<T>(aSrcNativeVariant: nint, cVars: int): T[];
|
|
1714
|
+
static getPInvokeErrorMessage(error: int): string;
|
|
1715
|
+
static getStartComSlot(t: Type): int;
|
|
1716
|
+
static getTypedObjectForIUnknown(pUnk: nint, t: Type): unknown;
|
|
1717
|
+
static getTypeFromCLSID(clsid: Guid): Type;
|
|
1718
|
+
static getTypeInfoName(typeInfo: ITypeInfo): string;
|
|
1719
|
+
static getUniqueObjectForIUnknown(unknown_: nint): unknown;
|
|
1720
|
+
static initHandle(safeHandle: SafeHandle, handle: nint): void;
|
|
1721
|
+
static isComObject(o: unknown): boolean;
|
|
1722
|
+
static isTypeVisibleFromCom(t: Type): boolean;
|
|
1723
|
+
static offsetOf2<T>(fieldName: string): nint;
|
|
1724
|
+
static offsetOf2(t: Type, fieldName: string): nint;
|
|
1725
|
+
static prelink(m: MethodInfo): void;
|
|
1726
|
+
static prelinkAll(c: Type): void;
|
|
1727
|
+
static ptrToStringAnsi2(ptr: nint, len: int): string;
|
|
1728
|
+
static ptrToStringAnsi2(ptr: nint): string;
|
|
1729
|
+
static ptrToStringAuto(ptr: nint, len: int): string;
|
|
1730
|
+
static ptrToStringAuto(ptr: nint): string;
|
|
1731
|
+
static ptrToStringBSTR(ptr: nint): string;
|
|
1732
|
+
static ptrToStringUni2(ptr: nint, len: int): string;
|
|
1733
|
+
static ptrToStringUni2(ptr: nint): string;
|
|
1734
|
+
static ptrToStringUTF82(ptr: nint, byteLen: int): string;
|
|
1735
|
+
static ptrToStringUTF82(ptr: nint): string;
|
|
1736
|
+
static ptrToStructure2(ptr: nint, structure: unknown): void;
|
|
1737
|
+
static ptrToStructure2(ptr: nint, structureType: Type): unknown;
|
|
1738
|
+
static ptrToStructure2<T>(ptr: nint, structure: T): void;
|
|
1739
|
+
static ptrToStructure2<T>(ptr: nint): T;
|
|
1740
|
+
static queryInterface(pUnk: nint, iid: { value: ref<Guid> }, ppv: { value: ref<nint> }): int;
|
|
1741
|
+
static readByte2(ptr: nint, ofs: int): byte;
|
|
1742
|
+
static readByte2(ptr: nint): byte;
|
|
1743
|
+
static readByte2(ptr: unknown, ofs: int): byte;
|
|
1744
|
+
static readInt162(ptr: nint, ofs: int): short;
|
|
1745
|
+
static readInt162(ptr: nint): short;
|
|
1746
|
+
static readInt162(ptr: unknown, ofs: int): short;
|
|
1747
|
+
static readInt322(ptr: nint, ofs: int): int;
|
|
1748
|
+
static readInt322(ptr: nint): int;
|
|
1749
|
+
static readInt322(ptr: unknown, ofs: int): int;
|
|
1750
|
+
static readInt642(ptr: nint, ofs: int): long;
|
|
1751
|
+
static readInt642(ptr: nint): long;
|
|
1752
|
+
static readInt642(ptr: unknown, ofs: int): long;
|
|
1753
|
+
static readIntPtr2(ptr: nint, ofs: int): nint;
|
|
1754
|
+
static readIntPtr2(ptr: nint): nint;
|
|
1755
|
+
static readIntPtr2(ptr: unknown, ofs: int): nint;
|
|
1756
|
+
static reAllocCoTaskMem(pv: nint, cb: int): nint;
|
|
1757
|
+
static reAllocHGlobal(pv: nint, cb: nint): nint;
|
|
1758
|
+
static release(pUnk: nint): int;
|
|
1759
|
+
static releaseComObject(o: unknown): int;
|
|
1760
|
+
static secureStringToBSTR(s: SecureString): nint;
|
|
1761
|
+
static secureStringToCoTaskMemAnsi(s: SecureString): nint;
|
|
1762
|
+
static secureStringToCoTaskMemUnicode(s: SecureString): nint;
|
|
1763
|
+
static secureStringToGlobalAllocAnsi(s: SecureString): nint;
|
|
1764
|
+
static secureStringToGlobalAllocUnicode(s: SecureString): nint;
|
|
1765
|
+
static setComObjectData(obj: unknown, key: unknown, data: unknown): boolean;
|
|
1766
|
+
static setLastPInvokeError(error: int): void;
|
|
1767
|
+
static setLastSystemError(error: int): void;
|
|
1768
|
+
static sizeOf4<T>(): int;
|
|
1769
|
+
static sizeOf4(structure: unknown): int;
|
|
1770
|
+
static sizeOf4(t: Type): int;
|
|
1771
|
+
static sizeOf4<T>(structure: T): int;
|
|
1772
|
+
static stringToBSTR(s: string): nint;
|
|
1773
|
+
static stringToCoTaskMemAnsi(s: string): nint;
|
|
1774
|
+
static stringToCoTaskMemAuto(s: string): nint;
|
|
1775
|
+
static stringToCoTaskMemUni(s: string): nint;
|
|
1776
|
+
static stringToCoTaskMemUTF8(s: string): nint;
|
|
1777
|
+
static stringToHGlobalAnsi(s: string): nint;
|
|
1778
|
+
static stringToHGlobalAuto(s: string): nint;
|
|
1779
|
+
static stringToHGlobalUni(s: string): nint;
|
|
1780
|
+
static structureToPtr(structure: unknown, ptr: nint, fDeleteOld: boolean): void;
|
|
1781
|
+
static structureToPtr<T>(structure: T, ptr: nint, fDeleteOld: boolean): void;
|
|
1782
|
+
static throwExceptionForHR3(errorCode: int, iid: { value: ref<Guid> }, pUnk: nint): void;
|
|
1783
|
+
static throwExceptionForHR3(errorCode: int, errorInfo: nint): void;
|
|
1784
|
+
static throwExceptionForHR3(errorCode: int): void;
|
|
1785
|
+
static unsafeAddrOfPinnedArrayElement(arr: ClrArray, index: int): nint;
|
|
1786
|
+
static unsafeAddrOfPinnedArrayElement<T>(arr: T[], index: int): nint;
|
|
1787
|
+
static writeByte3(ptr: nint, val: byte): void;
|
|
1788
|
+
static writeByte3(ptr: nint, ofs: int, val: byte): void;
|
|
1789
|
+
static writeByte3(ptr: unknown, ofs: int, val: byte): void;
|
|
1790
|
+
static writeInt166(ptr: nint, val: char): void;
|
|
1791
|
+
static writeInt166(ptr: nint, val: short): void;
|
|
1792
|
+
static writeInt166(ptr: nint, ofs: int, val: char): void;
|
|
1793
|
+
static writeInt166(ptr: nint, ofs: int, val: short): void;
|
|
1794
|
+
static writeInt166(ptr: { value: unknown }, ofs: int, val: char): void;
|
|
1795
|
+
static writeInt166(ptr: unknown, ofs: int, val: short): void;
|
|
1796
|
+
static writeInt322(ptr: nint, ofs: int, val: int): void;
|
|
1797
|
+
static writeInt322(ptr: nint, val: int): void;
|
|
1798
|
+
static writeInt322(ptr: unknown, ofs: int, val: int): void;
|
|
1799
|
+
static writeInt642(ptr: nint, ofs: int, val: long): void;
|
|
1800
|
+
static writeInt642(ptr: nint, val: long): void;
|
|
1801
|
+
static writeInt642(ptr: unknown, ofs: int, val: long): void;
|
|
1802
|
+
static writeIntPtr(ptr: nint, ofs: int, val: nint): void;
|
|
1803
|
+
static writeIntPtr(ptr: nint, val: nint): void;
|
|
1804
|
+
static writeIntPtr(ptr: unknown, ofs: int, val: nint): void;
|
|
1805
|
+
static zeroFreeBSTR(s: nint): void;
|
|
1806
|
+
static zeroFreeCoTaskMemAnsi(s: nint): void;
|
|
1807
|
+
static zeroFreeCoTaskMemUnicode(s: nint): void;
|
|
1808
|
+
static zeroFreeCoTaskMemUTF8(s: nint): void;
|
|
1809
|
+
static zeroFreeGlobalAllocAnsi(s: nint): void;
|
|
1810
|
+
static zeroFreeGlobalAllocUnicode(s: nint): void;
|
|
1793
1811
|
}
|
|
1794
1812
|
|
|
1795
1813
|
|
|
1796
1814
|
export type Marshal = Marshal$instance;
|
|
1797
1815
|
|
|
1798
1816
|
export abstract class MemoryMarshal$instance {
|
|
1799
|
-
static
|
|
1800
|
-
static
|
|
1801
|
-
static
|
|
1802
|
-
static
|
|
1803
|
-
static
|
|
1804
|
-
static
|
|
1805
|
-
static
|
|
1806
|
-
static
|
|
1807
|
-
static
|
|
1808
|
-
static
|
|
1809
|
-
static
|
|
1810
|
-
static
|
|
1811
|
-
static
|
|
1812
|
-
static
|
|
1813
|
-
static
|
|
1814
|
-
static
|
|
1815
|
-
static
|
|
1816
|
-
static
|
|
1817
|
-
static
|
|
1818
|
-
static
|
|
1819
|
-
static
|
|
1820
|
-
static
|
|
1821
|
-
static
|
|
1822
|
-
static
|
|
1823
|
-
static
|
|
1817
|
+
static asBytes2<T extends unknown>(span: ReadOnlySpan_1<T>): ReadOnlySpan_1<CLROf<byte>>;
|
|
1818
|
+
static asBytes2<T extends unknown>(span: Span_1<T>): Span_1<CLROf<byte>>;
|
|
1819
|
+
static asMemory<T>(memory: ReadOnlyMemory_1<T>): Memory_1<T>;
|
|
1820
|
+
static asRef2<T extends unknown>(span: ReadOnlySpan_1<CLROf<byte>>): ref<T>;
|
|
1821
|
+
static asRef2<T extends unknown>(span: Span_1<CLROf<byte>>): ref<T>;
|
|
1822
|
+
static cast2<TFrom extends unknown, TTo extends unknown>(span: ReadOnlySpan_1<TFrom>): ReadOnlySpan_1<TTo>;
|
|
1823
|
+
static cast2<TFrom extends unknown, TTo extends unknown>(span: Span_1<TFrom>): Span_1<TTo>;
|
|
1824
|
+
static createFromPinnedArray<T>(array: T[], start: int, length: int): Memory_1<T>;
|
|
1825
|
+
static createReadOnlySpan<T>(reference: { value: ref<T> }, length: int): ReadOnlySpan_1<T>;
|
|
1826
|
+
static createReadOnlySpanFromNullTerminated2(value: ptr<byte>): ReadOnlySpan_1<CLROf<byte>>;
|
|
1827
|
+
static createReadOnlySpanFromNullTerminated2(value: ptr<char>): ReadOnlySpan_1<CLROf<char>>;
|
|
1828
|
+
static createSpan<T>(reference: { value: ref<T> }, length: int): Span_1<T>;
|
|
1829
|
+
static getArrayDataReference2(array: ClrArray): ref<byte>;
|
|
1830
|
+
static getArrayDataReference2<T>(array: T[]): ref<T>;
|
|
1831
|
+
static getReference2<T>(span: ReadOnlySpan_1<T>): ref<T>;
|
|
1832
|
+
static getReference2<T>(span: Span_1<T>): ref<T>;
|
|
1833
|
+
static read<T extends unknown>(source: ReadOnlySpan_1<CLROf<byte>>): T;
|
|
1834
|
+
static toEnumerable<T>(memory: ReadOnlyMemory_1<T>): IEnumerable_1<T>;
|
|
1835
|
+
static tryGetArray<T>(memory: ReadOnlyMemory_1<T>, segment: { value: ref<ArraySegment_1<T>> }): boolean;
|
|
1836
|
+
static tryGetMemoryManager2<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: { value: ref<TManager> }, start: { value: ref<int> }, length: { value: ref<int> }): boolean;
|
|
1837
|
+
static tryGetMemoryManager2<T, TManager extends MemoryManager_1<T>>(memory: ReadOnlyMemory_1<T>, manager: { value: ref<TManager> }): boolean;
|
|
1838
|
+
static tryGetString(memory: ReadOnlyMemory_1<CLROf<char>>, text: { value: ref<string> }, start: { value: ref<int> }, length: { value: ref<int> }): boolean;
|
|
1839
|
+
static tryRead<T extends unknown>(source: ReadOnlySpan_1<CLROf<byte>>, value: { value: ref<T> }): boolean;
|
|
1840
|
+
static tryWrite<T extends unknown>(destination: Span_1<CLROf<byte>>, value: { value: ref<T> }): boolean;
|
|
1841
|
+
static write<T extends unknown>(destination: Span_1<CLROf<byte>>, value: { value: ref<T> }): void;
|
|
1824
1842
|
}
|
|
1825
1843
|
|
|
1826
1844
|
|
|
1827
1845
|
export type MemoryMarshal = MemoryMarshal$instance;
|
|
1828
1846
|
|
|
1829
1847
|
export abstract class NativeLibrary$instance {
|
|
1830
|
-
static
|
|
1831
|
-
static
|
|
1832
|
-
static
|
|
1833
|
-
static
|
|
1834
|
-
static
|
|
1835
|
-
static
|
|
1836
|
-
static
|
|
1837
|
-
static
|
|
1838
|
-
static
|
|
1848
|
+
static free(handle: nint): void;
|
|
1849
|
+
static getExport(handle: nint, name: string): nint;
|
|
1850
|
+
static getMainProgramHandle(): nint;
|
|
1851
|
+
static load2(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>): nint;
|
|
1852
|
+
static load2(libraryPath: string): nint;
|
|
1853
|
+
static setDllImportResolver(assembly: Assembly, resolver: DllImportResolver): void;
|
|
1854
|
+
static tryGetExport(handle: nint, name: string, address: { value: ref<nint> }): boolean;
|
|
1855
|
+
static tryLoad(libraryPath: string, handle: { value: ref<nint> }): boolean;
|
|
1856
|
+
static tryLoad(libraryName: string, assembly: Assembly, searchPath: Nullable_1<DllImportSearchPath>, handle: { value: ref<nint> }): boolean;
|
|
1839
1857
|
}
|
|
1840
1858
|
|
|
1841
1859
|
|
|
1842
1860
|
export type NativeLibrary = NativeLibrary$instance;
|
|
1843
1861
|
|
|
1844
1862
|
export abstract class NativeMemory$instance {
|
|
1845
|
-
static
|
|
1846
|
-
static
|
|
1847
|
-
static
|
|
1848
|
-
static
|
|
1849
|
-
static
|
|
1850
|
-
static
|
|
1851
|
-
static
|
|
1852
|
-
static
|
|
1853
|
-
static
|
|
1854
|
-
static
|
|
1855
|
-
static
|
|
1856
|
-
static
|
|
1863
|
+
static alignedAlloc(byteCount: nuint, alignment: nuint): ptr<void>;
|
|
1864
|
+
static alignedFree(ptr: ptr<void>): void;
|
|
1865
|
+
static alignedRealloc(ptr: ptr<void>, byteCount: nuint, alignment: nuint): ptr<void>;
|
|
1866
|
+
static alloc(elementCount: nuint, elementSize: nuint): ptr<void>;
|
|
1867
|
+
static alloc(byteCount: nuint): ptr<void>;
|
|
1868
|
+
static allocZeroed2(elementCount: nuint, elementSize: nuint): ptr<void>;
|
|
1869
|
+
static allocZeroed2(byteCount: nuint): ptr<void>;
|
|
1870
|
+
static clear(ptr: ptr<void>, byteCount: nuint): void;
|
|
1871
|
+
static copy(source: ptr<void>, destination: ptr<void>, byteCount: nuint): void;
|
|
1872
|
+
static fill(ptr: ptr<void>, byteCount: nuint, value: byte): void;
|
|
1873
|
+
static free(ptr: ptr<void>): void;
|
|
1874
|
+
static realloc(ptr: ptr<void>, byteCount: nuint): ptr<void>;
|
|
1857
1875
|
}
|
|
1858
1876
|
|
|
1859
1877
|
|
|
1860
1878
|
export type NativeMemory = NativeMemory$instance;
|
|
1861
1879
|
|
|
1862
1880
|
export abstract class RuntimeEnvironment$instance {
|
|
1863
|
-
static readonly
|
|
1864
|
-
static
|
|
1865
|
-
static
|
|
1866
|
-
static
|
|
1867
|
-
static
|
|
1868
|
-
static
|
|
1881
|
+
static readonly systemConfigurationFile: string;
|
|
1882
|
+
static fromGlobalAccessCache(a: Assembly): boolean;
|
|
1883
|
+
static getRuntimeDirectory(): string;
|
|
1884
|
+
static getRuntimeInterfaceAsIntPtr(clsid: Guid, riid: Guid): nint;
|
|
1885
|
+
static getRuntimeInterfaceAsObject(clsid: Guid, riid: Guid): unknown;
|
|
1886
|
+
static getSystemVersion(): string;
|
|
1869
1887
|
}
|
|
1870
1888
|
|
|
1871
1889
|
|
|
1872
1890
|
export type RuntimeEnvironment = RuntimeEnvironment$instance;
|
|
1873
1891
|
|
|
1874
1892
|
export abstract class RuntimeInformation$instance {
|
|
1875
|
-
static readonly
|
|
1876
|
-
static readonly
|
|
1877
|
-
static readonly
|
|
1878
|
-
static readonly
|
|
1879
|
-
static readonly
|
|
1880
|
-
static
|
|
1893
|
+
static readonly runtimeIdentifier: string;
|
|
1894
|
+
static readonly processArchitecture: Architecture;
|
|
1895
|
+
static readonly osDescription: string;
|
|
1896
|
+
static readonly osArchitecture: Architecture;
|
|
1897
|
+
static readonly frameworkDescription: string;
|
|
1898
|
+
static isOSPlatform(osPlatform: OSPlatform): boolean;
|
|
1881
1899
|
}
|
|
1882
1900
|
|
|
1883
1901
|
|
|
1884
1902
|
export type RuntimeInformation = RuntimeInformation$instance;
|
|
1885
1903
|
|
|
1886
1904
|
export abstract class SequenceMarshal$instance {
|
|
1887
|
-
static
|
|
1888
|
-
static
|
|
1889
|
-
static
|
|
1890
|
-
static
|
|
1905
|
+
static tryGetArray<T>(sequence: ReadOnlySequence_1<T>, segment: { value: ref<ArraySegment_1<T>> }): boolean;
|
|
1906
|
+
static tryGetReadOnlyMemory<T>(sequence: ReadOnlySequence_1<T>, memory: { value: ref<ReadOnlyMemory_1<T>> }): boolean;
|
|
1907
|
+
static tryGetReadOnlySequenceSegment<T>(sequence: ReadOnlySequence_1<T>, startSegment: { value: ref<ReadOnlySequenceSegment_1<T>> }, startIndex: { value: ref<int> }, endSegment: { value: ref<ReadOnlySequenceSegment_1<T>> }, endIndex: { value: ref<int> }): boolean;
|
|
1908
|
+
static tryRead<T extends unknown>(reader: { value: ref<SequenceReader_1<CLROf<byte>>> }, value: { value: ref<T> }): boolean;
|
|
1891
1909
|
}
|
|
1892
1910
|
|
|
1893
1911
|
|
|
1894
1912
|
export type SequenceMarshal = SequenceMarshal$instance;
|
|
1895
1913
|
|
|
1896
1914
|
export abstract class TypeMapping$instance {
|
|
1897
|
-
static
|
|
1898
|
-
static
|
|
1915
|
+
static getOrCreateExternalTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<CLROf<string>, Type>;
|
|
1916
|
+
static getOrCreateProxyTypeMapping<TTypeMapGroup>(): IReadOnlyDictionary_2<Type, Type>;
|
|
1899
1917
|
}
|
|
1900
1918
|
|
|
1901
1919
|
|