56 references to ExclamationEqualsToken
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Operators.cs (1)
833
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)
775
while (this.CurrentToken.Kind == SyntaxKind.EqualsEqualsToken || this.CurrentToken.Kind == SyntaxKind.
ExclamationEqualsToken
)
Parser\LanguageParser.cs (2)
5921
case SyntaxKind.
ExclamationEqualsToken
:
12623
case SyntaxKind.
ExclamationEqualsToken
:
Parser\LanguageParser_Patterns.cs (1)
207
case SyntaxKind.
ExclamationEqualsToken
:
Parser\Lexer.cs (3)
521
info.Kind = TextWindow.TryAdvance('=') ? SyntaxKind.
ExclamationEqualsToken
: SyntaxKind.ExclamationToken;
2571
info.Kind = SyntaxKind.
ExclamationEqualsToken
;
3740
if (AdvanceIfMatches('=')) info.Kind = SyntaxKind.
ExclamationEqualsToken
;
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (3)
57
!(syntax is OperatorDeclarationSyntax { OperatorToken: var opToken } && opToken.Kind() is not (SyntaxKind.EqualsEqualsToken or SyntaxKind.
ExclamationEqualsToken
)))
142
if (syntax is OperatorDeclarationSyntax { OperatorToken: var opToken } && opToken.Kind() is not (SyntaxKind.EqualsEqualsToken or SyntaxKind.
ExclamationEqualsToken
))
191
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)
509
case SyntaxKind.
ExclamationEqualsToken
:
635
case SyntaxKind.
ExclamationEqualsToken
:
1056
case WellKnownMemberNames.InequalityOperatorName: return SyntaxKind.
ExclamationEqualsToken
;
1457
case SyntaxKind.
ExclamationEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
409
case SyntaxKind.
ExclamationEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
203
=> member is OperatorDeclarationSyntax { OperatorToken.RawKind: (int)SyntaxKind.
ExclamationEqualsToken
});
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
53
{ SyntaxKind.
ExclamationEqualsToken
, 15 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2234
or SyntaxKind.
ExclamationEqualsToken
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
203
=> member is OperatorDeclarationSyntax { OperatorToken.RawKind: (int)SyntaxKind.
ExclamationEqualsToken
});
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (31)
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)
938
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\LambdaParameterParsingTests.cs (7)
1015
N(SyntaxKind.
ExclamationEqualsToken
);
1408
N(SyntaxKind.
ExclamationEqualsToken
);
1472
N(SyntaxKind.
ExclamationEqualsToken
);
1536
N(SyntaxKind.
ExclamationEqualsToken
);
1704
N(SyntaxKind.
ExclamationEqualsToken
);
1772
N(SyntaxKind.
ExclamationEqualsToken
);
1896
N(SyntaxKind.
ExclamationEqualsToken
);
Parsing\MemberDeclarationParsingTests.cs (3)
9775
[InlineData("!=", SyntaxKind.
ExclamationEqualsToken
)]
9841
[InlineData("!=", SyntaxKind.
ExclamationEqualsToken
)]
10057
[InlineData("!=", SyntaxKind.
ExclamationEqualsToken
)]
Parsing\PatternParsingTests.cs (3)
8793
N(SyntaxKind.
ExclamationEqualsToken
);
8964
N(SyntaxKind.
ExclamationEqualsToken
);
9091
N(SyntaxKind.
ExclamationEqualsToken
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
169
N(SyntaxKind.
ExclamationEqualsToken
);
207
N(SyntaxKind.
ExclamationEqualsToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
Classification\ClassificationHelpers.cs (1)
420
case SyntaxKind.
ExclamationEqualsToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
409
case SyntaxKind.
ExclamationEqualsToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
53
{ SyntaxKind.
ExclamationEqualsToken
, 15 },
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (1)
2234
or SyntaxKind.
ExclamationEqualsToken