38 references to ISemanticFactsService
Microsoft.CodeAnalysis.CodeStyle.Fixes (38)
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)
424
var
semanticFacts = invocationDocument.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\GenerateConstructor\GenerateConstructorHelpers.cs (5)
40
var
semanticFacts = document.Document.GetRequiredLanguageService<
ISemanticFactsService
>();
81
ISemanticFactsService
semanticFacts,
295
var
semanticFacts = document.Document.GetRequiredLanguageService<
ISemanticFactsService
>();
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)
91
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)
296
var
semanticFacts = _document.Document.GetLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_Property.cs (2)
52
var
semanticFacts = Document.GetRequiredLanguageService<
ISemanticFactsService
>();
src\Analyzers\Core\CodeFixes\RemoveUnusedParametersAndValues\AbstractRemoveUnusedValuesCodeFixProvider.cs (4)
300
var
semanticFacts = document.GetRequiredLanguageService<
ISemanticFactsService
>();
932
ISemanticFactsService
semanticFacts,
937
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,