Update errors.txt for the new errors that only we catch.
[mono.git] / mcs / errors / errors.txt
1 We use negative numbers for the compiler, and leave the possitive
2 numbers to match the Microsoft numbers:
3
4 -1      An Primary Expression was parsed, when a Type was expected.
5         This happens because my parser knowledge is limited, and I
6         am not good at writing grammars.  It is still an error,
7         but if I were smarter, I would have found a Bison/Yacc way
8         of handling it.
9
10 -2      Internal error, an interface is being defined inside an
11         interface (This should never happen).
12
13 -3      Constant type is not one of sbyte, byte, short, ushort, int,
14         uint, long, ulong, char, float, double, decimal, bool, string, enum
15         or null type. 
16
17 -5      A search for a name on a Type returned matches that contain
18         methods and non-methods.  They have the same name, and I do
19         not know how this is possible to begin with.
20
21 -6      Generic internal compiler error.
22
23 -7      Internal compiler error/library error: no default constructor
24         for a built-in type.  Ie, decimal (int 32)
25
26 -8      User-defined conversion cannot convert from or to object type.
27
28 -9      User-defined conversion cannot convert from or to an interface type.
29
30 -10     User-defined conversion cannot convert between types that derive 
31         from each other.