You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
594 B
35 lines
594 B
3 years ago
|
//
|
||
|
// 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 ILRuntime.Mono.Cecil.PE;
|
||
|
|
||
|
using RID = System.UInt32;
|
||
|
|
||
|
namespace ILRuntime.Mono.Cecil.Metadata {
|
||
|
|
||
|
sealed class PdbHeap : Heap {
|
||
|
|
||
|
public byte [] Id;
|
||
|
public RID EntryPoint;
|
||
|
public long TypeSystemTables;
|
||
|
public uint [] TypeSystemTableRows;
|
||
|
|
||
|
public PdbHeap (byte [] data)
|
||
|
: base (data)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public bool HasTable (Table table)
|
||
|
{
|
||
|
return (TypeSystemTables & (1L << (int) table)) != 0;
|
||
|
}
|
||
|
}
|
||
|
}
|