blob: 4532e8fde52c1ba13c8367f0b751e86f1b262392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2015 Jb Evain
// Copyright (c) 2008 - 2011 Novell, Inc.
//
// Licensed under the MIT/X11 license.
//
using Mono.Cecil.PE;
using RID = System.UInt32;
namespace Mono.Cecil.Metadata {
sealed class PdbHeap : Heap {
public byte [] Id;
public RID EntryPoint;
public long TypeSystemTables;
public uint [] TypeSystemTableRows;
public PdbHeap (Section section, uint offset, uint size)
: base (section, offset, size)
{
}
public bool HasTable (Table table)
{
return (TypeSystemTables & (1L << (int) table)) != 0;
}
}
}
|