2 references to DiagnosticDescriptor
Microsoft.CodeAnalysis.CSharp.Analyzers (2)
MetaAnalyzers\CSharpSemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzer.cs (2)
43
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
DiagnosticDescriptor
, FieldDiagnosticDescriptor);
96
context.ReportDiagnostic(invocation.CreateDiagnostic(
DiagnosticDescriptor
, syntaxNodeDerivingType.Name));