11 references to WithFrozenSourceGeneratedDocument
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\Solution.cs (1)
1654
/// Undoes the operation of <see cref="
WithFrozenSourceGeneratedDocument
"/>; any frozen source generated document is allowed
Workspace\TextExtensions.cs (2)
33
return [solution.
WithFrozenSourceGeneratedDocument
(identityAndDateTime.identity, identityAndDateTime.generationDateTime, text)];
68
return solution.
WithFrozenSourceGeneratedDocument
(identityAndDateTime.identity, identityAndDateTime.generationDateTime, text);
Microsoft.CodeAnalysis.Workspaces.UnitTests (6)
SolutionTests\SolutionWithSourceGeneratorTests.cs (6)
885
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
932
var frozenSolution = project.Solution.
WithFrozenSourceGeneratedDocument
(
1273
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
1310
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
1341
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
1376
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
Roslyn.VisualStudio.Next.UnitTests (2)
Services\SolutionServiceTests.cs (2)
514
var frozenSolution1 = solution.
WithFrozenSourceGeneratedDocument
(documentIdentity, DateTime.Now, frozenText1).Project.Solution;
523
var frozenSolution2 = solution.
WithFrozenSourceGeneratedDocument
(documentIdentity, DateTime.Now, frozenText2).Project.Solution;