本文整理汇总了C#中Internal.JitInterface.CORINFO_CLASS_STRUCT_类的典型用法代码示例。如果您正苦于以下问题:C# CORINFO_CLASS_STRUCT_类的具体用法?C# CORINFO_CLASS_STRUCT_怎么用?C# CORINFO_CLASS_STRUCT_使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CORINFO_CLASS_STRUCT_类属于Internal.JitInterface命名空间,在下文中一共展示了CORINFO_CLASS_STRUCT_类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: canAccessFamily
private bool canAccessFamily(IntPtr _this, CORINFO_METHOD_STRUCT_* hCaller, CORINFO_CLASS_STRUCT_* hInstanceType)
{ throw new NotImplementedException("canAccessFamily"); }
示例2: getNewArrHelper
private CorInfoHelpFunc getNewArrHelper(IntPtr _this, CORINFO_CLASS_STRUCT_* arrayCls)
{ throw new NotImplementedException("getNewArrHelper"); }
示例3: getTypeForBox
private CORINFO_CLASS_STRUCT_* getTypeForBox(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{
var type = HandleToObject(cls);
var typeForBox = type.IsNullable ? type.Instantiation[0] : type;
return ObjectToHandle(typeForBox);
}
示例4: getClassAlignmentRequirement
private uint getClassAlignmentRequirement(IntPtr _this, CORINFO_CLASS_STRUCT_* cls, [MarshalAs(UnmanagedType.Bool)]bool fDoubleAlignHint)
{ throw new NotImplementedException("getClassAlignmentRequirement"); }
示例5: getClassNumInstanceFields
private uint getClassNumInstanceFields(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{
TypeDesc type = HandleToObject(cls);
uint result = 0;
foreach (var field in type.GetFields())
{
if (!field.IsStatic)
result++;
}
return result;
}
示例6: isStructRequiringStackAllocRetBuf
private bool isStructRequiringStackAllocRetBuf(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{
// Disable this optimization. It has limited value (only kicks in on x86, and only for less common structs),
// causes bugs and introduces odd ABI differences not compatible with ReadyToRun.
return false;
}
示例7: getClassModuleIdForStatics
private byte* getClassModuleIdForStatics(IntPtr _this, CORINFO_CLASS_STRUCT_* cls, CORINFO_MODULE_STRUCT_** pModule, void** ppIndirection)
{ throw new NotImplementedException("getClassModuleIdForStatics"); }
示例8: getMethodSig
private void getMethodSig(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn, CORINFO_SIG_INFO* sig, CORINFO_CLASS_STRUCT_* memberParent)
{
MethodDesc method = HandleToObject(ftn);
Get_CORINFO_SIG_INFO(method.Signature, out *sig);
}
示例9: isInSIMDModule
private bool isInSIMDModule(IntPtr _this, CORINFO_CLASS_STRUCT_* classHnd)
{
// TODO: SIMD
return false;
}
示例10: HandleToObject
private TypeDesc HandleToObject(CORINFO_CLASS_STRUCT_* type) { return (TypeDesc)HandleToObject((IntPtr)type); }
示例11: asCorInfoType
private CorInfoType asCorInfoType(TypeDesc type, out CORINFO_CLASS_STRUCT_* structType)
{
var corInfoType = asCorInfoType(type);
structType = ((corInfoType == CorInfoType.CORINFO_TYPE_CLASS) ||
(corInfoType == CorInfoType.CORINFO_TYPE_VALUECLASS) ||
(corInfoType == CorInfoType.CORINFO_TYPE_BYREF)) ? ObjectToHandle(type) : null;
return corInfoType;
}
示例12: GetDelegateCtor
private CORINFO_METHOD_STRUCT_* GetDelegateCtor(IntPtr _this, CORINFO_METHOD_STRUCT_* methHnd, CORINFO_CLASS_STRUCT_* clsHnd, CORINFO_METHOD_STRUCT_* targetMethodHnd, ref DelegateCtorArgs pCtorData)
{ throw new NotImplementedException("GetDelegateCtor"); }
示例13: getClassDomainID
private uint getClassDomainID(IntPtr _this, CORINFO_CLASS_STRUCT_* cls, ref void* ppIndirection)
{ throw new NotImplementedException("getClassDomainID"); }
示例14: isRIDClassDomainID
private bool isRIDClassDomainID(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{ throw new NotImplementedException("isRIDClassDomainID"); }
示例15: canInlineTypeCheckWithObjectVTable
private bool canInlineTypeCheckWithObjectVTable(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{ throw new NotImplementedException("canInlineTypeCheckWithObjectVTable"); }