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
/
cs8157.cs
1
// CS8157: Cannot return `r' by reference because it was initialized to a value that cannot be returned by reference
2
// Line: 11
3
4
struct S
5
{
6
int i;
7
8
ref int M ()
9
{
10
ref int r = ref i;
11
return ref r;
12
}
13
}