Open
Description
Repro steps
void Method(AnInterface foo)
{
Func(0);
foo?.DoSomething(Func);
bool Func(int value) => true; // FP
}
public interface AnInterface
{
void DoSomething(Func<int, bool> method);
}
Expected behavior
Should not raise an issue, when the delegate of the method is used as an argument.
Known workarounds
Use discard for the output.
Related information
- C#/VB.NET Plugins version: 9.3
Activity