e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
10 lines
164 B
C#
10 lines
164 B
C#
// CS8156: An expression cannot be used in this context because it may not be returned by reference
|
|
// Line: 8
|
|
|
|
class Test
|
|
{
|
|
ref int Foo ()
|
|
{
|
|
return ref 2;
|
|
}
|
|
} |