36 references to ISemanticFactsService
Microsoft.CodeAnalysis.CodeStyle.Fixes (36)
src\Analyzers\Core\CodeFixes\AddAnonymousTypeMemberName\AbstractAddAnonymousTypeMemberNameCodeFixProvider.cs (2)
110
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\AddExplicitCast\AbstractAddExplicitCastCodeFixProvider.cs (4)
124
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
177
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\AddExplicitCast\Fixer.cs (2)
125
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\AddParameter\AbstractAddParameterCodeFixProvider.cs (2)
416
var
semanticFacts = invocationDocument.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (3)
31
var
semanticFacts = document.Document.GetRequiredLanguageService<
ISemanticFactsService
>();
72
ISemanticFactsService
semanticFacts,
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (2)
76
var
semanticFacts = semanticDocument.Document.GetLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.CodeAction.cs (2)
28
var
semanticFacts = languageServices.GetService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateEnumMember\AbstractGenerateEnumMemberService.State.cs (2)
95
var
semanticFacts = semanticDocument.Document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (2)
223
var
semanticFacts = semanticDocument.Document.GetLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.cs (2)
57
var
semanticFacts = document.Project.Solution.Workspace.Services.GetExtendedLanguageServices(state.TypeToGenerateIn.Language).GetService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateVariable\AbstractGenerateVariableService.State.cs (2)
302
var
semanticFacts = _document.Document.GetLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (2)
50
var
semanticFacts = Document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
301
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
929
ISemanticFactsService
semanticFacts,
934
private readonly
ISemanticFactsService
_semanticFacts = semanticFacts;
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForNullableTernaryConditionalCheckCodeFixProvider.cs (2)
45
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\UseCoalesceExpression\UseCoalesceExpressionForTernaryConditionalCheckCodeFixProvider.cs (3)
45
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
59
ISyntaxFactsService syntaxFacts,
ISemanticFactsService
semanticFacts,