8 references to Descriptor
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (8)
Diagnostics\Suppression\SuppressionTests.cs (8)
1109
return [
Descriptor
];
1122
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, classDecl.Identifier.GetLocation()));
1127
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, ns.Name.GetLocation()));
1132
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, method.Identifier.GetLocation()));
1137
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, property.Identifier.GetLocation()));
1142
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, field.Declaration.Variables.First().Identifier.GetLocation()));
1147
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, e.Identifier.GetLocation()));
1154
context.ReportDiagnostic(Diagnostic.Create(
Descriptor
, trivia.GetLocation()));