Small fix.
authorMartin Baulig <martin@novell.com>
Wed, 11 Jun 2008 14:33:15 +0000 (14:33 -0000)
committerMartin Baulig <martin@novell.com>
Wed, 11 Jun 2008 14:33:15 +0000 (14:33 -0000)
svn path=/trunk/mcs/; revision=105587

mcs/class/Mono.CompilerServices.SymbolWriter/MonoSymbolTable.cs

index b9f31e037e1620d16880e25fda45da228442605c..76f183767c58fb22f8a6be12f955f826795b0886 100644 (file)
@@ -555,6 +555,9 @@ namespace Mono.CompilerServices.SymbolWriter
 
                public SourceFileEntry SourceFile {
                        get {
+                               if (creating)
+                                       return source;
+
                                ReadData ();
                                return source;
                        }