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
2009-01-24 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
tests
/
test-324.cs
blob
20dde5e44615efc9f18f4be7e631a7c0434eee22
1
using
System
;
2
3
public class
A
{
4
public void
DoStuff
()
5
{
6
Console
.
WriteLine
(
"stuff"
);
7
}
8
}
9
10
public struct
B
{
11
public bool
Val
{
12
get
{
13
return false
;
14
}
15
}
16
}
17
18
public class
T
:
MarshalByRefObject
{
19
internal static
A a
=
new
A
();
20
public static
B b
;
21
}
22
23
public class
Driver
{
24
25
public static void
Main
()
26
{
27
T
.
a
.
DoStuff
();
28
bool
b
=
T
.
b
.
Val
;
29
}
30
}