projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2008-07-14 Marek Safar <marek.safar@gmail.com>
[mono.git]
/
mcs
/
tests
/
gtest-initialize-03.cs
1
2
3
using System;
4
using System.Collections;
5
6
class Data
7
{
8
public int Value;
9
}
10
11
public class Test
12
{
13
static Data Prop {
14
set {
15
}
16
}
17
18
public object Foo ()
19
{
20
return new Data () { Value = 3 };
21
}
22
23
static void Main ()
24
{
25
Prop = new Data () { Value = 3 };
26
Data data = new Data () { Value = 6 };
27
Data a, b;
28
a = b = new Data () { Value = 3 };
29
}
30
}