a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
361 B
C#
15 lines
361 B
C#
// CS0657: `property' is not a valid attribute location for this declaration. Valid attribute locations for this declaration are `event'. All attributes in this section will be ignored
|
|
// Line: 9
|
|
// Compiler options: -warnaserror
|
|
|
|
using System;
|
|
|
|
class C
|
|
{
|
|
[property: Obsolete]
|
|
event ResolveEventHandler field {
|
|
add {}
|
|
remove {}
|
|
}
|
|
}
|