a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
11 lines
282 B
C#
11 lines
282 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 ()]
|
|
delegate void D ();
|
|
|
|
[AttributeUsage(AttributeTargets.Constructor)]
|
|
public class TestAttribute: Attribute {
|
|
} |