7 implementations of WithComparer
Microsoft.CodeAnalysis (7)
SourceGeneration\Nodes\BatchNode.cs (1)
29
public IIncrementalGeneratorNode<ImmutableArray<TInput>>
WithComparer
(IEqualityComparer<ImmutableArray<TInput>> comparer) => new BatchNode<TInput>(_sourceNode, comparer, _name);
SourceGeneration\Nodes\CombineNode.cs (1)
103
public IIncrementalGeneratorNode<(TInput1, TInput2)>
WithComparer
(IEqualityComparer<(TInput1, TInput2)> comparer) => new CombineNode<TInput1, TInput2>(_input1, _input2, comparer, _name);
SourceGeneration\Nodes\HostOutputNode.cs (1)
98
IIncrementalGeneratorNode<OutputType> IIncrementalGeneratorNode<OutputType>.
WithComparer
(IEqualityComparer<OutputType> comparer) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\InputNode.cs (1)
114
public IIncrementalGeneratorNode<T>
WithComparer
(IEqualityComparer<T> comparer) => new InputNode<T>(_getInput, _registerOutput, _inputComparer, comparer, _name);
SourceGeneration\Nodes\SourceOutputNode.cs (1)
92
IIncrementalGeneratorNode<TOutput> IIncrementalGeneratorNode<TOutput>.
WithComparer
(IEqualityComparer<TOutput> comparer) => throw ExceptionUtilities.Unreachable();
SourceGeneration\Nodes\SyntaxInputNode.cs (1)
36
public IIncrementalGeneratorNode<T>
WithComparer
(IEqualityComparer<T> comparer) => new SyntaxInputNode<T>(_inputNode, _registerOutput, comparer, _name);
SourceGeneration\Nodes\TransformNode.cs (1)
40
public IIncrementalGeneratorNode<TOutput>
WithComparer
(IEqualityComparer<TOutput> comparer)
2 references to WithComparer
Microsoft.CodeAnalysis (2)
SourceGeneration\Nodes\ValueSourceExtensions.cs (2)
41
public static IncrementalValueProvider<TSource> WithComparer<TSource>(this IncrementalValueProvider<TSource> source, IEqualityComparer<TSource> comparer) => new IncrementalValueProvider<TSource>(source.Node.
WithComparer
(comparer.WrapUserComparer(source.CatchAnalyzerExceptions)), source.CatchAnalyzerExceptions);
43
public static IncrementalValuesProvider<TSource> WithComparer<TSource>(this IncrementalValuesProvider<TSource> source, IEqualityComparer<TSource> comparer) => new IncrementalValuesProvider<TSource>(source.Node.
WithComparer
(comparer.WrapUserComparer(source.CatchAnalyzerExceptions)), source.CatchAnalyzerExceptions);