forked from hicknhack-software/semantic-colorizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TestFile.cs
52 lines (44 loc) · 921 Bytes
/
TestFile.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using System;
namespace Test
{
internal enum Enum
{
Value,
Second = 2
}
internal struct Data
{
public int field { get; set; }
private readonly string privately;
public Data(int p)
{
field = p;
privately = "Hello";
}
}
internal static class ClassExt
{
public static int Sum(this Enum @enum, int num = 5)
{
return num + 2;
}
}
internal interface Base
{
int Run(string arg);
}
internal class Class1 : Base
{
private Data data;
Enum Runner {
get => Enum.Value;
}
public Class1() // construct
{
var x = Enum.Value;
x.Sum(3);
}
public static int NoWay() => 42;
public int Run(string arg) => throw new NotImplementedException();
}
}