1 write to _mostRecentFileInfo
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LoadedProject.cs (1)
233
_mostRecentFileInfo
= newProjectInfo;
11 references to _mostRecentFileInfo
Microsoft.CodeAnalysis.LanguageServer (11)
HostWorkspace\LoadedProject.cs (11)
99
Contract.ThrowIfNull(
_mostRecentFileInfo
, "We haven't been given a loaded project yet, so we can't provide the existing TFM.");
100
return
_mostRecentFileInfo
.TargetFramework;
111
if (
_mostRecentFileInfo
!= null)
114
Contract.ThrowIfFalse(newProjectInfo.FilePath ==
_mostRecentFileInfo
.FilePath);
115
Contract.ThrowIfFalse(newProjectInfo.TargetFramework ==
_mostRecentFileInfo
.TargetFramework);
147
_mostRecentFileInfo
?.Documents,
196
_mostRecentFileInfo
?.AdditionalDocuments,
204
_mostRecentFileInfo
?.AnalyzerConfigDocuments,
212
_mostRecentFileInfo
?.AdditionalDocuments.Where(TreatAsIsDynamicFile),
220
var needsRestore = ProjectDependencyHelper.NeedsRestore(newProjectInfo,
_mostRecentFileInfo
, logger);
271
if (
_mostRecentFileInfo
?.ProjectAssetsFilePath == currentProjectInfo.ProjectAssetsFilePath)