a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
12 lines
273 B
C#
12 lines
273 B
C#
// CS0592: The attribute `TestAttribute' is not valid on this declaration type. It is valid on `constructor' declarations only
|
|
// Line: 6
|
|
|
|
using System;
|
|
|
|
[TestAttribute ()]
|
|
enum E {
|
|
}
|
|
|
|
[AttributeUsage(AttributeTargets.Constructor)]
|
|
public class TestAttribute: Attribute {
|
|
} |