3 references to DiagnosticDescriptor
Microsoft.CodeAnalysis.Analyzers.UnitTests (1)
MetaAnalyzers\SemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzerTests.cs (1)
39
ExpectedDiagnostics = { new DiagnosticResult(CSharpSemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzer.
DiagnosticDescriptor
).WithLocation(0).WithArguments(type) }
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));