linux-packaging-mono/mcs/tests/test-ref-07.cs
Xamarin Public Jenkins (auto-signing) 19234507ba Imported Upstream version 5.14.0.78
Former-commit-id: 3494343bcc9ddb42b36b82dd9ae7b69e85e0229f
2018-05-10 08:37:03 +00:00

36 lines
379 B
C#

// Compiler options: -langversion:latest
public readonly ref partial struct Test
{
public static void Main ()
{
var m = new Test ();
m.Method ();
}
Test Method ()
{
return new Test ();
}
}
ref partial struct Test
{
}
ref struct Second
{
Test field;
}
public abstract class P
{
public abstract Test Span { get; }
}
public interface II
{
Test Span { get; }
}