1 We use negative numbers for the compiler, and leave the possitive
2 numbers to match the Microsoft numbers:
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
10 -2 Internal error, an interface is being defined inside an
11 interface (This should never happen).
13 -3 Constant type is not one of sbyte, byte, short, ushort, int,
14 uint, long, ulong, char, float, double, decimal, bool, string, enum
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.
21 -6 Generic internal compiler error.
23 -7 Internal compiler error/library error: no default constructor
24 for a built-in type. Ie, decimal (int 32)
26 -8 User-defined conversion cannot convert from or to object type.
28 -9 User-defined conversion cannot convert from or to an interface type.
30 -10 User-defined conversion cannot convert between types that derive