Exemple #1
0
 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));
 }
Exemple #2
0
 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));
 }
Exemple #3
0
 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);
 }
Exemple #4
0
		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;
		}
Exemple #5
0
 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));
 }
Exemple #6
0
 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));
 }
		private void LoadData(CLIFile pFile)
		{
			Offset = pFile.ReadUInt32();
			Flags = (ManifestResourceAttributes)pFile.ReadUInt32();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			Implementation.LoadData(pFile);
		}
Exemple #8
0
		private void LoadData(CLIFile pFile)
		{
			Type = (SigElementType)pFile.ReadByte();
			pFile.ReadByte();
			Parent.LoadData(pFile);
			Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
Exemple #9
0
 private void LoadData(CLIFile pFile)
 {
     Offset = pFile.ReadUInt32();
     Flags  = pFile.ReadUInt32();
     Name   = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Implementation.LoadData(pFile);
 }
Exemple #10
0
        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);
            }
        }
Exemple #11
0
 private void LoadData(CLIFile pFile)
 {
     Number = pFile.ReadUInt16();
     Flags  = pFile.ReadUInt16();
     Owner.LoadData(pFile);
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
 private void LoadData(CLIFile pFile)
 {
     Offset = pFile.ReadUInt32();
     Flags = pFile.ReadUInt32();
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Implementation.LoadData(pFile);
 }
		private void LoadData(CLIFile pFile)
		{
			Number = pFile.ReadUInt16();
			Flags = (GenericParamAttributes)pFile.ReadUInt16();
			Owner.LoadData(pFile);
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
		}
Exemple #14
0
 private void LoadData(CLIFile pFile)
 {
     Number = pFile.ReadUInt16();
     Flags = pFile.ReadUInt16();
     Owner.LoadData(pFile);
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
Exemple #15
0
		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];
		}
Exemple #16
0
        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);
        }
Exemple #17
0
        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);
            }
        }
Exemple #18
0
 private void LoadData(CLIFile pFile)
 {
     Flags         = (TypeAttributes)pFile.ReadUInt32();
     TypeName      = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     TypeNamespace = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.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;
     }
 }
Exemple #19
0
        private void LoadData(CLIFile pFile)
        {
            MappingFlags = pFile.ReadUInt16();
            MemberForwarded.LoadData(pFile);
            ImportName = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.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];
            }
        }
Exemple #20
0
 private void LoadData(CLIFile pFile)
 {
     Action = (byte)pFile.ReadUInt16();
     Parent.LoadData(pFile);
     PermissionSet = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #21
0
		private void LoadData(CLIFile pFile)
		{
			Flags = (PropertyAttributes)pFile.ReadUInt16();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			Type = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
		private void LoadData(CLIFile pFile)
		{
			Parent.LoadData(pFile);
			Type.LoadData(pFile);
			Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
Exemple #23
0
 private void LoadData(CLIFile pFile)
 {
     Flags     = (FieldAttributes)pFile.ReadUInt16();
     Name      = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #24
0
 private void LoadData(CLIFile pFile)
 {
     Flags = pFile.ReadUInt16();
     Name  = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Type  = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #25
0
 private void LoadData(CLIFile pFile)
 {
     Type = (byte)pFile.ReadUInt16();
     Parent.LoadData(pFile);
     Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #26
0
 private void LoadData(CLIFile pFile)
 {
     Flags = pFile.ReadUInt16();
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Type = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #27
0
 private void LoadData(CLIFile pFile)
 {
     ResolutionScope.LoadData(pFile);
     TypeName      = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     TypeNamespace = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
Exemple #28
0
 private void LoadData(CLIFile pFile)
 {
     Type = (byte)pFile.ReadUInt16();
     Parent.LoadData(pFile);
     Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #29
0
		private void LoadData(CLIFile pFile)
		{
			Flags = (FileAttributes)pFile.ReadUInt32();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			HashValue = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
Exemple #30
0
		private void LoadData(CLIFile pFile)
		{
			Class.LoadData(pFile);
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
Exemple #31
0
		private void LoadData(CLIFile pFile)
		{
			Flags = (FieldAttributes)pFile.ReadUInt16();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
Exemple #32
0
 private void LoadData(CLIFile pFile)
 {
     Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #33
0
		private void LoadData(CLIFile pFile)
		{
			Flags = (ParamAttributes)pFile.ReadUInt16();
			Sequence = pFile.ReadUInt16();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
		}
Exemple #34
0
 private void LoadData(CLIFile pFile)
 {
     Class.LoadData(pFile);
     Name      = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #35
0
 private void LoadData(CLIFile pFile)
 {
     Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
Exemple #36
0
 private void LoadData(CLIFile pFile)
 {
     Method.LoadData(pFile);
     Instantiation = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #37
0
 private void LoadData(CLIFile pFile)
 {
     ResolutionScope.LoadData(pFile);
     TypeName = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
     TypeNamespace = pFile.ReadStringHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Strings32Bit));
 }
Exemple #38
0
		private void LoadData(CLIFile pFile)
		{
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
		}
Exemple #39
0
 private void LoadData(CLIFile pFile)
 {
     Action = (byte)pFile.ReadUInt16();
     Parent.LoadData(pFile);
     PermissionSet = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
Exemple #40
0
		private void LoadData(CLIFile pFile)
		{
			Flags = (EventAttributes)pFile.ReadUInt16();
			Name = pFile.ReadStringHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Strings32Bit));
			EventType.LoadData(pFile);
		}
		private void LoadData(CLIFile pFile)
		{
			Method.LoadData(pFile);
			Instantiation = pFile.ReadBlobHeap(pFile.ReadHeapIndex(HeapOffsetSizes.Blob32Bit));
		}
Exemple #42
0
 private void LoadData(CLIFile pFile)
 {
     Signature = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }
 private void LoadData(CLIFile pFile)
 {
     Parent.LoadData(pFile);
     Type.LoadData(pFile);
     Value = pFile.ReadBlobHeap(pFile.ReadHeapIndex(CLIHeapOffsetSize.Blob32Bit));
 }