e46a49ecf1
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
18 lines
313 B
C#
18 lines
313 B
C#
// CS0123: A method or delegate `object.ToString()' parameters do not match delegate `System.Func<string>()' parameters
|
|
// Line: 16
|
|
// Compiler options: -langversion:latest
|
|
|
|
using System;
|
|
|
|
public ref struct S
|
|
{
|
|
}
|
|
|
|
class Test
|
|
{
|
|
public static void Main ()
|
|
{
|
|
var s = new S ();
|
|
Func<string> f = s.ToString;
|
|
}
|
|
} |