1 // Compiler options: -langversion:future
3 delegate T Foo
<out T
> ();
9 string message
= "Hello World!";
10 Foo
<string> foo
= () => message
;
11 if (Bar (foo
) != message
.GetHashCode ())
17 static int Bar (Foo
<object> foo
)
19 return foo().GetHashCode ();