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