Files
mono/mcs/errors/cs0591.cs
T
Marek Safar c056798bb9 2006-03-23 Marek Safar <[email protected]>
* attribute.cs (Attribute.ResolveConstructor): Check for an invalid
	attribute arguments here.

	* class.cs (Indexer.Define): The check was moved to attribute class.

svn path=/trunk/mcs/; revision=58399
2006-03-23 22:27:43 +00:00

11 lines
190 B
C#

// cs0591.cs: Invalid value for argument to `System.AttributeUsage' attribute
// Line: 4
[System.AttributeUsage(0)]
class ClassMain {
public static void Main () {
}
}