本文整理汇总了C#中Internal.JitInterface.CORINFO_MODULE_STRUCT_类的典型用法代码示例。如果您正苦于以下问题:C# CORINFO_MODULE_STRUCT_类的具体用法?C# CORINFO_MODULE_STRUCT_怎么用?C# CORINFO_MODULE_STRUCT_使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CORINFO_MODULE_STRUCT_类属于Internal.JitInterface命名空间,在下文中一共展示了CORINFO_MODULE_STRUCT_类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: _getClassModuleIdForStatics
static byte* _getClassModuleIdForStatics(IntPtr thisHandle, IntPtr* ppException, CORINFO_CLASS_STRUCT_* cls, CORINFO_MODULE_STRUCT_** pModule, void** ppIndirection)
{
var _this = GetThis(thisHandle);
try
{
return _this.getClassModuleIdForStatics(cls, pModule, ppIndirection);
}
catch (Exception ex)
{
*ppException = _this.AllocException(ex);
return default(byte*);
}
}
示例2: isValidStringRef
private bool isValidStringRef(IntPtr _this, CORINFO_MODULE_STRUCT_* module, uint metaTOK)
{ throw new NotImplementedException("isValidStringRef"); }
示例3: getModuleAssembly
private CORINFO_ASSEMBLY_STRUCT_* getModuleAssembly(IntPtr _this, CORINFO_MODULE_STRUCT_* mod)
{ throw new NotImplementedException("getModuleAssembly"); }
示例4: addActiveDependency
private void addActiveDependency(IntPtr _this, CORINFO_MODULE_STRUCT_* moduleFrom, CORINFO_MODULE_STRUCT_* moduleTo)
{ throw new NotImplementedException("addActiveDependency"); }
示例5: findCallSiteSig
private void findCallSiteSig(IntPtr _this, CORINFO_MODULE_STRUCT_* module, uint methTOK, CORINFO_CONTEXT_STRUCT* context, CORINFO_SIG_INFO* sig)
{
// TODO: dynamic scopes
// TODO: verification
var methodIL = (MethodIL)HandleToObject((IntPtr)module);
Get_CORINFO_SIG_INFO(((MethodDesc)methodIL.GetObject((int)methTOK)).Signature, out *sig);
}
示例6: getAddrModuleDomainID
private SIZE_T* getAddrModuleDomainID(IntPtr _this, CORINFO_MODULE_STRUCT_* module)
{ throw new NotImplementedException("getAddrModuleDomainID"); }
示例7: embedModuleHandle
private CORINFO_MODULE_STRUCT_* embedModuleHandle(IntPtr _this, CORINFO_MODULE_STRUCT_* handle, ref void* ppIndirection)
{ throw new NotImplementedException("embedModuleHandle"); }
示例8: constructStringLiteral_wrapper
public virtual InfoAccessType constructStringLiteral_wrapper(IntPtr _this, out IntPtr exception, CORINFO_MODULE_STRUCT_* module, mdToken metaTok, ref void* ppValue)
{
exception = IntPtr.Zero;
try
{
return constructStringLiteral(module, metaTok, ref ppValue);
}
catch (Exception ex)
{
exception = AllocException(ex);
}
return (InfoAccessType)0;
}
示例9: addActiveDependency_wrapper
public virtual void addActiveDependency_wrapper(IntPtr _this, out IntPtr exception, CORINFO_MODULE_STRUCT_* moduleFrom, CORINFO_MODULE_STRUCT_* moduleTo)
{
exception = IntPtr.Zero;
try
{
addActiveDependency(moduleFrom, moduleTo);
return;
}
catch (Exception ex)
{
exception = AllocException(ex);
}
}
示例10: getLazyStringLiteralHelper_wrapper
public virtual CorInfoHelpFunc getLazyStringLiteralHelper_wrapper(IntPtr _this, out IntPtr exception, CORINFO_MODULE_STRUCT_* handle)
{
exception = IntPtr.Zero;
try
{
return getLazyStringLiteralHelper(handle);
}
catch (Exception ex)
{
exception = AllocException(ex);
}
return (CorInfoHelpFunc)0;
}
示例11: embedModuleHandle_wrapper
public virtual CORINFO_MODULE_STRUCT_* embedModuleHandle_wrapper(IntPtr _this, out IntPtr exception, CORINFO_MODULE_STRUCT_* handle, ref void* ppIndirection)
{
exception = IntPtr.Zero;
try
{
return embedModuleHandle(handle, ref ppIndirection);
}
catch (Exception ex)
{
exception = AllocException(ex);
}
return (CORINFO_MODULE_STRUCT_*)0;
}
示例12: getAddrModuleDomainID_wrapper
public virtual SIZE_T* getAddrModuleDomainID_wrapper(IntPtr _this, out IntPtr exception, CORINFO_MODULE_STRUCT_* module)
{
exception = IntPtr.Zero;
try
{
return getAddrModuleDomainID(module);
}
catch (Exception ex)
{
exception = AllocException(ex);
}
return (SIZE_T*)0;
}
示例13: findNameOfToken_wrapper
public virtual byte* findNameOfToken_wrapper(IntPtr _this, out IntPtr exception, CORINFO_MODULE_STRUCT_* moduleHandle, mdToken token, byte* szFQName, UIntPtr FQNameCapacity)
{
exception = IntPtr.Zero;
try
{
return findNameOfToken(moduleHandle, token, szFQName, FQNameCapacity);
}
catch (Exception ex)
{
exception = AllocException(ex);
}
return (byte*)0;
}
示例14: getClassModuleIdForStatics_wrapper
public virtual byte* getClassModuleIdForStatics_wrapper(IntPtr _this, out IntPtr exception, CORINFO_CLASS_STRUCT_* cls, CORINFO_MODULE_STRUCT_** pModule, void** ppIndirection)
{
exception = IntPtr.Zero;
try
{
return getClassModuleIdForStatics(cls, pModule, ppIndirection);
}
catch (Exception ex)
{
exception = AllocException(ex);
}
return (byte*)0;
}
示例15: isValidToken
private bool isValidToken(CORINFO_MODULE_STRUCT_* module, uint metaTOK)
{ throw new NotImplementedException("isValidToken"); }