2006-11-14 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / ilasm / codegen / TypeRef.cs
index e7c63961df99ae827c3f7d871824576b8aa28877..08846715f99e621f0d2bdcca96a59df6c1d79282 100644 (file)
@@ -61,7 +61,7 @@ namespace Mono.ILASM {
                         base_type = code_gen.TypeManager.GetPeapiType (full_name);
 
                         if (base_type == null) {
-                                code_gen.Report.Error ("Reference to undefined class '" +
+                                Report.Error ("Reference to undefined class '" +
                                                        FullName + "'");
                                 return;
                         }