Stylecopanalyzers: SA1629 bug

Created on 9 May 2018  路  3Comments  路  Source: DotNetAnalyzers/StyleCopAnalyzers

The following code:

c# /// <summary> /// The ID for diagnostics produced by the <see cref="SA1127GenericTypeConstraintsMustBeOnOwnLine"/> /// </summary> public const string DiagnosticId = "SA1127";
will flag a missing period just after the the word, where it should be after the <see .../> tag.

bug fixed

Most helpful comment

SA1629 should also accept other punctuation characters like '!' or '?' as valid line endings.

All 3 comments

馃摑 Note that the violation can be manually fixed by adding the period after the <see> tag. This bug only affects the reporting location.

It also affects the code fix, as due to the wrong reporting location the period is inserted in the wrong spot.

SA1629 should also accept other punctuation characters like '!' or '?' as valid line endings.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Hylndr picture Hylndr  路  7Comments

mzhukovs picture mzhukovs  路  4Comments

SetTrend picture SetTrend  路  5Comments

SurajGupta picture SurajGupta  路  5Comments

arashk1368 picture arashk1368  路  4Comments