3 references to WrapUserAction
Microsoft.CodeAnalysis (3)
SourceGeneration\IncrementalContexts.cs (3)
79
public void RegisterHostOutput<TSource>(IncrementalValueProvider<TSource> source, Action<HostOutputProductionContext, TSource> action) => source.Node.RegisterOutput(new HostOutputNode<TSource>(source.Node, action.
WrapUserAction
(CatchAnalyzerExceptions)));
82
public void RegisterHostOutput<TSource>(IncrementalValuesProvider<TSource> source, Action<HostOutputProductionContext, TSource> action) => source.Node.RegisterOutput(new HostOutputNode<TSource>(source.Node, action.
WrapUserAction
(CatchAnalyzerExceptions)));
94
node.RegisterOutput(new SourceOutputNode<TSource>(node, action.
WrapUserAction
(CatchAnalyzerExceptions), kind, sourceExt));