summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0579-10.cs
blob: d37b011822c1e7d6757c5f9474235f6ba9618f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// CS0579: The attribute `SimpleAttribute' cannot be applied multiple times
// Line : 18

using System;

[AttributeUsage (AttributeTargets.All, AllowMultiple = false)]
public class SimpleAttribute : Attribute {

	public SimpleAttribute ()
	{
	}
	
}

[Simple]
public partial class Blah { }

[Simple]
public partial class Blah { }