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)
96
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.
149
/// after <see cref="
TryApplyChanges
(Solution)"/> is called.
1496
/// Determines if the specific kind of change is supported by the <see cref="
TryApplyChanges
(Solution)"/> method.
1821
/// Called during a call to <see cref="
TryApplyChanges
(Solution)"/> to determine if a specific change to <see cref="Project.CompilationOptions"/> is allowed.
1828
/// <param name="newOptions">The new <see cref="CompilationOptions"/> of the project that was passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1829
/// <param name="project">The project contained in the <see cref="Solution"/> passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1834
/// Called during a call to <see cref="
TryApplyChanges
(Solution)"/> to determine if a specific change to <see cref="Project.ParseOptions"/> is allowed.
1841
/// <param name="newOptions">The new <see cref="ParseOptions"/> of the project that was passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1842
/// <param name="project">The project contained in the <see cref="Solution"/> passed to <see cref="
TryApplyChanges
(Solution)"/>.</param>
1847
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> for each project
2050
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a project to the current solution.
2061
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a project from the current solution.
2072
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to change the compilation options.
2090
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to change the parse options.
2107
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a project reference to a project.
2118
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a project reference from a project.
2129
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a metadata reference to a project.
2140
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a metadata reference from a project.
2151
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add an analyzer reference to a project.
2162
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an analyzer reference from a project.
2173
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add an analyzer reference to the solution.
2184
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an analyzer reference from the solution.
2195
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a new document to a project.
2206
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove a document from a project.
2239
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a new additional document to a project.
2250
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to remove an additional document from a project.
2272
/// This method is called during <see cref="
TryApplyChanges
(Solution)"/> to add a new analyzer config document to a project.
2283
/// 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));