blob: e0fb8c10fae2729b0b5b0fed74e7f41774848c1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// CS0657: `type' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `property'. All attributes in this section will be ignored
// Line: 14
// Compiler options: -warnaserror
using System;
[AttributeUsage(AttributeTargets.All)]
public class TestAttribute: Attribute
{
}
class C
{
[type:Test]
int Prop {
set {
}
}
}
|