54 references to ExclamationEqualsToken
Microsoft.CodeAnalysis.CSharp (20)
Binder\Binder_Operators.cs (1)
802
bool isEquality = operatorToken.Kind() == SyntaxKind.EqualsEqualsToken || operatorToken.Kind() == SyntaxKind.
ExclamationEqualsToken
;
Binder\Semantics\Operators\OperatorFacts.cs (1)
89
case SyntaxKind.
ExclamationEqualsToken
: return WellKnownMemberNames.InequalityOperatorName;
Parser\DirectiveParser.cs (1)
772
while (this.CurrentToken.Kind == SyntaxKind.EqualsEqualsToken || this.CurrentToken.Kind == SyntaxKind.
ExclamationEqualsToken
)
Parser\LanguageParser.cs (6)
4350
if (this.CurrentToken.Kind is SyntaxKind.
ExclamationEqualsToken
)
4372
else if (this.CurrentToken.Kind is SyntaxKind.
ExclamationEqualsToken
)
5637
case SyntaxKind.
ExclamationEqualsToken
:
11671
or (SyntaxKind.
ExclamationEqualsToken
, SyntaxKind.GreaterThanToken, _)
11674
or (SyntaxKind.ExclamationToken, SyntaxKind.
ExclamationEqualsToken
, SyntaxKind.GreaterThanToken))
11810
case SyntaxKind.
ExclamationEqualsToken
:
Parser\LanguageParser_Patterns.cs (1)
204
case SyntaxKind.
ExclamationEqualsToken
:
Parser\Lexer.cs (3)
524
info.Kind = SyntaxKind.
ExclamationEqualsToken
;
2934
info.Kind = SyntaxKind.
ExclamationEqualsToken
;
4115
if (AdvanceIfMatches('=')) info.Kind = SyntaxKind.
ExclamationEqualsToken
;
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (3)
54
!(syntax is OperatorDeclarationSyntax { OperatorToken: var opToken } && opToken.Kind() is not (SyntaxKind.EqualsEqualsToken or SyntaxKind.
ExclamationEqualsToken
)))
139
if (syntax is OperatorDeclarationSyntax { OperatorToken: var opToken } && opToken.Kind() is not (SyntaxKind.EqualsEqualsToken or SyntaxKind.
ExclamationEqualsToken
))
188
else if ((result & DeclarationModifiers.Static) != 0 && syntax is OperatorDeclarationSyntax { OperatorToken: var opToken } && opToken.Kind() is not (SyntaxKind.EqualsEqualsToken or SyntaxKind.
ExclamationEqualsToken
))
Syntax\SyntaxKindFacts.cs (4)
481
case SyntaxKind.
ExclamationEqualsToken
:
607
case SyntaxKind.
ExclamationEqualsToken
:
1028
case WellKnownMemberNames.InequalityOperatorName: return SyntaxKind.
ExclamationEqualsToken
;
1421
case SyntaxKind.
ExclamationEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
CSharpSyntaxFacts.cs (1)
413
case SyntaxKind.
ExclamationEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
ConvertToRecordEngine.cs (1)
226
=> member is OperatorDeclarationSyntax { OperatorToken.RawKind: (int)SyntaxKind.
ExclamationEqualsToken
});
CSharpDeclarationComparer.cs (1)
53
{ SyntaxKind.
ExclamationEqualsToken
, 15 },
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
2224
token.IsKind(SyntaxKind.
ExclamationEqualsToken
) ||
Microsoft.CodeAnalysis.CSharp.Features (1)
ConvertToRecordEngine.cs (1)
226
=> member is OperatorDeclarationSyntax { OperatorToken.RawKind: (int)SyntaxKind.
ExclamationEqualsToken
});
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (24)
LexicalAndXml\CrefLexerTests.cs (6)
239
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
));
275
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
, "!=", "!="));
276
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
, "!=", "!="));
277
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
, "!=", "!="));
303
AssertTokens("!!=", Token(SyntaxKind.ExclamationToken), Token(SyntaxKind.
ExclamationEqualsToken
));
308
AssertTokens("!==", Token(SyntaxKind.
ExclamationEqualsToken
), Token(SyntaxKind.EqualsToken));
LexicalAndXml\LexicalTests.cs (1)
611
TestPunctuation(SyntaxKind.
ExclamationEqualsToken
);
LexicalAndXml\NameAttributeValueLexerTests.cs (6)
246
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
));
282
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
, "!=", "!="));
283
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
, "!=", "!="));
284
AssertTokens("!=", Token(SyntaxKind.
ExclamationEqualsToken
, "!=", "!="));
310
AssertTokens("!!=", Token(SyntaxKind.ExclamationToken), Token(SyntaxKind.
ExclamationEqualsToken
));
315
AssertTokens("!==", Token(SyntaxKind.
ExclamationEqualsToken
), Token(SyntaxKind.EqualsToken));
Parsing\DeclarationParsingTests.cs (1)
5346
TestClassBinaryOperatorMethod(SyntaxKind.
ExclamationEqualsToken
);
Parsing\ExpressionParsingTests.cs (1)
648
TestBinary(SyntaxKind.
ExclamationEqualsToken
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
303
[InlineData(SyntaxKind.NotEqualsExpression, SyntaxKind.
ExclamationEqualsToken
)]
Parsing\MemberDeclarationParsingTests.cs (3)
9786
[InlineData("!=", SyntaxKind.
ExclamationEqualsToken
)]
9852
[InlineData("!=", SyntaxKind.
ExclamationEqualsToken
)]
10068
[InlineData("!=", SyntaxKind.
ExclamationEqualsToken
)]
Parsing\PatternParsingTests.cs (3)
8832
N(SyntaxKind.
ExclamationEqualsToken
);
9003
N(SyntaxKind.
ExclamationEqualsToken
);
9130
N(SyntaxKind.
ExclamationEqualsToken
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
169
N(SyntaxKind.
ExclamationEqualsToken
);
207
N(SyntaxKind.
ExclamationEqualsToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
Classification\ClassificationHelpers.cs (1)
419
case SyntaxKind.
ExclamationEqualsToken
:
CodeGeneration\CSharpSyntaxGenerator.cs (1)
307
OperatorKind.Inequality => SyntaxKind.
ExclamationEqualsToken
,
CSharpDeclarationComparer.cs (1)
53
{ SyntaxKind.
ExclamationEqualsToken
, 15 },
CSharpSyntaxFacts.cs (1)
413
case SyntaxKind.
ExclamationEqualsToken
:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (1)
2224
token.IsKind(SyntaxKind.
ExclamationEqualsToken
) ||