2 references to NotCalledWithFinalizerRule
Microsoft.CodeAnalysis.NetAnalyzers (2)
Microsoft.NetCore.Analyzers\Runtime\CallGCSuppressFinalizeCorrectly.cs (2)
67
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(
NotCalledWithFinalizerRule
, NotCalledRule, NotPassedThisRule, OutsideDisposeRule);
172
var descriptor = _containingMethodSymbol.ContainingType.HasFinalizer() ?
NotCalledWithFinalizerRule
: NotCalledRule;