System.Runtime.InteropServices
93 wrapped types. Load them with using { "System.Runtime.InteropServices" }. Click a class to open it.
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
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object obj)bool Equals(ArrayWithOffset obj) |
GetArray | callMethod("GetArray",[]) | object GetArray() |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
GetOffset | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | bool | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
BestFitMapping | bool | read | o.BestFitMapping |
ThrowOnUnmappableChar | bool | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
WrappedObject | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | ClassInterfaceType | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | IntPtr | read | o.Value |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object o)bool Equals(CLong other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
CoClass | Type | read | o.CoClass |
Members of the base class are inherited.
CollectionsMarshal class static
System.Runtime.InteropServices.CollectionsMarshal · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AsSpan | AsSpan(p1) | static Span<T> AsSpan<T>(List<T> list) |
GetValueRefOrAddDefault | GetValueRefOrAddDefault(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) |
GetValueRefOrNullRef | GetValueRefOrNullRef(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) |
SetCount | SetCount(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Attributes | EventAttributes | read | o.getAttributes() |
DeclaringType | Type | read | o.getDeclaringType() |
MetadataToken | int | read | o.getMetadataToken() |
Module | Module | read | o.getModule() |
Name | string | read | o.getName() |
ReflectedType | Type | read | o.getReflectedType() |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddEventHandler | AddEventHandler(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) |
GetCustomAttributesData | callMethod("GetCustomAttributesData",[]) | IList<CustomAttributeData> GetCustomAttributesData() |
GetOtherMethods | GetOtherMethods(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) |
IsDefined | IsDefined(p1,p2) | bool IsDefined(Type attributeType, bool inherit) |
RemoveEventHandler | RemoveEventHandler(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
| Name | Type | Access | In Ring |
|---|---|---|---|
MajorVersion | int | read | o.MajorVersion |
MinorVersion | int | read | o.MinorVersion |
BuildNumber | int | read | o.BuildNumber |
RevisionNumber | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | Type | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
SourceInterface | Type | read | o.SourceInterface |
EventProvider | Type | read | o.EventProvider |
Members of the base class are inherited.
ComEventsHelper class static
System.Runtime.InteropServices.ComEventsHelper · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Combine | Combine(p1,p2,p3,p4) | static void Combine(object rcw, Guid iid, int dispid, Delegate d) |
Remove | Remove(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
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | bool | read | o.Value |
Members of the base class are inherited.
ComWrappers class abstract
System.Runtime.InteropServices.ComWrappers · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetIUnknownImpl | GetIUnknownImpl() | static void GetIUnknownImpl(out IntPtr fpQueryInterface, out IntPtr fpAddRef, out IntPtr fpRelease) |
GetOrCreateComInterfaceForObject | callMethod("GetOrCreateComInterfaceForObject",[p1,p2]) | IntPtr GetOrCreateComInterfaceForObject(object instance, CreateComInterfaceFlags flags) |
GetOrCreateObjectForComInstance | callMethod("GetOrCreateObjectForComInstance",[p1,p2]) | object GetOrCreateObjectForComInstance(IntPtr externalComObject, CreateObjectFlags flags) |
GetOrRegisterObjectForComInstance | GetOrRegisterObjectForComInstance([ :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) |
RegisterForMarshalling | RegisterForMarshalling(p1) | static void RegisterForMarshalling(ComWrappers instance) |
RegisterForTrackerSupport | RegisterForTrackerSupport(p1) | static void RegisterForTrackerSupport(ComWrappers instance) |
TryGetComInstance | TryGetComInstance(p1) | static bool TryGetComInstance(object obj, out IntPtr unknown) |
TryGetObject | TryGetObject(p1) | static bool TryGetObject(IntPtr unknown, out object obj) |
ComWrappersComInterfaceDispatch struct
System.Runtime.InteropServices.ComWrappers+ComInterfaceDispatch · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Vtable | IntPtr | read, write | o.Vtable o.Vtable = v |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetInstance | GetInstance(value)GetInstance([ :dispatchPtr = … ]) | static T GetInstance<T>(ComInterfaceDispatch* dispatchPtr) |
ComWrappersComInterfaceEntry struct
System.Runtime.InteropServices.ComWrappers+ComInterfaceEntry · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IID | Guid | read, write | o.IID o.IID = v |
Vtable | IntPtr | read, write | o.Vtable o.Vtable = v |
CriticalHandle class abstract · extends CriticalFinalizerObject
System.Runtime.InteropServices.CriticalHandle · assembly System.Private.CoreLib
Implements: IDisposable
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
IsClosed | bool | read | o.IsClosed |
IsInvalid | bool | read | o.IsInvalid |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
SetHandleAsInvalid | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | UIntPtr | read | o.Value |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Equals | Equals(p1) | bool Equals(object o)bool Equals(CULong other) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
CharSet | CharSet | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Paths | DllImportSearchPath | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | object | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
WrappedObject | object | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
EntryPoint | string | read, write | o.EntryPoint o.EntryPoint = v |
CharSet | CharSet | read, write | o.CharSet o.CharSet = v |
SetLastError | bool | read, write | o.SetLastError o.SetLastError = v |
ExactSpelling | bool | read, write | o.ExactSpelling o.ExactSpelling = v |
CallingConvention | CallingConvention | read, write | o.CallingConvention o.CallingConvention = v |
BestFitMapping | bool | read, write | o.BestFitMapping o.BestFitMapping = v |
PreserveSig | bool | read, write | o.PreserveSig o.PreserveSig = v |
ThrowOnUnmappableChar | bool | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
ErrorCode | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
ErrorCode | int | read | o.ErrorCode |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | int | read | o.Value |
Members of the base class are inherited.
GCHandle struct
System.Runtime.InteropServices.GCHandle · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
Target | object | read, write | o.Target o.Target = v |
IsAllocated | bool | read | o.IsAllocated |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddrOfPinnedObject | callMethod("AddrOfPinnedObject",[]) | IntPtr AddrOfPinnedObject() |
Alloc | Alloc(value)Alloc([ :value = … ])Alloc([ :value = …, :type = … ]) | static GCHandle Alloc(object value)static GCHandle Alloc(object value, GCHandleType type) |
Equals | Equals(p1) | bool Equals(object o)bool Equals(GCHandle other) |
Free | callMethod("Free",[]) | void Free() |
FromIntPtr | FromIntPtr(p1) | static GCHandle FromIntPtr(IntPtr value) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToIntPtr | ToIntPtr(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Count | int | read | o.Count |
InitialThreshold | int | read | o.InitialThreshold |
MaximumThreshold | int | read | o.MaximumThreshold |
Name | string | read | o.Name |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Add | callMethod("Add",[]) | void Add() |
Remove | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Wrapper | object | read | o.Wrapper |
Handle | IntPtr | read | o.Handle |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ToIntPtr | ToIntPtr(p1) | static IntPtr ToIntPtr(HandleRef value) |
ICustomAdapter interface
System.Runtime.InteropServices.ICustomAdapter · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetUnderlyingObject | callMethod("GetUnderlyingObject",[]) | object GetUnderlyingObject() |
ICustomFactory interface
System.Runtime.InteropServices.ICustomFactory · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateInstance | callMethod("CreateInstance",[p1]) | MarshalByRefObject CreateInstance(Type serverType) |
ICustomMarshaler interface
System.Runtime.InteropServices.ICustomMarshaler · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CleanUpManagedData | CleanUpManagedData(p1) | void CleanUpManagedData(object ManagedObj) |
CleanUpNativeData | CleanUpNativeData(p1) | void CleanUpNativeData(IntPtr pNativeData) |
GetNativeDataSize | callMethod("GetNativeDataSize",[]) | int GetNativeDataSize() |
MarshalManagedToNative | callMethod("MarshalManagedToNative",[p1]) | IntPtr MarshalManagedToNative(object ManagedObj) |
MarshalNativeToManaged | callMethod("MarshalNativeToManaged",[p1]) | object MarshalNativeToManaged(IntPtr pNativeData) |
ICustomQueryInterface interface
System.Runtime.InteropServices.ICustomQueryInterface · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetInterface | GetInterface(p1) | CustomQueryInterfaceResult GetInterface(ref Guid iid, out IntPtr ppv) |
IDynamicInterfaceCastable interface
System.Runtime.InteropServices.IDynamicInterfaceCastable · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
GetInterfaceImplementation | callMethod("GetInterfaceImplementation",[p1]) | RuntimeTypeHandle GetInterfaceImplementation(RuntimeTypeHandle interfaceType) |
IsInterfaceImplemented | IsInterfaceImplemented(p1,p2) | bool IsInterfaceImplemented(RuntimeTypeHandle interfaceType, bool throwIfNotImplemented) |
ImmutableCollectionsMarshal class static
System.Runtime.InteropServices.ImmutableCollectionsMarshal · assembly System.Collections.Immutable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AsArray | AsArray(p1) | static T[] AsArray<T>(ImmutableArray<T> array) |
AsImmutableArray | AsImmutableArray(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | ComInterfaceType | read | o.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
| Method | Ring call | .NET overloads |
|---|---|---|
GetRawUtf8Value | GetRawUtf8Value(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
LibraryName | string | read | o.LibraryName |
EntryPoint | string | read, write | o.EntryPoint o.EntryPoint = v |
StringMarshalling | StringMarshalling | read, write | o.StringMarshalling o.StringMarshalling = v |
StringMarshallingCustomType | Type | read, write | o.StringMarshallingCustomType o.StringMarshallingCustomType = v |
SetLastError | bool | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
ClassType | Type | read | o.ClassType |
MethodName | string | read | o.MethodName |
Members of the base class are inherited.
Marshal class static
System.Runtime.InteropServices.Marshal · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SystemDefaultCharSize | int | read · static | o.SystemDefaultCharSize |
SystemMaxDBCSCharSize | int | read · static | o.SystemMaxDBCSCharSize |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
AddRef | AddRef(p1) | static int AddRef(IntPtr pUnk) |
AllocCoTaskMem | AllocCoTaskMem(p1) | static IntPtr AllocCoTaskMem(int cb) |
AllocHGlobal | AllocHGlobal(p1) | static IntPtr AllocHGlobal(int cb)static IntPtr AllocHGlobal(IntPtr cb) |
AreComObjectsAvailableForCleanup | callMethod("AreComObjectsAvailableForCleanup",[]) | static bool AreComObjectsAvailableForCleanup() |
BindToMoniker | BindToMoniker(p1) | static object BindToMoniker(string monikerName) |
ChangeWrapperHandleStrength | ChangeWrapperHandleStrength(p1,p2) | static void ChangeWrapperHandleStrength(object otp, bool fIsWeak) |
CleanupUnusedObjectsInCurrentContext | callMethod("CleanupUnusedObjectsInCurrentContext",[]) | static void CleanupUnusedObjectsInCurrentContext() |
Copy | Copy(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) |
CreateAggregatedObject | CreateAggregatedObject(p1,p2) | static IntPtr CreateAggregatedObject(IntPtr pOuter, object o)static IntPtr CreateAggregatedObject<T>(IntPtr pOuter, T o) |
CreateWrapperOfType | CreateWrapperOfType(value)CreateWrapperOfType([ :o = … ])CreateWrapperOfType([ :o = …, :t = … ]) | static object CreateWrapperOfType(object o, Type t)static TWrapper CreateWrapperOfType<T, TWrapper>(T o) |
DestroyStructure | DestroyStructure(value)DestroyStructure([ :ptr = … ])DestroyStructure([ :ptr = …, :structuretype = … ]) | static void DestroyStructure(IntPtr ptr, Type structuretype)static void DestroyStructure<T>(IntPtr ptr) |
FinalReleaseComObject | FinalReleaseComObject(p1) | static int FinalReleaseComObject(object o) |
FreeBSTR | FreeBSTR(p1) | static void FreeBSTR(IntPtr ptr) |
FreeCoTaskMem | FreeCoTaskMem(p1) | static void FreeCoTaskMem(IntPtr ptr) |
FreeHGlobal | FreeHGlobal(p1) | static void FreeHGlobal(IntPtr hglobal) |
GenerateGuidForType | GenerateGuidForType(p1) | static Guid GenerateGuidForType(Type type) |
GenerateProgIdForType | GenerateProgIdForType(p1) | static string GenerateProgIdForType(Type type) |
GetComInterfaceForObject | GetComInterfaceForObject(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) |
GetComObjectData | GetComObjectData(p1,p2) | static object GetComObjectData(object obj, object key) |
GetDelegateForFunctionPointer | GetDelegateForFunctionPointer(value)GetDelegateForFunctionPointer([ :ptr = … ])GetDelegateForFunctionPointer([ :ptr = …, :t = … ]) | static Delegate GetDelegateForFunctionPointer(IntPtr ptr, Type t)static TDelegate GetDelegateForFunctionPointer<TDelegate>(IntPtr ptr) |
GetEndComSlot | GetEndComSlot(p1) | static int GetEndComSlot(Type t) |
GetExceptionCode | callMethod("GetExceptionCode",[]) | static int GetExceptionCode() |
GetExceptionForHR | GetExceptionForHR(value)GetExceptionForHR([ :errorCode = … ])GetExceptionForHR([ :errorCode = …, :errorInfo = … ]) | static Exception GetExceptionForHR(int errorCode)static Exception GetExceptionForHR(int errorCode, IntPtr errorInfo) |
GetExceptionPointers | GetExceptionPointers() | static IntPtr GetExceptionPointers() |
GetFunctionPointerForDelegate | GetFunctionPointerForDelegate(p1) | static IntPtr GetFunctionPointerForDelegate(Delegate d)static IntPtr GetFunctionPointerForDelegate<TDelegate>(TDelegate d) |
GetHINSTANCE | GetHINSTANCE(p1) | static IntPtr GetHINSTANCE(Module m) |
GetHRForException | GetHRForException(p1) | static int GetHRForException(Exception e) |
GetHRForLastWin32Error | callMethod("GetHRForLastWin32Error",[]) | static int GetHRForLastWin32Error() |
GetIDispatchForObject | GetIDispatchForObject(p1) | static IntPtr GetIDispatchForObject(object o) |
GetIUnknownForObject | GetIUnknownForObject(p1) | static IntPtr GetIUnknownForObject(object o) |
GetLastPInvokeError | callMethod("GetLastPInvokeError",[]) | static int GetLastPInvokeError() |
GetLastPInvokeErrorMessage | callMethod("GetLastPInvokeErrorMessage",[]) | static string GetLastPInvokeErrorMessage() |
GetLastSystemError | callMethod("GetLastSystemError",[]) | static int GetLastSystemError() |
GetLastWin32Error | callMethod("GetLastWin32Error",[]) | static int GetLastWin32Error() |
GetNativeVariantForObject | GetNativeVariantForObject(p1,p2) | static void GetNativeVariantForObject(object obj, IntPtr pDstNativeVariant)static void GetNativeVariantForObject<T>(T obj, IntPtr pDstNativeVariant) |
GetObjectForIUnknown | GetObjectForIUnknown(p1) | static object GetObjectForIUnknown(IntPtr pUnk) |
GetObjectForNativeVariant | GetObjectForNativeVariant(p1) | static object GetObjectForNativeVariant(IntPtr pSrcNativeVariant)static T GetObjectForNativeVariant<T>(IntPtr pSrcNativeVariant) |
GetObjectsForNativeVariants | GetObjectsForNativeVariants(p1,p2) | static object[] GetObjectsForNativeVariants(IntPtr aSrcNativeVariant, int cVars)static T[] GetObjectsForNativeVariants<T>(IntPtr aSrcNativeVariant, int cVars) |
GetPInvokeErrorMessage | callMethod("GetPInvokeErrorMessage",[p1]) | static string GetPInvokeErrorMessage(int error) |
GetStartComSlot | GetStartComSlot(p1) | static int GetStartComSlot(Type t) |
GetTypedObjectForIUnknown | GetTypedObjectForIUnknown(p1,p2) | static object GetTypedObjectForIUnknown(IntPtr pUnk, Type t) |
GetTypeFromCLSID | GetTypeFromCLSID(p1) | static Type GetTypeFromCLSID(Guid clsid) |
GetTypeInfoName | GetTypeInfoName(p1) | static string GetTypeInfoName(ITypeInfo typeInfo) |
GetUniqueObjectForIUnknown | GetUniqueObjectForIUnknown(p1) | static object GetUniqueObjectForIUnknown(IntPtr unknown) |
InitHandle | InitHandle(p1,p2) | static void InitHandle(SafeHandle safeHandle, IntPtr handle) |
IsComObject | IsComObject(p1) | static bool IsComObject(object o) |
IsTypeVisibleFromCom | IsTypeVisibleFromCom(p1) | static bool IsTypeVisibleFromCom(Type t) |
OffsetOf | OffsetOf(value)OffsetOf([ :fieldName = … ])OffsetOf([ :t = …, :fieldName = … ]) | static IntPtr OffsetOf(Type t, string fieldName)static IntPtr OffsetOf<T>(string fieldName) |
Prelink | Prelink(p1) | static void Prelink(MethodInfo m) |
PrelinkAll | PrelinkAll(p1) | static void PrelinkAll(Type c) |
PtrToStringAnsi | PtrToStringAnsi(value)PtrToStringAnsi([ :ptr = … ])PtrToStringAnsi([ :ptr = …, :len = … ]) | static string PtrToStringAnsi(IntPtr ptr)static string PtrToStringAnsi(IntPtr ptr, int len) |
PtrToStringAuto | PtrToStringAuto(value)PtrToStringAuto([ :ptr = … ])PtrToStringAuto([ :ptr = …, :len = … ]) | static string PtrToStringAuto(IntPtr ptr, int len)static string PtrToStringAuto(IntPtr ptr) |
PtrToStringBSTR | PtrToStringBSTR(p1) | static string PtrToStringBSTR(IntPtr ptr) |
PtrToStringUni | PtrToStringUni(value)PtrToStringUni([ :ptr = … ])PtrToStringUni([ :ptr = …, :len = … ]) | static string PtrToStringUni(IntPtr ptr)static string PtrToStringUni(IntPtr ptr, int len) |
PtrToStringUTF8 | PtrToStringUTF8(value)PtrToStringUTF8([ :ptr = … ])PtrToStringUTF8([ :ptr = …, :byteLen = … ]) | static string PtrToStringUTF8(IntPtr ptr)static string PtrToStringUTF8(IntPtr ptr, int byteLen) |
PtrToStructure | PtrToStructure(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) |
QueryInterface | QueryInterface(p1,p2) | static int QueryInterface(IntPtr pUnk, ref Guid iid, out IntPtr ppv) |
ReadByte | ReadByte(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) |
ReadInt16 | ReadInt16(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) |
ReadInt32 | ReadInt32(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) |
ReadInt64 | ReadInt64(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) |
ReadIntPtr | ReadIntPtr(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) |
ReAllocCoTaskMem | ReAllocCoTaskMem(p1,p2) | static IntPtr ReAllocCoTaskMem(IntPtr pv, int cb) |
ReAllocHGlobal | ReAllocHGlobal(p1,p2) | static IntPtr ReAllocHGlobal(IntPtr pv, IntPtr cb) |
Release | callMethod("Release",[p1]) | static int Release(IntPtr pUnk) |
ReleaseComObject | ReleaseComObject(p1) | static int ReleaseComObject(object o) |
SecureStringToBSTR | SecureStringToBSTR(p1) | static IntPtr SecureStringToBSTR(SecureString s) |
SecureStringToCoTaskMemAnsi | SecureStringToCoTaskMemAnsi(p1) | static IntPtr SecureStringToCoTaskMemAnsi(SecureString s) |
SecureStringToCoTaskMemUnicode | SecureStringToCoTaskMemUnicode(p1) | static IntPtr SecureStringToCoTaskMemUnicode(SecureString s) |
SecureStringToGlobalAllocAnsi | SecureStringToGlobalAllocAnsi(p1) | static IntPtr SecureStringToGlobalAllocAnsi(SecureString s) |
SecureStringToGlobalAllocUnicode | SecureStringToGlobalAllocUnicode(p1) | static IntPtr SecureStringToGlobalAllocUnicode(SecureString s) |
SetComObjectData | SetComObjectData(p1,p2,p3) | static bool SetComObjectData(object obj, object key, object data) |
SetLastPInvokeError | callMethod("SetLastPInvokeError",[p1]) | static void SetLastPInvokeError(int error) |
SetLastSystemError | callMethod("SetLastSystemError",[p1]) | static void SetLastSystemError(int error) |
SizeOf | SizeOf(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>() |
StringToBSTR | StringToBSTR(p1) | static IntPtr StringToBSTR(string s) |
StringToCoTaskMemAnsi | StringToCoTaskMemAnsi(p1) | static IntPtr StringToCoTaskMemAnsi(string s) |
StringToCoTaskMemAuto | StringToCoTaskMemAuto(p1) | static IntPtr StringToCoTaskMemAuto(string s) |
StringToCoTaskMemUni | StringToCoTaskMemUni(p1) | static IntPtr StringToCoTaskMemUni(string s) |
StringToCoTaskMemUTF8 | StringToCoTaskMemUTF8(p1) | static IntPtr StringToCoTaskMemUTF8(string s) |
StringToHGlobalAnsi | StringToHGlobalAnsi(p1) | static IntPtr StringToHGlobalAnsi(string s) |
StringToHGlobalAuto | StringToHGlobalAuto(p1) | static IntPtr StringToHGlobalAuto(string s) |
StringToHGlobalUni | StringToHGlobalUni(p1) | static IntPtr StringToHGlobalUni(string s) |
StructureToPtr | StructureToPtr(p1,p2,p3) | static void StructureToPtr(object structure, IntPtr ptr, bool fDeleteOld)static void StructureToPtr<T>(T structure, IntPtr ptr, bool fDeleteOld) |
ThrowExceptionForHR | ThrowExceptionForHR(value)ThrowExceptionForHR([ :errorCode = … ])ThrowExceptionForHR([ :errorCode = …, :errorInfo = … ]) | static void ThrowExceptionForHR(int errorCode)static void ThrowExceptionForHR(int errorCode, IntPtr errorInfo) |
UnsafeAddrOfPinnedArrayElement | UnsafeAddrOfPinnedArrayElement(p1,p2) | static IntPtr UnsafeAddrOfPinnedArrayElement(Array arr, int index)static IntPtr UnsafeAddrOfPinnedArrayElement<T>(T[] arr, int index) |
WriteByte | WriteByte([ :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) |
WriteInt16 | WriteInt16([ :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) |
WriteInt32 | WriteInt32([ :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) |
WriteInt64 | WriteInt64([ :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) |
WriteIntPtr | WriteIntPtr([ :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) |
ZeroFreeBSTR | ZeroFreeBSTR(p1) | static void ZeroFreeBSTR(IntPtr s) |
ZeroFreeCoTaskMemAnsi | ZeroFreeCoTaskMemAnsi(p1) | static void ZeroFreeCoTaskMemAnsi(IntPtr s) |
ZeroFreeCoTaskMemUnicode | ZeroFreeCoTaskMemUnicode(p1) | static void ZeroFreeCoTaskMemUnicode(IntPtr s) |
ZeroFreeCoTaskMemUTF8 | ZeroFreeCoTaskMemUTF8(p1) | static void ZeroFreeCoTaskMemUTF8(IntPtr s) |
ZeroFreeGlobalAllocAnsi | ZeroFreeGlobalAllocAnsi(p1) | static void ZeroFreeGlobalAllocAnsi(IntPtr s) |
ZeroFreeGlobalAllocUnicode | ZeroFreeGlobalAllocUnicode(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | UnmanagedType | read | o.Value |
SafeArraySubType | VarEnum | read, write | o.SafeArraySubType o.SafeArraySubType = v |
SafeArrayUserDefinedSubType | Type | read, write | o.SafeArrayUserDefinedSubType o.SafeArrayUserDefinedSubType = v |
IidParameterIndex | int | read, write | o.IidParameterIndex o.IidParameterIndex = v |
ArraySubType | UnmanagedType | read, write | o.ArraySubType o.ArraySubType = v |
SizeParamIndex | short | read, write | o.SizeParamIndex o.SizeParamIndex = v |
SizeConst | int | read, write | o.SizeConst o.SizeConst = v |
MarshalType | string | read, write | o.MarshalType o.MarshalType = v |
MarshalTypeRef | Type | read, write | o.MarshalTypeRef o.MarshalTypeRef = v |
MarshalCookie | string | read, write | o.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
| Method | Ring call | .NET overloads |
|---|---|---|
AsBytes | AsBytes(p1) | static Span<byte> AsBytes<T>(Span<T> span)static ReadOnlySpan<byte> AsBytes<T>(ReadOnlySpan<T> span) |
AsMemory | AsMemory(p1) | static Memory<T> AsMemory<T>(ReadOnlyMemory<T> memory) |
AsRef | AsRef(value)AsRef([ :span = … ]) | static T AsRef<T>(Span<byte> span)static T AsRef<T>(ReadOnlySpan<byte> span) |
Cast | Cast(value)Cast([ :span = … ]) | static Span<TTo> Cast<TFrom, TTo>(Span<TFrom> span)static ReadOnlySpan<TTo> Cast<TFrom, TTo>(ReadOnlySpan<TFrom> span) |
CreateFromPinnedArray | CreateFromPinnedArray(p1,p2,p3) | static Memory<T> CreateFromPinnedArray<T>(T[] array, int start, int length) |
CreateReadOnlySpan | CreateReadOnlySpan(p1,p2) | static ReadOnlySpan<T> CreateReadOnlySpan<T>(ref T reference, int length) |
CreateReadOnlySpanFromNullTerminated | CreateReadOnlySpanFromNullTerminated(p1) | static ReadOnlySpan<char> CreateReadOnlySpanFromNullTerminated(Char* value)static ReadOnlySpan<byte> CreateReadOnlySpanFromNullTerminated(Byte* value) |
CreateSpan | CreateSpan(p1,p2) | static Span<T> CreateSpan<T>(ref T reference, int length) |
GetArrayDataReference | GetArrayDataReference(p1) | static T GetArrayDataReference<T>(T[] array)static byte GetArrayDataReference(Array array) |
GetReference | GetReference(p1) | static T GetReference<T>(Span<T> span)static T GetReference<T>(ReadOnlySpan<T> span) |
Read | Read(value)Read([ :source = … ]) | static T Read<T>(ReadOnlySpan<byte> source) |
ToEnumerable | ToEnumerable(p1) | static IEnumerable<T> ToEnumerable<T>(ReadOnlyMemory<T> memory) |
TryGetArray | TryGetArray(p1) | static bool TryGetArray<T>(ReadOnlyMemory<T> memory, out ArraySegment<T> segment) |
TryGetMemoryManager | TryGetMemoryManager(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) |
TryGetString | TryGetString(p1) | static bool TryGetString(ReadOnlyMemory<char> memory, out string text, out int start, out int length) |
TryRead | TryRead(p1) | static bool TryRead<T>(ReadOnlySpan<byte> source, out T value) |
TryWrite | TryWrite(p1,p2) | static bool TryWrite<T>(Span<byte> destination, ref T value) |
Write | Write(p1,p2) | static void Write<T>(Span<byte> destination, ref T value) |
NativeLibrary class static
System.Runtime.InteropServices.NativeLibrary · assembly System.Private.CoreLib
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Free | Free(p1) | static void Free(IntPtr handle) |
GetExport | GetExport(p1,p2) | static IntPtr GetExport(IntPtr handle, string name) |
GetMainProgramHandle | GetMainProgramHandle() | 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) |
SetDllImportResolver | SetDllImportResolver(p1,p2) | static void SetDllImportResolver(Assembly assembly, DllImportResolver resolver) |
TryGetExport | TryGetExport(p1,p2) | static bool TryGetExport(IntPtr handle, string name, out IntPtr address) |
TryLoad | TryLoad([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
AlignedAlloc | AlignedAlloc(p1,p2) | static Void* AlignedAlloc(UIntPtr byteCount, UIntPtr alignment) |
AlignedFree | AlignedFree(p1) | static void AlignedFree(Void* ptr) |
AlignedRealloc | AlignedRealloc(p1,p2,p3) | static Void* AlignedRealloc(Void* ptr, UIntPtr byteCount, UIntPtr alignment) |
Alloc | Alloc(value)Alloc([ :byteCount = … ])Alloc([ :elementCount = …, :elementSize = … ]) | static Void* Alloc(UIntPtr elementCount, UIntPtr elementSize)static Void* Alloc(UIntPtr byteCount) |
AllocZeroed | AllocZeroed(value)AllocZeroed([ :byteCount = … ])AllocZeroed([ :elementCount = …, :elementSize = … ]) | static Void* AllocZeroed(UIntPtr byteCount)static Void* AllocZeroed(UIntPtr elementCount, UIntPtr elementSize) |
Clear | Clear(p1,p2) | static void Clear(Void* ptr, UIntPtr byteCount) |
Copy | Copy(p1,p2,p3) | static void Copy(Void* source, Void* destination, UIntPtr byteCount) |
Fill | Fill(p1,p2,p3) | static void Fill(Void* ptr, UIntPtr byteCount, byte value) |
Free | Free(p1) | static void Free(Void* ptr) |
Realloc | Realloc(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | double | read | o.Value |
Epsilon | NFloat | read · static | o.Epsilon |
MaxValue | NFloat | read · static | o.MaxValue |
MinValue | NFloat | read · static | o.MinValue |
NaN | NFloat | read · static | o.NaN |
NegativeInfinity | NFloat | read · static | o.NegativeInfinity |
PositiveInfinity | NFloat | read · static | o.PositiveInfinity |
Size | int | read · static | o.Size |
E | NFloat | read · static | o.E |
Pi | NFloat | read · static | o.Pi |
Tau | NFloat | read · static | o.Tau |
NegativeZero | NFloat | read · static | o.NegativeZero |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Abs | Abs(p1) | static NFloat Abs(NFloat value) |
Acos | Acos(p1) | static NFloat Acos(NFloat x) |
Acosh | Acosh(p1) | static NFloat Acosh(NFloat x) |
AcosPi | AcosPi(p1) | static NFloat AcosPi(NFloat x) |
Asin | Asin(p1) | static NFloat Asin(NFloat x) |
Asinh | Asinh(p1) | static NFloat Asinh(NFloat x) |
AsinPi | AsinPi(p1) | static NFloat AsinPi(NFloat x) |
Atan | Atan(p1) | static NFloat Atan(NFloat x) |
Atan2 | Atan2(p1,p2) | static NFloat Atan2(NFloat y, NFloat x) |
Atan2Pi | Atan2Pi(p1,p2) | static NFloat Atan2Pi(NFloat y, NFloat x) |
Atanh | Atanh(p1) | static NFloat Atanh(NFloat x) |
AtanPi | AtanPi(p1) | static NFloat AtanPi(NFloat x) |
BitDecrement | BitDecrement(p1) | static NFloat BitDecrement(NFloat x) |
BitIncrement | BitIncrement(p1) | static NFloat BitIncrement(NFloat x) |
Cbrt | Cbrt(p1) | static NFloat Cbrt(NFloat x) |
Ceiling | Ceiling(p1) | static NFloat Ceiling(NFloat x) |
Clamp | Clamp(p1,p2,p3) | static NFloat Clamp(NFloat value, NFloat min, NFloat max) |
CompareTo | CompareTo(p1) | int CompareTo(object obj)int CompareTo(NFloat other) |
ConvertToInteger | ConvertToInteger(value)ConvertToInteger([ :value = … ]) | static TInteger ConvertToInteger<TInteger>(NFloat value) |
ConvertToIntegerNative | ConvertToIntegerNative(value)ConvertToIntegerNative([ :value = … ]) | static TInteger ConvertToIntegerNative<TInteger>(NFloat value) |
CopySign | CopySign(p1,p2) | static NFloat CopySign(NFloat value, NFloat sign) |
Cos | Cos(p1) | static NFloat Cos(NFloat x) |
Cosh | Cosh(p1) | static NFloat Cosh(NFloat x) |
CosPi | CosPi(p1) | static NFloat CosPi(NFloat x) |
CreateChecked | CreateChecked(p1) | static NFloat CreateChecked<TOther>(TOther value) |
CreateSaturating | CreateSaturating(p1) | static NFloat CreateSaturating<TOther>(TOther value) |
CreateTruncating | CreateTruncating(p1) | static NFloat CreateTruncating<TOther>(TOther value) |
DegreesToRadians | DegreesToRadians(p1) | static NFloat DegreesToRadians(NFloat degrees) |
Equals | Equals(p1) | bool Equals(object obj)bool Equals(NFloat other) |
Exp | Exp(p1) | static NFloat Exp(NFloat x) |
Exp10 | Exp10(p1) | static NFloat Exp10(NFloat x) |
Exp10M1 | Exp10M1(p1) | static NFloat Exp10M1(NFloat x) |
Exp2 | Exp2(p1) | static NFloat Exp2(NFloat x) |
Exp2M1 | Exp2M1(p1) | static NFloat Exp2M1(NFloat x) |
ExpM1 | ExpM1(p1) | static NFloat ExpM1(NFloat x) |
Floor | Floor(p1) | static NFloat Floor(NFloat x) |
FusedMultiplyAdd | FusedMultiplyAdd(p1,p2,p3) | static NFloat FusedMultiplyAdd(NFloat left, NFloat right, NFloat addend) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
Hypot | Hypot(p1,p2) | static NFloat Hypot(NFloat x, NFloat y) |
Ieee754Remainder | Ieee754Remainder(p1,p2) | static NFloat Ieee754Remainder(NFloat left, NFloat right) |
ILogB | ILogB(p1) | static int ILogB(NFloat x) |
IsEvenInteger | IsEvenInteger(p1) | static bool IsEvenInteger(NFloat value) |
IsFinite | IsFinite(p1) | static bool IsFinite(NFloat value) |
IsInfinity | IsInfinity(p1) | static bool IsInfinity(NFloat value) |
IsInteger | IsInteger(p1) | static bool IsInteger(NFloat value) |
IsNaN | IsNaN(p1) | static bool IsNaN(NFloat value) |
IsNegative | IsNegative(p1) | static bool IsNegative(NFloat value) |
IsNegativeInfinity | IsNegativeInfinity(p1) | static bool IsNegativeInfinity(NFloat value) |
IsNormal | IsNormal(p1) | static bool IsNormal(NFloat value) |
IsOddInteger | IsOddInteger(p1) | static bool IsOddInteger(NFloat value) |
IsPositive | IsPositive(p1) | static bool IsPositive(NFloat value) |
IsPositiveInfinity | IsPositiveInfinity(p1) | static bool IsPositiveInfinity(NFloat value) |
IsPow2 | IsPow2(p1) | static bool IsPow2(NFloat value) |
IsRealNumber | IsRealNumber(p1) | static bool IsRealNumber(NFloat value) |
IsSubnormal | IsSubnormal(p1) | static bool IsSubnormal(NFloat value) |
Lerp | Lerp(p1,p2,p3) | static NFloat Lerp(NFloat value1, NFloat value2, NFloat amount) |
Log | Log(value)Log([ :x = … ])Log([ :x = …, :newBase = … ]) | static NFloat Log(NFloat x)static NFloat Log(NFloat x, NFloat newBase) |
Log10 | Log10(p1) | static NFloat Log10(NFloat x) |
Log10P1 | Log10P1(p1) | static NFloat Log10P1(NFloat x) |
Log2 | Log2(p1) | static NFloat Log2(NFloat value) |
Log2P1 | Log2P1(p1) | static NFloat Log2P1(NFloat x) |
LogP1 | LogP1(p1) | static NFloat LogP1(NFloat x) |
Max | Max(p1,p2) | static NFloat Max(NFloat x, NFloat y) |
MaxMagnitude | MaxMagnitude(p1,p2) | static NFloat MaxMagnitude(NFloat x, NFloat y) |
MaxMagnitudeNumber | MaxMagnitudeNumber(p1,p2) | static NFloat MaxMagnitudeNumber(NFloat x, NFloat y) |
MaxNumber | MaxNumber(p1,p2) | static NFloat MaxNumber(NFloat x, NFloat y) |
Min | Min(p1,p2) | static NFloat Min(NFloat x, NFloat y) |
MinMagnitude | MinMagnitude(p1,p2) | static NFloat MinMagnitude(NFloat x, NFloat y) |
MinMagnitudeNumber | MinMagnitudeNumber(p1,p2) | static NFloat MinMagnitudeNumber(NFloat x, NFloat y) |
MinNumber | MinNumber(p1,p2) | static NFloat MinNumber(NFloat x, NFloat y) |
MultiplyAddEstimate | MultiplyAddEstimate(p1,p2,p3) | static NFloat MultiplyAddEstimate(NFloat left, NFloat right, NFloat addend) |
Parse | Parse(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) |
Pow | Pow(p1,p2) | static NFloat Pow(NFloat x, NFloat y) |
RadiansToDegrees | RadiansToDegrees(p1) | static NFloat RadiansToDegrees(NFloat radians) |
ReciprocalEstimate | ReciprocalEstimate(p1) | static NFloat ReciprocalEstimate(NFloat x) |
ReciprocalSqrtEstimate | ReciprocalSqrtEstimate(p1) | static NFloat ReciprocalSqrtEstimate(NFloat x) |
RootN | RootN(p1,p2) | static NFloat RootN(NFloat x, int n) |
Round | Round(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) |
ScaleB | ScaleB(p1,p2) | static NFloat ScaleB(NFloat x, int n) |
Sign | Sign(p1) | static int Sign(NFloat value) |
Sin | Sin(p1) | static NFloat Sin(NFloat x) |
SinCos | SinCos(p1) | static ValueTuple<NFloat, NFloat> SinCos(NFloat x) |
SinCosPi | SinCosPi(p1) | static ValueTuple<NFloat, NFloat> SinCosPi(NFloat x) |
Sinh | Sinh(p1) | static NFloat Sinh(NFloat x) |
SinPi | SinPi(p1) | static NFloat SinPi(NFloat x) |
Sqrt | Sqrt(p1) | static NFloat Sqrt(NFloat x) |
Tan | Tan(p1) | static NFloat Tan(NFloat x) |
Tanh | Tanh(p1) | static NFloat Tanh(NFloat x) |
TanPi | TanPi(p1) | static NFloat TanPi(NFloat x) |
ToString | callMethod("ToString",[])callMethod("ToString",[p1])callMethod("ToString",[p1,p2]) | string ToString()string ToString(string format)string ToString(IFormatProvider provider)string ToString(string format, IFormatProvider provider) |
Truncate | Truncate(p1) | static NFloat Truncate(NFloat x) |
TryFormat | TryFormat([ :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 = …) |
TryParse | TryParse([ :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
| Name | Type | Access | In Ring |
|---|---|---|---|
FreeBSD | OSPlatform | read · static | o.FreeBSD |
Linux | OSPlatform | read · static | o.Linux |
OSX | OSPlatform | read · static | o.OSX |
Windows | OSPlatform | read · static | o.Windows |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(p1) | static OSPlatform Create(string osPlatform) |
Equals | Equals(p1) | bool Equals(OSPlatform other)bool Equals(object obj) |
GetHashCode | callMethod("GetHashCode",[]) | int GetHashCode() |
ToString | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
Signal | PosixSignal | read | o.Signal |
Cancel | bool | read, write | o.Cancel o.Cancel = v |
PosixSignalRegistration class sealed
System.Runtime.InteropServices.PosixSignalRegistration · assembly System.Private.CoreLib
Implements: IDisposable
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Create | Create(p1,p2) | static PosixSignalRegistration Create(PosixSignal signal, Action<PosixSignalContext> handler) |
Dispose | callMethod("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
| Name | Type | Access | In Ring |
|---|---|---|---|
MajorVersion | int | read | o.MajorVersion |
MinorVersion | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.Value |
Members of the base class are inherited.
RuntimeEnvironment class static
System.Runtime.InteropServices.RuntimeEnvironment · assembly System.Runtime.InteropServices
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SystemConfigurationFile | string | read · static | o.SystemConfigurationFile |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
FromGlobalAccessCache | FromGlobalAccessCache(p1) | static bool FromGlobalAccessCache(Assembly a) |
GetRuntimeDirectory | callMethod("GetRuntimeDirectory",[]) | static string GetRuntimeDirectory() |
GetRuntimeInterfaceAsIntPtr | GetRuntimeInterfaceAsIntPtr(p1,p2) | static IntPtr GetRuntimeInterfaceAsIntPtr(Guid clsid, Guid riid) |
GetRuntimeInterfaceAsObject | GetRuntimeInterfaceAsObject(p1,p2) | static object GetRuntimeInterfaceAsObject(Guid clsid, Guid riid) |
GetSystemVersion | callMethod("GetSystemVersion",[]) | static string GetSystemVersion() |
RuntimeInformation class static
System.Runtime.InteropServices.RuntimeInformation · assembly System.Private.CoreLib
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
RuntimeIdentifier | string | read · static | o.RuntimeIdentifier |
ProcessArchitecture | Architecture | read · static | o.ProcessArchitecture |
OSDescription | string | read · static | o.OSDescription |
OSArchitecture | Architecture | read · static | o.OSArchitecture |
FrameworkDescription | string | read · static | o.FrameworkDescription |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
IsOSPlatform | IsOSPlatform(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
| Name | Type | Access | In Ring |
|---|---|---|---|
ByteLength | ulong | read | o.ByteLength |
IsInvalid | bool | read | o.IsInvalid |
IsClosed | bool | read | o.IsClosed |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
DangerousAddRef | DangerousAddRef(p1) | void DangerousAddRef(ref bool success) |
DangerousGetHandle | callMethod("DangerousGetHandle",[]) | IntPtr DangerousGetHandle() |
DangerousRelease | callMethod("DangerousRelease",[]) | void DangerousRelease() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
Initialize | callMethod("Initialize",[p1])callMethod("Initialize",[p1,p2]) | void Initialize(ulong numBytes)void Initialize(uint numElements, uint sizeOfEachElement)void Initialize<T>(uint numElements) |
Read | Read(value)Read([ :byteOffset = … ]) | T Read<T>(ulong byteOffset) |
ReadArray | ReadArray(p1,p2,p3,p4) | void ReadArray<T>(ulong byteOffset, T[] array, int index, int count) |
ReadSpan | ReadSpan(p1,p2) | void ReadSpan<T>(ulong byteOffset, Span<T> buffer) |
ReleasePointer | callMethod("ReleasePointer",[]) | void ReleasePointer() |
SetHandleAsInvalid | callMethod("SetHandleAsInvalid",[]) | void SetHandleAsInvalid() |
Write | Write(p1,p2) | void Write<T>(ulong byteOffset, T value) |
WriteArray | WriteArray(p1,p2,p3,p4) | void WriteArray<T>(ulong byteOffset, T[] array, int index, int count) |
WriteSpan | WriteSpan(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
| Name | Type | Access | In Ring |
|---|---|---|---|
IsClosed | bool | read | o.IsClosed |
IsInvalid | bool | read | o.IsInvalid |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Close | callMethod("Close",[]) | void Close() |
DangerousAddRef | DangerousAddRef(p1) | void DangerousAddRef(ref bool success) |
DangerousGetHandle | callMethod("DangerousGetHandle",[]) | IntPtr DangerousGetHandle() |
DangerousRelease | callMethod("DangerousRelease",[]) | void DangerousRelease() |
Dispose | callMethod("Dispose",[]) | void Dispose() |
SetHandleAsInvalid | callMethod("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
| Method | Ring call | .NET overloads |
|---|---|---|
CanResume | callMethod("CanResume",[]) | bool CanResume() |
Members of the base class are inherited.
SequenceMarshal class static
System.Runtime.InteropServices.SequenceMarshal · assembly System.Memory
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
TryGetArray | TryGetArray(p1) | static bool TryGetArray<T>(ReadOnlySequence<T> sequence, out ArraySegment<T> segment) |
TryGetReadOnlyMemory | TryGetReadOnlyMemory(p1) | static bool TryGetReadOnlyMemory<T>(ReadOnlySequence<T> sequence, out ReadOnlyMemory<T> memory) |
TryGetReadOnlySequenceSegment | TryGetReadOnlySequenceSegment(p1) | static bool TryGetReadOnlySequenceSegment<T>(ReadOnlySequence<T> sequence, out ReadOnlySequenceSegment<T> startSegment, out int startIndex, out ReadOnlySequenceSegment<T> endSegment, out int endIndex) |
TryRead | TryRead(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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | LayoutKind | read | o.Value |
Pack | int | read, write | o.Pack o.Pack = v |
Size | int | read, write | o.Size o.Size = v |
CharSet | CharSet | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Scope | string | read | o.Scope |
Identifier | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | TypeLibFuncFlags | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | string | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | TypeLibTypeFlags | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Value | TypeLibVarFlags | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
MajorVersion | int | read | o.MajorVersion |
MinorVersion | int | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
WrappedObject | object | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
CallConvs | Type[] | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
CallConvs | Type[] | read, write | o.CallConvs o.CallConvs = v |
EntryPoint | string | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
CallingConvention | CallingConvention | read | o.CallingConvention |
BestFitMapping | bool | read, write | o.BestFitMapping o.BestFitMapping = v |
SetLastError | bool | read, write | o.SetLastError o.SetLastError = v |
ThrowOnUnmappableChar | bool | read, write | o.ThrowOnUnmappableChar o.ThrowOnUnmappableChar = v |
CharSet | CharSet | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
WrappedObject | object | read | o.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.