コード例 #1
0
 public AnalysisContext(
     TCodeStyleProvider codeStyleProvider,
     Diagnostics.AnalysisContext context
     )
 {
     _codeStyleProvider = codeStyleProvider;
     _context           = context;
 }
コード例 #2
0
 protected sealed override void InitializeWorker(Diagnostics.AnalysisContext context)
 => _codeStyleProvider.DiagnosticAnalyzerInitialize(new AnalysisContext(_codeStyleProvider, context));