1 write to _buildManager
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
15 references to _buildManager
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (15)
AbstractBuildHost.cs (15)
29/// The global properties to use for all builds; should not be changed once the <see cref="_buildManager"/> is initialized.
34/// Should not be changed once the <see cref="_buildManager"/> is initialized.
39/// The binary log path to use for all builds; should not be changed once the <see cref="_buildManager"/> is initialized.
44/// The maximum number of MSBuild nodes that may build concurrently, or <see langword="null"/> to use MSBuild's default; should not be changed once the <see cref="_buildManager"/> is initialized.
81[MemberNotNull(nameof(_buildManager))]
87if (_buildManager != null)
124if (_buildManager != null)
125throw new InvalidOperationException($"{nameof(_buildManager)} has already been initialized and cannot be changed");
168var (project, log) = await _buildManager.LoadProjectAsync(projectFilePath, cancellationToken).ConfigureAwait(false);
190var (project, log) = _buildManager.LoadProject(projectFilePath, stream, globalProperties);
205var (projectInstance, log) = _buildManager.LoadProjectInstance(projectFilePath, reader, additionalGlobalProperties);
211Contract.ThrowIfNull(_buildManager);
212return _server.AddTarget(new ProjectFile(languageName, project, _buildManager, _server, log) { PhysicalFilePath = physicalFilePath });
220return _buildManager.TryGetOutputFilePathAsync(projectFilePath, cancellationToken);
225_buildManager?.Dispose();