Nothing to see here
[mono.git] / mcs / mcs / typemanager.cs
index bd6e919a0134930ed716b5666458ad64a4dc5c85..4ee2508abedac106cabb08e1ba73a8e4b8246767 100644 (file)
@@ -1088,7 +1088,7 @@ namespace Mono.CSharp {
                if (obsolete_attribute_type != null) {
                        Class c = TypeManager.LookupClass (obsolete_attribute_type);
                        if (c != null)
-                               c.DefineMembers ();
+                               c.Define ();
                }
 
                dllimport_type = CoreLookupType ("System.Runtime.InteropServices", "DllImportAttribute", Kind.Class, false);