e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
12 lines
225 B
C#
12 lines
225 B
C#
// CS8154: The body of `TestClass.TestFunction()' cannot be an iterator block because the method returns by reference
|
|
// Line: 10
|
|
|
|
class TestClass
|
|
{
|
|
int x;
|
|
|
|
ref int TestFunction()
|
|
{
|
|
yield return x;
|
|
}
|
|
} |