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

C# CodeLocationTag类代码示例

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

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



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

示例1: MidInstruction

 public MidInstruction(OpcodeEnum opcode, CodeLocationTag codeLocation, SsaRegister regArg, SsaRegister regArg2)
 {
     Opcode = opcode;
     CodeLocation = codeLocation;
     RegArg = regArg;
     RegArg2 = regArg2;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:MidInstruction.cs


示例2: AllocInstanceDelegateInstruction

 public AllocInstanceDelegateInstruction(CodeLocationTag codeLocation, TypeSpecTag type, HighSsaRegister dest, HighSsaRegister obj)
     : base(codeLocation)
 {
     m_type = type;
     m_dest = dest;
     m_object = obj;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:AllocInstanceDelegateInstruction.cs


示例3: PtrFieldInstruction

 public PtrFieldInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, string field)
     : base(codeLocation)
 {
     m_dest = dest;
     m_src = src;
     m_field = field;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:PtrFieldInstruction.cs


示例4: BindVirtualDelegateInstruction

 public BindVirtualDelegateInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister obj, MethodSpecTag methodSpec)
     : base(codeLocation)
 {
     m_dest = dest;
     m_object = obj;
     m_methodSpec = methodSpec;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:BindVirtualDelegateInstruction.cs


示例5: LoadValueFieldInstruction

 public LoadValueFieldInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, string fieldName)
     : base(codeLocation)
 {
     m_dest = dest;
     m_src = src;
     m_fieldName = fieldName;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:LoadValueFieldInstruction.cs


示例6: NumberConvertInstruction

 public NumberConvertInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, bool checkOverflow)
     : base(codeLocation)
 {
     m_dest = dest;
     m_src = src;
     m_checkOverflow = checkOverflow;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:NumberConvertInstruction.cs


示例7: GetStaticFieldAddrInstruction

 public GetStaticFieldAddrInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, TypeSpecTag staticType, string fieldName)
     : base(codeLocation)
 {
     m_dest = dest;
     m_staticType = staticType;
     m_fieldName = fieldName;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:GetStaticFieldAddrInstruction.cs


示例8: Read

        public static HighRegion Read(TagRepository rpa, CatalogReader catalog, HighMethodBodyParseContext methodBody, CodeLocationTag baseLocation, bool haveDebugInfo, BinaryReader reader)
        {
            uint numCfgNodes = reader.ReadUInt32();

            if (numCfgNodes == 0)
                throw new Exception("Region has no CFG nodes");

            HighCfgNodeHandle[] cfgNodes = new HighCfgNodeHandle[numCfgNodes];
            for (uint i = 0; i < numCfgNodes; i++)
                cfgNodes[i] = new HighCfgNodeHandle();

            for (uint i = 0; i < numCfgNodes; i++)
                cfgNodes[i].Value = HighCfgNode.Read(rpa, catalog, methodBody, cfgNodes, baseLocation, haveDebugInfo, reader);

            RegionPhiResolver phiResolver = new RegionPhiResolver(cfgNodes);
            for (uint i = 0; i < numCfgNodes; i++)
            {
                foreach (HighPhi phi in cfgNodes[i].Value.Phis)
                    phi.Resolve(phiResolver);
            }

            HighCfgNodeHandle entryNode = cfgNodes[0];

            if (entryNode.Value.Phis.Length != 0)
                throw new RpaLoadException("Region entry node has phis");

            return new HighRegion(entryNode);
        }
开发者ID:elasota,项目名称:clarity,代码行数:28,代码来源:HighRegion.cs


示例9: AllocArrayInstruction

 public AllocArrayInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister[] sizes, TypeSpecTag targetType)
     : base(codeLocation)
 {
     m_dest = dest;
     m_sizes = sizes;
     m_type = targetType;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:AllocArrayInstruction.cs


示例10: Read

        public static HighProtectedRegion Read(TagRepository rpa, CatalogReader catalog, HighMethodBodyParseContext methodBody, CodeLocationTag baseLocation, bool haveDebugInfo, BinaryReader reader)
        {
            HighProtectedRegion region;

            RegionTypeEnum regionType = (RegionTypeEnum)reader.ReadByte();

            HighRegion tryRegion = HighRegion.Read(rpa, catalog, methodBody, baseLocation, haveDebugInfo, reader);

            switch (regionType)
            {
                case RegionTypeEnum.TryCatch:
                    region = new HighTryCatchRegion(tryRegion);
                    break;
                case RegionTypeEnum.TryFault:
                    region = new HighTryFaultRegion(tryRegion);
                    break;
                case RegionTypeEnum.TryFinally:
                    region = new HighTryFinallyRegion(tryRegion);
                    break;
                default:
                    throw new Exception("Invalid protected region type");
            }

            region.ReadHandlers(rpa, catalog, methodBody, baseLocation, haveDebugInfo, reader);

            return region;
        }
开发者ID:elasota,项目名称:clarity,代码行数:27,代码来源:HighProtectedRegion.cs


示例11: LoadMulticastDelegateElementInstruction

 public LoadMulticastDelegateElementInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister delegateSrc, HighSsaRegister indexSrc)
     : base(codeLocation)
 {
     m_dest = dest;
     m_delegateSrc = delegateSrc;
     m_indexSrc = indexSrc;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:LoadMulticastDelegateElementInstruction.cs


示例12: GetArrayElementPtrInstruction

 public GetArrayElementPtrInstruction(CodeLocationTag codeLocation, HighSsaRegister addrDestReg, HighSsaRegister arrayReg, HighSsaRegister[] indexes)
     : base(codeLocation)
 {
     m_addrDestReg = addrDestReg;
     m_arrayReg = arrayReg;
     m_indexes = indexes;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:GetArrayElementPtrInstruction.cs


示例13: BranchRefNullInstruction

 public BranchRefNullInstruction(CodeLocationTag codeLocation, HighSsaRegister value, HighCfgNodeHandle isNullNode, HighCfgNodeHandle isNotNullNode)
     : base(codeLocation)
 {
     m_value = value;
     m_isNullNode = new HighCfgEdge(this, isNullNode);
     m_isNotNullNode = new HighCfgEdge(this, isNotNullNode);
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:BranchRefNullInstruction.cs


示例14: CallRloStaticMethodInstruction

 public CallRloStaticMethodInstruction(CodeLocationTag codeLocation, MethodHandle methodHandle, HighSsaRegister returnDest, HighSsaRegister[] parameters)
 {
     CodeLocation = codeLocation;
     m_methodHandle = methodHandle;
     m_returnDest = returnDest;
     m_parameters = parameters;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:CallRloStaticMethodInstruction.cs


示例15: ConvertDelegateToMulticastInstruction

 public ConvertDelegateToMulticastInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, TypeSpecMulticastDelegateTag mdgSpec)
     : base(codeLocation)
 {
     m_dest = dest;
     m_src = src;
     m_mdType = mdgSpec;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:ConvertDelegateToMulticastInstruction.cs


示例16: DynamicCastInstruction

 public DynamicCastInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, TypeSpecTag type)
     : base(codeLocation)
 {
     m_dest = dest;
     m_src = src;
     m_type = type;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:DynamicCastInstruction.cs


示例17: CfgOutboundEdge

 public CfgOutboundEdge(CodeLocationTag codeLocation, CfgNode successorNode, CfgOutboundEdgePrototype outboundEdgeProto)
 {
     CodeLocation = codeLocation;
     SurvivingRegs = outboundEdgeProto.OutboundRegs;
     OutputValueTypes = outboundEdgeProto.OutboundTypes;
     SuccessorNode = successorNode;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:CfgOutboundEdge.cs


示例18: LoadValueRloFieldInstruction

 public LoadValueRloFieldInstruction(CodeLocationTag codeLocation, HighSsaRegister dest, HighSsaRegister src, uint fieldIndex)
     : base(codeLocation)
 {
     m_dest = dest;
     m_src = src;
     m_fieldIndex = fieldIndex;
 }
开发者ID:elasota,项目名称:clarity,代码行数:7,代码来源:LoadValueRloFieldInstruction.cs


示例19: CallRloInterfaceMethodInstruction

 public CallRloInterfaceMethodInstruction(CodeLocationTag codeLocation, uint vtableSlotIndex, HighSsaRegister returnDest, HighSsaRegister instanceSrc, HighSsaRegister[] parameters)
 {
     CodeLocation = codeLocation;
     m_vtableSlotIndex = vtableSlotIndex;
     m_returnDest = returnDest;
     m_instanceSrc = instanceSrc;
     m_parameters = parameters;
 }
开发者ID:elasota,项目名称:clarity,代码行数:8,代码来源:CallRloInterfaceMethodInstruction.cs


示例20: CallRloInstanceMethodInstruction

 public CallRloInstanceMethodInstruction(CodeLocationTag codeLocation, MethodHandle methodHandle, HighSsaRegister returnDest, HighSsaRegister instanceSrc, HighSsaRegister[] parameters)
 {
     this.CodeLocation = codeLocation;
     m_methodHandle = methodHandle;
     m_instanceSrc = instanceSrc;
     m_parameters = parameters;
     m_returnDest = returnDest;
 }
开发者ID:elasota,项目名称:clarity,代码行数:8,代码来源:CallRloInstanceMethodInstruction.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# CodeMaidPackage类代码示例发布时间:2022-05-24
下一篇:
C# CodeLocation类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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