You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.71
Former-commit-id: 65f7f4344e4c1c5e42628faefa5b9d36955387d1
This commit is contained in:
parent
e2950ec768
commit
b7cd5de421
27
mcs/tests/test-readonly-02.cs
Normal file
27
mcs/tests/test-readonly-02.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
53b3539833656acb93be1ac56ce37dd74ae46aea
|
||||
4e488c37bc46fed416be09476a01fed86a94ba5e
|
||||
Reference in New Issue
Block a user