Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/cecil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJb Evain <jbevain@gmail.com>2015-07-30 18:25:12 +0300
committerJb Evain <jb@evain.net>2016-07-13 23:45:31 +0300
commit7cde491752861a331e091dca601748e9f0741e95 (patch)
tree71c9191cad1d70adab40ec78fa22c852b98f8412 /Mono.Cecil.Metadata/TableHeap.cs
parent7efc4a6de7fba02965daaf407fe557ffee725b79 (diff)
Add support for the portable pdb format
Diffstat (limited to 'Mono.Cecil.Metadata/TableHeap.cs')
-rw-r--r--Mono.Cecil.Metadata/TableHeap.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/Mono.Cecil.Metadata/TableHeap.cs b/Mono.Cecil.Metadata/TableHeap.cs
index 9a83eb3..33997ab 100644
--- a/Mono.Cecil.Metadata/TableHeap.cs
+++ b/Mono.Cecil.Metadata/TableHeap.cs
@@ -59,6 +59,15 @@ namespace Mono.Cecil.Metadata {
GenericParam = 0x2a,
MethodSpec = 0x2b,
GenericParamConstraint = 0x2c,
+
+ Document = 0x30,
+ MethodDebugInformation = 0x31,
+ LocalScope = 0x32,
+ LocalVariable = 0x33,
+ LocalConstant = 0x34,
+ ImportScope = 0x35,
+ StateMachineMethod = 0x36,
+ CustomDebugInformation = 0x37,
}
struct TableInformation {
@@ -72,9 +81,7 @@ namespace Mono.Cecil.Metadata {
public long Valid;
public long Sorted;
- public const int TableCount = 45;
-
- public readonly TableInformation [] Tables = new TableInformation [TableCount];
+ public readonly TableInformation [] Tables = new TableInformation [Mixin.TableCount];
public TableInformation this [Table table] {
get { return Tables [(int) table]; }