7 references to GeneratedDocumentCreationPolicy
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\SolutionCompilationState.CreationPolicy.cs (3)
48
GeneratedDocumentCreationPolicy
GeneratedDocumentCreationPolicy,
54
public static readonly CreationPolicy Create = new(
GeneratedDocumentCreationPolicy
.Create, SkeletonReferenceCreationPolicy.Create);
60
public static readonly CreationPolicy DoNotCreate = new(
GeneratedDocumentCreationPolicy
.DoNotCreate, SkeletonReferenceCreationPolicy.DoNotCreate);
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
596
var generatedDocumentsUpToDate = creationPolicy.GeneratedDocumentCreationPolicy ==
GeneratedDocumentCreationPolicy
.Create;
610
if (creationPolicy.GeneratedDocumentCreationPolicy ==
GeneratedDocumentCreationPolicy
.Create)
611
creationPolicy = creationPolicy with { GeneratedDocumentCreationPolicy =
GeneratedDocumentCreationPolicy
.DoNotCreate };
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
37
if (creationPolicy.GeneratedDocumentCreationPolicy is
GeneratedDocumentCreationPolicy
.DoNotCreate)