当前位置: 首页>>代码示例>>C#>>正文


C# CodeLocationTag类代码示例

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


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


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