PR# 19481 Incorrect report of code analysis rule CA049 violation
Problem Report Summary
Synopsis: Incorrect report of code analysis rule CA049 violation
The code analyzer reports a CA049 violation (comparison of object references) for a comparison to Void. I hope this is a bug.
Compile with attached class and click Analyze button. Reports CA049 violation. I consider this a false positive since the comparison is with Void.