C# Class Microsoft.Scripting.ComInterop.UnsafeMethods

This class contains methods that either cannot be expressed in C#, or which require writing unsafe code. Callers of these methods need to use them extremely carefully as incorrect use could cause GC-holes and other problems.
Afficher le fichier Open project: jschementi/iron Class Usage Examples

Private Properties

Свойство Type Description
AssertByrefPointsToStack void
ConvertByteByrefToPtr System.IntPtr
ConvertDecimalByrefToPtr System.IntPtr
ConvertDoubleByrefToPtr System.IntPtr
ConvertInt16ByrefToPtr System.IntPtr
ConvertInt32ByrefToPtr System.IntPtr
ConvertInt64ByrefToPtr System.IntPtr
ConvertIntPtrByrefToPtr System.IntPtr
ConvertSByteByrefToPtr System.IntPtr
ConvertSingleByrefToPtr System.IntPtr
ConvertUInt16ByrefToPtr System.IntPtr
ConvertUInt32ByrefToPtr System.IntPtr
ConvertUInt64ByrefToPtr System.IntPtr
ConvertUIntPtrByrefToPtr System.IntPtr
ConvertVariantByrefToPtr System.IntPtr
Create_ConvertByrefToPtr System.Reflection.MethodInfo
Create_IDispatchInvoke IDispatchInvokeDelegate
Create_IUnknownRelease IUnknownReleaseDelegate
EmitLoadArg void
GetIdsOfNamedParameters System.IntPtr
GetNullInterfaceId System.IntPtr
GetObjectForVariant object
GetVariantForObject Variant
IDispatchInvoke int
IUnknownRelease int
IUnknownReleaseNotZero void
InitVariantForObject void
LoadRegTypeLib System.Runtime.InteropServices.ComTypes.ITypeLib
UnsafeMethods System
VariantClear void

Private Methods

Méthode Description
AssertByrefPointsToStack ( IntPtr ptr ) : void
ConvertByteByrefToPtr ( Byte &value ) : IntPtr
ConvertDecimalByrefToPtr ( Decimal &value ) : IntPtr
ConvertDoubleByrefToPtr ( Double &value ) : IntPtr
ConvertInt16ByrefToPtr ( Int16 &value ) : IntPtr
ConvertInt32ByrefToPtr ( Int32 &value ) : IntPtr
ConvertInt64ByrefToPtr ( System.Int64 &value ) : IntPtr
ConvertIntPtrByrefToPtr ( IntPtr &value ) : IntPtr
ConvertSByteByrefToPtr ( SByte &value ) : IntPtr
ConvertSingleByrefToPtr ( System.Single &value ) : IntPtr
ConvertUInt16ByrefToPtr ( UInt16 &value ) : IntPtr
ConvertUInt32ByrefToPtr ( UInt32 &value ) : IntPtr
ConvertUInt64ByrefToPtr ( System.UInt64 &value ) : IntPtr
ConvertUIntPtrByrefToPtr ( UIntPtr &value ) : IntPtr
ConvertVariantByrefToPtr ( Variant &value ) : IntPtr
Create_ConvertByrefToPtr ( ) : MethodInfo
Create_IDispatchInvoke ( bool returnResult ) : IDispatchInvokeDelegate
Create_IUnknownRelease ( ) : IUnknownReleaseDelegate
EmitLoadArg ( ILGenerator il, int index ) : void
GetIdsOfNamedParameters ( IDispatch dispatch, string names, int methodDispId, GCHandle &pinningHandle ) : IntPtr
GetNullInterfaceId ( ) : IntPtr
GetObjectForVariant ( Variant variant ) : object
GetVariantForObject ( object obj ) : Variant
IDispatchInvoke ( IntPtr dispatchPointer, int memberDispId, System.Runtime.InteropServices.ComTypes flags, System.Runtime.InteropServices.ComTypes &dispParams, Variant &result, ExcepInfo &excepInfo, uint &argErr ) : int
IUnknownRelease ( IntPtr interfacePointer ) : int
IUnknownReleaseNotZero ( IntPtr interfacePointer ) : void
InitVariantForObject ( object obj, Variant &variant ) : void
LoadRegTypeLib ( System.Guid &clsid, short majorVersion, short minorVersion, int lcid ) : System.Runtime.InteropServices.ComTypes.ITypeLib
UnsafeMethods ( ) : System
VariantClear ( IntPtr variant ) : void