This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / gmcs / report.cs
index 4fc4bbcad696b2371f12329dfefcefe54555dcf1..c398d025051e0e41936b5bbc85f2b656e5c09971 100644 (file)
@@ -96,11 +96,13 @@ namespace Mono.CSharp {
                                case 0582: return "Conditional not valid on interface members";
                                case 0592: return "Attribute '{0}' is not valid on this declaration type. It is valid on {1} declarations only.";
                                case 0601: return "The DllImport attribute must be specified on a method marked `static' and `extern'";
+                               case 0610: return "Field or property cannot be of type '{0}'";
                                case 0619: return "'{0}' is obsolete: '{1}'";
                                case 0626: return "Method, operator, or accessor '{0}' is marked external and has no attributes on it. Consider adding a DllImport attribute to specify the external implementation";
                                case 0629: return "Conditional member '{0}' cannot implement interface member";
                                case 0657: return "'{0}' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are '{1}'";
                                case 1618: return "Cannot create delegate with '{0}' because it has a Conditional attribute";
+                               case 1667: return "'{0}' is not valid on property or event accessors. It is valid on '{1}' declarations only";
                                case 3000: return "Methods with variable arguments are not CLS-compliant";
                                case 3001: return "Argument type '{0}' is not CLS-compliant";
                                case 3002: return "Return type of '{0}' is not CLS-compliant";