3 references to ShouldImplementDisposePattern
Microsoft.CodeAnalysis.CodeStyle.Fixes (3)
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceCodeFixProvider.cs (2)
152
if (
ShouldImplementDisposePattern
(compilation, state, explicitly: false))
167
if (
ShouldImplementDisposePattern
(compilation, state, explicitly: true))
src\Analyzers\Core\CodeFixes\ImplementInterface\AbstractImplementInterfaceService.cs (1)
54
var implementDisposePattern =
ShouldImplementDisposePattern
(model.Compilation, state.Info, explicitly: false);