*** merged revision 57555 from mcs
[mono.git] / mcs / gmcs / enum.cs
index 0cf0cd6ea5f5a04e8d2cc75b57a8c52a11ac2d7c..54570d9d8c3eef41f24c98ce6fde219b1fd23aa9 100644 (file)
@@ -248,7 +248,7 @@ namespace Mono.CSharp {
                                return null;
                        }
 
-                       TypeExpr ute = ResolveBaseTypeExpr (BaseType);
+                       TypeExpr ute = BaseType.ResolveAsTypeTerminal (this, false);
                        UnderlyingType = ute.Type;
 
                        if (UnderlyingType != TypeManager.int32_type &&