e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
12 lines
162 B
C#
12 lines
162 B
C#
// CS8161: A static readonly field cannot be returned by reference
|
|
// Line: 10
|
|
|
|
class X
|
|
{
|
|
static readonly int f;
|
|
|
|
static ref int Test ()
|
|
{
|
|
return ref f;
|
|
}
|
|
} |