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