11 references to IsIdentifierName
Microsoft.CodeAnalysis.CodeStyle (11)
src\Analyzers\Core\Analyzers\UseCoalesceExpression\AbstractUseCoalesceExpressionForIfNullCheckDiagnosticAnalyzer.cs (3)
139
if (!syntaxFacts.
IsIdentifierName
(checkedExpression))
178
if (syntaxFacts.
IsIdentifierName
(identifier) &&
209
if (syntaxFacts.
IsIdentifierName
(left))
src\Analyzers\Core\Analyzers\UseCollectionInitializer\UpdateExpressionState.cs (2)
88
return SyntaxFacts.
IsIdentifierName
(expression) &&
323
if (!this.SyntaxFacts.
IsIdentifierName
(argumentExpression))
src\Analyzers\Core\Analyzers\UseCompoundAssignment\UseCompoundAssignmentUtilities.cs (1)
66
if (syntaxFacts.
IsIdentifierName
(expr))
src\Analyzers\Core\Analyzers\UseIsNullCheck\AbstractUseIsNullForReferenceEqualsDiagnosticAnalyzer.cs (2)
72
var nameNode = syntaxFacts.
IsIdentifierName
(expression)
78
if (!syntaxFacts.
IsIdentifierName
(nameNode))
src\Analyzers\Core\Analyzers\UseNullPropagation\AbstractUseNullPropagationDiagnosticAnalyzer.cs (2)
266
var nameNode = syntaxFacts.
IsIdentifierName
(expression)
272
if (!syntaxFacts.
IsIdentifierName
(nameNode))
src\Analyzers\Core\Analyzers\ValidateFormatString\AbstractValidateFormatStringDiagnosticAnalyzer.cs (1)
171
if (syntaxFacts.
IsIdentifierName
(expression))