2007-01-01 Miguel de Icaza <miguel@novell.com>
[mono.git] / mcs / mcs / report.cs
index 76a52058a353a0499b4404c3878ce83028f1f229..212be8c05979a50360f1552e97e6252eed2c82dd 100644 (file)
@@ -75,18 +75,19 @@ namespace Mono.CSharp {
                public static readonly int[] AllWarnings = new int[] {
                        28, 67, 78,
                        105, 108, 109, 114, 162, 164, 168, 169, 183, 184, 197,
-                       219, 251, 252, 253, 282,
+                       219, 251, 252, 253, 278, 282,
                        419, 420, 429, 436, 440, 465, 467, 469,
                        612, 618, 626, 628, 642, 649, 652, 658, 659, 660, 661, 665, 672, 675,
-                       1030, 1058,
+                       809,
+                       1030,
                        1522, 1570, 1571, 1572, 1573, 1574, 1580, 1581, 1584, 1587, 1589, 1590, 1591, 1592,
                        1616, 1633, 1634, 1635, 1690, 1691, 1692,
                        1717, 1718, 1720,
                        1901,
                        2002, 2023,
-                       3005, 3012, 3019, 3021, 3022, 3023, 3026, 3027,
+                       3005, 3012, 3018, 3019, 3021, 3022, 3023, 3026, 3027,
 #if GMCS_SOURCE
-                       402, 414, 693, 1700, 3024
+                       402, 414, 693, 1058, 1700, 3024
 #endif
                };
 
@@ -308,7 +309,7 @@ namespace Mono.CSharp {
                static public void SymbolRelatedToPreviousError (MemberInfo mi)
                {
                        Type dt = TypeManager.DropGenericTypeArguments (mi.DeclaringType);
-                       TypeContainer temp_ds = TypeManager.LookupTypeContainer (dt);
+                       DeclSpace temp_ds = TypeManager.LookupDeclSpace (dt);
                        if (temp_ds == null) {
                                SymbolRelatedToPreviousError (dt.Assembly.Location, TypeManager.GetFullNameSignature (mi));
                        } else {