-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathModifiers.cs
More file actions
78 lines (57 loc) · 1.32 KB
/
Modifiers.cs
File metadata and controls
78 lines (57 loc) · 1.32 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
namespace N
{
/*internal*/
unsafe class C
{
/*private*/
C() { }
public C(int i) : this() { }
/*private*/
void M1() { }
private void M2() { }
protected void M3() { }
public static extern void M4();
/*private*/
async void M5() { }
/*private*/
sealed class C1
{
public C1() { }
}
protected abstract class C2 : C
{
protected C2() { }
new void M2() { }
public abstract void M6();
}
internal partial class C3 { }
/*private*/
static int F1;
public const int F2 = 0;
internal protected readonly int F3;
private volatile int F4;
}
internal interface I { }
public struct S
{
public int P1 { /*public*/ get; /*public*/ set; }
public int P2 { /*public*/ get; private set; }
/*private*/
int P3 { /*private*/ get; /*private*/ set; }
}
public interface I1
{
void M1();
void M2() => throw null;
}
internal interface I2
{
void M1() => throw null;
}
public class C2 : I2
{
void I2.M1() => throw null;
protected private void M2() { }
protected internal void M3() { }
}
}