8 references to StringComparer
Microsoft.CodeAnalysis.Workspaces (8)
FindSymbols\Extensions.cs (1)
18
=> syntaxFacts.
StringComparer
.Equals(text1, text2);
FindSymbols\FindReferences\DependentTypeFinder_ProjectIndex.cs (1)
54
project.Services.GetRequiredService<ISyntaxFactsService>().
StringComparer
);
FindSymbols\FindReferences\Finders\AbstractReferenceFinder.cs (1)
233
!syntaxFacts.
StringComparer
.Equals(aliasSymbol.Name, aliasSymbol.Target.Name))
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (2)
230
syntaxFacts.
StringComparer
.Equals(identifierName, "SuppressMessage") ||
231
syntaxFacts.
StringComparer
.Equals(identifierName, nameof(SuppressMessageAttribute));
ReassignedVariable\AbstractReassignedVariableService.cs (1)
322
if (!syntaxFacts.
StringComparer
.Equals(idToken.ValueText, localOrParameter.Name))
Recommendations\AbstractRecommendationServiceRunner.cs (1)
35
_stringComparerForLanguage = _context.GetLanguageService<ISyntaxFactsService>().
StringComparer
;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\LanguageServices\MoveDeclarationNearReference\AbstractMoveDeclarationNearReferenceService.cs (1)
221
if (syntaxFacts.
StringComparer
.Equals(name, localSymbol.Name))