e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
12 lines
161 B
C#
12 lines
161 B
C#
// CS8171: Cannot initialize a by-value variable `l' with a reference expression
|
|
// Line: 10
|
|
|
|
class Test
|
|
{
|
|
int field;
|
|
|
|
void Foo ()
|
|
{
|
|
int l = ref field;
|
|
}
|
|
} |