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:
authorjbevain <jbevain@gmail.com>2011-03-27 13:42:06 +0400
committerjbevain <jbevain@gmail.com>2011-03-27 13:42:06 +0400
commitffedd29150614c517d4b3b29e6153fd4f03fd32a (patch)
treeac2c168d58bcf6a56993fcaa40de5e7c8d02702c /Mono.Cecil.Metadata
parent16104a9ab0d0cc034fbe8636b754c52d2f2f76f1 (diff)
Remove TableHeap.TableIdentifiers
Diffstat (limited to 'Mono.Cecil.Metadata')
-rw-r--r--Mono.Cecil.Metadata/TableHeap.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/Mono.Cecil.Metadata/TableHeap.cs b/Mono.Cecil.Metadata/TableHeap.cs
index 2705c51..37a1948 100644
--- a/Mono.Cecil.Metadata/TableHeap.cs
+++ b/Mono.Cecil.Metadata/TableHeap.cs
@@ -90,15 +90,9 @@ namespace Mono.Cecil.Metadata {
public long Valid;
public long Sorted;
- public static readonly Table [] TableIdentifiers;
- public readonly TableInformation [] Tables = new TableInformation [45];
+ public const int TableCount = 45;
- static TableHeap ()
- {
- TableIdentifiers = new Table [45];
- for (int i = 0; i < TableIdentifiers.Length; i++)
- TableIdentifiers [i] = (Table) i;
- }
+ public readonly TableInformation [] Tables = new TableInformation [TableCount];
public TableInformation this [Table table] {
get { return Tables [(int) table]; }