mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* 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
11 lines
190 B
C#
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 () {
|
|
}
|
|
}
|
|
|