1 override of TryApplyChanges
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildWorkspace.cs (1)
313
public override bool
TryApplyChanges
(Solution newSolution)
40 references to TryApplyChanges
dotnet-format (1)
CodeFormatter.cs (1)
95
if (formatOptions.SaveFormattedFiles && !workspace.
TryApplyChanges
(formattedSolution))
Microsoft.Analyzers.Extra.Tests (1)
Resources\RoslynTestUtils.cs (1)
66
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Analyzers.Local.Tests (1)
Resources\RoslynTestUtils.cs (1)
66
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Options\OmniSharpSolutionAnalyzerConfigOptionsUpdater.cs (1)
56
return workspace.
TryApplyChanges
(newSolution);
Microsoft.CodeAnalysis.Workspaces (29)
Workspace\Solution\SolutionState.cs (1)
46
/// <see cref="Workspace.
TryApplyChanges
(Solution)"/>.
Workspace\Workspace.cs (28)
35
/// workspace's <see cref="
TryApplyChanges
(Solution)"/> method.
152
/// after <see cref="
TryApplyChanges
(Solution)"/> is called.
1499
/// Determines if the specific kind of change is supported by the <see cref="
TryApplyChanges
(Solution)"/> method.
1824
/// Called during a call to <see cref="
TryApplyChanges
(Solution)"/> to determine if a specific change to <see cref="Project.CompilationOptions"/> is allowed.
1831
/// <param name="newOptions">The new <see cref="CompilationOptions"/> of the project that was passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1832
/// <param name="project">The project contained in the <see cref="Solution"/> passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1837
/// Called during a call to <see cref="
TryApplyChanges
(Solution)"/> to determine if a specific change to <see cref="Project.ParseOptions"/> is allowed.
1844
/// <param name="newOptions">The new <see cref="ParseOptions"/> of the project that was passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1845
/// <param name="project">The project contained in the <see cref="Solution"/> passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1850
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> for each project
2053
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a project to the current solution.
2064
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a project from the current solution.
2075
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to change the compilation options.
2093
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to change the parse options.
2110
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a project reference to a project.
2121
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a project reference from a project.
2132
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a metadata reference to a project.
2143
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a metadata reference from a project.
2154
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add an analyzer reference to a project.
2165
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an analyzer reference from a project.
2176
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add an analyzer reference to the solution.
2187
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an analyzer reference from the solution.
2198
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a new document to a project.
2209
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a document from a project.
2242
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a new additional document to a project.
2253
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an additional document from a project.
2275
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a new analyzer config document to a project.
2286
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an analyzer config document from a project.
Microsoft.Gen.BuildMetadata.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Gen.Logging.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Gen.Metrics.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));
Microsoft.Gen.MetricsReports.Unit.Tests (1)
test\Generators\Shared\RoslynTestUtils.cs (1)
90
Assert.True(proj.Solution.Workspace.
TryApplyChanges
(proj.Solution));