Merge pull request #733 from amoiseev-softheme/bugfix/monofix
[mono.git] / mcs / class / Mono.CompilerServices.SymbolWriter / MonoSymbolTable.cs
index 88d604f2e36c45c43cbce850e1ae60c0d6dcf71b..2b434426803c3ce8efe868be3205c9673400c49e 100644 (file)
@@ -601,6 +601,11 @@ namespace Mono.CompilerServices.SymbolWriter
                        DataOffset = reader.ReadInt32 ();
                }
 
+               public void ReadAll ()
+               {
+                       ReadData ();
+               }
+
                void ReadData ()
                {
                        if (creating)
@@ -746,6 +751,7 @@ namespace Mono.CompilerServices.SymbolWriter
 
                public string FileName {
                        get { return file_name; }
+                       set { file_name = value; }
                }
 
                public bool AutoGenerated {
@@ -1208,6 +1214,15 @@ namespace Mono.CompilerServices.SymbolWriter
                        bw.WriteLeb128 ((int) flags);
                }
 
+               public void ReadAll ()
+               {
+                       GetLineNumberTable ();
+                       GetLocals ();
+                       GetCodeBlocks ();
+                       GetScopeVariables ();
+                       GetRealName ();
+               }
+
                public LineNumberTable GetLineNumberTable ()
                {
                        lock (SymbolFile) {