1 // CS0411: The type arguments for method `Foo<U>.DoSomething<U>(System.Func<U,U>)' cannot be inferred from the usage. Try specifying the type arguments explicitly
8 public void DoSomething
<U
> (Func
<U
, T
> valueExpression
) { }
13 protected void DoAnything
<T
, U
> (U
value)
15 new Foo
<U
> ().DoSomething (value);