• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# JitInterface.CORINFO_METHOD_STRUCT_类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Internal.JitInterface.CORINFO_METHOD_STRUCT_的典型用法代码示例。如果您正苦于以下问题:C# CORINFO_METHOD_STRUCT_类的具体用法?C# CORINFO_METHOD_STRUCT_怎么用?C# CORINFO_METHOD_STRUCT_使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



CORINFO_METHOD_STRUCT_类属于Internal.JitInterface命名空间,在下文中一共展示了CORINFO_METHOD_STRUCT_类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: getBBProfileData

 private HRESULT getBBProfileData(IntPtr _this, CORINFO_METHOD_STRUCT_* ftnHnd, ref uint count, ref ProfileBuffer* profileBuffer, ref uint numRuns)
 { throw new NotImplementedException("getBBProfileData"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例2: checkMethodModifier

 private bool checkMethodModifier(IntPtr _this, CORINFO_METHOD_STRUCT_* hMethod, byte* modifier, [MarshalAs(UnmanagedType.Bool)]bool fOptional)
 { throw new NotImplementedException("checkMethodModifier"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例3: getSecurityPrologHelper

 private CorInfoHelpFunc getSecurityPrologHelper(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn)
 { throw new NotImplementedException("getSecurityPrologHelper"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例4: initConstraintsForVerification

 private void initConstraintsForVerification(IntPtr _this, CORINFO_METHOD_STRUCT_* method, [MarshalAs(UnmanagedType.Bool)] ref bool pfHasCircularClassConstraints, [MarshalAs(UnmanagedType.Bool)] ref bool pfHasCircularMethodConstraint)
 { throw new NotImplementedException("isInstantiationOfVerifiedGeneric"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例5: methodMustBeLoadedBeforeCodeIsRun

 private void methodMustBeLoadedBeforeCodeIsRun(IntPtr _this, CORINFO_METHOD_STRUCT_* method)
 {
 }
开发者ID:smartmaster,项目名称:corert,代码行数:3,代码来源:CorInfoImpl.cs


示例6: satisfiesMethodConstraints

 private bool satisfiesMethodConstraints(IntPtr _this, CORINFO_CLASS_STRUCT_* parent, CORINFO_METHOD_STRUCT_* method)
 { throw new NotImplementedException("satisfiesMethodConstraints"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例7: isDelegateCreationAllowed

 private bool isDelegateCreationAllowed(IntPtr _this, CORINFO_CLASS_STRUCT_* delegateHnd, CORINFO_METHOD_STRUCT_* calleeHnd)
 {
     return true;
 }
开发者ID:smartmaster,项目名称:corert,代码行数:4,代码来源:CorInfoImpl.cs


示例8: canInline

 private CorInfoInline canInline(IntPtr _this, CORINFO_METHOD_STRUCT_* callerHnd, CORINFO_METHOD_STRUCT_* calleeHnd, ref uint pRestrictions)
 {
     // TODO: Inlining
     return CorInfoInline.INLINE_NEVER;
 }
开发者ID:smartmaster,项目名称:corert,代码行数:5,代码来源:CorInfoImpl.cs


示例9: reportInliningDecision

 private void reportInliningDecision(IntPtr _this, CORINFO_METHOD_STRUCT_* inlinerHnd, CORINFO_METHOD_STRUCT_* inlineeHnd, CorInfoInline inlineResult, byte* reason)
 {
 }
开发者ID:smartmaster,项目名称:corert,代码行数:3,代码来源:CorInfoImpl.cs


示例10: 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


示例11: getMethodInfo

 private bool getMethodInfo(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn, ref CORINFO_METHOD_INFO info)
 {
     return Get_CORINFO_METHOD_INFO(HandleToObject(ftn), out info);
 }
开发者ID:smartmaster,项目名称:corert,代码行数:4,代码来源:CorInfoImpl.cs


示例12: setMethodAttribs

 private void setMethodAttribs(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn, CorInfoMethodRuntimeFlags attribs)
 {
     // TODO: Inlining
 }
开发者ID:smartmaster,项目名称:corert,代码行数:4,代码来源:CorInfoImpl.cs


示例13: getMethodAttribs

 private uint getMethodAttribs(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn)
 {
     return getMethodAttribsInternal(HandleToObject(ftn));
 }
开发者ID:smartmaster,项目名称:corert,代码行数:4,代码来源:CorInfoImpl.cs


示例14: recordCallSite

 private void recordCallSite(IntPtr _this, uint instrOffset, CORINFO_SIG_INFO* callSig, CORINFO_METHOD_STRUCT_* methodHandle)
 {
 }
开发者ID:smartmaster,项目名称:corert,代码行数:3,代码来源:CorInfoImpl.cs


示例15: getUnmanagedCallConv

 private CorInfoUnmanagedCallConv getUnmanagedCallConv(IntPtr _this, CORINFO_METHOD_STRUCT_* method)
 { throw new NotImplementedException("getUnmanagedCallConv"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例16: canTailCall

 private bool canTailCall(IntPtr _this, CORINFO_METHOD_STRUCT_* callerHnd, CORINFO_METHOD_STRUCT_* declaredCalleeHnd, CORINFO_METHOD_STRUCT_* exactCalleeHnd, [MarshalAs(UnmanagedType.I1)]bool fIsTailPrefix)
 {
     // No restrictions on tailcalls
     return true;
 }
开发者ID:smartmaster,项目名称:corert,代码行数:5,代码来源:CorInfoImpl.cs


示例17: pInvokeMarshalingRequired

 private bool pInvokeMarshalingRequired(IntPtr _this, CORINFO_METHOD_STRUCT_* method, CORINFO_SIG_INFO* callSiteSig)
 { throw new NotImplementedException("pInvokeMarshalingRequired"); }
开发者ID:smartmaster,项目名称:corert,代码行数:2,代码来源:CorInfoImpl.cs


示例18: reportTailCallDecision

 private void reportTailCallDecision(IntPtr _this, CORINFO_METHOD_STRUCT_* callerHnd, CORINFO_METHOD_STRUCT_* calleeHnd, [MarshalAs(UnmanagedType.I1)]bool fIsTailPrefix, CorInfoTailCall tailCallResult, byte* reason)
 {
 }
开发者ID:smartmaster,项目名称:corert,代码行数:3,代码来源:CorInfoImpl.cs


示例19: 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


示例20: getEHinfo

        private void getEHinfo(IntPtr _this, CORINFO_METHOD_STRUCT_* ftn, uint EHnumber, ref CORINFO_EH_CLAUSE clause)
        {
            var methodIL = _compilation.GetMethodIL(HandleToObject(ftn));

            var ehRegion = methodIL.GetExceptionRegions()[EHnumber];

            clause.Flags = (CORINFO_EH_CLAUSE_FLAGS)ehRegion.Kind;
            clause.TryOffset = (uint)ehRegion.TryOffset;
            clause.TryLength = (uint)ehRegion.TryLength;
            clause.HandlerOffset = (uint)ehRegion.HandlerOffset;
            clause.HandlerLength = (uint)ehRegion.HandlerLength;
            clause.ClassTokenOrOffset = (uint)((ehRegion.Kind == ILExceptionRegionKind.Filter) ? ehRegion.FilterOffset : ehRegion.ClassToken);
        }
开发者ID:smartmaster,项目名称:corert,代码行数:13,代码来源:CorInfoImpl.cs



注:本文中的Internal.JitInterface.CORINFO_METHOD_STRUCT_类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# JitInterface.CORINFO_MODULE_STRUCT_类代码示例发布时间:2022-05-26
下一篇:
C# JitInterface.CORINFO_FIELD_STRUCT_类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap