1 instantiation of ProgrammaticSuppressionInfo
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
1171mapBuilder.Add(diagnostic, new ProgrammaticSuppressionInfo(set.ToImmutableAndFree()));
13 references to ProgrammaticSuppressionInfo
Microsoft.CodeAnalysis (12)
Diagnostic\Diagnostic.cs (2)
468internal Diagnostic WithProgrammaticSuppression(ProgrammaticSuppressionInfo programmaticSuppressionInfo) 476internal virtual ProgrammaticSuppressionInfo? ProgrammaticSuppressionInfo { get { return null; } }
Diagnostic\Diagnostic.DiagnosticWithProgrammaticSuppression.cs (3)
19private readonly ProgrammaticSuppressionInfo _programmaticSuppressionInfo; 23ProgrammaticSuppressionInfo programmaticSuppressionInfo) 61internal override ProgrammaticSuppressionInfo ProgrammaticSuppressionInfo
Diagnostic\ProgrammaticSuppressionInfo.cs (3)
14internal sealed class ProgrammaticSuppressionInfo : IEquatable<ProgrammaticSuppressionInfo?> 23public bool Equals(ProgrammaticSuppressionInfo? other) 36return Equals(obj as ProgrammaticSuppressionInfo);
DiagnosticAnalyzer\AnalyzerDriver.cs (4)
1066ImmutableDictionary<Diagnostic, ProgrammaticSuppressionInfo> programmaticSuppressionsByDiagnostic = createProgrammaticSuppressionsByDiagnosticMap(_programmaticSuppressions); 1069if (programmaticSuppressionsByDiagnostic.TryGetValue(diagnostic, out var programmaticSuppressionInfo)) 1152static ImmutableDictionary<Diagnostic, ProgrammaticSuppressionInfo> createProgrammaticSuppressionsByDiagnosticMap(ConcurrentSet<Suppression> programmaticSuppressions) 1168var mapBuilder = ImmutableDictionary.CreateBuilder<Diagnostic, ProgrammaticSuppressionInfo>();
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Diagnostics\DiagnosticSuppressorTests.cs (1)
654var programmaticSuppression = diagnostic.ProgrammaticSuppressionInfo;