We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 648c838 commit 51b0ff1Copy full SHA for 51b0ff1
1 file changed
CodeConverter/Util/FromRoslyn/IMethodSymbolExtensions.cs
@@ -23,7 +23,7 @@ public static bool CompatibleSignatureToDelegate(this IMethodSymbol method, INam
23
return false;
24
}
25
26
- if (!method.ReturnType.InheritsFromOrEquals(invoke.ReturnType)) {
+ if (!method.ReturnType.InheritsFromOrEquals(invoke.ReturnType, true)) {
27
28
29
0 commit comments