a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
26 lines
241 B
C#
26 lines
241 B
C#
// CS0023: The `.' operator cannot be applied to operand of type `method group'
|
|
// Line: 20
|
|
|
|
using System;
|
|
|
|
enum Enum
|
|
{
|
|
Test
|
|
}
|
|
|
|
class A : Attribute
|
|
{
|
|
public A (object e)
|
|
{
|
|
}
|
|
}
|
|
|
|
class C
|
|
{
|
|
[A (Enum.Test)]
|
|
int Enum ()
|
|
{
|
|
return 0;
|
|
}
|
|
}
|