summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0658.cs
blob: ebcf50023fb4fb36789368f283bb5ebcf5cd25ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// CS0658: `blah' is invalid attribute target. All attributes in this attribute section will be ignored
// Line : 9
// Compiler options: -warnaserror -warn:1

public class MyClass {

	delegate int MyDelegate (int i, int j);
	
	[blah:Help("blah")]
	public static MyClass operator/ (MyClass i, MyClass j)
	{
	
	}

	public static implicit operator MyClass (Object o)
	{

	}
}