本文整理汇总了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_类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: canAccessFamily
private bool canAccessFamily(IntPtr _this, CORINFO_METHOD_STRUCT_* hCaller, CORINFO_CLASS_STRUCT_* hInstanceType)
{ throw new NotImplementedException("canAccessFamily"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例2: getNewArrHelper
private CorInfoHelpFunc getNewArrHelper(IntPtr _this, CORINFO_CLASS_STRUCT_* arrayCls)
{ throw new NotImplementedException("getNewArrHelper"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例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);
}
开发者ID:smartmaster,项目名称:corert,代码行数:8,代码来源:CorInfoImpl.cs
示例4: getClassAlignmentRequirement
private uint getClassAlignmentRequirement(IntPtr _this, CORINFO_CLASS_STRUCT_* cls, [MarshalAs(UnmanagedType.Bool)]bool fDoubleAlignHint)
{ throw new NotImplementedException("getClassAlignmentRequirement"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例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;
}
开发者ID:smartmaster,项目名称:corert,代码行数:13,代码来源:CorInfoImpl.cs
示例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;
}
开发者ID:smartmaster,项目名称:corert,代码行数:6,代码来源:CorInfoImpl.cs
示例7: getClassModuleIdForStatics
private byte* getClassModuleIdForStatics(IntPtr _this, CORINFO_CLASS_STRUCT_* cls, CORINFO_MODULE_STRUCT_** pModule, void** ppIndirection)
{ throw new NotImplementedException("getClassModuleIdForStatics"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例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);
}
开发者ID:smartmaster,项目名称:corert,代码行数:6,代码来源:CorInfoImpl.cs
示例9: isInSIMDModule
private bool isInSIMDModule(IntPtr _this, CORINFO_CLASS_STRUCT_* classHnd)
{
// TODO: SIMD
return false;
}
开发者ID:smartmaster,项目名称:corert,代码行数:5,代码来源:CorInfoImpl.cs
示例10: HandleToObject
private TypeDesc HandleToObject(CORINFO_CLASS_STRUCT_* type) { return (TypeDesc)HandleToObject((IntPtr)type); }
开发者ID:smartmaster,项目名称:corert,代码行数:1,代码来源:CorInfoImpl.cs
示例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;
}
开发者ID:smartmaster,项目名称:corert,代码行数:8,代码来源:CorInfoImpl.cs
示例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"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例13: getClassDomainID
private uint getClassDomainID(IntPtr _this, CORINFO_CLASS_STRUCT_* cls, ref void* ppIndirection)
{ throw new NotImplementedException("getClassDomainID"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例14: isRIDClassDomainID
private bool isRIDClassDomainID(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{ throw new NotImplementedException("isRIDClassDomainID"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例15: canInlineTypeCheckWithObjectVTable
private bool canInlineTypeCheckWithObjectVTable(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{ throw new NotImplementedException("canInlineTypeCheckWithObjectVTable"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例16: satisfiesMethodConstraints
private bool satisfiesMethodConstraints(IntPtr _this, CORINFO_CLASS_STRUCT_* parent, CORINFO_METHOD_STRUCT_* method)
{ throw new NotImplementedException("satisfiesMethodConstraints"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例17: getClassAttribs
private uint getClassAttribs(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{
TypeDesc type = HandleToObject(cls);
return getClassAttribsInternal(type);
}
开发者ID:smartmaster,项目名称:corert,代码行数:5,代码来源:CorInfoImpl.cs
示例18: isCompatibleDelegate
private bool isCompatibleDelegate(IntPtr _this, CORINFO_CLASS_STRUCT_* objCls, CORINFO_CLASS_STRUCT_* methodParentCls, CORINFO_METHOD_STRUCT_* method, CORINFO_CLASS_STRUCT_* delegateCls, [MarshalAs(UnmanagedType.Bool)] ref bool pfIsOpenDelegate)
{ throw new NotImplementedException("isCompatibleDelegate"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例19: getClassModule
private CORINFO_MODULE_STRUCT_* getClassModule(IntPtr _this, CORINFO_CLASS_STRUCT_* cls)
{ throw new NotImplementedException("getClassModule"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs
示例20: isDelegateCreationAllowed
private bool isDelegateCreationAllowed(IntPtr _this, CORINFO_CLASS_STRUCT_* delegateHnd, CORINFO_METHOD_STRUCT_* calleeHnd)
{
return true;
}
开发者ID:smartmaster,项目名称:corert,代码行数:4,代码来源:CorInfoImpl.cs
注:本文中的Internal.JitInterface.CORINFO_CLASS_STRUCT_类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论