2 implementations of IBlockFactsService
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpBlockFactsService.cs (1)
14internal class CSharpBlockFactsService : CSharpBlockFacts, IBlockFactsService
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
VisualBasicBlockFactsService.vb (1)
14Implements IBlockFactsService
41 references to IBlockFactsService
Microsoft.CodeAnalysis.CSharp.Features (2)
RemoveUnusedVariable\CSharpRemoveUnusedVariableCodeFixProvider.cs (2)
57protected override void RemoveOrReplaceNode(SyntaxEditor editor, SyntaxNode node, IBlockFactsService blockFacts) 73protected override bool ShouldOfferFixForLocalDeclaration(IBlockFactsService blockFacts, SyntaxNode node)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CSharpBlockFactsService.cs (1)
13[ExportLanguageService(typeof(IBlockFactsService), LanguageNames.CSharp), Shared]
Microsoft.CodeAnalysis.Features (33)
AbstractRemoveUnusedValuesCodeFixProvider.cs (2)
443var blockFacts = document.GetRequiredLanguageService<IBlockFactsService>();
RemoveUnusedVariable\AbstractRemoveUnusedVariableCodeFixProvider.cs (8)
33protected abstract void RemoveOrReplaceNode(SyntaxEditor editor, SyntaxNode node, IBlockFactsService blockFacts); 37protected abstract bool ShouldOfferFixForLocalDeclaration(IBlockFactsService blockFacts, SyntaxNode node); 47var blockFacts = document.GetRequiredLanguageService<IBlockFactsService>(); 112var blockFacts = document.GetLanguageService<IBlockFactsService>(); 122protected static void RemoveNode(SyntaxEditor editor, SyntaxNode node, IBlockFactsService blockFacts) 131IBlockFactsService blockFacts)
SplitOrMergeIfStatements\AbstractMergeIfStatementsCodeRefactoringProvider.cs (1)
102IBlockFactsService blockFacts,
SplitOrMergeIfStatements\Consecutive\AbstractMergeConsecutiveIfStatementsCodeRefactoringProvider.cs (11)
59var blockFacts = document.GetLanguageService<IBlockFactsService>(); 72var blockFacts = document.GetLanguageService<IBlockFactsService>(); 138IBlockFactsService blockFacts, 149IBlockFactsService blockFacts, 161IBlockFactsService blockFacts, 175IBlockFactsService blockFacts, 189IBlockFactsService blockFacts, 228IBlockFactsService blockFacts, 248IBlockFactsService blockFacts,
SplitOrMergeIfStatements\Consecutive\AbstractSplitIntoConsecutiveIfStatementsCodeRefactoringProvider.cs (3)
63var blockFacts = document.GetLanguageService<IBlockFactsService>(); 118IBlockFactsService blockFacts,
SplitOrMergeIfStatements\Nested\AbstractMergeNestedIfStatementsCodeRefactoringProvider.cs (8)
47var blockFacts = document.GetLanguageService<IBlockFactsService>(); 60var blockFacts = document.GetLanguageService<IBlockFactsService>(); 89IBlockFactsService blockFacts, 118IBlockFactsService blockFacts, 147IBlockFactsService blockFacts, 230IBlockFactsService blockFacts,
Microsoft.CodeAnalysis.VisualBasic.Features (2)
RemoveUnusedVariable\VisualBasicRemoveUnusedVariableCodeFixProvider.vb (2)
41Protected Overrides Sub RemoveOrReplaceNode(editor As SyntaxEditor, node As SyntaxNode, blockFacts As IBlockFactsService) 49Protected Overrides Function ShouldOfferFixForLocalDeclaration(blockFacts As IBlockFactsService, node As SyntaxNode) As Boolean
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
VisualBasicBlockFactsService.vb (1)
11<ExportLanguageService(GetType(IBlockFactsService), LanguageNames.VisualBasic), [Shared]>
Microsoft.CodeAnalysis.Workspaces (2)
AbstractMoveDeclarationNearReferenceService.State.cs (2)
60var blockFacts = document.GetRequiredLanguageService<IBlockFactsService>();