File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/CSharp.Workspaces/CSharp/CodeMetrics Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010### Fixed
1111
1212- Fix analyzer [ RCS1172] ( https://josefpihrt.github.io/docs/roslynator/analyzers/RCS1172 ) ([ PR] ( https://github.com/dotnet/roslynator/pull/1710 ) )
13+ - [ CLI] Fix ` loc ` command ([ PR] ( https://github.com/dotnet/roslynator/pull/1711 ) )
1314
1415## [ 4.14.1] - 2025-10-05
1516
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public override void VisitTrivia(SyntaxTrivia trivia)
7070 int lineCount = Lines . GetLineCount ( trivia . Span ) ;
7171
7272 if ( lineCount == 1
73- || line . IsEmptyOrWhiteSpace ( TextSpan . FromBounds ( Lines . GetLineFromPosition ( span . End ) . End , span . End ) ) )
73+ || line . IsEmptyOrWhiteSpace ( TextSpan . FromBounds ( span . End , Lines . GetLineFromPosition ( span . End ) . End ) ) )
7474 {
7575 CommentLineCount += lineCount ;
7676 }
You can’t perform that action at this time.
0 commit comments