projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-10-17 Jonathan Pobst <monkey@jpobst.com>
[mono.git]
/
mcs
/
tests
/
test-278.cs
1
using System;
2
3
struct Rect {
4
int x;
5
6
public int X { get { return x; } set { x = value; } }
7
}
8
9
class X {
10
static int Main ()
11
{
12
Rect rect = new Rect ();
13
rect.X += 20;
14
Console.WriteLine ("Should be 20: " + rect.X);
15
return rect.X == 20 ? 0 : 1;
16
}
17
}