2 writes to _applyChangesProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (2)
356_applyChangesProjectFile = buildHost.LoadProjectFileAsync(projectPath, languageName, CancellationToken.None).Result; 383_applyChangesProjectFile = null;
21 references to _applyChangesProjectFile
Microsoft.CodeAnalysis.Workspaces.MSBuild (21)
MSBuild\MSBuildWorkspace.cs (21)
333Debug.Assert(_applyChangesProjectFile == null); 369if (_applyChangesProjectFile != null) 373_applyChangesProjectFile.SaveAsync(CancellationToken.None).Wait(); 453Debug.Assert(_applyChangesProjectFile != null); 477_applyChangesProjectFile.AddDocumentAsync(relativePath, logicalPath: null, CancellationToken.None).Wait(); 513Debug.Assert(_applyChangesProjectFile != null); 518_applyChangesProjectFile.RemoveDocumentAsync(document.FilePath, CancellationToken.None).Wait(); 574RoslynDebug.AssertNotNull(_applyChangesProjectFile); 589_applyChangesProjectFile.AddMetadataReferenceAsync(identity.GetDisplayName(), metadataReference.Properties.Aliases, hintPath: null, CancellationToken.None).Wait(); 595_applyChangesProjectFile.AddMetadataReferenceAsync(fileName, metadataReference.Properties.Aliases, hintPath: null, CancellationToken.None).Wait(); 601_applyChangesProjectFile.AddMetadataReferenceAsync(fileName, metadataReference.Properties.Aliases, relativePath, CancellationToken.None).Wait(); 610RoslynDebug.AssertNotNull(_applyChangesProjectFile); 621_applyChangesProjectFile.RemoveMetadataReferenceAsync(identity.Name, identity.GetDisplayName(), peRef.FilePath, CancellationToken.None).Wait(); 652Debug.Assert(_applyChangesProjectFile != null); 659_applyChangesProjectFile.AddProjectReferenceAsync(project.Name, reference, CancellationToken.None).Wait(); 667Debug.Assert(_applyChangesProjectFile != null); 672_applyChangesProjectFile.RemoveProjectReferenceAsync(project.Name, project.FilePath, CancellationToken.None).Wait(); 680Debug.Assert(_applyChangesProjectFile != null); 684_applyChangesProjectFile.AddAnalyzerReferenceAsync(fileRef.FullPath, CancellationToken.None).Wait(); 692Debug.Assert(_applyChangesProjectFile != null); 696_applyChangesProjectFile.RemoveAnalyzerReferenceAsync(fileRef.FullPath, CancellationToken.None).Wait();