コード例 #1
0
 internal AnalyzerOperationBlockStartAnalysisContext(DiagnosticAnalyzer analyzer,
                                                     HostOperationBlockStartAnalysisScope scope,
                                                     ImmutableArray <IOperation> operationBlocks,
                                                     ISymbol owningSymbol,
                                                     AnalyzerOptions options,
                                                     CancellationToken cancellationToken)
     : base(operationBlocks, owningSymbol, options, cancellationToken)
 {
     _analyzer = analyzer;
     _scope    = scope;
 }
コード例 #2
0
 internal AnalyzerOperationBlockStartAnalysisContext(DiagnosticAnalyzer analyzer,
                                                     HostOperationBlockStartAnalysisScope scope,
                                                     ImmutableArray <IOperation> operationBlocks,
                                                     ISymbol owningSymbol,
                                                     Compilation compilation,
                                                     AnalyzerOptions options,
                                                     Func <IOperation, ControlFlowGraph> getControlFlowGraph,
                                                     CancellationToken cancellationToken)
     : base(operationBlocks, owningSymbol, compilation, options, getControlFlowGraph, cancellationToken)
 {
     _analyzer = analyzer;
     _scope    = scope;
 }