15 references to SolutionStateContentVersion
Microsoft.CodeAnalysis.Features (4)
Completion\Providers\CompletionUtilities.cs (2)
60
if (solution is null || project.Solution.
SolutionStateContentVersion
> solution.
SolutionStateContentVersion
)
EditAndContinue\PdbMatchingSourceTextProvider.cs (2)
95
var oldSolutionVersion = oldDocument.Project.Solution.
SolutionStateContentVersion
;
115
_baselineSolutionContentVersion = solution.
SolutionStateContentVersion
;
Microsoft.CodeAnalysis.Workspaces (11)
CodeActions\Operations\ApplyChangesOperation.cs (2)
56
if (changedSolution.
SolutionStateContentVersion
== currentSolution.
SolutionStateContentVersion
)
ExternalAccess\UnitTesting\Api\UnitTestingSolutionExtensions.cs (1)
13
=> solution.
SolutionStateContentVersion
;
Workspace\Solution\SolutionState.cs (2)
246
? oldSolution.
SolutionStateContentVersion
// If the solution state is the same, we can keep the same version.
247
: oldSolution.
SolutionStateContentVersion
+ 1; // Otherwise, increment the version.
Workspace\Workspace.cs (6)
437
/// name="transformation"/> as it may its <see cref="Solution.
SolutionStateContentVersion
"/> updated
442
/// name="transformation"/> as it may have its <see cref="Solution.
SolutionStateContentVersion
"/> updated
1538
if (newSolution.
SolutionStateContentVersion
!= oldSolution.
SolutionStateContentVersion
)
1546
return $"Apply Failed: Content version has already been updated (from '{newSolution.
SolutionStateContentVersion
}' to '{oldSolution.
SolutionStateContentVersion
}')";