summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0023-6.cs
blob: feb834f2036d8ba8f727644e8ec523f93c450b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// CS0023: The `.' operator cannot be applied to operand of type `method group'
// Line: 9

public class App {

  public static void Main() {}

  SomeEnum SomeEnum() {
    return SomeEnum.First;
  }

}

enum SomeEnum { First, Second };