2 overrides of CanAddImport
Microsoft.CodeAnalysis.CSharp.Features (1)
AddImport\CSharpAddImportFeatureService.cs (1)
43
protected override bool
CanAddImport
(SyntaxNode node, bool allowInHiddenRegions, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
AddImport\VisualBasicAddImportFeatureService.vb (1)
28
Protected Overrides Function
CanAddImport
(node As SyntaxNode, allowInHiddenRegions As Boolean, cancellationToken As CancellationToken) As Boolean
1 reference to CanAddImport
Microsoft.CodeAnalysis.Features (1)
AddImport\AbstractAddImportFeatureService.cs (1)
98
if (
CanAddImport
(node, options.CleanupOptions.AddImportOptions.AllowInHiddenRegions, cancellationToken))