e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
13 lines
208 B
C#
13 lines
208 B
C#
// CS8157: Cannot return `r' by reference because it was initialized to a value that cannot be returned by reference
|
|
// Line: 11
|
|
|
|
struct S
|
|
{
|
|
int i;
|
|
|
|
ref int M ()
|
|
{
|
|
ref int r = ref i;
|
|
return ref r;
|
|
}
|
|
} |