1 write to Descriptor
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
1091
Descriptor
= new DiagnosticDescriptor(
10 references to Descriptor
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (8)
Diagnostics\DiagnosticSuppressorTests.cs (8)
696
Diagnostic(analyzer1.
Descriptor
.Id, source, isSuppressed: false).WithLocation(1, 1),
697
Diagnostic(analyzer2.
Descriptor
.Id, source, isSuppressed: false).WithLocation(1, 1),
703
var suppressor = new DiagnosticSuppressorForMultipleIds(analyzer1.
Descriptor
.Id, analyzer2.
Descriptor
.Id);
706
Diagnostic(analyzer1.
Descriptor
.Id, source, isSuppressed: true).WithLocation(1, 1),
707
Diagnostic(analyzer2.
Descriptor
.Id, source, isSuppressed: true).WithLocation(1, 1),
721
Diagnostic(analyzer1.
Descriptor
.Id, source, isSuppressed: true).WithLocation(1, 1));
725
Diagnostic(analyzer2.
Descriptor
.Id, source, isSuppressed: true).WithLocation(1, 1));
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\CommonDiagnosticAnalyzers.cs (2)
1102
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics => ImmutableArray.Create(
Descriptor
);
1107
Diagnostic.Create(
Descriptor
, context.SemanticModel.SyntaxTree.GetRoot().GetLocation())));