RingDotNetfor Ring

System.Runtime.InteropServices

93 wrapped types. Load them with using { "System.Runtime.InteropServices" }. Click a class to open it.

ArrayWithOffset AutomationProxyAttribute BestFitMappingAttribute BStrWrapper ClassInterfaceAttribute CLong CoClassAttribute CollectionsMarshal ComAliasNameAttribute ComAwareEventInfo ComCompatibleVersionAttribute ComConversionLossAttribute ComDefaultInterfaceAttribute ComEventInterfaceAttribute ComEventsHelper COMException ComImportAttribute ComRegisterFunctionAttribute ComSourceInterfacesAttribute ComUnregisterFunctionAttribute ComVisibleAttribute ComWrappers ComWrappersComInterfaceDispatch ComWrappersComInterfaceEntry CriticalHandle CULong DefaultCharSetAttribute DefaultDllImportSearchPathsAttribute DefaultParameterValueAttribute DispatchWrapper DispIdAttribute DllImportAttribute DynamicInterfaceCastableImplementationAttribute ErrorWrapper ExternalException FieldOffsetAttribute GCHandle GuidAttribute HandleCollector HandleRef ICustomAdapter ICustomFactory ICustomMarshaler ICustomQueryInterface IDynamicInterfaceCastable ImmutableCollectionsMarshal ImportedFromTypeLibAttribute InAttribute InterfaceTypeAttribute InvalidComObjectException InvalidOleVariantTypeException JsonMarshal LCIDConversionAttribute LibraryImportAttribute ManagedToNativeComInteropStubAttribute Marshal MarshalAsAttribute MarshalDirectiveException MemoryMarshal NativeLibrary NativeMemory NFloat OptionalAttribute OSPlatform OutAttribute PosixSignalContext PosixSignalRegistration PreserveSigAttribute PrimaryInteropAssemblyAttribute ProgIdAttribute RuntimeEnvironment RuntimeInformation SafeArrayRankMismatchException SafeArrayTypeMismatchException SafeBuffer SafeHandle SEHException SequenceMarshal StandardOleMarshalObject StructLayoutAttribute SuppressGCTransitionAttribute TypeIdentifierAttribute TypeLibFuncAttribute TypeLibImportClassAttribute TypeLibTypeAttribute TypeLibVarAttribute TypeLibVersionAttribute UnknownWrapper UnmanagedCallConvAttribute UnmanagedCallersOnlyAttribute UnmanagedFunctionPointerAttribute VariantWrapper WasmImportLinkageAttribute
ArrayWithOffset struct

System.Runtime.InteropServices.ArrayWithOffset · assembly System.Private.CoreLib

Constructors

new ArrayWithOffset(object array, int offset)

Ring: new ArrayWithOffset(args) uses one constructor; the others are chosen by the parameter names: new ArrayWithOffset().@New([ :param = value ]) or dnNew("ArrayWithOffset",[ :param = value ]).

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object obj)
bool Equals(ArrayWithOffset obj)
GetArraycallMethod("GetArray",[])object GetArray()
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
GetOffsetcallMethod("GetOffset",[])int GetOffset()
AutomationProxyAttribute class sealed · extends Attribute

System.Runtime.InteropServices.AutomationProxyAttribute · assembly System.Runtime.InteropServices

Constructors

new AutomationProxyAttribute(bool val)

