Skip to content

Commit

Permalink
Handle user-defined conversions from lambda expressions or method gro…
Browse files Browse the repository at this point in the history
…ups to Delegate, Expression, and base types
  • Loading branch information
cston committed Sep 17, 2021
1 parent 40ff4e2 commit 958c08f
Show file tree
Hide file tree
Showing 2 changed files with 663 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,9 @@ private static bool IsEncompassingImplicitConversionKind(ConversionKind kind)

// Added for C# 7.1
case ConversionKind.DefaultLiteral:

// Added for C# 10.
case ConversionKind.FunctionType:
return true;

default:
Expand Down
Loading

0 comments on commit 958c08f

Please sign in to comment.