9 references to SkeletonReferenceCreationPolicy
Microsoft.CodeAnalysis.Workspaces (9)
Workspace\Solution\SolutionCompilationState.CreationPolicy.cs (3)
49
SkeletonReferenceCreationPolicy
SkeletonReferenceCreationPolicy)
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 (6)
528
if (creationPolicy.SkeletonReferenceCreationPolicy is
SkeletonReferenceCreationPolicy
.Create)
539
Contract.ThrowIfFalse(creationPolicy.SkeletonReferenceCreationPolicy is
SkeletonReferenceCreationPolicy
.CreateIfAbsent or
SkeletonReferenceCreationPolicy
.DoNotCreate);
556
if (metadataReference is null && creationPolicy.SkeletonReferenceCreationPolicy is
SkeletonReferenceCreationPolicy
.CreateIfAbsent)
613
if (creationPolicy.SkeletonReferenceCreationPolicy ==
SkeletonReferenceCreationPolicy
.Create)
614
creationPolicy = creationPolicy with { SkeletonReferenceCreationPolicy =
SkeletonReferenceCreationPolicy
.CreateIfAbsent };