Ring: new AutomationProxyAttribute(args) uses one constructor; the others are chosen by the parameter names: new AutomationProxyAttribute().@New([ :param = value ]) or dnNew("AutomationProxyAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valueboolreado.Value

Members of the base class are inherited.

BestFitMappingAttribute class sealed · extends Attribute

System.Runtime.InteropServices.BestFitMappingAttribute · assembly System.Private.CoreLib

Constructors

new BestFitMappingAttribute(bool BestFitMapping)

Ring: new BestFitMappingAttribute(args) uses one constructor; the others are chosen by the parameter names: new BestFitMappingAttribute().@New([ :param = value ]) or dnNew("BestFitMappingAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
BestFitMappingboolreado.BestFitMapping
ThrowOnUnmappableCharboolread, writeo.ThrowOnUnmappableChar o.ThrowOnUnmappableChar = v

Members of the base class are inherited.

BStrWrapper class sealed

System.Runtime.InteropServices.BStrWrapper · assembly System.Private.CoreLib

Constructors

new BStrWrapper(string value)
new BStrWrapper(object value)

Ring: new BStrWrapper(args) uses one constructor; the others are chosen by the parameter names: new BStrWrapper().@New([ :param = value ]) or dnNew("BStrWrapper",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
WrappedObjectstringreado.WrappedObject
ClassInterfaceAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ClassInterfaceAttribute · assembly System.Private.CoreLib

Constructors

new ClassInterfaceAttribute(ClassInterfaceType classInterfaceType)
new ClassInterfaceAttribute(short classInterfaceType)

Ring: new ClassInterfaceAttribute(args) uses one constructor; the others are chosen by the parameter names: new ClassInterfaceAttribute().@New([ :param = value ]) or dnNew("ClassInterfaceAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueClassInterfaceTypereado.Value

Members of the base class are inherited.

CLong struct

System.Runtime.InteropServices.CLong · assembly System.Private.CoreLib

Constructors

new CLong(int value)
new CLong(IntPtr value)

Ring: new CLong(args) uses one constructor; the others are chosen by the parameter names: new CLong().@New([ :param = value ]) or dnNew("CLong",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueIntPtrreado.Value

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object o)
bool Equals(CLong other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
CoClassAttribute class sealed · extends Attribute

System.Runtime.InteropServices.CoClassAttribute · assembly System.Private.CoreLib

Constructors

new CoClassAttribute(Type coClass)

Ring: new CoClassAttribute(args) uses one constructor; the others are chosen by the parameter names: new CoClassAttribute().@New([ :param = value ]) or dnNew("CoClassAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CoClassTypereado.CoClass

Members of the base class are inherited.

CollectionsMarshal class static

System.Runtime.InteropServices.CollectionsMarshal · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
AsSpanAsSpan(p1)static Span<T> AsSpan<T>(List<T> list)
GetValueRefOrAddDefaultGetValueRefOrAddDefault(p1,p2)static TValue GetValueRefOrAddDefault<TKey, TValue>(Dictionary<TKey, TValue> dictionary, TKey key, out bool exists)
static TValue GetValueRefOrAddDefault<TKey, TValue, TAlternateKey>(AlternateLookup<TKey, TValue, TAlternateKey> dictionary, TAlternateKey key, out bool exists)
GetValueRefOrNullRefGetValueRefOrNullRef(p1,p2)static TValue GetValueRefOrNullRef<TKey, TValue>(Dictionary<TKey, TValue> dictionary, TKey key)
static TValue GetValueRefOrNullRef<TKey, TValue, TAlternateKey>(AlternateLookup<TKey, TValue, TAlternateKey> dictionary, TAlternateKey key)
SetCountSetCount(p1,p2)static void SetCount<T>(List<T> list, int count)
ComAliasNameAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComAliasNameAttribute · assembly System.Runtime.InteropServices

Constructors

new ComAliasNameAttribute(string alias)

Ring: new ComAliasNameAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComAliasNameAttribute().@New([ :param = value ]) or dnNew("ComAliasNameAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value

Members of the base class are inherited.

ComAwareEventInfo class · extends EventInfo

System.Runtime.InteropServices.ComAwareEventInfo · assembly System.Runtime.InteropServices

Implements: ICustomAttributeProvider

Constructors

new ComAwareEventInfo(Type type, string eventName)

Ring: new ComAwareEventInfo(args) uses one constructor; the others are chosen by the parameter names: new ComAwareEventInfo().@New([ :param = value ]) or dnNew("ComAwareEventInfo",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AttributesEventAttributesreado.getAttributes()
DeclaringTypeTypereado.getDeclaringType()
MetadataTokenintreado.getMetadataToken()
ModuleModulereado.getModule()
Namestringreado.getName()
ReflectedTypeTypereado.getReflectedType()

Methods

MethodRing call.NET overloads
AddEventHandlerAddEventHandler(p1,p2)void AddEventHandler(object target, Delegate handler)
GetAddMethod@GetAddMethod(value)
@GetAddMethod([ :nonPublic = … ])
MethodInfo GetAddMethod(bool nonPublic)
GetCustomAttributes@GetCustomAttributes(value)
@GetCustomAttributes([ :inherit = … ])
@GetCustomAttributes([ :attributeType = …, :inherit = … ])
object[] GetCustomAttributes(Type attributeType, bool inherit)
object[] GetCustomAttributes(bool inherit)
GetCustomAttributesDatacallMethod("GetCustomAttributesData",[])IList<CustomAttributeData> GetCustomAttributesData()
GetOtherMethodsGetOtherMethods(value)
GetOtherMethods([ :nonPublic = … ])
MethodInfo[] GetOtherMethods(bool nonPublic)
GetRaiseMethod@GetRaiseMethod(value)
@GetRaiseMethod([ :nonPublic = … ])
MethodInfo GetRaiseMethod(bool nonPublic)
GetRemoveMethod@GetRemoveMethod(value)
@GetRemoveMethod([ :nonPublic = … ])
MethodInfo GetRemoveMethod(bool nonPublic)
IsDefinedIsDefined(p1,p2)bool IsDefined(Type attributeType, bool inherit)
RemoveEventHandlerRemoveEventHandler(p1,p2)void RemoveEventHandler(object target, Delegate handler)

Members of the base class are inherited.

ComCompatibleVersionAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComCompatibleVersionAttribute · assembly System.Runtime.InteropServices

Constructors

new ComCompatibleVersionAttribute(int major, int minor, int build, int revision)

Ring: new ComCompatibleVersionAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComCompatibleVersionAttribute().@New([ :param = value ]) or dnNew("ComCompatibleVersionAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
MajorVersionintreado.MajorVersion
MinorVersionintreado.MinorVersion
BuildNumberintreado.BuildNumber
RevisionNumberintreado.RevisionNumber

Members of the base class are inherited.

ComConversionLossAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComConversionLossAttribute · assembly System.Runtime.InteropServices

Constructors

new ComConversionLossAttribute()

Ring: new ComConversionLossAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComConversionLossAttribute().@New([ :param = value ]) or dnNew("ComConversionLossAttribute",[ :param = value ]).

Members of the base class are inherited.

ComDefaultInterfaceAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComDefaultInterfaceAttribute · assembly System.Private.CoreLib

Constructors

new ComDefaultInterfaceAttribute(Type defaultInterface)

Ring: new ComDefaultInterfaceAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComDefaultInterfaceAttribute().@New([ :param = value ]) or dnNew("ComDefaultInterfaceAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueTypereado.Value

Members of the base class are inherited.

ComEventInterfaceAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComEventInterfaceAttribute · assembly System.Private.CoreLib

Constructors

new ComEventInterfaceAttribute(Type SourceInterface, Type EventProvider)

Ring: new ComEventInterfaceAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComEventInterfaceAttribute().@New([ :param = value ]) or dnNew("ComEventInterfaceAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
SourceInterfaceTypereado.SourceInterface
EventProviderTypereado.EventProvider

Members of the base class are inherited.

ComEventsHelper class static

System.Runtime.InteropServices.ComEventsHelper · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
CombineCombine(p1,p2,p3,p4)static void Combine(object rcw, Guid iid, int dispid, Delegate d)
RemoveRemove(p1,p2,p3,p4)static Delegate Remove(object rcw, Guid iid, int dispid, Delegate d)
COMException class · extends ExternalException

System.Runtime.InteropServices.COMException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new COMException()
new COMException(string message)
new COMException(string message, Exception inner)
new COMException(string message, int errorCode)

Ring: new COMException(args) uses one constructor; the others are chosen by the parameter names: new COMException().@New([ :param = value ]) or dnNew("COMException",[ :param = value ]).

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

ComImportAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComImportAttribute · assembly System.Private.CoreLib

Constructors

new ComImportAttribute()

Ring: new ComImportAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComImportAttribute().@New([ :param = value ]) or dnNew("ComImportAttribute",[ :param = value ]).

Members of the base class are inherited.

ComRegisterFunctionAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComRegisterFunctionAttribute · assembly System.Runtime.InteropServices

Constructors

new ComRegisterFunctionAttribute()

Ring: new ComRegisterFunctionAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComRegisterFunctionAttribute().@New([ :param = value ]) or dnNew("ComRegisterFunctionAttribute",[ :param = value ]).

Members of the base class are inherited.

ComSourceInterfacesAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComSourceInterfacesAttribute · assembly System.Private.CoreLib

Constructors

new ComSourceInterfacesAttribute(string sourceInterfaces)
new ComSourceInterfacesAttribute(Type sourceInterface)
new ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2)
new ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3)
new ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3, Type sourceInterface4)

Ring: new ComSourceInterfacesAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComSourceInterfacesAttribute().@New([ :param = value ]) or dnNew("ComSourceInterfacesAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value

Members of the base class are inherited.

ComUnregisterFunctionAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComUnregisterFunctionAttribute · assembly System.Runtime.InteropServices

Constructors

new ComUnregisterFunctionAttribute()

Ring: new ComUnregisterFunctionAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComUnregisterFunctionAttribute().@New([ :param = value ]) or dnNew("ComUnregisterFunctionAttribute",[ :param = value ]).

Members of the base class are inherited.

ComVisibleAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ComVisibleAttribute · assembly System.Private.CoreLib

Constructors

new ComVisibleAttribute(bool visibility)

Ring: new ComVisibleAttribute(args) uses one constructor; the others are chosen by the parameter names: new ComVisibleAttribute().@New([ :param = value ]) or dnNew("ComVisibleAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valueboolreado.Value

Members of the base class are inherited.

ComWrappers class abstract

System.Runtime.InteropServices.ComWrappers · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
GetIUnknownImplGetIUnknownImpl()static void GetIUnknownImpl(out IntPtr fpQueryInterface, out IntPtr fpAddRef, out IntPtr fpRelease)
GetOrCreateComInterfaceForObjectcallMethod("GetOrCreateComInterfaceForObject",[p1,p2])IntPtr GetOrCreateComInterfaceForObject(object instance, CreateComInterfaceFlags flags)
GetOrCreateObjectForComInstancecallMethod("GetOrCreateObjectForComInstance",[p1,p2])object GetOrCreateObjectForComInstance(IntPtr externalComObject, CreateObjectFlags flags)
GetOrRegisterObjectForComInstanceGetOrRegisterObjectForComInstance([ :externalComObject = …, :flags = …, :wrapper = … ])
GetOrRegisterObjectForComInstance([ :externalComObject = …, :flags = …, :wrapper = …, :inner = … ])
object GetOrRegisterObjectForComInstance(IntPtr externalComObject, CreateObjectFlags flags, object wrapper)
object GetOrRegisterObjectForComInstance(IntPtr externalComObject, CreateObjectFlags flags, object wrapper, IntPtr inner)
RegisterForMarshallingRegisterForMarshalling(p1)static void RegisterForMarshalling(ComWrappers instance)
RegisterForTrackerSupportRegisterForTrackerSupport(p1)static void RegisterForTrackerSupport(ComWrappers instance)
TryGetComInstanceTryGetComInstance(p1)static bool TryGetComInstance(object obj, out IntPtr unknown)
TryGetObjectTryGetObject(p1)static bool TryGetObject(IntPtr unknown, out object obj)
ComWrappersComInterfaceDispatch struct

System.Runtime.InteropServices.ComWrappers+ComInterfaceDispatch · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
VtableIntPtrread, writeo.Vtable o.Vtable = v

Methods

MethodRing call.NET overloads
GetInstanceGetInstance(value)
GetInstance([ :dispatchPtr = … ])
static T GetInstance<T>(ComInterfaceDispatch* dispatchPtr)
ComWrappersComInterfaceEntry struct

System.Runtime.InteropServices.ComWrappers+ComInterfaceEntry · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
IIDGuidread, writeo.IID o.IID = v
VtableIntPtrread, writeo.Vtable o.Vtable = v
CriticalHandle class abstract · extends CriticalFinalizerObject

System.Runtime.InteropServices.CriticalHandle · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
IsClosedboolreado.IsClosed
IsInvalidboolreado.IsInvalid

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DisposecallMethod("Dispose",[])void Dispose()
SetHandleAsInvalidcallMethod("SetHandleAsInvalid",[])void SetHandleAsInvalid()

Members of the base class are inherited.

CULong struct

System.Runtime.InteropServices.CULong · assembly System.Private.CoreLib

Constructors

new CULong(uint value)
new CULong(UIntPtr value)

Ring: new CULong(args) uses one constructor; the others are chosen by the parameter names: new CULong().@New([ :param = value ]) or dnNew("CULong",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueUIntPtrreado.Value

Methods

MethodRing call.NET overloads
EqualsEquals(p1)bool Equals(object o)
bool Equals(CULong other)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
DefaultCharSetAttribute class sealed · extends Attribute

System.Runtime.InteropServices.DefaultCharSetAttribute · assembly System.Private.CoreLib

Constructors

new DefaultCharSetAttribute(CharSet charSet)

Ring: new DefaultCharSetAttribute(args) uses one constructor; the others are chosen by the parameter names: new DefaultCharSetAttribute().@New([ :param = value ]) or dnNew("DefaultCharSetAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CharSetCharSetreado.CharSet

Members of the base class are inherited.

DefaultDllImportSearchPathsAttribute class sealed · extends Attribute

System.Runtime.InteropServices.DefaultDllImportSearchPathsAttribute · assembly System.Private.CoreLib

Constructors

new DefaultDllImportSearchPathsAttribute(DllImportSearchPath paths)

Ring: new DefaultDllImportSearchPathsAttribute(args) uses one constructor; the others are chosen by the parameter names: new DefaultDllImportSearchPathsAttribute().@New([ :param = value ]) or dnNew("DefaultDllImportSearchPathsAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
PathsDllImportSearchPathreado.Paths

Members of the base class are inherited.

DefaultParameterValueAttribute class sealed · extends Attribute

System.Runtime.InteropServices.DefaultParameterValueAttribute · assembly System.Private.CoreLib

Constructors

new DefaultParameterValueAttribute(object value)

Ring: new DefaultParameterValueAttribute(args) uses one constructor; the others are chosen by the parameter names: new DefaultParameterValueAttribute().@New([ :param = value ]) or dnNew("DefaultParameterValueAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valueobjectreado.Value

Members of the base class are inherited.

DispatchWrapper class sealed

System.Runtime.InteropServices.DispatchWrapper · assembly System.Private.CoreLib

Constructors

new DispatchWrapper(object obj)

Ring: new DispatchWrapper(args) uses one constructor; the others are chosen by the parameter names: new DispatchWrapper().@New([ :param = value ]) or dnNew("DispatchWrapper",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
WrappedObjectobjectreado.WrappedObject
DispIdAttribute class sealed · extends Attribute

System.Runtime.InteropServices.DispIdAttribute · assembly System.Private.CoreLib

Constructors

new DispIdAttribute(int dispId)

Ring: new DispIdAttribute(args) uses one constructor; the others are chosen by the parameter names: new DispIdAttribute().@New([ :param = value ]) or dnNew("DispIdAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valueintreado.Value

Members of the base class are inherited.

DllImportAttribute class sealed · extends Attribute

System.Runtime.InteropServices.DllImportAttribute · assembly System.Private.CoreLib

Constructors

new DllImportAttribute(string dllName)

Ring: new DllImportAttribute(args) uses one constructor; the others are chosen by the parameter names: new DllImportAttribute().@New([ :param = value ]) or dnNew("DllImportAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value
EntryPointstringread, writeo.EntryPoint o.EntryPoint = v
CharSetCharSetread, writeo.CharSet o.CharSet = v
SetLastErrorboolread, writeo.SetLastError o.SetLastError = v
ExactSpellingboolread, writeo.ExactSpelling o.ExactSpelling = v
CallingConventionCallingConventionread, writeo.CallingConvention o.CallingConvention = v
BestFitMappingboolread, writeo.BestFitMapping o.BestFitMapping = v
PreserveSigboolread, writeo.PreserveSig o.PreserveSig = v
ThrowOnUnmappableCharboolread, writeo.ThrowOnUnmappableChar o.ThrowOnUnmappableChar = v

Members of the base class are inherited.

DynamicInterfaceCastableImplementationAttribute class sealed · extends Attribute

System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute · assembly System.Private.CoreLib

Constructors

new DynamicInterfaceCastableImplementationAttribute()

Ring: new DynamicInterfaceCastableImplementationAttribute(args) uses one constructor; the others are chosen by the parameter names: new DynamicInterfaceCastableImplementationAttribute().@New([ :param = value ]) or dnNew("DynamicInterfaceCastableImplementationAttribute",[ :param = value ]).

Members of the base class are inherited.

ErrorWrapper class sealed

System.Runtime.InteropServices.ErrorWrapper · assembly System.Private.CoreLib

Constructors

new ErrorWrapper(int errorCode)
new ErrorWrapper(object errorCode)
new ErrorWrapper(Exception e)

Ring: new ErrorWrapper(args) uses one constructor; the others are chosen by the parameter names: new ErrorWrapper().@New([ :param = value ]) or dnNew("ErrorWrapper",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ErrorCodeintreado.ErrorCode
ExternalException class · extends SystemException

System.Runtime.InteropServices.ExternalException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new ExternalException()
new ExternalException(string message)
new ExternalException(string message, Exception inner)
new ExternalException(string message, int errorCode)

Ring: new ExternalException(args) uses one constructor; the others are chosen by the parameter names: new ExternalException().@New([ :param = value ]) or dnNew("ExternalException",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ErrorCodeintreado.ErrorCode

Methods

MethodRing call.NET overloads
ToStringcallMethod("ToString",[])string ToString()

Members of the base class are inherited.

FieldOffsetAttribute class sealed · extends Attribute

System.Runtime.InteropServices.FieldOffsetAttribute · assembly System.Private.CoreLib

Constructors

new FieldOffsetAttribute(int offset)

Ring: new FieldOffsetAttribute(args) uses one constructor; the others are chosen by the parameter names: new FieldOffsetAttribute().@New([ :param = value ]) or dnNew("FieldOffsetAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valueintreado.Value

Members of the base class are inherited.

GCHandle struct

System.Runtime.InteropServices.GCHandle · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
Targetobjectread, writeo.Target o.Target = v
IsAllocatedboolreado.IsAllocated

Methods

MethodRing call.NET overloads
AddrOfPinnedObjectcallMethod("AddrOfPinnedObject",[])IntPtr AddrOfPinnedObject()
AllocAlloc(value)
Alloc([ :value = … ])
Alloc([ :value = …, :type = … ])
static GCHandle Alloc(object value)
static GCHandle Alloc(object value, GCHandleType type)
EqualsEquals(p1)bool Equals(object o)
bool Equals(GCHandle other)
FreecallMethod("Free",[])void Free()
FromIntPtrFromIntPtr(p1)static GCHandle FromIntPtr(IntPtr value)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToIntPtrToIntPtr(p1)static IntPtr ToIntPtr(GCHandle value)
GuidAttribute class sealed · extends Attribute

System.Runtime.InteropServices.GuidAttribute · assembly System.Private.CoreLib

Constructors

new GuidAttribute(string guid)

Ring: new GuidAttribute(args) uses one constructor; the others are chosen by the parameter names: new GuidAttribute().@New([ :param = value ]) or dnNew("GuidAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value

Members of the base class are inherited.

HandleCollector class sealed

System.Runtime.InteropServices.HandleCollector · assembly System.Runtime.InteropServices

Constructors

new HandleCollector(string name, int initialThreshold)
new HandleCollector(string name, int initialThreshold, int maximumThreshold)

Ring: new HandleCollector(args) uses one constructor; the others are chosen by the parameter names: new HandleCollector().@New([ :param = value ]) or dnNew("HandleCollector",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Countintreado.Count
InitialThresholdintreado.InitialThreshold
MaximumThresholdintreado.MaximumThreshold
Namestringreado.Name

Methods

MethodRing call.NET overloads
AddcallMethod("Add",[])void Add()
RemovecallMethod("Remove",[])void Remove()
HandleRef struct

System.Runtime.InteropServices.HandleRef · assembly System.Private.CoreLib

Constructors

new HandleRef(object wrapper, IntPtr handle)

Ring: new HandleRef(args) uses one constructor; the others are chosen by the parameter names: new HandleRef().@New([ :param = value ]) or dnNew("HandleRef",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Wrapperobjectreado.Wrapper
HandleIntPtrreado.Handle

Methods

MethodRing call.NET overloads
ToIntPtrToIntPtr(p1)static IntPtr ToIntPtr(HandleRef value)
ICustomAdapter interface

System.Runtime.InteropServices.ICustomAdapter · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
GetUnderlyingObjectcallMethod("GetUnderlyingObject",[])object GetUnderlyingObject()
ICustomFactory interface

System.Runtime.InteropServices.ICustomFactory · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
CreateInstancecallMethod("CreateInstance",[p1])MarshalByRefObject CreateInstance(Type serverType)
ICustomMarshaler interface

System.Runtime.InteropServices.ICustomMarshaler · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
CleanUpManagedDataCleanUpManagedData(p1)void CleanUpManagedData(object ManagedObj)
CleanUpNativeDataCleanUpNativeData(p1)void CleanUpNativeData(IntPtr pNativeData)
GetNativeDataSizecallMethod("GetNativeDataSize",[])int GetNativeDataSize()
MarshalManagedToNativecallMethod("MarshalManagedToNative",[p1])IntPtr MarshalManagedToNative(object ManagedObj)
MarshalNativeToManagedcallMethod("MarshalNativeToManaged",[p1])object MarshalNativeToManaged(IntPtr pNativeData)
ICustomQueryInterface interface

System.Runtime.InteropServices.ICustomQueryInterface · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
GetInterfaceGetInterface(p1)CustomQueryInterfaceResult GetInterface(ref Guid iid, out IntPtr ppv)
IDynamicInterfaceCastable interface

System.Runtime.InteropServices.IDynamicInterfaceCastable · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
GetInterfaceImplementationcallMethod("GetInterfaceImplementation",[p1])RuntimeTypeHandle GetInterfaceImplementation(RuntimeTypeHandle interfaceType)
IsInterfaceImplementedIsInterfaceImplemented(p1,p2)bool IsInterfaceImplemented(RuntimeTypeHandle interfaceType, bool throwIfNotImplemented)
ImmutableCollectionsMarshal class static

System.Runtime.InteropServices.ImmutableCollectionsMarshal · assembly System.Collections.Immutable

Methods

MethodRing call.NET overloads
AsArrayAsArray(p1)static T[] AsArray<T>(ImmutableArray<T> array)
AsImmutableArrayAsImmutableArray(p1)static ImmutableArray<T> AsImmutableArray<T>(T[] array)
ImportedFromTypeLibAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ImportedFromTypeLibAttribute · assembly System.Runtime.InteropServices

Constructors

new ImportedFromTypeLibAttribute(string tlbFile)

Ring: new ImportedFromTypeLibAttribute(args) uses one constructor; the others are chosen by the parameter names: new ImportedFromTypeLibAttribute().@New([ :param = value ]) or dnNew("ImportedFromTypeLibAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value

Members of the base class are inherited.

InAttribute class sealed · extends Attribute

System.Runtime.InteropServices.InAttribute · assembly System.Private.CoreLib

Constructors

new InAttribute()

Ring: new InAttribute(args) uses one constructor; the others are chosen by the parameter names: new InAttribute().@New([ :param = value ]) or dnNew("InAttribute",[ :param = value ]).

Members of the base class are inherited.

InterfaceTypeAttribute class sealed · extends Attribute

System.Runtime.InteropServices.InterfaceTypeAttribute · assembly System.Private.CoreLib

Constructors

new InterfaceTypeAttribute(ComInterfaceType interfaceType)
new InterfaceTypeAttribute(short interfaceType)

Ring: new InterfaceTypeAttribute(args) uses one constructor; the others are chosen by the parameter names: new InterfaceTypeAttribute().@New([ :param = value ]) or dnNew("InterfaceTypeAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueComInterfaceTypereado.Value

Members of the base class are inherited.

InvalidComObjectException class · extends SystemException

System.Runtime.InteropServices.InvalidComObjectException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new InvalidComObjectException()
new InvalidComObjectException(string message)
new InvalidComObjectException(string message, Exception inner)

Ring: new InvalidComObjectException(args) uses one constructor; the others are chosen by the parameter names: new InvalidComObjectException().@New([ :param = value ]) or dnNew("InvalidComObjectException",[ :param = value ]).

Members of the base class are inherited.

InvalidOleVariantTypeException class · extends SystemException

System.Runtime.InteropServices.InvalidOleVariantTypeException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new InvalidOleVariantTypeException()
new InvalidOleVariantTypeException(string message)
new InvalidOleVariantTypeException(string message, Exception inner)

Ring: new InvalidOleVariantTypeException(args) uses one constructor; the others are chosen by the parameter names: new InvalidOleVariantTypeException().@New([ :param = value ]) or dnNew("InvalidOleVariantTypeException",[ :param = value ]).

Members of the base class are inherited.

JsonMarshal class static

System.Runtime.InteropServices.JsonMarshal · assembly System.Text.Json

Methods

MethodRing call.NET overloads
GetRawUtf8ValueGetRawUtf8Value(p1)static ReadOnlySpan<byte> GetRawUtf8Value(JsonElement element)
LCIDConversionAttribute class sealed · extends Attribute

System.Runtime.InteropServices.LCIDConversionAttribute · assembly System.Private.CoreLib

Constructors

new LCIDConversionAttribute(int lcid)

Ring: new LCIDConversionAttribute(args) uses one constructor; the others are chosen by the parameter names: new LCIDConversionAttribute().@New([ :param = value ]) or dnNew("LCIDConversionAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valueintreado.Value

Members of the base class are inherited.

LibraryImportAttribute class sealed · extends Attribute

System.Runtime.InteropServices.LibraryImportAttribute · assembly System.Private.CoreLib

Constructors

new LibraryImportAttribute(string libraryName)

Ring: new LibraryImportAttribute(args) uses one constructor; the others are chosen by the parameter names: new LibraryImportAttribute().@New([ :param = value ]) or dnNew("LibraryImportAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
LibraryNamestringreado.LibraryName
EntryPointstringread, writeo.EntryPoint o.EntryPoint = v
StringMarshallingStringMarshallingread, writeo.StringMarshalling o.StringMarshalling = v
StringMarshallingCustomTypeTyperead, writeo.StringMarshallingCustomType o.StringMarshallingCustomType = v
SetLastErrorboolread, writeo.SetLastError o.SetLastError = v

Members of the base class are inherited.

ManagedToNativeComInteropStubAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ManagedToNativeComInteropStubAttribute · assembly System.Runtime.InteropServices

Constructors

new ManagedToNativeComInteropStubAttribute(Type classType, string methodName)

Ring: new ManagedToNativeComInteropStubAttribute(args) uses one constructor; the others are chosen by the parameter names: new ManagedToNativeComInteropStubAttribute().@New([ :param = value ]) or dnNew("ManagedToNativeComInteropStubAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ClassTypeTypereado.ClassType
MethodNamestringreado.MethodName

Members of the base class are inherited.

Marshal class static

System.Runtime.InteropServices.Marshal · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
SystemDefaultCharSizeintread · statico.SystemDefaultCharSize
SystemMaxDBCSCharSizeintread · statico.SystemMaxDBCSCharSize

Methods

MethodRing call.NET overloads
AddRefAddRef(p1)static int AddRef(IntPtr pUnk)
AllocCoTaskMemAllocCoTaskMem(p1)static IntPtr AllocCoTaskMem(int cb)
AllocHGlobalAllocHGlobal(p1)static IntPtr AllocHGlobal(int cb)
static IntPtr AllocHGlobal(IntPtr cb)
AreComObjectsAvailableForCleanupcallMethod("AreComObjectsAvailableForCleanup",[])static bool AreComObjectsAvailableForCleanup()
BindToMonikerBindToMoniker(p1)static object BindToMoniker(string monikerName)
ChangeWrapperHandleStrengthChangeWrapperHandleStrength(p1,p2)static void ChangeWrapperHandleStrength(object otp, bool fIsWeak)
CleanupUnusedObjectsInCurrentContextcallMethod("CleanupUnusedObjectsInCurrentContext",[])static void CleanupUnusedObjectsInCurrentContext()
CopyCopy(p1,p2,p3,p4)static void Copy(int[] source, int startIndex, IntPtr destination, int length)
static void Copy(char[] source, int startIndex, IntPtr destination, int length)
static void Copy(short[] source, int startIndex, IntPtr destination, int length)
static void Copy(long[] source, int startIndex, IntPtr destination, int length)
static void Copy(float[] source, int startIndex, IntPtr destination, int length)
static void Copy(double[] source, int startIndex, IntPtr destination, int length)
static void Copy(byte[] source, int startIndex, IntPtr destination, int length)
static void Copy(IntPtr[] source, int startIndex, IntPtr destination, int length)
static void Copy(IntPtr source, int[] destination, int startIndex, int length)
static void Copy(IntPtr source, char[] destination, int startIndex, int length)
static void Copy(IntPtr source, short[] destination, int startIndex, int length)
static void Copy(IntPtr source, long[] destination, int startIndex, int length)
static void Copy(IntPtr source, float[] destination, int startIndex, int length)
static void Copy(IntPtr source, double[] destination, int startIndex, int length)
static void Copy(IntPtr source, byte[] destination, int startIndex, int length)
static void Copy(IntPtr source, IntPtr[] destination, int startIndex, int length)
CreateAggregatedObjectCreateAggregatedObject(p1,p2)static IntPtr CreateAggregatedObject(IntPtr pOuter, object o)
static IntPtr CreateAggregatedObject<T>(IntPtr pOuter, T o)
CreateWrapperOfTypeCreateWrapperOfType(value)
CreateWrapperOfType([ :o = … ])
CreateWrapperOfType([ :o = …, :t = … ])
static object CreateWrapperOfType(object o, Type t)
static TWrapper CreateWrapperOfType<T, TWrapper>(T o)
DestroyStructureDestroyStructure(value)
DestroyStructure([ :ptr = … ])
DestroyStructure([ :ptr = …, :structuretype = … ])
static void DestroyStructure(IntPtr ptr, Type structuretype)
static void DestroyStructure<T>(IntPtr ptr)
FinalReleaseComObjectFinalReleaseComObject(p1)static int FinalReleaseComObject(object o)
FreeBSTRFreeBSTR(p1)static void FreeBSTR(IntPtr ptr)
FreeCoTaskMemFreeCoTaskMem(p1)static void FreeCoTaskMem(IntPtr ptr)
FreeHGlobalFreeHGlobal(p1)static void FreeHGlobal(IntPtr hglobal)
GenerateGuidForTypeGenerateGuidForType(p1)static Guid GenerateGuidForType(Type type)
GenerateProgIdForTypeGenerateProgIdForType(p1)static string GenerateProgIdForType(Type type)
GetComInterfaceForObjectGetComInterfaceForObject(value)
GetComInterfaceForObject([ :o = … ])
GetComInterfaceForObject([ :o = …, :T = … ])
GetComInterfaceForObject([ :o = …, :T = …, :mode = … ])
static IntPtr GetComInterfaceForObject(object o, Type T)
static IntPtr GetComInterfaceForObject<T, TInterface>(T o)
static IntPtr GetComInterfaceForObject(object o, Type T, CustomQueryInterfaceMode mode)
GetComObjectDataGetComObjectData(p1,p2)static object GetComObjectData(object obj, object key)
GetDelegateForFunctionPointerGetDelegateForFunctionPointer(value)
GetDelegateForFunctionPointer([ :ptr = … ])
GetDelegateForFunctionPointer([ :ptr = …, :t = … ])
static Delegate GetDelegateForFunctionPointer(IntPtr ptr, Type t)
static TDelegate GetDelegateForFunctionPointer<TDelegate>(IntPtr ptr)
GetEndComSlotGetEndComSlot(p1)static int GetEndComSlot(Type t)
GetExceptionCodecallMethod("GetExceptionCode",[])static int GetExceptionCode()
GetExceptionForHRGetExceptionForHR(value)
GetExceptionForHR([ :errorCode = … ])
GetExceptionForHR([ :errorCode = …, :errorInfo = … ])
static Exception GetExceptionForHR(int errorCode)
static Exception GetExceptionForHR(int errorCode, IntPtr errorInfo)
GetExceptionPointersGetExceptionPointers()static IntPtr GetExceptionPointers()
GetFunctionPointerForDelegateGetFunctionPointerForDelegate(p1)static IntPtr GetFunctionPointerForDelegate(Delegate d)
static IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d)
GetHINSTANCEGetHINSTANCE(p1)static IntPtr GetHINSTANCE(Module m)
GetHRForExceptionGetHRForException(p1)static int GetHRForException(Exception e)
GetHRForLastWin32ErrorcallMethod("GetHRForLastWin32Error",[])static int GetHRForLastWin32Error()
GetIDispatchForObjectGetIDispatchForObject(p1)static IntPtr GetIDispatchForObject(object o)
GetIUnknownForObjectGetIUnknownForObject(p1)static IntPtr GetIUnknownForObject(object o)
GetLastPInvokeErrorcallMethod("GetLastPInvokeError",[])static int GetLastPInvokeError()
GetLastPInvokeErrorMessagecallMethod("GetLastPInvokeErrorMessage",[])static string GetLastPInvokeErrorMessage()
GetLastSystemErrorcallMethod("GetLastSystemError",[])static int GetLastSystemError()
GetLastWin32ErrorcallMethod("GetLastWin32Error",[])static int GetLastWin32Error()
GetNativeVariantForObjectGetNativeVariantForObject(p1,p2)static void GetNativeVariantForObject(object obj, IntPtr pDstNativeVariant)
static void GetNativeVariantForObject<T>(T obj, IntPtr pDstNativeVariant)
GetObjectForIUnknownGetObjectForIUnknown(p1)static object GetObjectForIUnknown(IntPtr pUnk)
GetObjectForNativeVariantGetObjectForNativeVariant(p1)static object GetObjectForNativeVariant(IntPtr pSrcNativeVariant)
static T GetObjectForNativeVariant<T>(IntPtr pSrcNativeVariant)
GetObjectsForNativeVariantsGetObjectsForNativeVariants(p1,p2)static object[] GetObjectsForNativeVariants(IntPtr aSrcNativeVariant, int cVars)
static T[] GetObjectsForNativeVariants<T>(IntPtr aSrcNativeVariant, int cVars)
GetPInvokeErrorMessagecallMethod("GetPInvokeErrorMessage",[p1])static string GetPInvokeErrorMessage(int error)
GetStartComSlotGetStartComSlot(p1)static int GetStartComSlot(Type t)
GetTypedObjectForIUnknownGetTypedObjectForIUnknown(p1,p2)static object GetTypedObjectForIUnknown(IntPtr pUnk, Type t)
GetTypeFromCLSIDGetTypeFromCLSID(p1)static Type GetTypeFromCLSID(Guid clsid)
GetTypeInfoNameGetTypeInfoName(p1)static string GetTypeInfoName(ITypeInfo typeInfo)
GetUniqueObjectForIUnknownGetUniqueObjectForIUnknown(p1)static object GetUniqueObjectForIUnknown(IntPtr unknown)
InitHandleInitHandle(p1,p2)static void InitHandle(SafeHandle safeHandle, IntPtr handle)
IsComObjectIsComObject(p1)static bool IsComObject(object o)
IsTypeVisibleFromComIsTypeVisibleFromCom(p1)static bool IsTypeVisibleFromCom(Type t)
OffsetOfOffsetOf(value)
OffsetOf([ :fieldName = … ])
OffsetOf([ :t = …, :fieldName = … ])
static IntPtr OffsetOf(Type t, string fieldName)
static IntPtr OffsetOf<T>(string fieldName)
PrelinkPrelink(p1)static void Prelink(MethodInfo m)
PrelinkAllPrelinkAll(p1)static void PrelinkAll(Type c)
PtrToStringAnsiPtrToStringAnsi(value)
PtrToStringAnsi([ :ptr = … ])
PtrToStringAnsi([ :ptr = …, :len = … ])
static string PtrToStringAnsi(IntPtr ptr)
static string PtrToStringAnsi(IntPtr ptr, int len)
PtrToStringAutoPtrToStringAuto(value)
PtrToStringAuto([ :ptr = … ])
PtrToStringAuto([ :ptr = …, :len = … ])
static string PtrToStringAuto(IntPtr ptr, int len)
static string PtrToStringAuto(IntPtr ptr)
PtrToStringBSTRPtrToStringBSTR(p1)static string PtrToStringBSTR(IntPtr ptr)
PtrToStringUniPtrToStringUni(value)
PtrToStringUni([ :ptr = … ])
PtrToStringUni([ :ptr = …, :len = … ])
static string PtrToStringUni(IntPtr ptr)
static string PtrToStringUni(IntPtr ptr, int len)
PtrToStringUTF8PtrToStringUTF8(value)
PtrToStringUTF8([ :ptr = … ])
PtrToStringUTF8([ :ptr = …, :byteLen = … ])
static string PtrToStringUTF8(IntPtr ptr)
static string PtrToStringUTF8(IntPtr ptr, int byteLen)
PtrToStructurePtrToStructure(value)
PtrToStructure([ :ptr = … ])
PtrToStructure([ :ptr = …, :structureType = … ])
PtrToStructure([ :ptr = …, :structure = … ])
static object PtrToStructure(IntPtr ptr, Type structureType)
static void PtrToStructure(IntPtr ptr, object structure)
static void PtrToStructure<T>(IntPtr ptr, T structure)
static T PtrToStructure<T>(IntPtr ptr)
QueryInterfaceQueryInterface(p1,p2)static int QueryInterface(IntPtr pUnk, ref Guid iid, out IntPtr ppv)
ReadByteReadByte(value)
ReadByte([ :ptr = … ])
ReadByte([ :ptr = …, :ofs = … ])
static byte ReadByte(object ptr, int ofs)
static byte ReadByte(IntPtr ptr, int ofs)
static byte ReadByte(IntPtr ptr)
ReadInt16ReadInt16(value)
ReadInt16([ :ptr = … ])
ReadInt16([ :ptr = …, :ofs = … ])
static short ReadInt16(object ptr, int ofs)
static short ReadInt16(IntPtr ptr, int ofs)
static short ReadInt16(IntPtr ptr)
ReadInt32ReadInt32(value)
ReadInt32([ :ptr = … ])
ReadInt32([ :ptr = …, :ofs = … ])
static int ReadInt32(object ptr, int ofs)
static int ReadInt32(IntPtr ptr, int ofs)
static int ReadInt32(IntPtr ptr)
ReadInt64ReadInt64(value)
ReadInt64([ :ptr = … ])
ReadInt64([ :ptr = …, :ofs = … ])
static long ReadInt64(object ptr, int ofs)
static long ReadInt64(IntPtr ptr, int ofs)
static long ReadInt64(IntPtr ptr)
ReadIntPtrReadIntPtr(value)
ReadIntPtr([ :ptr = … ])
ReadIntPtr([ :ptr = …, :ofs = … ])
static IntPtr ReadIntPtr(object ptr, int ofs)
static IntPtr ReadIntPtr(IntPtr ptr, int ofs)
static IntPtr ReadIntPtr(IntPtr ptr)
ReAllocCoTaskMemReAllocCoTaskMem(p1,p2)static IntPtr ReAllocCoTaskMem(IntPtr pv, int cb)
ReAllocHGlobalReAllocHGlobal(p1,p2)static IntPtr ReAllocHGlobal(IntPtr pv, IntPtr cb)
ReleasecallMethod("Release",[p1])static int Release(IntPtr pUnk)
ReleaseComObjectReleaseComObject(p1)static int ReleaseComObject(object o)
SecureStringToBSTRSecureStringToBSTR(p1)static IntPtr SecureStringToBSTR(SecureString s)
SecureStringToCoTaskMemAnsiSecureStringToCoTaskMemAnsi(p1)static IntPtr SecureStringToCoTaskMemAnsi(SecureString s)
SecureStringToCoTaskMemUnicodeSecureStringToCoTaskMemUnicode(p1)static IntPtr SecureStringToCoTaskMemUnicode(SecureString s)
SecureStringToGlobalAllocAnsiSecureStringToGlobalAllocAnsi(p1)static IntPtr SecureStringToGlobalAllocAnsi(SecureString s)
SecureStringToGlobalAllocUnicodeSecureStringToGlobalAllocUnicode(p1)static IntPtr SecureStringToGlobalAllocUnicode(SecureString s)
SetComObjectDataSetComObjectData(p1,p2,p3)static bool SetComObjectData(object obj, object key, object data)
SetLastPInvokeErrorcallMethod("SetLastPInvokeError",[p1])static void SetLastPInvokeError(int error)
SetLastSystemErrorcallMethod("SetLastSystemError",[p1])static void SetLastSystemError(int error)
SizeOfSizeOf(NULL)
SizeOf(value)
SizeOf([ :structure = … ])
SizeOf([ :t = … ])
static int SizeOf(object structure)
static int SizeOf<T>(T structure)
static int SizeOf(Type t)
static int SizeOf<T>()
StringToBSTRStringToBSTR(p1)static IntPtr StringToBSTR(string s)
StringToCoTaskMemAnsiStringToCoTaskMemAnsi(p1)static IntPtr StringToCoTaskMemAnsi(string s)
StringToCoTaskMemAutoStringToCoTaskMemAuto(p1)static IntPtr StringToCoTaskMemAuto(string s)
StringToCoTaskMemUniStringToCoTaskMemUni(p1)static IntPtr StringToCoTaskMemUni(string s)
StringToCoTaskMemUTF8StringToCoTaskMemUTF8(p1)static IntPtr StringToCoTaskMemUTF8(string s)
StringToHGlobalAnsiStringToHGlobalAnsi(p1)static IntPtr StringToHGlobalAnsi(string s)
StringToHGlobalAutoStringToHGlobalAuto(p1)static IntPtr StringToHGlobalAuto(string s)
StringToHGlobalUniStringToHGlobalUni(p1)static IntPtr StringToHGlobalUni(string s)
StructureToPtrStructureToPtr(p1,p2,p3)static void StructureToPtr(object structure, IntPtr ptr, bool fDeleteOld)
static void StructureToPtr<T>(T structure, IntPtr ptr, bool fDeleteOld)
ThrowExceptionForHRThrowExceptionForHR(value)
ThrowExceptionForHR([ :errorCode = … ])
ThrowExceptionForHR([ :errorCode = …, :errorInfo = … ])
static void ThrowExceptionForHR(int errorCode)
static void ThrowExceptionForHR(int errorCode, IntPtr errorInfo)
UnsafeAddrOfPinnedArrayElementUnsafeAddrOfPinnedArrayElement(p1,p2)static IntPtr UnsafeAddrOfPinnedArrayElement(Array arr, int index)
static IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index)
WriteByteWriteByte([ :ptr = …, :val = … ])
WriteByte([ :ptr = …, :ofs = …, :val = … ])
static void WriteByte(object ptr, int ofs, byte val)
static void WriteByte(IntPtr ptr, int ofs, byte val)
static void WriteByte(IntPtr ptr, byte val)
WriteInt16WriteInt16([ :ptr = …, :val = … ])
WriteInt16([ :ptr = …, :ofs = …, :val = … ])
static void WriteInt16(object ptr, int ofs, short val)
static void WriteInt16(IntPtr ptr, int ofs, short val)
static void WriteInt16(IntPtr ptr, short val)
static void WriteInt16(IntPtr ptr, int ofs, char val)
static void WriteInt16(object ptr, int ofs, char val)
static void WriteInt16(IntPtr ptr, char val)
WriteInt32WriteInt32([ :ptr = …, :val = … ])
WriteInt32([ :ptr = …, :ofs = …, :val = … ])
static void WriteInt32(object ptr, int ofs, int val)
static void WriteInt32(IntPtr ptr, int ofs, int val)
static void WriteInt32(IntPtr ptr, int val)
WriteInt64WriteInt64([ :ptr = …, :val = … ])
WriteInt64([ :ptr = …, :ofs = …, :val = … ])
static void WriteInt64(object ptr, int ofs, long val)
static void WriteInt64(IntPtr ptr, int ofs, long val)
static void WriteInt64(IntPtr ptr, long val)
WriteIntPtrWriteIntPtr([ :ptr = …, :val = … ])
WriteIntPtr([ :ptr = …, :ofs = …, :val = … ])
static void WriteIntPtr(IntPtr ptr, int ofs, IntPtr val)
static void WriteIntPtr(object ptr, int ofs, IntPtr val)
static void WriteIntPtr(IntPtr ptr, IntPtr val)
ZeroFreeBSTRZeroFreeBSTR(p1)static void ZeroFreeBSTR(IntPtr s)
ZeroFreeCoTaskMemAnsiZeroFreeCoTaskMemAnsi(p1)static void ZeroFreeCoTaskMemAnsi(IntPtr s)
ZeroFreeCoTaskMemUnicodeZeroFreeCoTaskMemUnicode(p1)static void ZeroFreeCoTaskMemUnicode(IntPtr s)
ZeroFreeCoTaskMemUTF8ZeroFreeCoTaskMemUTF8(p1)static void ZeroFreeCoTaskMemUTF8(IntPtr s)
ZeroFreeGlobalAllocAnsiZeroFreeGlobalAllocAnsi(p1)static void ZeroFreeGlobalAllocAnsi(IntPtr s)
ZeroFreeGlobalAllocUnicodeZeroFreeGlobalAllocUnicode(p1)static void ZeroFreeGlobalAllocUnicode(IntPtr s)
MarshalAsAttribute class sealed · extends Attribute

System.Runtime.InteropServices.MarshalAsAttribute · assembly System.Private.CoreLib

Constructors

new MarshalAsAttribute(UnmanagedType unmanagedType)
new MarshalAsAttribute(short unmanagedType)

Ring: new MarshalAsAttribute(args) uses one constructor; the others are chosen by the parameter names: new MarshalAsAttribute().@New([ :param = value ]) or dnNew("MarshalAsAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueUnmanagedTypereado.Value
SafeArraySubTypeVarEnumread, writeo.SafeArraySubType o.SafeArraySubType = v
SafeArrayUserDefinedSubTypeTyperead, writeo.SafeArrayUserDefinedSubType o.SafeArrayUserDefinedSubType = v
IidParameterIndexintread, writeo.IidParameterIndex o.IidParameterIndex = v
ArraySubTypeUnmanagedTyperead, writeo.ArraySubType o.ArraySubType = v
SizeParamIndexshortread, writeo.SizeParamIndex o.SizeParamIndex = v
SizeConstintread, writeo.SizeConst o.SizeConst = v
MarshalTypestringread, writeo.MarshalType o.MarshalType = v
MarshalTypeRefTyperead, writeo.MarshalTypeRef o.MarshalTypeRef = v
MarshalCookiestringread, writeo.MarshalCookie o.MarshalCookie = v

Members of the base class are inherited.

MarshalDirectiveException class · extends SystemException

System.Runtime.InteropServices.MarshalDirectiveException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new MarshalDirectiveException()
new MarshalDirectiveException(string message)
new MarshalDirectiveException(string message, Exception inner)

Ring: new MarshalDirectiveException(args) uses one constructor; the others are chosen by the parameter names: new MarshalDirectiveException().@New([ :param = value ]) or dnNew("MarshalDirectiveException",[ :param = value ]).

Members of the base class are inherited.

MemoryMarshal class static

System.Runtime.InteropServices.MemoryMarshal · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
AsBytesAsBytes(p1)static Span<byte> AsBytes<T>(Span<T> span)
static ReadOnlySpan<byte> AsBytes<T>(ReadOnlySpan<T> span)
AsMemoryAsMemory(p1)static Memory<T> AsMemory<T>(ReadOnlyMemory<T> memory)
AsRefAsRef(value)
AsRef([ :span = … ])
static T AsRef<T>(Span<byte> span)
static T AsRef<T>(ReadOnlySpan<byte> span)
CastCast(value)
Cast([ :span = … ])
static Span<TTo> Cast<TFrom, TTo>(Span<TFrom> span)
static ReadOnlySpan<TTo> Cast<TFrom, TTo>(ReadOnlySpan<TFrom> span)
CreateFromPinnedArrayCreateFromPinnedArray(p1,p2,p3)static Memory<T> CreateFromPinnedArray<T>(T[] array, int start, int length)
CreateReadOnlySpanCreateReadOnlySpan(p1,p2)static ReadOnlySpan<T> CreateReadOnlySpan<T>(ref T reference, int length)
CreateReadOnlySpanFromNullTerminatedCreateReadOnlySpanFromNullTerminated(p1)static ReadOnlySpan<char> CreateReadOnlySpanFromNullTerminated(Char* value)
static ReadOnlySpan<byte> CreateReadOnlySpanFromNullTerminated(Byte* value)
CreateSpanCreateSpan(p1,p2)static Span<T> CreateSpan<T>(ref T reference, int length)
GetArrayDataReferenceGetArrayDataReference(p1)static T GetArrayDataReference<T>(T[] array)
static byte GetArrayDataReference(Array array)
GetReferenceGetReference(p1)static T GetReference<T>(Span<T> span)
static T GetReference<T>(ReadOnlySpan<T> span)
ReadRead(value)
Read([ :source = … ])
static T Read<T>(ReadOnlySpan<byte> source)
ToEnumerableToEnumerable(p1)static IEnumerable<T> ToEnumerable<T>(ReadOnlyMemory<T> memory)
TryGetArrayTryGetArray(p1)static bool TryGetArray<T>(ReadOnlyMemory<T> memory, out ArraySegment<T> segment)
TryGetMemoryManagerTryGetMemoryManager(p1)static bool TryGetMemoryManager<T, TManager>(ReadOnlyMemory<T> memory, out TManager manager)
static bool TryGetMemoryManager<T, TManager>(ReadOnlyMemory<T> memory, out TManager manager, out int start, out int length)
TryGetStringTryGetString(p1)static bool TryGetString(ReadOnlyMemory<char> memory, out string text, out int start, out int length)
TryReadTryRead(p1)static bool TryRead<T>(ReadOnlySpan<byte> source, out T value)
TryWriteTryWrite(p1,p2)static bool TryWrite<T>(Span<byte> destination, ref T value)
WriteWrite(p1,p2)static void Write<T>(Span<byte> destination, ref T value)
NativeLibrary class static

System.Runtime.InteropServices.NativeLibrary · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
FreeFree(p1)static void Free(IntPtr handle)
GetExportGetExport(p1,p2)static IntPtr GetExport(IntPtr handle, string name)
GetMainProgramHandleGetMainProgramHandle()static IntPtr GetMainProgramHandle()
Load@Load(value)
@Load([ :libraryPath = … ])
@Load([ :libraryName = …, :assembly = …, :searchPath = … ])
static IntPtr Load(string libraryPath)
static IntPtr Load(string libraryName, Assembly assembly, DllImportSearchPath? searchPath)
SetDllImportResolverSetDllImportResolver(p1,p2)static void SetDllImportResolver(Assembly assembly, DllImportResolver resolver)
TryGetExportTryGetExport(p1,p2)static bool TryGetExport(IntPtr handle, string name, out IntPtr address)
TryLoadTryLoad([ :libraryPath = …, :handle = … ])
TryLoad([ :libraryName = …, :assembly = …, :searchPath = …, :handle = … ])
static bool TryLoad(string libraryPath, out IntPtr handle)
static bool TryLoad(string libraryName, Assembly assembly, DllImportSearchPath? searchPath, out IntPtr handle)
NativeMemory class static

System.Runtime.InteropServices.NativeMemory · assembly System.Private.CoreLib

Methods

MethodRing call.NET overloads
AlignedAllocAlignedAlloc(p1,p2)static Void* AlignedAlloc(UIntPtr byteCount, UIntPtr alignment)
AlignedFreeAlignedFree(p1)static void AlignedFree(Void* ptr)
AlignedReallocAlignedRealloc(p1,p2,p3)static Void* AlignedRealloc(Void* ptr, UIntPtr byteCount, UIntPtr alignment)
AllocAlloc(value)
Alloc([ :byteCount = … ])
Alloc([ :elementCount = …, :elementSize = … ])
static Void* Alloc(UIntPtr elementCount, UIntPtr elementSize)
static Void* Alloc(UIntPtr byteCount)
AllocZeroedAllocZeroed(value)
AllocZeroed([ :byteCount = … ])
AllocZeroed([ :elementCount = …, :elementSize = … ])
static Void* AllocZeroed(UIntPtr byteCount)
static Void* AllocZeroed(UIntPtr elementCount, UIntPtr elementSize)
ClearClear(p1,p2)static void Clear(Void* ptr, UIntPtr byteCount)
CopyCopy(p1,p2,p3)static void Copy(Void* source, Void* destination, UIntPtr byteCount)
FillFill(p1,p2,p3)static void Fill(Void* ptr, UIntPtr byteCount, byte value)
FreeFree(p1)static void Free(Void* ptr)
ReallocRealloc(p1,p2)static Void* Realloc(Void* ptr, UIntPtr byteCount)
NFloat struct

System.Runtime.InteropServices.NFloat · assembly System.Private.CoreLib

Implements: IComparable, ISpanFormattable, IFormattable, IUtf8SpanFormattable

Constructors

new NFloat(float value)
new NFloat(double value)

Ring: new NFloat(args) uses one constructor; the others are chosen by the parameter names: new NFloat().@New([ :param = value ]) or dnNew("NFloat",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuedoublereado.Value
EpsilonNFloatread · statico.Epsilon
MaxValueNFloatread · statico.MaxValue
MinValueNFloatread · statico.MinValue
NaNNFloatread · statico.NaN
NegativeInfinityNFloatread · statico.NegativeInfinity
PositiveInfinityNFloatread · statico.PositiveInfinity
Sizeintread · statico.Size
ENFloatread · statico.E
PiNFloatread · statico.Pi
TauNFloatread · statico.Tau
NegativeZeroNFloatread · statico.NegativeZero

Methods

MethodRing call.NET overloads
AbsAbs(p1)static NFloat Abs(NFloat value)
AcosAcos(p1)static NFloat Acos(NFloat x)
AcoshAcosh(p1)static NFloat Acosh(NFloat x)
AcosPiAcosPi(p1)static NFloat AcosPi(NFloat x)
AsinAsin(p1)static NFloat Asin(NFloat x)
AsinhAsinh(p1)static NFloat Asinh(NFloat x)
AsinPiAsinPi(p1)static NFloat AsinPi(NFloat x)
AtanAtan(p1)static NFloat Atan(NFloat x)
Atan2Atan2(p1,p2)static NFloat Atan2(NFloat y, NFloat x)
Atan2PiAtan2Pi(p1,p2)static NFloat Atan2Pi(NFloat y, NFloat x)
AtanhAtanh(p1)static NFloat Atanh(NFloat x)
AtanPiAtanPi(p1)static NFloat AtanPi(NFloat x)
BitDecrementBitDecrement(p1)static NFloat BitDecrement(NFloat x)
BitIncrementBitIncrement(p1)static NFloat BitIncrement(NFloat x)
CbrtCbrt(p1)static NFloat Cbrt(NFloat x)
CeilingCeiling(p1)static NFloat Ceiling(NFloat x)
ClampClamp(p1,p2,p3)static NFloat Clamp(NFloat value, NFloat min, NFloat max)
CompareToCompareTo(p1)int CompareTo(object obj)
int CompareTo(NFloat other)
ConvertToIntegerConvertToInteger(value)
ConvertToInteger([ :value = … ])
static TInteger ConvertToInteger<TInteger>(NFloat value)
ConvertToIntegerNativeConvertToIntegerNative(value)
ConvertToIntegerNative([ :value = … ])
static TInteger ConvertToIntegerNative<TInteger>(NFloat value)
CopySignCopySign(p1,p2)static NFloat CopySign(NFloat value, NFloat sign)
CosCos(p1)static NFloat Cos(NFloat x)
CoshCosh(p1)static NFloat Cosh(NFloat x)
CosPiCosPi(p1)static NFloat CosPi(NFloat x)
CreateCheckedCreateChecked(p1)static NFloat CreateChecked<TOther>(TOther value)
CreateSaturatingCreateSaturating(p1)static NFloat CreateSaturating<TOther>(TOther value)
CreateTruncatingCreateTruncating(p1)static NFloat CreateTruncating<TOther>(TOther value)
DegreesToRadiansDegreesToRadians(p1)static NFloat DegreesToRadians(NFloat degrees)
EqualsEquals(p1)bool Equals(object obj)
bool Equals(NFloat other)
ExpExp(p1)static NFloat Exp(NFloat x)
Exp10Exp10(p1)static NFloat Exp10(NFloat x)
Exp10M1Exp10M1(p1)static NFloat Exp10M1(NFloat x)
Exp2Exp2(p1)static NFloat Exp2(NFloat x)
Exp2M1Exp2M1(p1)static NFloat Exp2M1(NFloat x)
ExpM1ExpM1(p1)static NFloat ExpM1(NFloat x)
FloorFloor(p1)static NFloat Floor(NFloat x)
FusedMultiplyAddFusedMultiplyAdd(p1,p2,p3)static NFloat FusedMultiplyAdd(NFloat left, NFloat right, NFloat addend)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
HypotHypot(p1,p2)static NFloat Hypot(NFloat x, NFloat y)
Ieee754RemainderIeee754Remainder(p1,p2)static NFloat Ieee754Remainder(NFloat left, NFloat right)
ILogBILogB(p1)static int ILogB(NFloat x)
IsEvenIntegerIsEvenInteger(p1)static bool IsEvenInteger(NFloat value)
IsFiniteIsFinite(p1)static bool IsFinite(NFloat value)
IsInfinityIsInfinity(p1)static bool IsInfinity(NFloat value)
IsIntegerIsInteger(p1)static bool IsInteger(NFloat value)
IsNaNIsNaN(p1)static bool IsNaN(NFloat value)
IsNegativeIsNegative(p1)static bool IsNegative(NFloat value)
IsNegativeInfinityIsNegativeInfinity(p1)static bool IsNegativeInfinity(NFloat value)
IsNormalIsNormal(p1)static bool IsNormal(NFloat value)
IsOddIntegerIsOddInteger(p1)static bool IsOddInteger(NFloat value)
IsPositiveIsPositive(p1)static bool IsPositive(NFloat value)
IsPositiveInfinityIsPositiveInfinity(p1)static bool IsPositiveInfinity(NFloat value)
IsPow2IsPow2(p1)static bool IsPow2(NFloat value)
IsRealNumberIsRealNumber(p1)static bool IsRealNumber(NFloat value)
IsSubnormalIsSubnormal(p1)static bool IsSubnormal(NFloat value)
LerpLerp(p1,p2,p3)static NFloat Lerp(NFloat value1, NFloat value2, NFloat amount)
LogLog(value)
Log([ :x = … ])
Log([ :x = …, :newBase = … ])
static NFloat Log(NFloat x)
static NFloat Log(NFloat x, NFloat newBase)
Log10Log10(p1)static NFloat Log10(NFloat x)
Log10P1Log10P1(p1)static NFloat Log10P1(NFloat x)
Log2Log2(p1)static NFloat Log2(NFloat value)
Log2P1Log2P1(p1)static NFloat Log2P1(NFloat x)
LogP1LogP1(p1)static NFloat LogP1(NFloat x)
MaxMax(p1,p2)static NFloat Max(NFloat x, NFloat y)
MaxMagnitudeMaxMagnitude(p1,p2)static NFloat MaxMagnitude(NFloat x, NFloat y)
MaxMagnitudeNumberMaxMagnitudeNumber(p1,p2)static NFloat MaxMagnitudeNumber(NFloat x, NFloat y)
MaxNumberMaxNumber(p1,p2)static NFloat MaxNumber(NFloat x, NFloat y)
MinMin(p1,p2)static NFloat Min(NFloat x, NFloat y)
MinMagnitudeMinMagnitude(p1,p2)static NFloat MinMagnitude(NFloat x, NFloat y)
MinMagnitudeNumberMinMagnitudeNumber(p1,p2)static NFloat MinMagnitudeNumber(NFloat x, NFloat y)
MinNumberMinNumber(p1,p2)static NFloat MinNumber(NFloat x, NFloat y)
MultiplyAddEstimateMultiplyAddEstimate(p1,p2,p3)static NFloat MultiplyAddEstimate(NFloat left, NFloat right, NFloat addend)
ParseParse(value)
Parse([ :s = … ])
Parse([ :s = …, :style = … ])
Parse([ :s = …, :provider = … ])
Parse([ :utf8Text = …, :provider = … ])
static NFloat Parse(string s)
static NFloat Parse(string s, NumberStyles style)
static NFloat Parse(string s, IFormatProvider provider)
static NFloat Parse(string s, NumberStyles style, IFormatProvider provider)
static NFloat Parse(ReadOnlySpan<char> s, NumberStyles style = …, IFormatProvider provider = …)
static NFloat Parse(ReadOnlySpan<char> s, IFormatProvider provider)
static NFloat Parse(ReadOnlySpan<byte> utf8Text, NumberStyles style = …, IFormatProvider provider = …)
static NFloat Parse(ReadOnlySpan<byte> utf8Text, IFormatProvider provider)
PowPow(p1,p2)static NFloat Pow(NFloat x, NFloat y)
RadiansToDegreesRadiansToDegrees(p1)static NFloat RadiansToDegrees(NFloat radians)
ReciprocalEstimateReciprocalEstimate(p1)static NFloat ReciprocalEstimate(NFloat x)
ReciprocalSqrtEstimateReciprocalSqrtEstimate(p1)static NFloat ReciprocalSqrtEstimate(NFloat x)
RootNRootN(p1,p2)static NFloat RootN(NFloat x, int n)
RoundRound(value)
Round([ :x = … ])
Round([ :x = …, :digits = … ])
Round([ :x = …, :mode = … ])
Round([ :x = …, :digits = …, :mode = … ])
static NFloat Round(NFloat x)
static NFloat Round(NFloat x, int digits)
static NFloat Round(NFloat x, MidpointRounding mode)
static NFloat Round(NFloat x, int digits, MidpointRounding mode)
ScaleBScaleB(p1,p2)static NFloat ScaleB(NFloat x, int n)
SignSign(p1)static int Sign(NFloat value)
SinSin(p1)static NFloat Sin(NFloat x)
SinCosSinCos(p1)static ValueTuple<NFloat, NFloat> SinCos(NFloat x)
SinCosPiSinCosPi(p1)static ValueTuple<NFloat, NFloat> SinCosPi(NFloat x)
SinhSinh(p1)static NFloat Sinh(NFloat x)
SinPiSinPi(p1)static NFloat SinPi(NFloat x)
SqrtSqrt(p1)static NFloat Sqrt(NFloat x)
TanTan(p1)static NFloat Tan(NFloat x)
TanhTanh(p1)static NFloat Tanh(NFloat x)
TanPiTanPi(p1)static NFloat TanPi(NFloat x)
ToStringcallMethod("ToString",[])
callMethod("ToString",[p1])
callMethod("ToString",[p1,p2])
string ToString()
string ToString(string format)
string ToString(IFormatProvider provider)
string ToString(string format, IFormatProvider provider)
TruncateTruncate(p1)static NFloat Truncate(NFloat x)
TryFormatTryFormat([ :destination = …, :charsWritten = …, :format = …, :provider = … ])
TryFormat([ :utf8Destination = …, :bytesWritten = …, :format = …, :provider = … ])
bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = …, IFormatProvider provider = …)
bool TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format = …, IFormatProvider provider = …)
TryParseTryParse([ :s = …, :result = … ])
TryParse([ :utf8Text = …, :result = … ])
TryParse([ :s = …, :provider = …, :result = … ])
TryParse([ :utf8Text = …, :provider = …, :result = … ])
static bool TryParse(string s, out NFloat result)
static bool TryParse(ReadOnlySpan<char> s, out NFloat result)
static bool TryParse(ReadOnlySpan<byte> utf8Text, out NFloat result)
static bool TryParse(string s, NumberStyles style, IFormatProvider provider, out NFloat result)
static bool TryParse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider provider, out NFloat result)
static bool TryParse(string s, IFormatProvider provider, out NFloat result)
static bool TryParse(ReadOnlySpan<char> s, IFormatProvider provider, out NFloat result)
static bool TryParse(ReadOnlySpan<byte> utf8Text, NumberStyles style, IFormatProvider provider, out NFloat result)
static bool TryParse(ReadOnlySpan<byte> utf8Text, IFormatProvider provider, out NFloat result)
OptionalAttribute class sealed · extends Attribute

System.Runtime.InteropServices.OptionalAttribute · assembly System.Private.CoreLib

Constructors

new OptionalAttribute()

Ring: new OptionalAttribute(args) uses one constructor; the others are chosen by the parameter names: new OptionalAttribute().@New([ :param = value ]) or dnNew("OptionalAttribute",[ :param = value ]).

Members of the base class are inherited.

OSPlatform struct

System.Runtime.InteropServices.OSPlatform · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
FreeBSDOSPlatformread · statico.FreeBSD
LinuxOSPlatformread · statico.Linux
OSXOSPlatformread · statico.OSX
WindowsOSPlatformread · statico.Windows

Methods

MethodRing call.NET overloads
CreateCreate(p1)static OSPlatform Create(string osPlatform)
EqualsEquals(p1)bool Equals(OSPlatform other)
bool Equals(object obj)
GetHashCodecallMethod("GetHashCode",[])int GetHashCode()
ToStringcallMethod("ToString",[])string ToString()
OutAttribute class sealed · extends Attribute

System.Runtime.InteropServices.OutAttribute · assembly System.Private.CoreLib

Constructors

new OutAttribute()

Ring: new OutAttribute(args) uses one constructor; the others are chosen by the parameter names: new OutAttribute().@New([ :param = value ]) or dnNew("OutAttribute",[ :param = value ]).

Members of the base class are inherited.

PosixSignalContext class sealed

System.Runtime.InteropServices.PosixSignalContext · assembly System.Private.CoreLib

Constructors

new PosixSignalContext(PosixSignal signal)

Ring: new PosixSignalContext(args) uses one constructor; the others are chosen by the parameter names: new PosixSignalContext().@New([ :param = value ]) or dnNew("PosixSignalContext",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
SignalPosixSignalreado.Signal
Cancelboolread, writeo.Cancel o.Cancel = v
PosixSignalRegistration class sealed

System.Runtime.InteropServices.PosixSignalRegistration · assembly System.Private.CoreLib

Implements: IDisposable

Methods

MethodRing call.NET overloads
CreateCreate(p1,p2)static PosixSignalRegistration Create(PosixSignal signal, Action<PosixSignalContext> handler)
DisposecallMethod("Dispose",[])void Dispose()
PreserveSigAttribute class sealed · extends Attribute

System.Runtime.InteropServices.PreserveSigAttribute · assembly System.Private.CoreLib

Constructors

new PreserveSigAttribute()

Ring: new PreserveSigAttribute(args) uses one constructor; the others are chosen by the parameter names: new PreserveSigAttribute().@New([ :param = value ]) or dnNew("PreserveSigAttribute",[ :param = value ]).

Members of the base class are inherited.

PrimaryInteropAssemblyAttribute class sealed · extends Attribute

System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute · assembly System.Runtime.InteropServices

Constructors

new PrimaryInteropAssemblyAttribute(int major, int minor)

Ring: new PrimaryInteropAssemblyAttribute(args) uses one constructor; the others are chosen by the parameter names: new PrimaryInteropAssemblyAttribute().@New([ :param = value ]) or dnNew("PrimaryInteropAssemblyAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
MajorVersionintreado.MajorVersion
MinorVersionintreado.MinorVersion

Members of the base class are inherited.

ProgIdAttribute class sealed · extends Attribute

System.Runtime.InteropServices.ProgIdAttribute · assembly System.Private.CoreLib

Constructors

new ProgIdAttribute(string progId)

Ring: new ProgIdAttribute(args) uses one constructor; the others are chosen by the parameter names: new ProgIdAttribute().@New([ :param = value ]) or dnNew("ProgIdAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value

Members of the base class are inherited.

RuntimeEnvironment class static

System.Runtime.InteropServices.RuntimeEnvironment · assembly System.Runtime.InteropServices

Properties and fields

NameTypeAccessIn Ring
SystemConfigurationFilestringread · statico.SystemConfigurationFile

Methods

MethodRing call.NET overloads
FromGlobalAccessCacheFromGlobalAccessCache(p1)static bool FromGlobalAccessCache(Assembly a)
GetRuntimeDirectorycallMethod("GetRuntimeDirectory",[])static string GetRuntimeDirectory()
GetRuntimeInterfaceAsIntPtrGetRuntimeInterfaceAsIntPtr(p1,p2)static IntPtr GetRuntimeInterfaceAsIntPtr(Guid clsid, Guid riid)
GetRuntimeInterfaceAsObjectGetRuntimeInterfaceAsObject(p1,p2)static object GetRuntimeInterfaceAsObject(Guid clsid, Guid riid)
GetSystemVersioncallMethod("GetSystemVersion",[])static string GetSystemVersion()
RuntimeInformation class static

System.Runtime.InteropServices.RuntimeInformation · assembly System.Private.CoreLib

Properties and fields

NameTypeAccessIn Ring
RuntimeIdentifierstringread · statico.RuntimeIdentifier
ProcessArchitectureArchitectureread · statico.ProcessArchitecture
OSDescriptionstringread · statico.OSDescription
OSArchitectureArchitectureread · statico.OSArchitecture
FrameworkDescriptionstringread · statico.FrameworkDescription

Methods

MethodRing call.NET overloads
IsOSPlatformIsOSPlatform(p1)static bool IsOSPlatform(OSPlatform osPlatform)
SafeArrayRankMismatchException class · extends SystemException

System.Runtime.InteropServices.SafeArrayRankMismatchException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new SafeArrayRankMismatchException()
new SafeArrayRankMismatchException(string message)
new SafeArrayRankMismatchException(string message, Exception inner)

Ring: new SafeArrayRankMismatchException(args) uses one constructor; the others are chosen by the parameter names: new SafeArrayRankMismatchException().@New([ :param = value ]) or dnNew("SafeArrayRankMismatchException",[ :param = value ]).

Members of the base class are inherited.

SafeArrayTypeMismatchException class · extends SystemException

System.Runtime.InteropServices.SafeArrayTypeMismatchException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new SafeArrayTypeMismatchException()
new SafeArrayTypeMismatchException(string message)
new SafeArrayTypeMismatchException(string message, Exception inner)

Ring: new SafeArrayTypeMismatchException(args) uses one constructor; the others are chosen by the parameter names: new SafeArrayTypeMismatchException().@New([ :param = value ]) or dnNew("SafeArrayTypeMismatchException",[ :param = value ]).

Members of the base class are inherited.

SafeBuffer class abstract · extends SafeHandleZeroOrMinusOneIsInvalid

System.Runtime.InteropServices.SafeBuffer · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
ByteLengthulongreado.ByteLength
IsInvalidboolreado.IsInvalid
IsClosedboolreado.IsClosed

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DangerousAddRefDangerousAddRef(p1)void DangerousAddRef(ref bool success)
DangerousGetHandlecallMethod("DangerousGetHandle",[])IntPtr DangerousGetHandle()
DangerousReleasecallMethod("DangerousRelease",[])void DangerousRelease()
DisposecallMethod("Dispose",[])void Dispose()
InitializecallMethod("Initialize",[p1])
callMethod("Initialize",[p1,p2])
void Initialize(ulong numBytes)
void Initialize(uint numElements, uint sizeOfEachElement)
void Initialize<T>(uint numElements)
ReadRead(value)
Read([ :byteOffset = … ])
T Read<T>(ulong byteOffset)
ReadArrayReadArray(p1,p2,p3,p4)void ReadArray<T>(ulong byteOffset, T[] array, int index, int count)
ReadSpanReadSpan(p1,p2)void ReadSpan<T>(ulong byteOffset, Span<T> buffer)
ReleasePointercallMethod("ReleasePointer",[])void ReleasePointer()
SetHandleAsInvalidcallMethod("SetHandleAsInvalid",[])void SetHandleAsInvalid()
WriteWrite(p1,p2)void Write<T>(ulong byteOffset, T value)
WriteArrayWriteArray(p1,p2,p3,p4)void WriteArray<T>(ulong byteOffset, T[] array, int index, int count)
WriteSpanWriteSpan(p1,p2)void WriteSpan<T>(ulong byteOffset, ReadOnlySpan<T> data)

Members of the base class are inherited.

SafeHandle class abstract · extends CriticalFinalizerObject

System.Runtime.InteropServices.SafeHandle · assembly System.Private.CoreLib

Implements: IDisposable

Properties and fields

NameTypeAccessIn Ring
IsClosedboolreado.IsClosed
IsInvalidboolreado.IsInvalid

Methods

MethodRing call.NET overloads
ClosecallMethod("Close",[])void Close()
DangerousAddRefDangerousAddRef(p1)void DangerousAddRef(ref bool success)
DangerousGetHandlecallMethod("DangerousGetHandle",[])IntPtr DangerousGetHandle()
DangerousReleasecallMethod("DangerousRelease",[])void DangerousRelease()
DisposecallMethod("Dispose",[])void Dispose()
SetHandleAsInvalidcallMethod("SetHandleAsInvalid",[])void SetHandleAsInvalid()

Members of the base class are inherited.

SEHException class · extends ExternalException

System.Runtime.InteropServices.SEHException · assembly System.Private.CoreLib

Implements: ISerializable

Constructors

new SEHException()
new SEHException(string message)
new SEHException(string message, Exception inner)

Ring: new SEHException(args) uses one constructor; the others are chosen by the parameter names: new SEHException().@New([ :param = value ]) or dnNew("SEHException",[ :param = value ]).

Methods

MethodRing call.NET overloads
CanResumecallMethod("CanResume",[])bool CanResume()

Members of the base class are inherited.

SequenceMarshal class static

System.Runtime.InteropServices.SequenceMarshal · assembly System.Memory

Methods

MethodRing call.NET overloads
TryGetArrayTryGetArray(p1)static bool TryGetArray<T>(ReadOnlySequence<T> sequence, out ArraySegment<T> segment)
TryGetReadOnlyMemoryTryGetReadOnlyMemory(p1)static bool TryGetReadOnlyMemory<T>(ReadOnlySequence<T> sequence, out ReadOnlyMemory<T> memory)
TryGetReadOnlySequenceSegmentTryGetReadOnlySequenceSegment(p1)static bool TryGetReadOnlySequenceSegment<T>(ReadOnlySequence<T> sequence, out ReadOnlySequenceSegment<T> startSegment, out int startIndex, out ReadOnlySequenceSegment<T> endSegment, out int endIndex)
TryReadTryRead(p1)static bool TryRead<T>(ref SequenceReader<byte> reader, out T value)
StandardOleMarshalObject class

System.Runtime.InteropServices.StandardOleMarshalObject · assembly System.Private.CoreLib

StructLayoutAttribute class sealed · extends Attribute

System.Runtime.InteropServices.StructLayoutAttribute · assembly System.Private.CoreLib

Constructors

new StructLayoutAttribute(LayoutKind layoutKind)
new StructLayoutAttribute(short layoutKind)

Ring: new StructLayoutAttribute(args) uses one constructor; the others are chosen by the parameter names: new StructLayoutAttribute().@New([ :param = value ]) or dnNew("StructLayoutAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueLayoutKindreado.Value
Packintread, writeo.Pack o.Pack = v
Sizeintread, writeo.Size o.Size = v
CharSetCharSetread, writeo.CharSet o.CharSet = v

Members of the base class are inherited.

SuppressGCTransitionAttribute class sealed · extends Attribute

System.Runtime.InteropServices.SuppressGCTransitionAttribute · assembly System.Private.CoreLib

Constructors

new SuppressGCTransitionAttribute()

Ring: new SuppressGCTransitionAttribute(args) uses one constructor; the others are chosen by the parameter names: new SuppressGCTransitionAttribute().@New([ :param = value ]) or dnNew("SuppressGCTransitionAttribute",[ :param = value ]).

Members of the base class are inherited.

TypeIdentifierAttribute class sealed · extends Attribute

System.Runtime.InteropServices.TypeIdentifierAttribute · assembly System.Private.CoreLib

Constructors

new TypeIdentifierAttribute()
new TypeIdentifierAttribute(string scope, string identifier)

Ring: new TypeIdentifierAttribute(args) uses one constructor; the others are chosen by the parameter names: new TypeIdentifierAttribute().@New([ :param = value ]) or dnNew("TypeIdentifierAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Scopestringreado.Scope
Identifierstringreado.Identifier

Members of the base class are inherited.

TypeLibFuncAttribute class sealed · extends Attribute

System.Runtime.InteropServices.TypeLibFuncAttribute · assembly System.Runtime.InteropServices

Constructors

new TypeLibFuncAttribute(TypeLibFuncFlags flags)
new TypeLibFuncAttribute(short flags)

Ring: new TypeLibFuncAttribute(args) uses one constructor; the others are chosen by the parameter names: new TypeLibFuncAttribute().@New([ :param = value ]) or dnNew("TypeLibFuncAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueTypeLibFuncFlagsreado.Value

Members of the base class are inherited.

TypeLibImportClassAttribute class sealed · extends Attribute

System.Runtime.InteropServices.TypeLibImportClassAttribute · assembly System.Runtime.InteropServices

Constructors

new TypeLibImportClassAttribute(Type importClass)

Ring: new TypeLibImportClassAttribute(args) uses one constructor; the others are chosen by the parameter names: new TypeLibImportClassAttribute().@New([ :param = value ]) or dnNew("TypeLibImportClassAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
Valuestringreado.Value

Members of the base class are inherited.

TypeLibTypeAttribute class sealed · extends Attribute

System.Runtime.InteropServices.TypeLibTypeAttribute · assembly System.Runtime.InteropServices

Constructors

new TypeLibTypeAttribute(TypeLibTypeFlags flags)
new TypeLibTypeAttribute(short flags)

Ring: new TypeLibTypeAttribute(args) uses one constructor; the others are chosen by the parameter names: new TypeLibTypeAttribute().@New([ :param = value ]) or dnNew("TypeLibTypeAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueTypeLibTypeFlagsreado.Value

Members of the base class are inherited.

TypeLibVarAttribute class sealed · extends Attribute

System.Runtime.InteropServices.TypeLibVarAttribute · assembly System.Runtime.InteropServices

Constructors

new TypeLibVarAttribute(TypeLibVarFlags flags)
new TypeLibVarAttribute(short flags)

Ring: new TypeLibVarAttribute(args) uses one constructor; the others are chosen by the parameter names: new TypeLibVarAttribute().@New([ :param = value ]) or dnNew("TypeLibVarAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ValueTypeLibVarFlagsreado.Value

Members of the base class are inherited.

TypeLibVersionAttribute class sealed · extends Attribute

System.Runtime.InteropServices.TypeLibVersionAttribute · assembly System.Runtime.InteropServices

Constructors

new TypeLibVersionAttribute(int major, int minor)

Ring: new TypeLibVersionAttribute(args) uses one constructor; the others are chosen by the parameter names: new TypeLibVersionAttribute().@New([ :param = value ]) or dnNew("TypeLibVersionAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
MajorVersionintreado.MajorVersion
MinorVersionintreado.MinorVersion

Members of the base class are inherited.

UnknownWrapper class sealed

System.Runtime.InteropServices.UnknownWrapper · assembly System.Private.CoreLib

Constructors

new UnknownWrapper(object obj)

Ring: new UnknownWrapper(args) uses one constructor; the others are chosen by the parameter names: new UnknownWrapper().@New([ :param = value ]) or dnNew("UnknownWrapper",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
WrappedObjectobjectreado.WrappedObject
UnmanagedCallConvAttribute class sealed · extends Attribute

System.Runtime.InteropServices.UnmanagedCallConvAttribute · assembly System.Private.CoreLib

Constructors

new UnmanagedCallConvAttribute()

Ring: new UnmanagedCallConvAttribute(args) uses one constructor; the others are chosen by the parameter names: new UnmanagedCallConvAttribute().@New([ :param = value ]) or dnNew("UnmanagedCallConvAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CallConvsType[]read, writeo.CallConvs o.CallConvs = v

Members of the base class are inherited.

UnmanagedCallersOnlyAttribute class sealed · extends Attribute

System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute · assembly System.Private.CoreLib

Constructors

new UnmanagedCallersOnlyAttribute()

Ring: new UnmanagedCallersOnlyAttribute(args) uses one constructor; the others are chosen by the parameter names: new UnmanagedCallersOnlyAttribute().@New([ :param = value ]) or dnNew("UnmanagedCallersOnlyAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CallConvsType[]read, writeo.CallConvs o.CallConvs = v
EntryPointstringread, writeo.EntryPoint o.EntryPoint = v

Members of the base class are inherited.

UnmanagedFunctionPointerAttribute class sealed · extends Attribute

System.Runtime.InteropServices.UnmanagedFunctionPointerAttribute · assembly System.Private.CoreLib

Constructors

new UnmanagedFunctionPointerAttribute(CallingConvention callingConvention)

Ring: new UnmanagedFunctionPointerAttribute(args) uses one constructor; the others are chosen by the parameter names: new UnmanagedFunctionPointerAttribute().@New([ :param = value ]) or dnNew("UnmanagedFunctionPointerAttribute",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
CallingConventionCallingConventionreado.CallingConvention
BestFitMappingboolread, writeo.BestFitMapping o.BestFitMapping = v
SetLastErrorboolread, writeo.SetLastError o.SetLastError = v
ThrowOnUnmappableCharboolread, writeo.ThrowOnUnmappableChar o.ThrowOnUnmappableChar = v
CharSetCharSetread, writeo.CharSet o.CharSet = v

Members of the base class are inherited.

VariantWrapper class sealed

System.Runtime.InteropServices.VariantWrapper · assembly System.Private.CoreLib

Constructors

new VariantWrapper(object obj)

Ring: new VariantWrapper(args) uses one constructor; the others are chosen by the parameter names: new VariantWrapper().@New([ :param = value ]) or dnNew("VariantWrapper",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
WrappedObjectobjectreado.WrappedObject
WasmImportLinkageAttribute class sealed · extends Attribute

System.Runtime.InteropServices.WasmImportLinkageAttribute · assembly System.Private.CoreLib

Constructors

new WasmImportLinkageAttribute()

Ring: new WasmImportLinkageAttribute(args) uses one constructor; the others are chosen by the parameter names: new WasmImportLinkageAttribute().@New([ :param = value ]) or dnNew("WasmImportLinkageAttribute",[ :param = value ]).

Members of the base class are inherited.