10 references to Host
Microsoft.CodeAnalysis (2)
SourceGeneration\GeneratorDriver.cs (1)
324
var context = UpdateOutputs(generatorState.OutputNodes, IncrementalGeneratorOutputKind.Source | IncrementalGeneratorOutputKind.Implementation | IncrementalGeneratorOutputKind.
Host
, new GeneratorRunStateTable.Builder(state.TrackIncrementalSteps), cancellationToken, driverStateBuilder);
SourceGeneration\Nodes\HostOutputNode.cs (1)
31
public IncrementalGeneratorOutputKind Kind => IncrementalGeneratorOutputKind.
Host
;
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
378
return CSharpGeneratorDriver.Create(generators, additionalTexts, (CSharpParseOptions)parseOptions, analyzerConfigOptionsProvider, driverOptions: new GeneratorDriverOptions(disabledOutputs: IncrementalGeneratorOutputKind.
Host
, baseDirectory: baseDirectory));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
SourceGeneration\GeneratorDriverTests.cs (6)
3069
[InlineData(IncrementalGeneratorOutputKind.Source | IncrementalGeneratorOutputKind.
Host
)]
3070
[InlineData(IncrementalGeneratorOutputKind.Implementation | IncrementalGeneratorOutputKind.
Host
)]
3072
[InlineData(IncrementalGeneratorOutputKind.Source | IncrementalGeneratorOutputKind.Implementation | IncrementalGeneratorOutputKind.PostInit | IncrementalGeneratorOutputKind.
Host
)]
3111
if (kind == IncrementalGeneratorOutputKind.
Host
)
3122
if (kind == IncrementalGeneratorOutputKind.
Host
)
4541
driverOptions: new GeneratorDriverOptions(IncrementalGeneratorOutputKind.
Host
));
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCompiler.vb (1)
302
driverOptions:=New GeneratorDriverOptions(disabledOutputs:=IncrementalGeneratorOutputKind.
Host
, baseDirectory:=baseDirectory))