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


C# CLIFile.ReadStringHeap方法代码示例

本文整理汇总了C#中CLIFile.ReadStringHeap方法的典型用法代码示例。如果您正苦于以下问题:C# CLIFile.ReadStringHeap方法的具体用法?C# CLIFile.ReadStringHeap怎么用?C# CLIFile.ReadStringHeap使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CLIFile的用法示例。


在下文中一共展示了CLIFile.ReadStringHeap方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: LoadData

		private void LoadData(CLIFile pFile)
		{
			Flags = (TypeAttributes)pFile.ReadUInt32();
			TypeName = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			TypeNamespace = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			Extends.LoadData(pFile);
			if (pFile.FieldTable.Length >= 0xFFFF) FieldListIndex = pFile.ReadInt32() - 1;
			else FieldListIndex = pFile.ReadUInt16() - 1;
			if (pFile.MethodDefTable.Length >= 0xFFFF) MethodListIndex = pFile.ReadInt32() - 1;
			else MethodListIndex = pFile.ReadUInt16() - 1;
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:11,代码来源:TypeDefData.cs

示例2: LoadData

 private void LoadData(CLIFile pFile)
 {
     Flags = pFile.ReadUInt32();
     int typeDefIndex = 0;
     if (pFile.TypeDefTable.Length >= 0xFFFF) typeDefIndex = pFile.ReadInt32() - 1;
     else typeDefIndex = pFile.ReadUInt16() - 1;
     if (typeDefIndex >= 0) TypeDef = pFile.TypeDefTable[typeDefIndex];
     TypeName = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     TypeNamespace = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Implementation.LoadData(pFile);
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:11,代码来源:ExportedTypeData.cs

示例3: LoadData

 private void LoadData(CLIFile pFile)
 {
     HashAlgId = pFile.ReadUInt32();
     MajorVersion = pFile.ReadUInt16();
     MinorVersion = pFile.ReadUInt16();
     BuildNumber = pFile.ReadUInt16();
     RevisionNumber = pFile.ReadUInt16();
     Flags = pFile.ReadUInt32();
     PublicKey = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Culture = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:12,代码来源:AssemblyData.cs

示例4: LoadData

		private void LoadData(CLIFile pFile)
		{
			Offset = pFile.ReadUInt32();
			Flags = (ManifestResourceAttributes)pFile.ReadUInt32();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			Implementation.LoadData(pFile);
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:7,代码来源:ManifestResourceData.cs

示例5: LoadData

 private void LoadData(CLIFile pFile)
 {
     Number = pFile.ReadUInt16();
     Flags = pFile.ReadUInt16();
     Owner.LoadData(pFile);
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:7,代码来源:GenericParamData.cs

示例6: LoadData

		private void LoadData(CLIFile pFile)
		{
			Number = pFile.ReadUInt16();
			Flags = (GenericParamAttributes)pFile.ReadUInt16();
			Owner.LoadData(pFile);
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:7,代码来源:GenericParamData.cs

示例7: LoadData

 private void LoadData(CLIFile pFile)
 {
     Offset = pFile.ReadUInt32();
     Flags = pFile.ReadUInt32();
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Implementation.LoadData(pFile);
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:7,代码来源:ManifestResourceData.cs

示例8: LoadData

 private void LoadData(CLIFile pFile)
 {
     Generation = pFile.ReadUInt16();
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Mvid = pFile.ReadGUIDHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.GUID32Bit));
     EncId = pFile.ReadGUIDHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.GUID32Bit));
     EncBaseId = pFile.ReadGUIDHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.GUID32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:8,代码来源:ModuleData.cs

示例9: LoadData

		private void LoadData(CLIFile pFile)
		{
			MappingFlags = (PInvokeAttributes)pFile.ReadUInt16();
			MemberForwarded.LoadData(pFile);
			ImportName = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			int moduleRefIndex = 0;
			if (pFile.ModuleRefTable.Length >= 0xFFFF) moduleRefIndex = pFile.ReadInt32() - 1;
			else moduleRefIndex = pFile.ReadUInt16() - 1;
			if (moduleRefIndex >= 0) ImportScope = pFile.ModuleRefTable[moduleRefIndex];
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:10,代码来源:ImplMapData.cs

示例10: LoadData

        private void LoadData(CLIFile pFile)
        {
            RVA = pFile.ReadUInt32();
            ImplFlags = (MethodImplAttributes)pFile.ReadUInt16();
            Flags = (MethodAttributes)pFile.ReadUInt16();
            Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
            Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
            if (pFile.ParamTable.Length >= 0xFFFF) ParamListIndex = pFile.ReadInt32() - 1;
            else ParamListIndex = pFile.ReadUInt16() - 1;

            if (RVA != 0)
            {
                Body = new MethodDefBodyData();
                Body.LoadData(this);
            }
        }
开发者ID:Astaelan,项目名称:Fusion,代码行数:16,代码来源:MethodDefData.cs

示例11: LoadData

		private void LoadData(CLIFile pFile)
		{
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:4,代码来源:ModuleRefData.cs

示例12: LoadData

 private void LoadData(CLIFile pFile)
 {
     Flags = pFile.ReadUInt16();
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Type = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:6,代码来源:PropertyData.cs

示例13: LoadData

 private void LoadData(CLIFile pFile)
 {
     ResolutionScope.LoadData(pFile);
     TypeName = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     TypeNamespace = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:6,代码来源:TypeRefData.cs

示例14: LoadData

		private void LoadData(CLIFile pFile)
		{
			Flags = (ParamAttributes)pFile.ReadUInt16();
			Sequence = pFile.ReadUInt16();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:6,代码来源:ParamData.cs

示例15: LoadData

		private void LoadData(CLIFile pFile)
		{
			Flags = (EventAttributes)pFile.ReadUInt16();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			EventType.LoadData(pFile);
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:6,代码来源:EventData.cs


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