X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Ferrors%2Ferrors.txt;h=4f7050be03713e7623cb50ba16db3cb9e5d67a4a;hb=1927c93e49a0a05495f15623dcd948f2df54aae9;hp=d769c5c1bd29fbc4a5ba8a025766309625629365;hpb=773a66abc5e63cc1d2f111daeaa2848891dc8f61;p=mono.git diff --git a/mcs/errors/errors.txt b/mcs/errors/errors.txt index d769c5c1bd2..4f7050be037 100755 --- a/mcs/errors/errors.txt +++ b/mcs/errors/errors.txt @@ -8,4 +8,63 @@ numbers to match the Microsoft numbers: of handling it. -2 Internal error, an interface is being defined inside an - interface (This should never happen). \ No newline at end of file + interface (This should never happen). + +-3 Constant type is not one of sbyte, byte, short, ushort, int, + uint, long, ulong, char, float, double, decimal, bool, string, enum + or null type. + +-5 A search for a name on a Type returned matches that contain + methods and non-methods. They have the same name, and I do + not know how this is possible to begin with. + +-6 Generic internal compiler error. + +-7 Internal compiler error/library error: no default constructor + for a built-in type. Ie, decimal (int 32) + +-8 User-defined conversion cannot convert from or to object type. + +-9 User-defined conversion cannot convert from or to an interface type. + +-10 User-defined conversion cannot convert between types that derive + from each other. + +-11 Delegate creation expression takes only one argument + +-12 More than one integral conversion exists for the type on a + switch statement. + +-13 No return with a value found. Warning, since we currently + do not perform flow analysis, and can not tell whether a + ret is required or not. + +-14 Invalid number passed to probe + +-15 Can not locate default assembly path + +-16 Can not use System.Enum.ToObject (type, ConstantValue) with + user defined types. + +-17 A type has already been defined (try --nostdlib) + +-18 Do not know how to generate debugging information for this platform. + +-19 Can not find required utility function in the core libraries. + +-20 Cannot find attribute type Blah (maybe you forgot to set the + usage using the AttributeUsage attribute ?). + +-21 Bug in Microsoft compiler while applying named attribute for + StructLayout.CharSet value. + +-22 Location of previous error + +-23 .NET runtime error when encoding attributes whose constructor + takes an object, but an enumeration value that is boxed is + passed. + + Sample: + using System.ComponentModel; + [DefaultValue (CollectionChangeAction.Add)] + class X { static void Main () { } }