Commit 6c28839
Merge release/dev17.10 to main (#10027)
* Avoid creating ProjectSnapshotManager in CSharpVirtualDocumentFactory
`CSharpVirtualDocumentFactory` unnecessarily forces the
`ProjectSnapshotManager` to be created just to see if it contains any
projects. To avoid this, I've added a `TryGetInstance(...)` method that
returns the `ProjectSnapshotManager` only if it has been created.
Then, in `CSharpVirtualDocumentFactory` it avoids force-creating the
`ProjectSnapshotManager` if `TryGetInstance(...)` returns false.
* Avoid creating ProjectSnapshotManager in FallbackProjectManager
---------
Co-authored-by: Dustin Campbell <[email protected]>
Co-authored-by: David Wengier <[email protected]>1 parent abea493 commit 6c28839
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments