1 write to CatchAnalyzerExceptions
Microsoft.CodeAnalysis (1)
SourceGeneration\IncrementalValueProvider.cs (1)
28
this.
CatchAnalyzerExceptions
= catchAnalyzerExceptions;
10 references to CatchAnalyzerExceptions
Microsoft.CodeAnalysis (10)
SourceGeneration\Nodes\ValueSourceExtensions.cs (10)
16
public static IncrementalValueProvider<TResult> Select<TSource, TResult>(this IncrementalValueProvider<TSource> source, Func<TSource, CancellationToken, TResult> selector) => new IncrementalValueProvider<TResult>(new TransformNode<TSource, TResult>(source.Node, selector, wrapUserFunc: source.
CatchAnalyzerExceptions
), source.
CatchAnalyzerExceptions
);
21
public static IncrementalValuesProvider<TResult> SelectMany<TSource, TResult>(this IncrementalValueProvider<TSource> source, Func<TSource, CancellationToken, ImmutableArray<TResult>> selector) => new IncrementalValuesProvider<TResult>(new TransformNode<TSource, TResult>(source.Node, selector, wrapUserFunc: source.
CatchAnalyzerExceptions
), source.
CatchAnalyzerExceptions
);
23
public static IncrementalValuesProvider<TResult> SelectMany<TSource, TResult>(this IncrementalValueProvider<TSource> source, Func<TSource, CancellationToken, IEnumerable<TResult>> selector) => new IncrementalValuesProvider<TResult>(new TransformNode<TSource, TResult>(source.Node, selector.WrapUserFunctionAsImmutableArray(source.
CatchAnalyzerExceptions
)), source.
CatchAnalyzerExceptions
);
33
public static IncrementalValueProvider<(TLeft Left, TRight Right)> Combine<TLeft, TRight>(this IncrementalValueProvider<TLeft> provider1, IncrementalValueProvider<TRight> provider2) => new IncrementalValueProvider<(TLeft, TRight)>(new CombineNode<TLeft, TRight>(provider1.Node, provider2.Node), provider1.
CatchAnalyzerExceptions
);
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
);
46
public static IncrementalValueProvider<TSource> WithTrackingName<TSource>(this IncrementalValueProvider<TSource> source, string name) => new IncrementalValueProvider<TSource>(source.Node.WithTrackingName(name), source.
CatchAnalyzerExceptions
);