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