2 writes to _applyChangesProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (2)
363_applyChangesProjectFile = buildHost.LoadProjectFileAsync(projectPath, languageName, CancellationToken.None).Result; 390_applyChangesProjectFile = null;
21 references to _applyChangesProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (21)
MSBuild\MSBuildWorkspace.cs (21)
340Debug.Assert(_applyChangesProjectFile == null); 376if (_applyChangesProjectFile != null) 380_applyChangesProjectFile.SaveAsync(CancellationToken.None).Wait(); 460Debug.Assert(_applyChangesProjectFile != null); 484_applyChangesProjectFile.AddDocumentAsync(relativePath, logicalPath: null, CancellationToken.None).Wait(); 520Debug.Assert(_applyChangesProjectFile != null); 525_applyChangesProjectFile.RemoveDocumentAsync(document.FilePath, CancellationToken.None).Wait(); 581RoslynDebug.AssertNotNull(_applyChangesProjectFile); 596_applyChangesProjectFile.AddMetadataReferenceAsync(identity.GetDisplayName(), metadataReference.Properties.Aliases, hintPath: null, CancellationToken.None).Wait(); 602_applyChangesProjectFile.AddMetadataReferenceAsync(fileName, metadataReference.Properties.Aliases, hintPath: null, CancellationToken.None).Wait(); 608_applyChangesProjectFile.AddMetadataReferenceAsync(fileName, metadataReference.Properties.Aliases, relativePath, CancellationToken.None).Wait(); 617RoslynDebug.AssertNotNull(_applyChangesProjectFile); 628_applyChangesProjectFile.RemoveMetadataReferenceAsync(identity.Name, identity.GetDisplayName(), peRef.FilePath, CancellationToken.None).Wait(); 659Debug.Assert(_applyChangesProjectFile != null); 666_applyChangesProjectFile.AddProjectReferenceAsync(project.Name, reference, CancellationToken.None).Wait(); 674Debug.Assert(_applyChangesProjectFile != null); 679_applyChangesProjectFile.RemoveProjectReferenceAsync(project.Name, project.FilePath, CancellationToken.None).Wait(); 687Debug.Assert(_applyChangesProjectFile != null); 691_applyChangesProjectFile.AddAnalyzerReferenceAsync(fileRef.FullPath, CancellationToken.None).Wait(); 699Debug.Assert(_applyChangesProjectFile != null); 703_applyChangesProjectFile.RemoveAnalyzerReferenceAsync(fileRef.FullPath, CancellationToken.None).Wait();