Fix a bug in registry API implementation where had wrong assumptions about possible...
[mono.git] / mcs / class / Mono.CompilerServices.SymbolWriter / MonoSymbolWriter.cs
index 1dbaffd74f54f799d6ca86253f662e5e18b0410e..b2c2afdba619bdf08b9f47c310f3cab2f15c99a6 100644 (file)
@@ -47,11 +47,7 @@ namespace Mono.CompilerServices.SymbolWriter
                string filename;
                
                private SourceMethodBuilder current_method;
-#if NET_2_1
-               System.Collections.Stack current_method_stack = new System.Collections.Stack ();
-#else
                Stack<SourceMethodBuilder> current_method_stack = new Stack<SourceMethodBuilder> ();
-#endif
 
                public MonoSymbolWriter (string filename)
                {
@@ -153,7 +149,6 @@ namespace Mono.CompilerServices.SymbolWriter
                        return entry;
                }
 
-               [Obsolete]
                public int DefineNamespace (string name, CompileUnitEntry unit,
                                            string[] using_clauses, int parent)
                {