18 references to SolutionStateContentVersion
Microsoft.CodeAnalysis.EditorFeatures (2)
EditAndContinue\PdbMatchingSourceTextProvider.cs (2)
87var oldSolutionVersion = oldDocument.Project.Solution.SolutionStateContentVersion; 107_baselineSolutionContentVersion = solution.SolutionStateContentVersion;
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
EditAndContinue\EditAndContinueLanguageServiceTests.cs (1)
398Assert.Equal(solution.SolutionStateContentVersion, version);
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
SolutionExtensions.cs (1)
19=> solution.SolutionStateContentVersion;
Microsoft.CodeAnalysis.Features (2)
Completion\Providers\CompletionUtilities.cs (2)
41if (solution is null || project.Solution.SolutionStateContentVersion > solution.SolutionStateContentVersion)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Workspaces\LspWorkspaceManager.cs (1)
414var forkedFromVersion = workspaceCurrentSolution.SolutionStateContentVersion;
Microsoft.CodeAnalysis.Workspaces (11)
CodeActions\Operations\ApplyChangesOperation.cs (2)
56if (changedSolution.SolutionStateContentVersion == currentSolution.SolutionStateContentVersion)
ExternalAccess\UnitTesting\Api\UnitTestingSolutionExtensions.cs (1)
13=> solution.SolutionStateContentVersion;
Workspace\Solution\SolutionState.cs (2)
244? oldSolution.SolutionStateContentVersion // If the solution state is the same, we can keep the same version. 245: oldSolution.SolutionStateContentVersion + 1; // Otherwise, increment the version.
Workspace\Workspace.cs (6)
469/// name="transformation"/> as it may its <see cref="Solution.SolutionStateContentVersion"/> updated 474/// name="transformation"/> as it may have its <see cref="Solution.SolutionStateContentVersion"/> updated 1570if (newSolution.SolutionStateContentVersion != oldSolution.SolutionStateContentVersion) 1578return $"Apply Failed: Content version has already been updated (from '{newSolution.SolutionStateContentVersion}' to '{oldSolution.SolutionStateContentVersion}')";