private void AnalyzeParameter(SymbolAnalysisContext context, [NotNull] SymbolAnalyzerFactory factory,
                                      [NotNull] ImmutableDictionary <string, string> properties)
        {
            ParameterAnalyzer analyzer = factory.GetParameterAnalyzer(context);

            analyzer.Analyze(ruleForParameter, properties);
        }
예제 #2
0
 private void AnalyzeParameter(SymbolAnalysisContext context, [NotNull] SymbolAnalyzerFactory factory,
                               [NotNull] ImmutableDictionary <string, string> properties)
 {
     // Bug workaround for https://github.com/dotnet/roslyn/issues/16209
     if (context.Symbol != null)
     {
         ParameterAnalyzer analyzer = factory.GetParameterAnalyzer(context);
         analyzer.Analyze(ruleForParameter, properties);
     }
 }