11 references to WithFrozenSourceGeneratedDocument
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\Solution.cs (1)
1655
/// 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)
888
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
935
var frozenSolution = project.Solution.
WithFrozenSourceGeneratedDocument
(
1276
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
1313
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
1344
var frozenWithSingleDocument = project.Solution.
WithFrozenSourceGeneratedDocument
(
1379
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;