11 references to SourceGeneratorExecutionPreference
Microsoft.CodeAnalysis.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\ISolutionExtensions.cs (1)
90
if (configuration.SourceGeneratorExecution is
SourceGeneratorExecutionPreference
.Automatic)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
608
if (workspacePreference !=
SourceGeneratorExecutionPreference
.Automatic)
Workspace\Solution\SourceGeneratorExecutionVersion.cs (2)
18
/// as long as this version stays the same and we are in <see cref="
SourceGeneratorExecutionPreference
.Balanced"/>
19
/// mode. This has no effect when in <see cref="
SourceGeneratorExecutionPreference
.Automatic"/> mode (as we always rerun
Workspace\SourceGeneratorExecution.cs (6)
30
public static string GetEditorConfigString(
SourceGeneratorExecutionPreference
? value)
34
SourceGeneratorExecutionPreference
.Automatic => automatic,
35
SourceGeneratorExecutionPreference
.Balanced => balanced,
41
public static
SourceGeneratorExecutionPreference
? Parse(
46
automatic =>
SourceGeneratorExecutionPreference
.Automatic,
47
balanced =>
SourceGeneratorExecutionPreference
.Balanced,
Workspace\Workspace_SourceGeneration.cs (1)
37
if (configuration.SourceGeneratorExecution is
SourceGeneratorExecutionPreference
.Automatic)