Commit 87ca65a
Inline TryMapToRazorDocumentPosition call instead of storing result
Removed the intermediate mappedEnd assignment and directly used the
TryMapToRazorDocumentPosition result in the if condition. This makes
the code cleaner by avoiding the unnecessary variable assignment.
Co-authored-by: davidwengier <[email protected]>1 parent 413cc1d commit 87ca65a
File tree
1 file changed
+1
-3
lines changed- src/Razor/src/Microsoft.CodeAnalysis.Razor.Workspaces/DocumentMapping
1 file changed
+1
-3
lines changedLines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
| 116 | + | |
119 | 117 | | |
120 | 118 | | |
121 | 119 | | |
| |||
0 commit comments