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