repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-ref-09.cs
blob
5d0e89e5c1a01c6c37bb25f346306aaee2d25b58
1
struct
rigidbody { public float x; }
2
3
class
Program
4
{
5
static
rigidbody a
;
6
static ref
rigidbody property_returning_struct_by_ref
=>
ref
a
;
7
8
static void
Main
()
9
{
10
System
.
Console
.
WriteLine
(
property_returning_struct_by_ref
.
x
);
11
}
12
}