repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
gtest-388.cs
blob
e28d37fd21255e0543301684175a9e3068857a04
1
using
System
;
2
3
class
Data
{
4
public int
Value
;
5
}
6
7
class
Foo
{
8
static void
f
(
Data d
)
9
{
10
if
(
d
.
Value
!=
5
)
11
throw new
Exception
();
12
}
13
14
static void
Main
()
15
{
16
Data d
;
17
f
(
d
=
new
Data
()
{ Value = 5 }
);
18
}
19
}