Beispiel #1
0
 public ImmutableArray<SuppressionDescriptor> GetSupportedSuppressionDescriptors(
     DiagnosticSuppressor suppressor,
     AnalyzerExecutor analyzerExecutor)
 {
     var analyzerExecutionContext = GetAnalyzerExecutionContext(suppressor);
     return analyzerExecutionContext.GetOrComputeSuppressionDescriptors(suppressor, analyzerExecutor);
 }
 public ImmutableArray <SuppressionDescriptor> GetOrComputeSuppressionDescriptors(DiagnosticSuppressor suppressor, AnalyzerExecutor analyzerExecutor)
 => GetOrComputeDescriptors(ref _lazySuppressionDescriptors, ComputeSuppressionDescriptors, _gate, suppressor, analyzerExecutor);