Commit 6503956
committed
BackgroundDocumentGenerator: Remove redundant calls
When iterating over `ProjectSnapshot.DocumentFilePaths`, it is redundant to call `ContainsDocument(...)` for those file paths on the same project. We already know it contains those file paths.1 parent 0b52155 commit 6503956
File tree
1 file changed
+2
-8
lines changed- src/Razor/src/Microsoft.VisualStudio.LanguageServices.Razor/DynamicFiles
1 file changed
+2
-8
lines changedLines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 204 | + | |
208 | 205 | | |
209 | 206 | | |
210 | 207 | | |
| |||
216 | 213 | | |
217 | 214 | | |
218 | 215 | | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
| 216 | + | |
223 | 217 | | |
224 | 218 | | |
225 | 219 | | |
| |||
0 commit comments