Replies: 1 comment 26 replies
-
Beta Was this translation helpful? Give feedback.
26 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
C# 10 introduces lambda type inference which is breaking change in my case. My library has the following methods:
Prior to C# 10 the consumer has no problem when invoking
Method(() => DoSomething())
. But now the delegate type must be explicitly defined:Method((Action)() => DoSomething())
. Otherwise, the compilation process stopped witherror CS0121: The call is ambiguous
Beta Was this translation helpful? Give feedback.
All reactions