7 references to InputNode
Microsoft.CodeAnalysis (7)
SourceGeneration\Nodes\SharedInputNodes.cs (7)
17
public static readonly InputNode<Compilation> Compilation = new
InputNode
<Compilation>(b => ImmutableArray.Create(GetCompilationOrThrow(b, nameof(IncrementalGeneratorInitializationContext.CompilationProvider))));
19
public static readonly InputNode<CompilationOptions> CompilationOptions = new
InputNode
<CompilationOptions>(b => ImmutableArray.Create(b.InitialCompilationOptions), ReferenceEqualityComparer.Instance);
21
public static readonly InputNode<ParseOptions> ParseOptions = new
InputNode
<ParseOptions>(b => ImmutableArray.Create(b.DriverState.ParseOptions));
23
public static readonly InputNode<AdditionalText> AdditionalTexts = new
InputNode
<AdditionalText>(b => b.DriverState.AdditionalTexts);
25
public static readonly InputNode<SyntaxTree> SyntaxTrees = new
InputNode
<SyntaxTree>(b => GetCompilationOrThrow(b, nameof(IncrementalGeneratorInitializationContext.SyntaxProvider)).SyntaxTrees.ToImmutableArray());
27
public static readonly InputNode<AnalyzerConfigOptionsProvider> AnalyzerConfigOptions = new
InputNode
<AnalyzerConfigOptionsProvider>(b => ImmutableArray.Create(b.DriverState.OptionsProvider));
29
public static readonly InputNode<MetadataReference> MetadataReferences = new
InputNode
<MetadataReference>(b => b.InitialMetadataReferences);