32 references to SuppressMessageInfo
Microsoft.CodeAnalysis (32)
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (32)
34private readonly ConcurrentDictionary<ISymbol, ImmutableDictionary<string, SuppressMessageInfo>> _localSuppressionsBySymbol;
45private readonly Dictionary<string, SuppressMessageInfo> _compilationWideSuppressions = new Dictionary<string, SuppressMessageInfo>();
48private readonly Dictionary<string, List<SuppressMessageInfo>> _unresolvedSuppressionsById = new Dictionary<string, List<SuppressMessageInfo>>(StringComparer.Ordinal);
49private readonly ConcurrentDictionary<string, FrozenDictionary<ISymbol, SuppressMessageInfo>> _lazyResolvedSuppressionsById = new ConcurrentDictionary<string, FrozenDictionary<ISymbol, SuppressMessageInfo>>(StringComparer.Ordinal);
51public void AddCompilationWideSuppression(SuppressMessageInfo info)
56public void AddGlobalSymbolSuppression(SuppressMessageInfo info)
68public bool HasCompilationWideSuppression(string id, out SuppressMessageInfo info)
73public bool HasGlobalSymbolSuppression(ISymbol symbol, string id, bool isImmediatelyContainingSymbol, out SuppressMessageInfo info)
100info = default(SuppressMessageInfo);
104private FrozenDictionary<ISymbol, SuppressMessageInfo> ResolveGlobalSymbolSuppressions(string id)
108return FrozenDictionary<ISymbol, SuppressMessageInfo>.Empty;
111var resolvedSuppressions = new Dictionary<ISymbol, SuppressMessageInfo>();
112foreach (SuppressMessageInfo info in suppressions)
131_localSuppressionsBySymbol = new ConcurrentDictionary<ISymbol, ImmutableDictionary<string, SuppressMessageInfo>>();
142SuppressMessageInfo info;
154SuppressMessageInfo info;
165private bool IsDiagnosticSuppressed(Diagnostic diagnostic, out SuppressMessageInfo info)
241private bool IsDiagnosticGloballySuppressed(string id, ISymbol? symbolOpt, bool isImmediatelyContainingSymbol, out SuppressMessageInfo info)
248private bool IsDiagnosticLocallySuppressed(string id, ISymbol symbol, out SuppressMessageInfo info)
306private ImmutableDictionary<string, SuppressMessageInfo> DecodeLocalSuppressMessageAttributes(ISymbol symbol)
312private static ImmutableDictionary<string, SuppressMessageInfo> DecodeLocalSuppressMessageAttributes(IEnumerable<AttributeData> attributes)
314var builder = ImmutableDictionary.CreateBuilder<string, SuppressMessageInfo>();
317SuppressMessageInfo info;
329private static void AddOrUpdate(SuppressMessageInfo info, IDictionary<string, SuppressMessageInfo> builder)
333SuppressMessageInfo currentInfo;
352SuppressMessageInfo info;
398private static bool TryDecodeSuppressMessageAttributeData(AttributeData attribute, out SuppressMessageInfo info)
400info = default(SuppressMessageInfo);