2 references to DoNotIgnoreReturnValueDiagnosticRule
Microsoft.CodeAnalysis.Analyzers (2)
ImmutableObjectMethodAnalyzer.cs (2)
33
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
DoNotIgnoreReturnValueDiagnosticRule
);
98
context.ReportDiagnostic(invocation.CreateDiagnostic(
DoNotIgnoreReturnValueDiagnosticRule
, type.Name, methodName));