10 instantiations of InputNode
Microsoft.CodeAnalysis (10)
SourceGeneration\Nodes\InputNode.cs (3)
171public IIncrementalGeneratorNode<T> WithComparer(IEqualityComparer<T> comparer) => new InputNode<T>(_getInput, _registerOutput, _hashSetPool, comparer, _name); 173public IIncrementalGeneratorNode<T> WithTrackingName(string name) => new InputNode<T>(_getInput, _registerOutput, _hashSetPool, _comparer, name); 175public InputNode<T> WithRegisterOutput(Action<IIncrementalGeneratorOutputNode> registerOutput) => new InputNode<T>(_getInput, registerOutput, _hashSetPool, _comparer, _name);
SourceGeneration\Nodes\SharedInputNodes.cs (7)
17public static readonly InputNode<Compilation> Compilation = new InputNode<Compilation>(b => ImmutableArray.Create(GetCompilationOrThrow(b, nameof(IncrementalGeneratorInitializationContext.CompilationProvider)))); 19public static readonly InputNode<CompilationOptions> CompilationOptions = new InputNode<CompilationOptions>(b => ImmutableArray.Create(b.InitialCompilationOptions), ReferenceEqualityComparer.Instance); 21public static readonly InputNode<ParseOptions> ParseOptions = new InputNode<ParseOptions>(b => ImmutableArray.Create(b.DriverState.ParseOptions)); 23public static readonly InputNode<AdditionalText> AdditionalTexts = new InputNode<AdditionalText>(b => b.DriverState.AdditionalTexts); 25public static readonly InputNode<SyntaxTree> SyntaxTrees = new InputNode<SyntaxTree>(b => GetCompilationOrThrow(b, nameof(IncrementalGeneratorInitializationContext.SyntaxProvider)).SyntaxTrees.ToImmutableArray()); 27public static readonly InputNode<AnalyzerConfigOptionsProvider> AnalyzerConfigOptions = new InputNode<AnalyzerConfigOptionsProvider>(b => ImmutableArray.Create(b.DriverState.OptionsProvider)); 29public static readonly InputNode<MetadataReference> MetadataReferences = new InputNode<MetadataReference>(b => b.InitialMetadataReferences);
8 references to InputNode
Microsoft.CodeAnalysis (8)
SourceGeneration\Nodes\InputNode.cs (1)
175public InputNode<T> WithRegisterOutput(Action<IIncrementalGeneratorOutputNode> registerOutput) => new InputNode<T>(_getInput, registerOutput, _hashSetPool, _comparer, _name);
SourceGeneration\Nodes\SharedInputNodes.cs (7)
17public static readonly InputNode<Compilation> Compilation = new InputNode<Compilation>(b => ImmutableArray.Create(GetCompilationOrThrow(b, nameof(IncrementalGeneratorInitializationContext.CompilationProvider)))); 19public static readonly InputNode<CompilationOptions> CompilationOptions = new InputNode<CompilationOptions>(b => ImmutableArray.Create(b.InitialCompilationOptions), ReferenceEqualityComparer.Instance); 21public static readonly InputNode<ParseOptions> ParseOptions = new InputNode<ParseOptions>(b => ImmutableArray.Create(b.DriverState.ParseOptions)); 23public static readonly InputNode<AdditionalText> AdditionalTexts = new InputNode<AdditionalText>(b => b.DriverState.AdditionalTexts); 25public static readonly InputNode<SyntaxTree> SyntaxTrees = new InputNode<SyntaxTree>(b => GetCompilationOrThrow(b, nameof(IncrementalGeneratorInitializationContext.SyntaxProvider)).SyntaxTrees.ToImmutableArray()); 27public static readonly InputNode<AnalyzerConfigOptionsProvider> AnalyzerConfigOptions = new InputNode<AnalyzerConfigOptionsProvider>(b => ImmutableArray.Create(b.DriverState.OptionsProvider)); 29public static readonly InputNode<MetadataReference> MetadataReferences = new InputNode<MetadataReference>(b => b.InitialMetadataReferences);