2 references to CanAdd
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.cs (1)
47
var canGenerateMember = CodeGenerator.
CanAdd
(document.Project.Solution, state.TypeToGenerateIn, cancellationToken);
src\Analyzers\Core\CodeFixes\ImplementAbstractClass\ImplementAbstractClassData.cs (1)
60
if (!CodeGenerator.
CanAdd
(document.Project.Solution, classType, cancellationToken))