2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / errors / errors.txt
old mode 100755 (executable)
new mode 100644 (file)
index 0810ab3..2fc9624
@@ -33,8 +33,6 @@ numbers, as they look nicer on the debugging output.
 -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.
 
@@ -77,8 +75,61 @@ numbers, as they look nicer on the debugging output.
        return type of a method
 
 
-6024    Unused `using' statement
+-25     Generic parse error
 
-       Sample:
-               using System;
-               class X {} 
\ No newline at end of file
+-26     Corlib compilation is not supported in MS.NET
+
+-27    Attribute resolved to two different types
+
+----------
+
+Errors that we have allocated that will have corresponding errors in
+the Microsoft C# compiler:
+
+-200    Constraints for class defined, but there is no parameter list.
+
+-201    Class containing main method is generic.
+
+-202    Can not use a type parameter in an attribute.
+
+-203    Can not use type parameters as unmanaged types.
+
+-204   yield statement in something which is not a method-body,
+       accessor-body or operator-body
+
+-205    A method containing a yield statement is not IEnumerator.
+
+-206    Return statement not allowed inside iterators.
+
+-207    A parameter in an enumerator method contains out or ref
+
+-208    Yield statement appears inside finally clause
+
+-209    Yield statment appears in anonymous method.
+
+-210    Fixed code not allowed inside iterators.
+
+-211    Array expression passed to attribute is not unidimensional
+
+-212    An Array creation expression is present, but the array is not
+       initialized.
+
+-213   This feature requires v2 support.
+
+-214    Generic class can not have attribute as its parent class
+
+-215    Taking the address of a parameter in an iterator is not allowed.
+
+-216    Can not use a type parameters as base class
+
+-217   Wrong number of type parameters
+
+-218   Invalid constraints clause
+
+-219   Type argument doesn't meet constraints.
+
+-220   Cannot resolve constructed type
+
+-221    params modifier present in anonymous method declaration
+
+-222    yield statement only available in C# 2.0 mode