projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[System.Net.Http] HttpClient timeout range checks. Fixes #25755
[mono.git]
/
mcs
/
tests
/
test-832.cs
1
public class A
2
{
3
public static int Main ()
4
{
5
var a = new A ();
6
a.Test ();
7
if (a.Properties.P2.Value != 1)
8
return 1;
9
10
return 0;
11
}
12
13
S s = new S (55);
14
15
void Test ()
16
{
17
Properties.P2.Value = 1;
18
}
19
20
internal S Properties {
21
get { return s; }
22
}
23
}
24
25
struct S
26
{
27
C c;
28
29
public S (int i)
30
{
31
c = new C ();
32
}
33
34
public C P2
35
{
36
get { return c; }
37
}
38
}
39
40
class C
41
{
42
public int Value;
43
}