Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0119-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 340d78afbc086e63b2f0650cacfa57c96872940d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0119: Expression denotes a 'method group', where a 'variable', 'value' or 'type' was expected
// Line: 9

public class App {

  public static void Main() {}

  SomeEnum SomeEnum() {
    return SomeEnum.First;
  }

}

enum SomeEnum { First, Second };