You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delegates are currently only synthesized for lambda expressions and method groups when all parameter types and return type are valid as generic type arguments.
classProgram{unsafestaticvoidMain(){vard1=(refinti)=>{};// okvard2=(int*p)=>{};// CS8917: The delegate type could not be inferred.}}
The text was updated successfully, but these errors were encountered:
Delegates are currently only synthesized for lambda expressions and method groups when all parameter types and return type are valid as generic type arguments.
The text was updated successfully, but these errors were encountered: