projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Initial by ref returns and variables support
[mono.git]
/
mcs
/
errors
/
cs0199-2.cs
1
// CS0199: A static readonly field `X.f' cannot be passed ref or out (except in a static constructor)
2
// Line: 10
3
4
class X
5
{
6
static readonly int f = 0;
7
8
public static void Main ()
9
{
10
ref int j = ref f;
11
}
12
}