protected AbstractConflictingArgumentAssignmentsAnalyzer( IDiagnosticDescriptorsProvider diagnosticDescriptorsProvider, ICallInfoFinder <TInvocationExpressionSyntax, TIndexerExpressionSyntax> callInfoFinder) : base(diagnosticDescriptorsProvider) { _callInfoFinder = callInfoFinder; _analyzeInvocationAction = AnalyzeInvocation; SupportedDiagnostics = ImmutableArray.Create(DiagnosticDescriptorsProvider.ConflictingArgumentAssignments); }
protected AbstractCallInfoAnalyzer( IDiagnosticDescriptorsProvider diagnosticDescriptorsProvider, ICallInfoFinder <TInvocationExpressionSyntax, TIndexerExpressionSyntax> callInfoFinder, ISubstitutionNodeFinder <TInvocationExpressionSyntax> substitutionNodeFinder) : base(diagnosticDescriptorsProvider) { _callInfoFinder = callInfoFinder; _substitutionNodeFinder = substitutionNodeFinder; }
protected AbstractCallInfoAnalyzer( IDiagnosticDescriptorsProvider diagnosticDescriptorsProvider, ICallInfoFinder <TInvocationExpressionSyntax, TIndexerExpressionSyntax> callInfoFinder, ISubstitutionNodeFinder <TInvocationExpressionSyntax> substitutionNodeFinder) : base(diagnosticDescriptorsProvider) { _callInfoFinder = callInfoFinder; _substitutionNodeFinder = substitutionNodeFinder; _analyzeInvocationAction = AnalyzeInvocation; SupportedDiagnostics = ImmutableArray.Create( DiagnosticDescriptorsProvider.CallInfoArgumentOutOfRange, DiagnosticDescriptorsProvider.CallInfoCouldNotConvertParameterAtPosition, DiagnosticDescriptorsProvider.CallInfoCouldNotFindArgumentToThisCall, DiagnosticDescriptorsProvider.CallInfoMoreThanOneArgumentOfType, DiagnosticDescriptorsProvider.CallInfoArgumentSetWithIncompatibleValue, DiagnosticDescriptorsProvider.CallInfoArgumentIsNotOutOrRef); }