Commit 413cc1d
Simplify TryGetAbsoluteIndex check by using result directly in if condition
Changed from storing the result in endSync variable and checking it separately
to directly using the TryGetAbsoluteIndex result in the if condition with
negation. This makes the code more concise and easier to read.
Co-authored-by: ToddGrun <[email protected]>1 parent abe2533 commit 413cc1d
File tree
1 file changed
+1
-2
lines changed- src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/DocumentMapping
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
0 commit comments