64 references to EqualsEqualsToken
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)
81
case SyntaxKind.
EqualsEqualsToken
: return WellKnownMemberNames.EqualityOperatorName;
Parser\DirectiveParser.cs (1)
775
while (this.CurrentToken.Kind == SyntaxKind.
EqualsEqualsToken
|| this.CurrentToken.Kind == SyntaxKind.ExclamationEqualsToken)
Parser\LanguageParser.cs (2)
5920
case SyntaxKind.
EqualsEqualsToken
:
12622
case SyntaxKind.
EqualsEqualsToken
:
Parser\LanguageParser_Patterns.cs (1)
206
case SyntaxKind.
EqualsEqualsToken
:
Parser\Lexer.cs (3)
527
TextWindow.TryAdvance('=') ? SyntaxKind.
EqualsEqualsToken
:
2585
info.Kind = SyntaxKind.
EqualsEqualsToken
;
3736
if (AdvanceIfMatches('=')) info.Kind = SyntaxKind.
EqualsEqualsToken
;
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)
501
case SyntaxKind.
EqualsEqualsToken
:
633
case SyntaxKind.
EqualsEqualsToken
:
1039
case WellKnownMemberNames.EqualityOperatorName: return SyntaxKind.
EqualsEqualsToken
;
1459
case SyntaxKind.
EqualsEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
396
case SyntaxKind.
EqualsEqualsToken
:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
201
=> member is OperatorDeclarationSyntax { OperatorToken.RawKind: (int)SyntaxKind.
EqualsEqualsToken
});
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
52
{ SyntaxKind.
EqualsEqualsToken
, 14 },
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordEngine.cs (1)
201
=> member is OperatorDeclarationSyntax { OperatorToken.RawKind: (int)SyntaxKind.
EqualsEqualsToken
});
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (41)
Generated\Syntax.Test.xml.Generated.cs (4)
305
=> InternalSyntaxFactory.RelationalPattern(InternalSyntaxFactory.Token(SyntaxKind.
EqualsEqualsToken
), GenerateIdentifierName());
1897
Assert.Equal(SyntaxKind.
EqualsEqualsToken
, node.OperatorToken.Kind);
10521
=> SyntaxFactory.RelationalPattern(SyntaxFactory.Token(SyntaxKind.
EqualsEqualsToken
), GenerateIdentifierName());
12113
Assert.Equal(SyntaxKind.
EqualsEqualsToken
, node.OperatorToken.Kind());
LexicalAndXml\CrefLexerTests.cs (9)
237
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
));
271
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
, "==", "=="));
272
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
, "==", "=="));
273
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
, "==", "=="));
291
AssertTokens("===", Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.EqualsToken));
292
AssertTokens("====", Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.
EqualsEqualsToken
));
293
AssertTokens("=====", Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.EqualsToken));
LexicalAndXml\LexicalTests.cs (5)
939
TestPunctuation(SyntaxKind.
EqualsEqualsToken
);
3938
Assert.Equal(SyntaxKind.
EqualsEqualsToken
, token.Kind());
3944
Assert.Equal(SyntaxKind.
EqualsEqualsToken
, token.Kind());
4077
Assert.Equal(SyntaxKind.
EqualsEqualsToken
, token.Kind());
4083
Assert.Equal(SyntaxKind.
EqualsEqualsToken
, token.Kind());
LexicalAndXml\NameAttributeValueLexerTests.cs (9)
244
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
));
278
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
, "==", "=="));
279
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
, "==", "=="));
280
AssertTokens("==", Token(SyntaxKind.
EqualsEqualsToken
, "==", "=="));
298
AssertTokens("===", Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.EqualsToken));
299
AssertTokens("====", Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.
EqualsEqualsToken
));
300
AssertTokens("=====", Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.
EqualsEqualsToken
), Token(SyntaxKind.EqualsToken));
Parsing\CollectionExpressionParsingTests.cs (1)
18470
N(SyntaxKind.
EqualsEqualsToken
);
Parsing\DeclarationParsingTests.cs (1)
5345
TestClassBinaryOperatorMethod(SyntaxKind.
EqualsEqualsToken
);
Parsing\ExpressionParsingTests.cs (2)
647
TestBinary(SyntaxKind.
EqualsEqualsToken
);
4802
N(SyntaxKind.
EqualsEqualsToken
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
302
[InlineData(SyntaxKind.EqualsExpression, SyntaxKind.
EqualsEqualsToken
)]
Parsing\MemberDeclarationParsingTests.cs (3)
9774
[InlineData("==", SyntaxKind.
EqualsEqualsToken
)]
9840
[InlineData("==", SyntaxKind.
EqualsEqualsToken
)]
10056
[InlineData("==", SyntaxKind.
EqualsEqualsToken
)]
Parsing\PatternParsingTests.cs (6)
695
N(SyntaxKind.
EqualsEqualsToken
);
878
N(SyntaxKind.
EqualsEqualsToken
);
7616
N(SyntaxKind.
EqualsEqualsToken
);
8776
N(SyntaxKind.
EqualsEqualsToken
);
8923
N(SyntaxKind.
EqualsEqualsToken
);
9066
N(SyntaxKind.
EqualsEqualsToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\ClassificationHelpers.cs (1)
421
case SyntaxKind.
EqualsEqualsToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (1)
396
case SyntaxKind.
EqualsEqualsToken
:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\CSharpDeclarationComparer.cs (1)
52
{ SyntaxKind.
EqualsEqualsToken
, 14 },