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