19234507ba
Former-commit-id: 3494343bcc9ddb42b36b82dd9ae7b69e85e0229f
36 lines
379 B
C#
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; }
|
|
}
|