This project is read-only.
2
Vote

Simplifier annotation not working in Visual Basic

description

I am attempting to resolve the following issue:
https://github.com/DotNetAnalyzers/NullParameterCheckRefactoring/issues/18

I attempted to use the same strategy as the C# implementation: adding the Simplifier.Annotation annotation to the top-level syntax tree which was generated and inserted as part of the refactoring. However, even with this annotation the inserted code contains a reference to System.ArgumentNullException instead of just ArgumentNullException.

Here is a link to the commit I expected to resolve this issue in my code:
https://github.com/sharwell/NullParameterCheckRefactoring/commit/cac7241b9dc92b6c8ee6c495ff7828008606dc25

comments

srivatsn wrote Nov 21, 2014 at 6:47 PM

Shyam, can you please take a look?