1 write to CatchAnalyzerExceptions
Microsoft.CodeAnalysis (1)
SourceGeneration\IncrementalContexts.cs (1)
45
CatchAnalyzerExceptions
= catchAnalyzerExceptions;
14 references to CatchAnalyzerExceptions
Microsoft.CodeAnalysis (14)
SourceGeneration\IncrementalContexts.cs (10)
50
public IncrementalValueProvider<Compilation> CompilationProvider => new IncrementalValueProvider<Compilation>(SharedInputNodes.Compilation.WithRegisterOutput(RegisterOutput).WithTrackingName(WellKnownGeneratorInputs.Compilation),
CatchAnalyzerExceptions
);
58
.WithTrackingName(WellKnownGeneratorInputs.CompilationOptions),
CatchAnalyzerExceptions
);
60
public IncrementalValueProvider<ParseOptions> ParseOptionsProvider => new IncrementalValueProvider<ParseOptions>(SharedInputNodes.ParseOptions.WithRegisterOutput(RegisterOutput).WithTrackingName(WellKnownGeneratorInputs.ParseOptions),
CatchAnalyzerExceptions
);
62
public IncrementalValuesProvider<AdditionalText> AdditionalTextsProvider => new IncrementalValuesProvider<AdditionalText>(SharedInputNodes.AdditionalTexts.WithRegisterOutput(RegisterOutput).WithTrackingName(WellKnownGeneratorInputs.AdditionalTexts),
CatchAnalyzerExceptions
);
64
public IncrementalValueProvider<AnalyzerConfigOptionsProvider> AnalyzerConfigOptionsProvider => new IncrementalValueProvider<AnalyzerConfigOptionsProvider>(SharedInputNodes.AnalyzerConfigOptions.WithRegisterOutput(RegisterOutput).WithTrackingName(WellKnownGeneratorInputs.AnalyzerConfigOptions),
CatchAnalyzerExceptions
);
66
public IncrementalValuesProvider<MetadataReference> MetadataReferencesProvider => new IncrementalValuesProvider<MetadataReference>(SharedInputNodes.MetadataReferences.WithRegisterOutput(RegisterOutput).WithTrackingName(WellKnownGeneratorInputs.MetadataReferences),
CatchAnalyzerExceptions
);
76
public void RegisterPostInitializationOutput(Action<IncrementalGeneratorPostInitializationContext> callback) => _outputNodes.Add(new PostInitOutputNode(callback.WrapUserAction(
CatchAnalyzerExceptions
)));
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));
SourceGeneration\Nodes\SyntaxValueProvider.cs (4)
47
new PredicateSyntaxStrategy<T>(predicate.WrapUserFunction(_context.
CatchAnalyzerExceptions
), transform.WrapUserFunction(_context.
CatchAnalyzerExceptions
), _syntaxHelper),
49
_context.
CatchAnalyzerExceptions
);
60
return new IncrementalValueProvider<ISyntaxContextReceiver?>(node, _context.
CatchAnalyzerExceptions
);