public void RegisterSyntaxTreeAction(Action <SyntaxTreeAnalysisContext, CodeStyleOption <TOptionKind> > analyze) { var provider = _codeStyleProvider; _context.RegisterSyntaxTreeAction( c => AnalyzeIfEnabled(provider, c, analyze, c.Options, c.Tree, c.CancellationToken)); }
public void RegisterSyntaxTreeAction(Action <SyntaxTreeAnalysisContext, CodeStyleOption2 <TOptionValue> > analyze) { var provider = _codeStyleProvider; _context.RegisterSyntaxTreeAction( c => AnalyzeIfEnabled(provider, c, analyze, c.Options, c.Tree)); }