683 references to EqualsToken
Microsoft.CodeAnalysis.CSharp (43)
Parser\DocumentationCommentParser.cs (2)
452
var equals = this.EatToken(SyntaxKind.
EqualsToken
, false);
1074
else if (CurrentToken.Kind == SyntaxKind.
EqualsToken
)
Parser\LanguageParser.cs (28)
779
this.EatToken(SyntaxKind.
EqualsToken
));
998
case SyntaxKind.
EqualsToken
:
1001
this.EatToken(SyntaxKind.
EqualsToken
));
3694
else if (this.CurrentToken.Kind == SyntaxKind.
EqualsToken
)
3696
var equals = this.EatToken(SyntaxKind.
EqualsToken
);
4329
equalsToken ??= TryEatToken(SyntaxKind.
EqualsToken
);
4361
equalsToken = SyntaxFactory.Token(leading: null, SyntaxKind.
EqualsToken
, exclamationEquals.GetTrailingTrivia());
4380
equalsToken = SyntaxFactory.Token(leading: null, SyntaxKind.
EqualsToken
, exclamationEquals.GetTrailingTrivia());
4945
currentTokenKind != SyntaxKind.
EqualsToken
&&
4995
case SyntaxKind.
EqualsToken
:
5081
if (this.CurrentToken.Kind == SyntaxKind.
EqualsToken
)
5083
goto case SyntaxKind.
EqualsToken
;
5300
if (this.CurrentToken.Kind == SyntaxKind.
EqualsToken
)
5304
this.EatToken(SyntaxKind.
EqualsToken
),
7667
token4Kind != SyntaxKind.
EqualsToken
&&
7807
if (this.CurrentToken.Kind == SyntaxKind.
EqualsToken
)
9313
case SyntaxKind.
EqualsToken
:
9354
bool condition3 = st == ScanTypeFlags.NonGenericTypeOrExpression || this.PeekToken(1).Kind == SyntaxKind.
EqualsToken
;
10813
this.CurrentToken.Kind == SyntaxKind.
EqualsToken
;
11433
equalsToken ??= TryEatToken(SyntaxKind.
EqualsToken
);
11790
case SyntaxKind.
EqualsToken
:
11911
return IsTrueIdentifier() && this.PeekToken(1).Kind == SyntaxKind.
EqualsToken
;
12109
this.EatToken(SyntaxKind.
EqualsToken
),
12120
this.EatToken(SyntaxKind.
EqualsToken
),
12543
equalsToken ??= TryEatToken(SyntaxKind.
EqualsToken
);
12592
peek1.Kind != SyntaxKind.
EqualsToken
)
12670
SyntaxKind.
EqualsToken
) // from x = null;
12821
this.EatToken(SyntaxKind.
EqualsToken
),
Parser\Lexer.cs (4)
547
info.Kind = SyntaxKind.
EqualsToken
;
2952
info.Kind = SyntaxKind.
EqualsToken
;
3595
info.Kind = SyntaxKind.
EqualsToken
;
4112
else info.Kind = SyntaxKind.
EqualsToken
;
SymbolDisplay\SymbolDisplayVisitor.cs (2)
237
AddPunctuation(SyntaxKind.
EqualsToken
);
288
AddPunctuation(SyntaxKind.
EqualsToken
);
SymbolDisplay\SymbolDisplayVisitor.Members.cs (2)
83
AddPunctuation(SyntaxKind.
EqualsToken
);
867
AddPunctuation(SyntaxKind.
EqualsToken
);
Syntax\SyntaxKindFacts.cs (3)
681
case SyntaxKind.
EqualsToken
:
714
case SyntaxKind.
EqualsToken
:
1353
case SyntaxKind.
EqualsToken
:
Syntax\SyntaxNormalizer.cs (2)
726
if (token.IsKind(SyntaxKind.
EqualsToken
))
731
if (next.IsKind(SyntaxKind.
EqualsToken
))
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
AssignmentExpressionSyntaxExtensions.cs (1)
17
assignment.OperatorToken.Kind() == SyntaxKind.
EqualsToken
&&
CSharpSemanticFacts.cs (1)
284
AssignmentExpressionSyntax _ when token.Kind() == SyntaxKind.
EqualsToken
=> GetDeconstructionAssignmentMethods(semanticModel, node).As<ISymbol>(),
FormattingHelpers.cs (1)
277
return token.IsKind(SyntaxKind.
EqualsToken
) &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (9)
CSharpTypeInferenceService.TypeInferrer.cs (2)
430
previousToken.GetPreviousToken().Kind() is SyntaxKind.
EqualsToken
or SyntaxKind.OpenParenToken or SyntaxKind.CommaToken)
814
if (previousToken.HasValue && previousToken.Value.GetPreviousToken().Kind() == SyntaxKind.
EqualsToken
)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (7)
648
if (token.GetNextToken(includeSkipped: true).Kind() != SyntaxKind.
EqualsToken
&&
794
if (token.IsKind(SyntaxKind.
EqualsToken
) &&
2065
if (token.IsKind(SyntaxKind.
EqualsToken
) &&
2117
if (token.IsKind(SyntaxKind.
EqualsToken
) &&
2197
if (token.IsKind(SyntaxKind.
EqualsToken
))
2219
if (token.IsKind(SyntaxKind.
EqualsToken
) ||
2494
if (!token.IntersectsWith(position) && token.GetNextToken().GetNextToken().IsKind(SyntaxKind.
EqualsToken
))
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
SyntaxHelpers.cs (1)
81
InternalSyntax.SyntaxFactory.Token(SyntaxKind.
EqualsToken
),
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\AttributeNamedParameterCompletionProvider.cs (1)
161
var displayTextSuffix = rightToken.IsKind(SyntaxKind.
EqualsToken
) ? null : SpaceEqualsString;
Completion\CompletionProviders\ObjectAndWithInitializerCompletionProvider.cs (1)
189
.Where(b => b.OperatorToken.Kind() == SyntaxKind.
EqualsToken
)
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
177
case SyntaxKind.
EqualsToken
:
SignatureHelp\AttributeSignatureHelpProvider.cs (1)
184
displayParts.Add(Punctuation(SyntaxKind.
EqualsToken
));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (609)
Generated\Syntax.Test.xml.Generated.cs (28)
110
=> InternalSyntaxFactory.AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
), GenerateIdentifierName());
224
=> InternalSyntaxFactory.LetClause(InternalSyntaxFactory.Token(SyntaxKind.LetKeyword), InternalSyntaxFactory.Identifier("Identifier"), InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
), GenerateIdentifierName());
341
=> InternalSyntaxFactory.EqualsValueClause(InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
), GenerateIdentifierName());
482
=> InternalSyntaxFactory.NameEquals(GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
));
647
=> InternalSyntaxFactory.XmlTextAttribute(GenerateXmlName(), InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken), new Microsoft.CodeAnalysis.Syntax.InternalSyntax.SyntaxList<Syntax.InternalSyntax.SyntaxToken>(), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken));
650
=> InternalSyntaxFactory.XmlCrefAttribute(GenerateXmlName(), InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateTypeCref(), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken));
653
=> InternalSyntaxFactory.XmlNameAttribute(GenerateXmlName(), InternalSyntaxFactory.Token(SyntaxKind.
EqualsToken
), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.SingleQuoteToken));
1097
Assert.Equal(SyntaxKind.
EqualsToken
, node.OperatorToken.Kind);
1568
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind);
2032
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind);
2670
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind);
3423
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind);
3437
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind);
3451
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind);
10086
=> SyntaxFactory.AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
EqualsToken
), GenerateIdentifierName());
10200
=> SyntaxFactory.LetClause(SyntaxFactory.Token(SyntaxKind.LetKeyword), SyntaxFactory.Identifier("Identifier"), SyntaxFactory.Token(SyntaxKind.
EqualsToken
), GenerateIdentifierName());
10317
=> SyntaxFactory.EqualsValueClause(SyntaxFactory.Token(SyntaxKind.
EqualsToken
), GenerateIdentifierName());
10458
=> SyntaxFactory.NameEquals(GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.
EqualsToken
));
10623
=> SyntaxFactory.XmlTextAttribute(GenerateXmlName(), SyntaxFactory.Token(SyntaxKind.
EqualsToken
), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken), new SyntaxTokenList(), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken));
10626
=> SyntaxFactory.XmlCrefAttribute(GenerateXmlName(), SyntaxFactory.Token(SyntaxKind.
EqualsToken
), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateTypeCref(), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken));
10629
=> SyntaxFactory.XmlNameAttribute(GenerateXmlName(), SyntaxFactory.Token(SyntaxKind.
EqualsToken
), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken), GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.SingleQuoteToken));
11073
Assert.Equal(SyntaxKind.
EqualsToken
, node.OperatorToken.Kind());
11544
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind());
12008
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind());
12646
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind());
13399
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind());
13413
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind());
13427
Assert.Equal(SyntaxKind.
EqualsToken
, node.EqualsToken.Kind());
LexicalAndXml\CrefLexerTests.cs (9)
231
AssertTokens("<=", Token(SyntaxKind.BadToken, "<"), Token(SyntaxKind.
EqualsToken
));
236
AssertTokens("=", Token(SyntaxKind.
EqualsToken
));
270
AssertTokens("=", Token(SyntaxKind.
EqualsToken
, "=", "="));
291
AssertTokens("===", Token(SyntaxKind.EqualsEqualsToken), Token(SyntaxKind.
EqualsToken
));
293
AssertTokens("=====", Token(SyntaxKind.EqualsEqualsToken), Token(SyntaxKind.EqualsEqualsToken), Token(SyntaxKind.
EqualsToken
));
304
AssertTokens("<<=", Token(SyntaxKind.LessThanLessThanToken, "<<", "<<"), Token(SyntaxKind.
EqualsToken
));
308
AssertTokens("!==", Token(SyntaxKind.ExclamationEqualsToken), Token(SyntaxKind.
EqualsToken
));
309
AssertTokens("<==", Token(SyntaxKind.LessThanEqualsToken, "<=", "<="), Token(SyntaxKind.
EqualsToken
));
310
AssertTokens(">==", Token(SyntaxKind.GreaterThanEqualsToken), Token(SyntaxKind.
EqualsToken
));
LexicalAndXml\LexicalTests.cs (1)
583
TestPunctuation(SyntaxKind.
EqualsToken
);
LexicalAndXml\NameAttributeValueLexerTests.cs (9)
238
AssertTokens("<=", Token(SyntaxKind.BadToken, "<"), Token(SyntaxKind.
EqualsToken
));
243
AssertTokens("=", Token(SyntaxKind.
EqualsToken
));
277
AssertTokens("=", Token(SyntaxKind.
EqualsToken
, "=", "="));
298
AssertTokens("===", Token(SyntaxKind.EqualsEqualsToken), Token(SyntaxKind.
EqualsToken
));
300
AssertTokens("=====", Token(SyntaxKind.EqualsEqualsToken), Token(SyntaxKind.EqualsEqualsToken), Token(SyntaxKind.
EqualsToken
));
311
AssertTokens("<<=", Token(SyntaxKind.LessThanLessThanToken, "<<", "<<"), Token(SyntaxKind.
EqualsToken
));
315
AssertTokens("!==", Token(SyntaxKind.ExclamationEqualsToken), Token(SyntaxKind.
EqualsToken
));
316
AssertTokens("<==", Token(SyntaxKind.LessThanEqualsToken, "<=", "<="), Token(SyntaxKind.
EqualsToken
));
317
AssertTokens(">==", Token(SyntaxKind.GreaterThanEqualsToken), Token(SyntaxKind.
EqualsToken
));
Parsing\AnonymousFunctionParsingTests.cs (37)
82
N(SyntaxKind.
EqualsToken
);
183
N(SyntaxKind.
EqualsToken
);
280
N(SyntaxKind.
EqualsToken
);
381
N(SyntaxKind.
EqualsToken
);
482
N(SyntaxKind.
EqualsToken
);
600
N(SyntaxKind.
EqualsToken
);
740
N(SyntaxKind.
EqualsToken
);
849
N(SyntaxKind.
EqualsToken
);
1190
N(SyntaxKind.
EqualsToken
);
1247
N(SyntaxKind.
EqualsToken
);
1293
N(SyntaxKind.
EqualsToken
);
1360
N(SyntaxKind.
EqualsToken
);
1438
N(SyntaxKind.
EqualsToken
);
1494
N(SyntaxKind.
EqualsToken
);
1548
N(SyntaxKind.
EqualsToken
);
1642
N(SyntaxKind.
EqualsToken
);
1746
N(SyntaxKind.
EqualsToken
);
1823
N(SyntaxKind.
EqualsToken
);
1953
N(SyntaxKind.
EqualsToken
);
2094
N(SyntaxKind.
EqualsToken
);
2172
N(SyntaxKind.
EqualsToken
);
2258
N(SyntaxKind.
EqualsToken
);
2561
N(SyntaxKind.
EqualsToken
);
2709
N(SyntaxKind.
EqualsToken
);
2857
N(SyntaxKind.
EqualsToken
);
2974
N(SyntaxKind.
EqualsToken
);
3119
N(SyntaxKind.
EqualsToken
);
3233
N(SyntaxKind.
EqualsToken
);
3382
N(SyntaxKind.
EqualsToken
);
3535
N(SyntaxKind.
EqualsToken
);
3688
N(SyntaxKind.
EqualsToken
);
3823
N(SyntaxKind.
EqualsToken
);
3977
N(SyntaxKind.
EqualsToken
);
4100
N(SyntaxKind.
EqualsToken
);
4258
N(SyntaxKind.
EqualsToken
);
4420
N(SyntaxKind.
EqualsToken
);
4582
N(SyntaxKind.
EqualsToken
);
Parsing\AsyncParsingTests.cs (1)
491
N(SyntaxKind.
EqualsToken
);
Parsing\AsyncStreamsParsingTests.cs (1)
85
N(SyntaxKind.
EqualsToken
);
Parsing\AwaitParsingTests.cs (2)
377
N(SyntaxKind.
EqualsToken
);
1977
N(SyntaxKind.
EqualsToken
);
Parsing\DeclarationExpressionTests.cs (5)
258
N(SyntaxKind.
EqualsToken
);
321
N(SyntaxKind.
EqualsToken
);
924
N(SyntaxKind.
EqualsToken
);
1252
N(SyntaxKind.
EqualsToken
);
1298
N(SyntaxKind.
EqualsToken
);
Parsing\DeclarationParsingTests.cs (15)
7385
N(SyntaxKind.
EqualsToken
);
7428
N(SyntaxKind.
EqualsToken
);
7628
N(SyntaxKind.
EqualsToken
);
7766
N(SyntaxKind.
EqualsToken
);
7809
N(SyntaxKind.
EqualsToken
);
7852
N(SyntaxKind.
EqualsToken
);
7895
N(SyntaxKind.
EqualsToken
);
7938
N(SyntaxKind.
EqualsToken
);
7982
N(SyntaxKind.
EqualsToken
);
8025
N(SyntaxKind.
EqualsToken
);
8069
N(SyntaxKind.
EqualsToken
);
8113
N(SyntaxKind.
EqualsToken
);
8160
N(SyntaxKind.
EqualsToken
);
8167
N(SyntaxKind.
EqualsToken
);
8414
N(SyntaxKind.
EqualsToken
);
Parsing\DeclarationScopeParsingTests.cs (37)
2544
N(SyntaxKind.
EqualsToken
);
3551
N(SyntaxKind.
EqualsToken
);
3622
N(SyntaxKind.
EqualsToken
);
3727
N(SyntaxKind.
EqualsToken
);
3832
N(SyntaxKind.
EqualsToken
);
3904
N(SyntaxKind.
EqualsToken
);
4020
N(SyntaxKind.
EqualsToken
);
4129
N(SyntaxKind.
EqualsToken
);
4200
N(SyntaxKind.
EqualsToken
);
4298
N(SyntaxKind.
EqualsToken
);
4373
N(SyntaxKind.
EqualsToken
);
4475
N(SyntaxKind.
EqualsToken
);
4551
N(SyntaxKind.
EqualsToken
);
4654
N(SyntaxKind.
EqualsToken
);
4725
N(SyntaxKind.
EqualsToken
);
4800
N(SyntaxKind.
EqualsToken
);
4876
N(SyntaxKind.
EqualsToken
);
4951
N(SyntaxKind.
EqualsToken
);
5022
N(SyntaxKind.
EqualsToken
);
5093
N(SyntaxKind.
EqualsToken
);
5168
N(SyntaxKind.
EqualsToken
);
5244
N(SyntaxKind.
EqualsToken
);
5311
N(SyntaxKind.
EqualsToken
);
5382
N(SyntaxKind.
EqualsToken
);
5484
N(SyntaxKind.
EqualsToken
);
5586
N(SyntaxKind.
EqualsToken
);
5670
N(SyntaxKind.
EqualsToken
);
5739
N(SyntaxKind.
EqualsToken
);
5809
N(SyntaxKind.
EqualsToken
);
5888
N(SyntaxKind.
EqualsToken
);
5959
N(SyntaxKind.
EqualsToken
);
6038
N(SyntaxKind.
EqualsToken
);
6159
N(SyntaxKind.
EqualsToken
);
9530
N(SyntaxKind.
EqualsToken
);
11992
N(SyntaxKind.
EqualsToken
);
12051
N(SyntaxKind.
EqualsToken
);
13546
N(SyntaxKind.
EqualsToken
);
Parsing\DeconstructionTests.cs (28)
495
N(SyntaxKind.
EqualsToken
);
561
N(SyntaxKind.
EqualsToken
);
662
N(SyntaxKind.
EqualsToken
);
752
N(SyntaxKind.
EqualsToken
);
865
N(SyntaxKind.
EqualsToken
);
942
N(SyntaxKind.
EqualsToken
);
1029
N(SyntaxKind.
EqualsToken
);
1203
N(SyntaxKind.
EqualsToken
);
1294
N(SyntaxKind.
EqualsToken
);
1379
N(SyntaxKind.
EqualsToken
);
1623
N(SyntaxKind.
EqualsToken
);
1856
N(SyntaxKind.
EqualsToken
);
2452
N(SyntaxKind.
EqualsToken
);
2530
N(SyntaxKind.
EqualsToken
);
2956
N(SyntaxKind.
EqualsToken
);
3010
N(SyntaxKind.
EqualsToken
);
3064
N(SyntaxKind.
EqualsToken
);
3119
N(SyntaxKind.
EqualsToken
);
3184
N(SyntaxKind.
EqualsToken
);
3231
N(SyntaxKind.
EqualsToken
);
3284
N(SyntaxKind.
EqualsToken
);
3348
N(SyntaxKind.
EqualsToken
);
3447
N(SyntaxKind.
EqualsToken
);
3509
N(SyntaxKind.
EqualsToken
);
3571
N(SyntaxKind.
EqualsToken
);
3618
N(SyntaxKind.
EqualsToken
);
3666
N(SyntaxKind.
EqualsToken
);
3682
N(SyntaxKind.
EqualsToken
);
Parsing\ExpressionParsingTests.cs (14)
693
TestAssignment(SyntaxKind.
EqualsToken
);
3088
N(SyntaxKind.
EqualsToken
);
3470
N(SyntaxKind.
EqualsToken
);
3872
N(SyntaxKind.
EqualsToken
);
4140
N(SyntaxKind.
EqualsToken
);
4234
N(SyntaxKind.
EqualsToken
);
4331
N(SyntaxKind.
EqualsToken
);
4436
N(SyntaxKind.
EqualsToken
);
4721
N(SyntaxKind.
EqualsToken
);
4923
N(SyntaxKind.
EqualsToken
);
4955
N(SyntaxKind.
EqualsToken
);
6187
N(SyntaxKind.
EqualsToken
);
6381
N(SyntaxKind.
EqualsToken
);
6829
N(SyntaxKind.
EqualsToken
);
Parsing\FileModifierParsingTests.cs (3)
3267
N(SyntaxKind.
EqualsToken
);
3343
N(SyntaxKind.
EqualsToken
);
3387
N(SyntaxKind.
EqualsToken
);
Parsing\FunctionPointerTests.cs (6)
2810
N(SyntaxKind.
EqualsToken
);
2867
N(SyntaxKind.
EqualsToken
);
2920
N(SyntaxKind.
EqualsToken
);
3015
N(SyntaxKind.
EqualsToken
);
4043
N(SyntaxKind.
EqualsToken
);
4142
N(SyntaxKind.
EqualsToken
);
Parsing\ImplicitObjectCreationParsingTests.cs (2)
520
N(SyntaxKind.
EqualsToken
);
586
N(SyntaxKind.
EqualsToken
);
Parsing\LambdaAttributeParsingTests.cs (12)
949
N(SyntaxKind.
EqualsToken
);
1025
N(SyntaxKind.
EqualsToken
);
1095
M(SyntaxKind.
EqualsToken
);
2279
N(SyntaxKind.
EqualsToken
);
2334
N(SyntaxKind.
EqualsToken
);
2392
N(SyntaxKind.
EqualsToken
);
2444
N(SyntaxKind.
EqualsToken
);
2722
M(SyntaxKind.
EqualsToken
);
2754
M(SyntaxKind.
EqualsToken
);
2805
N(SyntaxKind.
EqualsToken
);
2838
N(SyntaxKind.
EqualsToken
);
3664
N(SyntaxKind.
EqualsToken
);
Parsing\LambdaParameterParsingTests.cs (88)
113
N(SyntaxKind.
EqualsToken
);
224
N(SyntaxKind.
EqualsToken
);
343
N(SyntaxKind.
EqualsToken
);
469
N(SyntaxKind.
EqualsToken
);
598
N(SyntaxKind.
EqualsToken
);
809
N(SyntaxKind.
EqualsToken
);
874
N(SyntaxKind.
EqualsToken
);
944
N(SyntaxKind.
EqualsToken
);
1001
N(SyntaxKind.
EqualsToken
);
1053
N(SyntaxKind.
EqualsToken
);
1119
N(SyntaxKind.
EqualsToken
);
1197
N(SyntaxKind.
EqualsToken
);
1264
N(SyntaxKind.
EqualsToken
);
1319
N(SyntaxKind.
EqualsToken
);
1376
N(SyntaxKind.
EqualsToken
);
1431
N(SyntaxKind.
EqualsToken
);
1489
N(SyntaxKind.
EqualsToken
);
1544
N(SyntaxKind.
EqualsToken
);
1594
N(SyntaxKind.
EqualsToken
);
1644
N(SyntaxKind.
EqualsToken
);
1701
N(SyntaxKind.
EqualsToken
);
1756
N(SyntaxKind.
EqualsToken
);
1810
N(SyntaxKind.
EqualsToken
);
1865
N(SyntaxKind.
EqualsToken
);
1935
N(SyntaxKind.
EqualsToken
);
2009
N(SyntaxKind.
EqualsToken
);
2103
N(SyntaxKind.
EqualsToken
);
2155
N(SyntaxKind.
EqualsToken
);
2162
N(SyntaxKind.
EqualsToken
);
2201
N(SyntaxKind.
EqualsToken
);
2245
N(SyntaxKind.
EqualsToken
);
2256
N(SyntaxKind.
EqualsToken
);
2301
N(SyntaxKind.
EqualsToken
);
2360
N(SyntaxKind.
EqualsToken
);
2376
N(SyntaxKind.
EqualsToken
);
2431
N(SyntaxKind.
EqualsToken
);
2446
N(SyntaxKind.
EqualsToken
);
2501
N(SyntaxKind.
EqualsToken
);
2526
N(SyntaxKind.
EqualsToken
);
2568
N(SyntaxKind.
EqualsToken
);
2634
N(SyntaxKind.
EqualsToken
);
2705
N(SyntaxKind.
EqualsToken
);
2763
N(SyntaxKind.
EqualsToken
);
2820
N(SyntaxKind.
EqualsToken
);
2913
N(SyntaxKind.
EqualsToken
);
2985
N(SyntaxKind.
EqualsToken
);
3063
N(SyntaxKind.
EqualsToken
);
3113
N(SyntaxKind.
EqualsToken
);
3155
N(SyntaxKind.
EqualsToken
);
3202
N(SyntaxKind.
EqualsToken
);
3209
N(SyntaxKind.
EqualsToken
);
3276
N(SyntaxKind.
EqualsToken
);
3344
N(SyntaxKind.
EqualsToken
);
3363
N(SyntaxKind.
EqualsToken
);
3425
N(SyntaxKind.
EqualsToken
);
3444
N(SyntaxKind.
EqualsToken
);
3515
N(SyntaxKind.
EqualsToken
);
3536
N(SyntaxKind.
EqualsToken
);
3578
N(SyntaxKind.
EqualsToken
);
3698
N(SyntaxKind.
EqualsToken
);
3798
N(SyntaxKind.
EqualsToken
);
3813
N(SyntaxKind.
EqualsToken
);
3967
N(SyntaxKind.
EqualsToken
);
3978
N(SyntaxKind.
EqualsToken
);
3989
N(SyntaxKind.
EqualsToken
);
4000
N(SyntaxKind.
EqualsToken
);
4120
N(SyntaxKind.
EqualsToken
);
4135
N(SyntaxKind.
EqualsToken
);
4183
N(SyntaxKind.
EqualsToken
);
4274
N(SyntaxKind.
EqualsToken
);
4289
N(SyntaxKind.
EqualsToken
);
4338
N(SyntaxKind.
EqualsToken
);
4349
N(SyntaxKind.
EqualsToken
);
4407
N(SyntaxKind.
EqualsToken
);
4423
N(SyntaxKind.
EqualsToken
);
4481
N(SyntaxKind.
EqualsToken
);
4496
N(SyntaxKind.
EqualsToken
);
4554
N(SyntaxKind.
EqualsToken
);
4578
N(SyntaxKind.
EqualsToken
);
4626
N(SyntaxKind.
EqualsToken
);
4668
N(SyntaxKind.
EqualsToken
);
4713
N(SyntaxKind.
EqualsToken
);
4768
N(SyntaxKind.
EqualsToken
);
4828
N(SyntaxKind.
EqualsToken
);
4893
N(SyntaxKind.
EqualsToken
);
4957
N(SyntaxKind.
EqualsToken
);
5245
N(SyntaxKind.
EqualsToken
);
5437
N(SyntaxKind.
EqualsToken
);
Parsing\LambdaReturnTypeParsingTests.cs (8)
2604
N(SyntaxKind.
EqualsToken
);
2658
N(SyntaxKind.
EqualsToken
);
2711
N(SyntaxKind.
EqualsToken
);
2772
N(SyntaxKind.
EqualsToken
);
2817
N(SyntaxKind.
EqualsToken
);
2860
N(SyntaxKind.
EqualsToken
);
5022
N(SyntaxKind.
EqualsToken
);
5235
N(SyntaxKind.
EqualsToken
);
Parsing\MemberDeclarationParsingTests.cs (4)
217
N(SyntaxKind.
EqualsToken
);
230
N(SyntaxKind.
EqualsToken
);
2304
N(SyntaxKind.
EqualsToken
);
8686
N(SyntaxKind.
EqualsToken
);
Parsing\NullableParsingTests.cs (1)
1191
N(SyntaxKind.
EqualsToken
);
Parsing\PatternParsingTests.cs (77)
197
N(SyntaxKind.
EqualsToken
);
345
N(SyntaxKind.
EqualsToken
);
462
N(SyntaxKind.
EqualsToken
);
519
N(SyntaxKind.
EqualsToken
);
4390
N(SyntaxKind.
EqualsToken
);
4500
N(SyntaxKind.
EqualsToken
);
4606
N(SyntaxKind.
EqualsToken
);
4674
N(SyntaxKind.
EqualsToken
);
4738
N(SyntaxKind.
EqualsToken
);
4825
N(SyntaxKind.
EqualsToken
);
4908
N(SyntaxKind.
EqualsToken
);
4953
N(SyntaxKind.
EqualsToken
);
5059
N(SyntaxKind.
EqualsToken
);
5161
N(SyntaxKind.
EqualsToken
);
5225
N(SyntaxKind.
EqualsToken
);
5285
N(SyntaxKind.
EqualsToken
);
5368
N(SyntaxKind.
EqualsToken
);
8316
N(SyntaxKind.
EqualsToken
);
8378
N(SyntaxKind.
EqualsToken
);
8437
N(SyntaxKind.
EqualsToken
);
8486
N(SyntaxKind.
EqualsToken
);
8564
N(SyntaxKind.
EqualsToken
);
8734
N(SyntaxKind.
EqualsToken
);
8908
N(SyntaxKind.
EqualsToken
);
9067
N(SyntaxKind.
EqualsToken
);
9174
N(SyntaxKind.
EqualsToken
);
9212
N(SyntaxKind.
EqualsToken
);
9258
N(SyntaxKind.
EqualsToken
);
9303
N(SyntaxKind.
EqualsToken
);
9343
N(SyntaxKind.
EqualsToken
);
9409
N(SyntaxKind.
EqualsToken
);
9456
N(SyntaxKind.
EqualsToken
);
9511
N(SyntaxKind.
EqualsToken
);
9569
N(SyntaxKind.
EqualsToken
);
9635
N(SyntaxKind.
EqualsToken
);
9697
N(SyntaxKind.
EqualsToken
);
9761
N(SyntaxKind.
EqualsToken
);
9814
N(SyntaxKind.
EqualsToken
);
9953
N(SyntaxKind.
EqualsToken
);
9993
N(SyntaxKind.
EqualsToken
);
10041
N(SyntaxKind.
EqualsToken
);
10089
N(SyntaxKind.
EqualsToken
);
10144
N(SyntaxKind.
EqualsToken
);
10191
N(SyntaxKind.
EqualsToken
);
10239
N(SyntaxKind.
EqualsToken
);
10387
N(SyntaxKind.
EqualsToken
);
10428
N(SyntaxKind.
EqualsToken
);
10469
N(SyntaxKind.
EqualsToken
);
10510
N(SyntaxKind.
EqualsToken
);
10565
N(SyntaxKind.
EqualsToken
);
10610
N(SyntaxKind.
EqualsToken
);
10683
N(SyntaxKind.
EqualsToken
);
10720
N(SyntaxKind.
EqualsToken
);
10761
N(SyntaxKind.
EqualsToken
);
10803
N(SyntaxKind.
EqualsToken
);
10856
N(SyntaxKind.
EqualsToken
);
10905
N(SyntaxKind.
EqualsToken
);
10962
N(SyntaxKind.
EqualsToken
);
11023
N(SyntaxKind.
EqualsToken
);
11074
N(SyntaxKind.
EqualsToken
);
11126
N(SyntaxKind.
EqualsToken
);
11179
N(SyntaxKind.
EqualsToken
);
11236
N(SyntaxKind.
EqualsToken
);
11409
N(SyntaxKind.
EqualsToken
);
11452
N(SyntaxKind.
EqualsToken
);
11603
N(SyntaxKind.
EqualsToken
);
11663
N(SyntaxKind.
EqualsToken
);
11721
N(SyntaxKind.
EqualsToken
);
11852
N(SyntaxKind.
EqualsToken
);
11925
N(SyntaxKind.
EqualsToken
);
12033
N(SyntaxKind.
EqualsToken
);
12092
N(SyntaxKind.
EqualsToken
);
12173
N(SyntaxKind.
EqualsToken
);
12268
N(SyntaxKind.
EqualsToken
);
12374
N(SyntaxKind.
EqualsToken
);
12469
N(SyntaxKind.
EqualsToken
);
12574
N(SyntaxKind.
EqualsToken
);
Parsing\RecordParsing.cs (11)
1305
N(SyntaxKind.
EqualsToken
);
1338
N(SyntaxKind.
EqualsToken
);
1410
N(SyntaxKind.
EqualsToken
);
1550
N(SyntaxKind.
EqualsToken
);
1731
N(SyntaxKind.
EqualsToken
);
1909
N(SyntaxKind.
EqualsToken
);
1964
N(SyntaxKind.
EqualsToken
);
1981
N(SyntaxKind.
EqualsToken
);
2020
N(SyntaxKind.
EqualsToken
);
2048
N(SyntaxKind.
EqualsToken
);
2090
N(SyntaxKind.
EqualsToken
);
Parsing\RefFieldParsingTests.cs (11)
196
N(SyntaxKind.
EqualsToken
);
259
N(SyntaxKind.
EqualsToken
);
321
N(SyntaxKind.
EqualsToken
);
380
N(SyntaxKind.
EqualsToken
);
425
N(SyntaxKind.
EqualsToken
);
717
N(SyntaxKind.
EqualsToken
);
808
N(SyntaxKind.
EqualsToken
);
828
N(SyntaxKind.
EqualsToken
);
909
N(SyntaxKind.
EqualsToken
);
1111
N(SyntaxKind.
EqualsToken
);
1166
N(SyntaxKind.
EqualsToken
);
Parsing\ScriptParsingTests.cs (19)
364
N(SyntaxKind.
EqualsToken
);
1150
N(SyntaxKind.
EqualsToken
);
1175
N(SyntaxKind.
EqualsToken
);
1358
N(SyntaxKind.
EqualsToken
);
2018
N(SyntaxKind.
EqualsToken
);
2055
N(SyntaxKind.
EqualsToken
);
2867
N(SyntaxKind.
EqualsToken
);
2905
N(SyntaxKind.
EqualsToken
);
2951
N(SyntaxKind.
EqualsToken
);
3049
N(SyntaxKind.
EqualsToken
);
3622
N(SyntaxKind.
EqualsToken
);
4361
N(SyntaxKind.
EqualsToken
);
5661
N(SyntaxKind.
EqualsToken
);
5756
N(SyntaxKind.
EqualsToken
);
6417
N(SyntaxKind.
EqualsToken
);
6466
N(SyntaxKind.
EqualsToken
);
6512
N(SyntaxKind.
EqualsToken
);
7494
N(SyntaxKind.
EqualsToken
);
8498
N(SyntaxKind.
EqualsToken
);
Parsing\SeparatedSyntaxListParsingTests.cs (10)
529
N(SyntaxKind.
EqualsToken
);
586
N(SyntaxKind.
EqualsToken
);
819
N(SyntaxKind.
EqualsToken
);
858
N(SyntaxKind.
EqualsToken
);
897
N(SyntaxKind.
EqualsToken
);
941
N(SyntaxKind.
EqualsToken
);
985
N(SyntaxKind.
EqualsToken
);
1034
N(SyntaxKind.
EqualsToken
);
1078
N(SyntaxKind.
EqualsToken
);
1122
N(SyntaxKind.
EqualsToken
);
Parsing\StatementAttributeParsingTests.cs (10)
1656
N(SyntaxKind.
EqualsToken
);
4065
N(SyntaxKind.
EqualsToken
);
6580
N(SyntaxKind.
EqualsToken
);
6825
N(SyntaxKind.
EqualsToken
);
6911
N(SyntaxKind.
EqualsToken
);
6994
N(SyntaxKind.
EqualsToken
);
7088
N(SyntaxKind.
EqualsToken
);
7195
N(SyntaxKind.
EqualsToken
);
7297
N(SyntaxKind.
EqualsToken
);
7406
N(SyntaxKind.
EqualsToken
);
Parsing\StatementParsingTests.cs (19)
1687
N(SyntaxKind.
EqualsToken
);
1704
N(SyntaxKind.
EqualsToken
);
2436
N(SyntaxKind.
EqualsToken
);
2570
N(SyntaxKind.
EqualsToken
);
2601
N(SyntaxKind.
EqualsToken
);
2664
N(SyntaxKind.
EqualsToken
);
2741
N(SyntaxKind.
EqualsToken
);
2885
N(SyntaxKind.
EqualsToken
);
2898
N(SyntaxKind.
EqualsToken
);
2968
N(SyntaxKind.
EqualsToken
);
3054
N(SyntaxKind.
EqualsToken
);
3158
N(SyntaxKind.
EqualsToken
);
3197
N(SyntaxKind.
EqualsToken
);
3235
N(SyntaxKind.
EqualsToken
);
3273
N(SyntaxKind.
EqualsToken
);
3313
N(SyntaxKind.
EqualsToken
);
4072
N(SyntaxKind.
EqualsToken
);
4131
N(SyntaxKind.
EqualsToken
);
4231
N(SyntaxKind.
EqualsToken
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (7)
53
N(SyntaxKind.
EqualsToken
);
86
N(SyntaxKind.
EqualsToken
);
106
N(SyntaxKind.
EqualsToken
);
130
N(SyntaxKind.
EqualsToken
);
158
N(SyntaxKind.
EqualsToken
);
198
N(SyntaxKind.
EqualsToken
);
213
N(SyntaxKind.
EqualsToken
);
Parsing\SwitchExpressionParsingTests.cs (3)
336
N(SyntaxKind.
EqualsToken
);
871
N(SyntaxKind.
EqualsToken
);
964
N(SyntaxKind.
EqualsToken
);
Parsing\TopLevelStatementsParsingTests.cs (13)
56
N(SyntaxKind.
EqualsToken
);
361
N(SyntaxKind.
EqualsToken
);
388
N(SyntaxKind.
EqualsToken
);
431
N(SyntaxKind.
EqualsToken
);
1637
N(SyntaxKind.
EqualsToken
);
1846
N(SyntaxKind.
EqualsToken
);
2150
N(SyntaxKind.
EqualsToken
);
2213
N(SyntaxKind.
EqualsToken
);
2279
N(SyntaxKind.
EqualsToken
);
2683
N(SyntaxKind.
EqualsToken
);
2929
N(SyntaxKind.
EqualsToken
);
2980
N(SyntaxKind.
EqualsToken
);
3026
N(SyntaxKind.
EqualsToken
);
Parsing\TypeArgumentListParsingTests.cs (45)
74
N(SyntaxKind.
EqualsToken
);
120
N(SyntaxKind.
EqualsToken
);
190
N(SyntaxKind.
EqualsToken
);
248
N(SyntaxKind.
EqualsToken
);
318
N(SyntaxKind.
EqualsToken
);
368
N(SyntaxKind.
EqualsToken
);
451
N(SyntaxKind.
EqualsToken
);
514
N(SyntaxKind.
EqualsToken
);
599
N(SyntaxKind.
EqualsToken
);
670
N(SyntaxKind.
EqualsToken
);
746
N(SyntaxKind.
EqualsToken
);
778
N(SyntaxKind.
EqualsToken
);
791
N(SyntaxKind.
EqualsToken
);
814
N(SyntaxKind.
EqualsToken
);
851
N(SyntaxKind.
EqualsToken
);
1059
N(SyntaxKind.
EqualsToken
);
1119
N(SyntaxKind.
EqualsToken
);
1198
N(SyntaxKind.
EqualsToken
);
1261
N(SyntaxKind.
EqualsToken
);
1340
N(SyntaxKind.
EqualsToken
);
1403
N(SyntaxKind.
EqualsToken
);
1473
N(SyntaxKind.
EqualsToken
);
1523
N(SyntaxKind.
EqualsToken
);
1593
N(SyntaxKind.
EqualsToken
);
1624
N(SyntaxKind.
EqualsToken
);
1697
N(SyntaxKind.
EqualsToken
);
1719
N(SyntaxKind.
EqualsToken
);
1798
N(SyntaxKind.
EqualsToken
);
1853
N(SyntaxKind.
EqualsToken
);
1920
N(SyntaxKind.
EqualsToken
);
1980
N(SyntaxKind.
EqualsToken
);
2053
N(SyntaxKind.
EqualsToken
);
2117
N(SyntaxKind.
EqualsToken
);
2187
N(SyntaxKind.
EqualsToken
);
2251
N(SyntaxKind.
EqualsToken
);
2318
N(SyntaxKind.
EqualsToken
);
2349
N(SyntaxKind.
EqualsToken
);
2419
N(SyntaxKind.
EqualsToken
);
2458
N(SyntaxKind.
EqualsToken
);
2528
N(SyntaxKind.
EqualsToken
);
2559
N(SyntaxKind.
EqualsToken
);
2630
N(SyntaxKind.
EqualsToken
);
2677
N(SyntaxKind.
EqualsToken
);
2748
N(SyntaxKind.
EqualsToken
);
2809
N(SyntaxKind.
EqualsToken
);
Parsing\UsingDirectiveParsingTests.cs (60)
386
N(SyntaxKind.
EqualsToken
);
637
N(SyntaxKind.
EqualsToken
);
689
N(SyntaxKind.
EqualsToken
);
741
N(SyntaxKind.
EqualsToken
);
801
N(SyntaxKind.
EqualsToken
);
933
N(SyntaxKind.
EqualsToken
);
970
N(SyntaxKind.
EqualsToken
);
1007
N(SyntaxKind.
EqualsToken
);
1047
N(SyntaxKind.
EqualsToken
);
1091
N(SyntaxKind.
EqualsToken
);
1136
N(SyntaxKind.
EqualsToken
);
1178
N(SyntaxKind.
EqualsToken
);
1226
N(SyntaxKind.
EqualsToken
);
1255
N(SyntaxKind.
EqualsToken
);
1298
N(SyntaxKind.
EqualsToken
);
1328
N(SyntaxKind.
EqualsToken
);
1373
N(SyntaxKind.
EqualsToken
);
1403
N(SyntaxKind.
EqualsToken
);
1449
N(SyntaxKind.
EqualsToken
);
1478
N(SyntaxKind.
EqualsToken
);
1533
N(SyntaxKind.
EqualsToken
);
1563
N(SyntaxKind.
EqualsToken
);
1614
N(SyntaxKind.
EqualsToken
);
1671
N(SyntaxKind.
EqualsToken
);
1713
N(SyntaxKind.
EqualsToken
);
1777
N(SyntaxKind.
EqualsToken
);
1819
N(SyntaxKind.
EqualsToken
);
1876
N(SyntaxKind.
EqualsToken
);
1923
N(SyntaxKind.
EqualsToken
);
1967
N(SyntaxKind.
EqualsToken
);
2017
N(SyntaxKind.
EqualsToken
);
2042
N(SyntaxKind.
EqualsToken
);
2092
N(SyntaxKind.
EqualsToken
);
2117
N(SyntaxKind.
EqualsToken
);
2163
N(SyntaxKind.
EqualsToken
);
2237
N(SyntaxKind.
EqualsToken
);
2314
N(SyntaxKind.
EqualsToken
);
2395
N(SyntaxKind.
EqualsToken
);
2471
N(SyntaxKind.
EqualsToken
);
2542
N(SyntaxKind.
EqualsToken
);
2649
N(SyntaxKind.
EqualsToken
);
2746
N(SyntaxKind.
EqualsToken
);
2891
N(SyntaxKind.
EqualsToken
);
3021
N(SyntaxKind.
EqualsToken
);
3119
N(SyntaxKind.
EqualsToken
);
3219
N(SyntaxKind.
EqualsToken
);
3240
N(SyntaxKind.
EqualsToken
);
3283
N(SyntaxKind.
EqualsToken
);
3304
N(SyntaxKind.
EqualsToken
);
3347
N(SyntaxKind.
EqualsToken
);
3368
N(SyntaxKind.
EqualsToken
);
3417
N(SyntaxKind.
EqualsToken
);
3446
N(SyntaxKind.
EqualsToken
);
3535
N(SyntaxKind.
EqualsToken
);
3588
N(SyntaxKind.
EqualsToken
);
3635
N(SyntaxKind.
EqualsToken
);
3720
N(SyntaxKind.
EqualsToken
);
3870
N(SyntaxKind.
EqualsToken
);
4023
N(SyntaxKind.
EqualsToken
);
4068
N(SyntaxKind.
EqualsToken
);
Parsing\ValueTupleTests.cs (3)
251
N(SyntaxKind.
EqualsToken
);
355
N(SyntaxKind.
EqualsToken
);
642
N(SyntaxKind.
EqualsToken
);
Parsing\VerbatimCrefParsingTests.cs (4)
46
N(SyntaxKind.
EqualsToken
);
65
N(SyntaxKind.
EqualsToken
);
85
N(SyntaxKind.
EqualsToken
);
106
N(SyntaxKind.
EqualsToken
);
Syntax\SyntaxTreeTests.cs (6)
640
N(SyntaxKind.
EqualsToken
);
686
N(SyntaxKind.
EqualsToken
);
726
N(SyntaxKind.
EqualsToken
);
785
N(SyntaxKind.
EqualsToken
);
1191
N(SyntaxKind.
EqualsToken
);
1208
N(SyntaxKind.
EqualsToken
);
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
AssignmentExpressionSyntaxExtensions.cs (1)
17
assignment.OperatorToken.Kind() == SyntaxKind.
EqualsToken
&&
Classification\ClassificationHelpers.cs (1)
404
case SyntaxKind.
EqualsToken
:
CSharpSemanticFacts.cs (1)
284
AssignmentExpressionSyntax _ when token.Kind() == SyntaxKind.
EqualsToken
=> GetDeconstructionAssignmentMethods(semanticModel, node).As<ISymbol>(),
CSharpTypeInferenceService.TypeInferrer.cs (2)
430
previousToken.GetPreviousToken().Kind() is SyntaxKind.
EqualsToken
or SyntaxKind.OpenParenToken or SyntaxKind.CommaToken)
814
if (previousToken.HasValue && previousToken.Value.GetPreviousToken().Kind() == SyntaxKind.
EqualsToken
)
FormattingHelpers.cs (1)
277
return token.IsKind(SyntaxKind.
EqualsToken
) &&
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs\SyntaxTreeExtensions.cs (7)
648
if (token.GetNextToken(includeSkipped: true).Kind() != SyntaxKind.
EqualsToken
&&
794
if (token.IsKind(SyntaxKind.
EqualsToken
) &&
2065
if (token.IsKind(SyntaxKind.
EqualsToken
) &&
2117
if (token.IsKind(SyntaxKind.
EqualsToken
) &&
2197
if (token.IsKind(SyntaxKind.
EqualsToken
))
2219
if (token.IsKind(SyntaxKind.
EqualsToken
) ||
2494
if (!token.IntersectsWith(position) && token.GetNextToken().GetNextToken().IsKind(SyntaxKind.
EqualsToken
))
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
242
if (token.IsKind(SyntaxKind.
EqualsToken
))