Resharper layer violates AV2201
denxorz opened this issue · comments
Analyzer
In the Resharper layer the BUILTIN_TYPE_REFERENCE_STYLE
is set to UseClrName
, but AV2201 describes that keywords(aliases) should be used. So I expect it be set to UseKeyword
.
Repro steps
- Download and apply layer.
- All system types now get a hint to use the CLR name instead of the keyword.
Expected behavior
All system types that are written as CLR name should get a hint to use the keyword. All keywords should be left as is.
Actual behavior
All system types now get a hint to use the CLR name instead of the keyword. For example public int Method(){}
will be changed to public Int32 Method(){}
.
Nice catch! I've pushed 01b436a to address this.
Thanks! It works fine now.