projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git]
/
mcs
/
tests
/
gtest-autoproperty-18.cs
1
using System;
2
3
public class A
4
{
5
public int Type { get; }
6
7
public A ()
8
{
9
Type = 2;
10
}
11
}
12
13
public class B
14
{
15
static int Type { get; }
16
17
static B ()
18
{
19
Type = 1;
20
}
21
22
static int Main ()
23
{
24
if (Type != 1)
25
return 1;
26
27
var a = new A ();
28
if (a.Type != 2)
29
return 2;
30
31
return 0;
32
}
33
}