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


C# CLIFile.ReadBlobHeap方法代码示例

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


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

示例1: LoadData

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

示例2: LoadData

		private void LoadData(CLIFile pFile)
		{
			Type = (SigElementType)pFile.ReadByte();
			pFile.ReadByte();
			Parent.LoadData(pFile);
			Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:7,代码来源:ConstantData.cs

示例3: LoadData

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

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

示例5: LoadData

		private void LoadData(CLIFile pFile)
		{
			Parent.LoadData(pFile);
			Type.LoadData(pFile);
			Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:6,代码来源:CustomAttributeData.cs

示例6: LoadData

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

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

示例8: LoadData

 private void LoadData(CLIFile pFile)
 {
     Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:4,代码来源:TypeSpecData.cs

示例9: LoadData

		private void LoadData(CLIFile pFile)
		{
			Method.LoadData(pFile);
			Instantiation = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
开发者ID:carriercomm,项目名称:Proton-1,代码行数:5,代码来源:MethodSpecData.cs

示例10: LoadData

 private void LoadData(CLIFile pFile)
 {
     Action = (byte)pFile.ReadUInt16();
     Parent.LoadData(pFile);
     PermissionSet = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
开发者ID:Astaelan,项目名称:Fusion,代码行数:6,代码来源:DeclSecurityData.cs

示例11: LoadData

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

示例12: LoadData

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

示例13: LoadData

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

示例14: LoadData

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


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