3 references to FieldDiagnosticDescriptor
Microsoft.CodeAnalysis.Analyzers.UnitTests (1)
MetaAnalyzers\SemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzerTests.cs (1)
61
ExpectedDiagnostics = { new DiagnosticResult(CSharpSemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzer.
FieldDiagnosticDescriptor
).WithLocation(0).WithArguments(type) }
Microsoft.CodeAnalysis.CSharp.Analyzers (2)
MetaAnalyzers\CSharpSemanticModelGetDeclaredSymbolAlwaysReturnsNullAnalyzer.cs (2)
43
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DiagnosticDescriptor,
FieldDiagnosticDescriptor
);
91
context.ReportDiagnostic(invocation.CreateDiagnostic(
FieldDiagnosticDescriptor
, syntaxNodeDerivingType.Name));