private void AnalyzeInvocation(OperationAnalysisContext context, [NotNull] NullCheckScanner scanner)
        {
            var invocation = (IInvocationOperation)context.Operation;

            NullCheckScanResult?scanResult = scanner.ScanInvocation(invocation);

            ReportForScanResult(scanResult, context.ReportDiagnostic);
        }
예제 #2
0
            public override void VisitInvocation([NotNull] IInvocationOperation operation)
            {
                NullCheckScanResult?scanResult = scanner.ScanInvocation(operation);

                SetScanResult(scanResult);

                base.VisitInvocation(operation);
            }