@tsonic/dotnet-pure
Version:
TypeScript type definitions for .NET 10 BCL (Base Class Library) - CLR naming
154 lines (150 loc) • 17.7 kB
TypeScript
// Generated by tsbindgen - Architecture
// Namespace: System.Runtime.InteropServices
// Facade - Public API Surface
// Import internal declarations
import * as Internal from './System.Runtime.InteropServices/internal/index.js';
// Cross-namespace type imports for constraints
import type { SafeHandleZeroOrMinusOneIsInvalid } from './Microsoft.Win32.SafeHandles/internal/index.js';
import type { MemoryManager_1, ReadOnlySequence_1, ReadOnlySequenceSegment_1, SequenceReader_1 } from './System.Buffers/internal/index.js';
import type { Dictionary_2, Dictionary_2_AlternateLookup_1, IEnumerable_1, IList_1, IReadOnlyDictionary_2, List_1 } from './System.Collections.Generic/internal/index.js';
import type { ImmutableArray_1, ImmutableArray_1_Builder } from './System.Collections.Immutable/internal/index.js';
import type { BitArray, IDictionary } from './System.Collections/internal/index.js';
import type { NumberStyles } from './System.Globalization/internal/index.js';
import type { IAdditionOperators_3, IAdditiveIdentity_2, IBinaryFloatingPointIeee754_1, IBinaryInteger_1, IBinaryNumber_1, IBitwiseOperators_3, IComparisonOperators_3, IDecrementOperators_1, IDivisionOperators_3, IEqualityOperators_3, IExponentialFunctions_1, IFloatingPoint_1, IFloatingPointConstants_1, IFloatingPointIeee754_1, IHyperbolicFunctions_1, IIncrementOperators_1, ILogarithmicFunctions_1, IMinMaxValue_1, IModulusOperators_3, IMultiplicativeIdentity_2, IMultiplyOperators_3, INumber_1, INumberBase_1, IPowerFunctions_1, IRootFunctions_1, ISignedNumber_1, ISubtractionOperators_3, ITrigonometricFunctions_1, IUnaryNegationOperators_2, IUnaryPlusOperators_2 } from './System.Numerics/internal/index.js';
import type { Assembly, CustomAttributeData, EventAttributes, EventInfo, ICustomAttributeProvider, MemberInfo, MemberTypes, MethodBase, MethodInfo, Module } from './System.Reflection/internal/index.js';
import type { CriticalFinalizerObject } from './System.Runtime.ConstrainedExecution/internal/index.js';
import type { ITypeInfo } from './System.Runtime.InteropServices.ComTypes/internal/index.js';
import type { ISerializable, SerializationInfo, StreamingContext } from './System.Runtime.Serialization/internal/index.js';
import type { SecureString } from './System.Security/internal/index.js';
import type { JsonElement, JsonProperty } from './System.Text.Json/internal/index.js';
import type { Action_1, Array as ClrArray, ArraySegment_1, AsyncCallback, Attribute, Boolean as ClrBoolean, Byte, Char, Decimal, Delegate, Double, Enum, Exception, Guid, IAsyncResult, ICloneable, IComparable, IComparable_1, IConvertible, IDisposable, IEquatable_1, IFormatProvider, IFormattable, Int16, Int32, Int64, IntPtr, IParsable_1, ISpanFormattable, ISpanParsable_1, IUtf8SpanFormattable, IUtf8SpanParsable_1, MarshalByRefObject, Memory_1, MidpointRounding, MulticastDelegate, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, RuntimeTypeHandle, Single, Span_1, String as ClrString, SystemException, Type, TypeCode, UInt32, UInt64, UIntPtr, ValueTuple_2, ValueType, Void } from './System/internal/index.js';
// Public API exports (curated - no internal $instance/$views leakage)
export { ImmutableCollectionsMarshal$instance as ImmutableCollectionsMarshal } from './System.Runtime.InteropServices/internal/index.js';
export { SequenceMarshal$instance as SequenceMarshal } from './System.Runtime.InteropServices/internal/index.js';
export { GCHandle as GCHandle_0 } from './System.Runtime.InteropServices/internal/index.js';
export { Marshal$instance as Marshal } from './System.Runtime.InteropServices/internal/index.js';
export { MemoryMarshal$instance as MemoryMarshal } from './System.Runtime.InteropServices/internal/index.js';
export { NativeLibrary$instance as NativeLibrary } from './System.Runtime.InteropServices/internal/index.js';
export { ComWrappers as ComWrappers } from './System.Runtime.InteropServices/internal/index.js';
export { ComWrappers_ComInterfaceEntry as ComWrappers_ComInterfaceEntry } from './System.Runtime.InteropServices/internal/index.js';
export { ComWrappers_ComInterfaceDispatch as ComWrappers_ComInterfaceDispatch } from './System.Runtime.InteropServices/internal/index.js';
export { AllowReversePInvokeCallsAttribute as AllowReversePInvokeCallsAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { Architecture as Architecture } from './System.Runtime.InteropServices/internal/index.js';
export { ArrayWithOffset as ArrayWithOffset } from './System.Runtime.InteropServices/internal/index.js';
export { BestFitMappingAttribute as BestFitMappingAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { BStrWrapper as BStrWrapper } from './System.Runtime.InteropServices/internal/index.js';
export { CallingConvention as CallingConvention } from './System.Runtime.InteropServices/internal/index.js';
export { CharSet as CharSet } from './System.Runtime.InteropServices/internal/index.js';
export { ClassInterfaceAttribute as ClassInterfaceAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ClassInterfaceType as ClassInterfaceType } from './System.Runtime.InteropServices/internal/index.js';
export { CLong as CLong } from './System.Runtime.InteropServices/internal/index.js';
export { CoClassAttribute as CoClassAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { CollectionsMarshal$instance as CollectionsMarshal } from './System.Runtime.InteropServices/internal/index.js';
export { ComDefaultInterfaceAttribute as ComDefaultInterfaceAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComEventInterfaceAttribute as ComEventInterfaceAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { COMException as COMException } from './System.Runtime.InteropServices/internal/index.js';
export { ComImportAttribute as ComImportAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComInterfaceType as ComInterfaceType } from './System.Runtime.InteropServices/internal/index.js';
export { ComMemberType as ComMemberType } from './System.Runtime.InteropServices/internal/index.js';
export { ComSourceInterfacesAttribute as ComSourceInterfacesAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComVisibleAttribute as ComVisibleAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { CreateObjectFlags as CreateObjectFlags } from './System.Runtime.InteropServices/internal/index.js';
export { CreateComInterfaceFlags as CreateComInterfaceFlags } from './System.Runtime.InteropServices/internal/index.js';
export { CreatedWrapperFlags as CreatedWrapperFlags } from './System.Runtime.InteropServices/internal/index.js';
export { CriticalHandle as CriticalHandle } from './System.Runtime.InteropServices/internal/index.js';
export { CULong as CULong } from './System.Runtime.InteropServices/internal/index.js';
export { CurrencyWrapper as CurrencyWrapper } from './System.Runtime.InteropServices/internal/index.js';
export { CustomQueryInterfaceMode as CustomQueryInterfaceMode } from './System.Runtime.InteropServices/internal/index.js';
export { CustomQueryInterfaceResult as CustomQueryInterfaceResult } from './System.Runtime.InteropServices/internal/index.js';
export { DefaultCharSetAttribute as DefaultCharSetAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { DefaultDllImportSearchPathsAttribute as DefaultDllImportSearchPathsAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { DefaultParameterValueAttribute as DefaultParameterValueAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { DispatchWrapper as DispatchWrapper } from './System.Runtime.InteropServices/internal/index.js';
export { DispIdAttribute as DispIdAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { DllImportAttribute as DllImportAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { DllImportSearchPath as DllImportSearchPath } from './System.Runtime.InteropServices/internal/index.js';
export { ErrorWrapper as ErrorWrapper } from './System.Runtime.InteropServices/internal/index.js';
export { ExternalException as ExternalException } from './System.Runtime.InteropServices/internal/index.js';
export { FieldOffsetAttribute as FieldOffsetAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { GCHandle_1 as GCHandle } from './System.Runtime.InteropServices/internal/index.js';
export { GCHandleExtensions$instance as GCHandleExtensions } from './System.Runtime.InteropServices/internal/index.js';
export { GCHandleType as GCHandleType } from './System.Runtime.InteropServices/internal/index.js';
export { GuidAttribute as GuidAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { HandleRef as HandleRef } from './System.Runtime.InteropServices/internal/index.js';
export type ICustomAdapter = Internal.ICustomAdapter;
export type ICustomFactory = Internal.ICustomFactory;
export type ICustomMarshaler = Internal.ICustomMarshaler;
export type ICustomQueryInterface = Internal.ICustomQueryInterface;
export type IDynamicInterfaceCastable = Internal.IDynamicInterfaceCastable;
export { DynamicInterfaceCastableImplementationAttribute as DynamicInterfaceCastableImplementationAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { InAttribute as InAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { InterfaceTypeAttribute as InterfaceTypeAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { InvalidComObjectException as InvalidComObjectException } from './System.Runtime.InteropServices/internal/index.js';
export { InvalidOleVariantTypeException as InvalidOleVariantTypeException } from './System.Runtime.InteropServices/internal/index.js';
export { LayoutKind as LayoutKind } from './System.Runtime.InteropServices/internal/index.js';
export { LCIDConversionAttribute as LCIDConversionAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { LibraryImportAttribute as LibraryImportAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { MarshalAsAttribute as MarshalAsAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { MarshalDirectiveException as MarshalDirectiveException } from './System.Runtime.InteropServices/internal/index.js';
export type DllImportResolver = Internal.DllImportResolver;
export { NativeMemory$instance as NativeMemory } from './System.Runtime.InteropServices/internal/index.js';
export { NFloat as NFloat } from './System.Runtime.InteropServices/internal/index.js';
export { OptionalAttribute as OptionalAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { OSPlatform as OSPlatform } from './System.Runtime.InteropServices/internal/index.js';
export { OutAttribute as OutAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { PinnedGCHandle_1 as PinnedGCHandle } from './System.Runtime.InteropServices/internal/index.js';
export { PosixSignal as PosixSignal } from './System.Runtime.InteropServices/internal/index.js';
export { PosixSignalContext as PosixSignalContext } from './System.Runtime.InteropServices/internal/index.js';
export { PosixSignalRegistration as PosixSignalRegistration } from './System.Runtime.InteropServices/internal/index.js';
export { PreserveSigAttribute as PreserveSigAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ProgIdAttribute as ProgIdAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { RuntimeInformation$instance as RuntimeInformation } from './System.Runtime.InteropServices/internal/index.js';
export { SafeArrayRankMismatchException as SafeArrayRankMismatchException } from './System.Runtime.InteropServices/internal/index.js';
export { SafeArrayTypeMismatchException as SafeArrayTypeMismatchException } from './System.Runtime.InteropServices/internal/index.js';
export { SafeBuffer as SafeBuffer } from './System.Runtime.InteropServices/internal/index.js';
export { SafeHandle as SafeHandle } from './System.Runtime.InteropServices/internal/index.js';
export { SEHException as SEHException } from './System.Runtime.InteropServices/internal/index.js';
export { StringMarshalling as StringMarshalling } from './System.Runtime.InteropServices/internal/index.js';
export { StructLayoutAttribute as StructLayoutAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { SuppressGCTransitionAttribute as SuppressGCTransitionAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeIdentifierAttribute as TypeIdentifierAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeMapAttribute_1 as TypeMapAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeMapAssociationAttribute_1 as TypeMapAssociationAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeMapAssemblyTargetAttribute_1 as TypeMapAssemblyTargetAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeMapping$instance as TypeMapping } from './System.Runtime.InteropServices/internal/index.js';
export { UnknownWrapper as UnknownWrapper } from './System.Runtime.InteropServices/internal/index.js';
export { UnmanagedCallConvAttribute as UnmanagedCallConvAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { UnmanagedCallersOnlyAttribute as UnmanagedCallersOnlyAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { UnmanagedFunctionPointerAttribute as UnmanagedFunctionPointerAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { UnmanagedType as UnmanagedType } from './System.Runtime.InteropServices/internal/index.js';
export { VarEnum as VarEnum } from './System.Runtime.InteropServices/internal/index.js';
export { VariantWrapper as VariantWrapper } from './System.Runtime.InteropServices/internal/index.js';
export { WasmImportLinkageAttribute as WasmImportLinkageAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { WeakGCHandle_1 as WeakGCHandle } from './System.Runtime.InteropServices/internal/index.js';
export { ComEventsHelper$instance as ComEventsHelper } from './System.Runtime.InteropServices/internal/index.js';
export { StandardOleMarshalObject as StandardOleMarshalObject } from './System.Runtime.InteropServices/internal/index.js';
export { AssemblyRegistrationFlags as AssemblyRegistrationFlags } from './System.Runtime.InteropServices/internal/index.js';
export { AutomationProxyAttribute as AutomationProxyAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComAliasNameAttribute as ComAliasNameAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComAwareEventInfo as ComAwareEventInfo } from './System.Runtime.InteropServices/internal/index.js';
export { ComCompatibleVersionAttribute as ComCompatibleVersionAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComConversionLossAttribute as ComConversionLossAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComRegisterFunctionAttribute as ComRegisterFunctionAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ComUnregisterFunctionAttribute as ComUnregisterFunctionAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ExporterEventKind as ExporterEventKind } from './System.Runtime.InteropServices/internal/index.js';
export { HandleCollector as HandleCollector } from './System.Runtime.InteropServices/internal/index.js';
export { ImportedFromTypeLibAttribute as ImportedFromTypeLibAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { ManagedToNativeComInteropStubAttribute as ManagedToNativeComInteropStubAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { PrimaryInteropAssemblyAttribute as PrimaryInteropAssemblyAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { RegistrationClassContext as RegistrationClassContext } from './System.Runtime.InteropServices/internal/index.js';
export { RegistrationConnectionType as RegistrationConnectionType } from './System.Runtime.InteropServices/internal/index.js';
export { RuntimeEnvironment$instance as RuntimeEnvironment } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibFuncAttribute as TypeLibFuncAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibFuncFlags as TypeLibFuncFlags } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibImportClassAttribute as TypeLibImportClassAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibTypeAttribute as TypeLibTypeAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibTypeFlags as TypeLibTypeFlags } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibVarAttribute as TypeLibVarAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibVarFlags as TypeLibVarFlags } from './System.Runtime.InteropServices/internal/index.js';
export { TypeLibVersionAttribute as TypeLibVersionAttribute } from './System.Runtime.InteropServices/internal/index.js';
export { JsonMarshal$instance as JsonMarshal } from './System.Runtime.InteropServices/internal/index.js';