2 writes to _applyChangesProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (2)
336_applyChangesProjectFile = fileLoader.LoadProjectFileAsync(projectPath, buildManager, CancellationToken.None).Result; 363_applyChangesProjectFile = null;
20 references to _applyChangesProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (20)
MSBuild\MSBuildWorkspace.cs (20)
313Debug.Assert(_applyChangesProjectFile == null); 349if (_applyChangesProjectFile != null) 353_applyChangesProjectFile.Save(); 433Debug.Assert(_applyChangesProjectFile != null); 444var extension = _applyChangesProjectFile.GetDocumentExtension(info.SourceCodeKind); 458_applyChangesProjectFile.AddDocument(relativePath); 495Debug.Assert(_applyChangesProjectFile != null); 500_applyChangesProjectFile.RemoveDocument(document.FilePath); 531RoslynDebug.AssertNotNull(_applyChangesProjectFile); 540_applyChangesProjectFile.AddMetadataReference(metadataReference, identity); 546RoslynDebug.AssertNotNull(_applyChangesProjectFile); 555_applyChangesProjectFile.RemoveMetadataReference(metadataReference, identity); 584Debug.Assert(_applyChangesProjectFile != null); 589_applyChangesProjectFile.AddProjectReference(project.Name, new ProjectFileReference(project.FilePath, projectReference.Aliases)); 597Debug.Assert(_applyChangesProjectFile != null); 602_applyChangesProjectFile.RemoveProjectReference(project.Name, project.FilePath); 610Debug.Assert(_applyChangesProjectFile != null); 611_applyChangesProjectFile.AddAnalyzerReference(analyzerReference); 617Debug.Assert(_applyChangesProjectFile != null); 618_applyChangesProjectFile.RemoveAnalyzerReference(analyzerReference);