projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git]
/
mcs
/
errors
/
cs1510-4.cs
1
// CS1510: A ref or out argument must be an assignable variable
2
// Line: 13
3
4
class M
5
{
6
static void Test (ref byte b)
7
{
8
}
9
10
public static void Main ()
11
{
12
byte b = 1;
13
Test (ref (byte) b);
14
}
15
}