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
33 -11 Delegate creation expression takes only one argument
35 -12 More than one integral conversion exists for the type on a
38 -13 No return with a value found. Warning, since we currently
39 do not perform flow analysis, and can not tell whether a
40 ret is required or not.
42 -14 Invalid number passed to probe
44 -15 Can not locate default assembly path
46 -16 Can not use System.Enum.ToObject (type, ConstantValue) with
49 -17 A type has already been defined (try --nostdlib)
51 -18 Do not know how to generate debugging information for this platform.
53 -19 Can not find required utility function in the core libraries.
55 -20 Cannot find attribute type Blah (maybe you forgot to set the
56 usage using the AttributeUsage attribute ?).