projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5082 from kumpera/fix-ro-fs-file-delete
[mono.git]
/
mcs
/
tests
/
test-863.cs
1
public class TestRefKeywords
2
{
3
static int Main ()
4
{
5
int i = 0;
6
System.TypedReference r = __makeref(i);
7
System.Type t = __reftype(r);
8
int j = __refvalue( r,int);
9
10
__refvalue(r, int) = 4;
11
var x = ( __refvalue(r, int) += 1);
12
13
if (x != 5)
14
return 1;
15
16
return 0;
17
}
18
}