b7cd5de421
Former-commit-id: 65f7f4344e4c1c5e42628faefa5b9d36955387d1
27 lines
311 B
C#
27 lines
311 B
C#
// Compiler options: -langversion:latest
|
|
using System;
|
|
|
|
public delegate ref readonly int D (int x);
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
|
|
}
|
|
|
|
Guid g;
|
|
|
|
ref readonly Guid TestMethod ()
|
|
{
|
|
return ref g;
|
|
}
|
|
|
|
ref readonly Guid TestProp {
|
|
get {
|
|
ref readonly var rg = ref g;
|
|
return ref rg;
|
|
}
|
|
}
|
|
|
|
} |