38 references to ISemanticFactsService
Microsoft.CodeAnalysis.CodeStyle.Fixes (38)
src\Analyzers\Core\CodeFixes\AddAnonymousTypeMemberName\AbstractAddAnonymousTypeMemberNameCodeFixProvider.cs (2)
110var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (4)
124var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>(); 177var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
125var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (2)
424var semanticFacts = invocationDocument.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (5)
40var semanticFacts = document.Document.GetRequiredLanguageService<ISemanticFactsService>(); 81ISemanticFactsService semanticFacts, 295var semanticFacts = document.Document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (2)
76var semanticFacts = semanticDocument.Document.GetLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (2)
28var semanticFacts = languageServices.GetService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (2)
91var semanticFacts = semanticDocument.Document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (2)
223var semanticFacts = semanticDocument.Document.GetLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.cs (2)
57var semanticFacts = document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(state.TypeToGenerateIn.Language).GetService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
296var semanticFacts = _document.Document.GetLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (2)
52var semanticFacts = Document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
300var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>(); 932ISemanticFactsService semanticFacts, 937private readonly ISemanticFactsService _semanticFacts = semanticFacts;
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (2)
45var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>();
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (3)
45var semanticFacts = document.GetRequiredLanguageService<ISemanticFactsService>(); 59ISyntaxFactsService syntaxFacts, ISemanticFactsService semanticFacts,