Skip to content

Updated SA1125 to also trigger for @Nullable#2286

Merged
sharwell merged 1 commit intoDotNetAnalyzers:masterfrom
bjornhellander:Issue2284_Sa1125NotTriggeredIfNullableIsPrefixedWithAtSign
Mar 13, 2017
Merged

Updated SA1125 to also trigger for @Nullable#2286
sharwell merged 1 commit intoDotNetAnalyzers:masterfrom
bjornhellander:Issue2284_Sa1125NotTriggeredIfNullableIsPrefixedWithAtSign

Conversation

@bjornhellander
Copy link
Copy Markdown
Contributor

Fixes #2284

…nstead of Identifier.Text. The previous implementation caused false negatives when Nullable was prefixed with @.
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #2286 into master will increase coverage by <.01%.

@@            Coverage Diff             @@
##           master    #2286      +/-   ##
==========================================
+ Coverage   96.84%   96.84%   +<.01%     
==========================================
  Files         598      598              
  Lines       84061    84078      +17     
  Branches     3200     3200              
==========================================
+ Hits        81406    81423      +17     
- Misses       1788     1790       +2     
+ Partials      867      865       -2
Impacted Files Coverage Δ
...abilityRules/SA1125UseShorthandForNullableTypes.cs 88.46% <100%> (ø)
...Analyzers.Test/ReadabilityRules/SA1125UnitTests.cs 100% <100%> (ø)
...p.Analyzers.Test/Helpers/CodeFixVerifier.Helper.cs 75.4% <ø> (ø)
...yleCop.Analyzers.Test/Verifiers/CodeFixVerifier.cs 76.98% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4755c66...4cdc15f. Read the comment docs.

@sharwell sharwell self-assigned this Mar 13, 2017
@sharwell sharwell added this to the 1.1.0 Beta 2 milestone Mar 13, 2017
@sharwell sharwell merged commit 0453204 into DotNetAnalyzers:master Mar 13, 2017
@bjornhellander bjornhellander deleted the Issue2284_Sa1125NotTriggeredIfNullableIsPrefixedWithAtSign branch March 25, 2017 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants