343 references to SimpleAssignmentExpression
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Deconstruct.cs (1)
184
Debug.Assert(parent.Kind() == SyntaxKind.
SimpleAssignmentExpression
);
Binder\Binder_Expressions.cs (3)
593
case SyntaxKind.
SimpleAssignmentExpression
:
4869
if (memberInitializer.Kind() == SyntaxKind.
SimpleAssignmentExpression
)
5193
Debug.Assert(memberInitializerSyntax.Kind() == SyntaxKind.
SimpleAssignmentExpression
);
Binder\Binder_Operators.cs (1)
2985
case SyntaxKind.
SimpleAssignmentExpression
:
Compilation\CSharpSemanticModel.cs (1)
620
initializer.Parent.Kind() == SyntaxKind.
SimpleAssignmentExpression
&&
Parser\LanguageParser.cs (6)
10022
case SyntaxKind.
SimpleAssignmentExpression
:
10078
case SyntaxKind.
SimpleAssignmentExpression
:
10516
if (opKind == SyntaxKind.
SimpleAssignmentExpression
&& CurrentToken.Kind == SyntaxKind.RefKeyword &&
12053
Kind: SyntaxKind.
SimpleAssignmentExpression
,
12107
SyntaxKind.
SimpleAssignmentExpression
,
12118
SyntaxKind.
SimpleAssignmentExpression
,
Symbols\Source\SourceLocalSymbol.cs (2)
668
case SyntaxKind.
SimpleAssignmentExpression
:
694
case SyntaxKind.
SimpleAssignmentExpression
:
Syntax\SyntaxExtensions.cs (1)
366
case SyntaxKind.
SimpleAssignmentExpression
:
Syntax\SyntaxFacts.cs (1)
402
case
SimpleAssignmentExpression
:
Syntax\SyntaxKindFacts.cs (2)
658
case SyntaxKind.
SimpleAssignmentExpression
:
715
return SyntaxKind.
SimpleAssignmentExpression
;
Syntax\SyntaxNodeExtensions.cs (1)
178
case SyntaxKind.
SimpleAssignmentExpression
:
Microsoft.CodeAnalysis.CSharp.CodeStyle (20)
AnalyzedPattern.cs (1)
52
SyntaxKind.
SimpleAssignmentExpression
,
AssignmentExpressionSyntaxExtensions.cs (1)
16
return assignment.Kind() == SyntaxKind.
SimpleAssignmentExpression
&&
ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (1)
39
if (nodeToGenerate == SyntaxKind.
SimpleAssignmentExpression
&&
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
291
case SyntaxKind.
SimpleAssignmentExpression
:
CSharpSyntaxFacts.cs (4)
661
else if (objectInitializer?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment)
1293
exprStatement.Expression.IsKind(SyntaxKind.
SimpleAssignmentExpression
);
1554
=> node is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) { Left: IdentifierNameSyntax };
1557
=> node is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) { Left: ImplicitElementAccessSyntax };
CSharpUseAutoPropertyAnalyzer.cs (1)
198
if (setExpression is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
)
CSharpUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
23
=> SyntaxKind.
SimpleAssignmentExpression
;
CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (2)
76
if (assignment.Kind() != SyntaxKind.
SimpleAssignmentExpression
)
112
assignment = whenTrue is ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignmentTemp }
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
318
if (anonymousFunction?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment &&
CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
140
if (assignmentStatement is not ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment })
ExpressionSyntaxExtensions.cs (2)
298
case SyntaxKind.
SimpleAssignmentExpression
:
843
case SyntaxKind.
SimpleAssignmentExpression
:
FormattingHelpers.cs (3)
405
if (expression.Kind() == SyntaxKind.
SimpleAssignmentExpression
)
431
parent.IsKind(SyntaxKind.
SimpleAssignmentExpression
))
450
parent.IsKind(SyntaxKind.
SimpleAssignmentExpression
))
SyntaxNodeExtensions.cs (1)
348
=> node?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (6)
CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
246
kind: SyntaxKind.
SimpleAssignmentExpression
,
CSharpTypeInferenceService.TypeInferrer.cs (3)
324
argument.Parent.Parent.IsParentKind(SyntaxKind.
SimpleAssignmentExpression
) &&
986
if (binop.Kind() == SyntaxKind.
SimpleAssignmentExpression
&&
1440
else if (initializerExpression.IsParentKind(SyntaxKind.
SimpleAssignmentExpression
))
CSharpUseDeconstructionCodeFixProvider.cs (1)
144
SyntaxKind.
SimpleAssignmentExpression
,
CSharpUseTupleSwapCodeFixProvider.cs (1)
70
SyntaxKind.
SimpleAssignmentExpression
,
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
CodeGen\CodeGenDeconstructTests.cs (5)
255
var deconstruction = (AssignmentExpressionSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.
SimpleAssignmentExpression
).AsNode();
278
var assignment = (AssignmentExpressionSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.
SimpleAssignmentExpression
, occurrence: 2).AsNode();
2287
var deconstruction = (AssignmentExpressionSyntax)tree.FindNodeOrTokenByKind(SyntaxKind.
SimpleAssignmentExpression
).AsNode();
5001
Assert.False(nodes.Any(n => n.Kind() == SyntaxKind.
SimpleAssignmentExpression
));
5124
Assert.True(nodes.Any(n => n.Kind() == SyntaxKind.
SimpleAssignmentExpression
));
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (2)
CompilationContext.cs (1)
747
if (syntax.Kind() != SyntaxKind.
SimpleAssignmentExpression
)
SyntaxHelpers.cs (1)
79
SyntaxKind.
SimpleAssignmentExpression
,
Microsoft.CodeAnalysis.CSharp.Features (25)
AnalyzedPattern.cs (1)
52
SyntaxKind.
SimpleAssignmentExpression
,
CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
56
.FirstOrDefault(n => n.Kind() is SyntaxKind.
SimpleAssignmentExpression
or SyntaxKind.ForEachVariableStatement or SyntaxKind.PositionalPatternClause);
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
449
else if (parent?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment)
Completion\CompletionProviders\ObjectAndWithInitializerCompletionProvider.cs (1)
158
if (parent.IsKind(SyntaxKind.
SimpleAssignmentExpression
))
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
179
return parent?.Kind() == SyntaxKind.
SimpleAssignmentExpression
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
487
case SyntaxKind.
SimpleAssignmentExpression
:
ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (1)
39
if (nodeToGenerate == SyntaxKind.
SimpleAssignmentExpression
&&
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
291
case SyntaxKind.
SimpleAssignmentExpression
:
CSharpUseAutoPropertyAnalyzer.cs (1)
198
if (setExpression is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
)
CSharpUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
23
=> SyntaxKind.
SimpleAssignmentExpression
;
CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (2)
76
if (assignment.Kind() != SyntaxKind.
SimpleAssignmentExpression
)
112
assignment = whenTrue is ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignmentTemp }
CSharpUseDeconstructionCodeFixProvider.cs (1)
144
SyntaxKind.
SimpleAssignmentExpression
,
CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
318
if (anonymousFunction?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment &&
CSharpUseTupleSwapCodeFixProvider.cs (1)
70
SyntaxKind.
SimpleAssignmentExpression
,
CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
140
if (assignmentStatement is not ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment })
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (3)
1887
case SyntaxKind.
SimpleAssignmentExpression
:
2180
case SyntaxKind.
SimpleAssignmentExpression
:
2883
if (node is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
563
SyntaxKind.
SimpleAssignmentExpression
,
ExtractMethod\CSharpMethodExtractor.PostProcessor.cs (1)
274
assignment.Expression.Kind() != SyntaxKind.
SimpleAssignmentExpression
)
IntroduceVariable\CSharpIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
117
SyntaxKind.
SimpleAssignmentExpression
,
RemoveUnusedVariable\CSharpRemoveUnusedVariableCodeFixProvider.cs (2)
41
if (node.Kind() == SyntaxKind.
SimpleAssignmentExpression
)
61
case SyntaxKind.
SimpleAssignmentExpression
:
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (1)
346
SyntaxKind.
SimpleAssignmentExpression
, currentInvocation.Expression, argumentExpression);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\ObjectAndCollectionInitializerTests.cs (3)
3675
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, listAssignment.Kind());
3725
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, listAssignment.Kind());
3769
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, listAssignment.Kind());
Semantics\OutVarTests.cs (2)
1233
case SyntaxKind.
SimpleAssignmentExpression
:
1342
case SyntaxKind.
SimpleAssignmentExpression
:
Semantics\UnsafeTests.cs (2)
6027
if (binOpSyntax.Kind() == SyntaxKind.
SimpleAssignmentExpression
)
6489
if (binOpSyntax.Kind() == SyntaxKind.
SimpleAssignmentExpression
)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\GetSemanticInfoTests.cs (2)
249
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, v1.Kind());
544
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, v3.Kind());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (234)
Generated\Syntax.Test.xml.Generated.cs (2)
110
=> InternalSyntaxFactory.AssignmentExpression(SyntaxKind.
SimpleAssignmentExpression
, GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName());
10086
=> SyntaxFactory.AssignmentExpression(SyntaxKind.
SimpleAssignmentExpression
, GenerateIdentifierName(), SyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName());
IncrementalParsing\CompoundAssignment.cs (12)
22
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.AddAssignmentExpression);
28
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.SubtractAssignmentExpression);
34
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.MultiplyAssignmentExpression);
40
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.DivideAssignmentExpression);
46
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.ModuloAssignmentExpression);
52
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.ExclusiveOrAssignmentExpression);
58
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.LeftShiftAssignmentExpression);
64
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.RightShiftAssignmentExpression);
70
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.UnsignedRightShiftAssignmentExpression);
76
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.AndAssignmentExpression);
82
MakeAssignmentChange(SyntaxKind.
SimpleAssignmentExpression
, SyntaxKind.OrAssignmentExpression);
115
case SyntaxKind.
SimpleAssignmentExpression
:
Parsing\AnonymousFunctionParsingTests.cs (10)
1184
N(SyntaxKind.
SimpleAssignmentExpression
);
1241
N(SyntaxKind.
SimpleAssignmentExpression
);
1287
N(SyntaxKind.
SimpleAssignmentExpression
);
1354
N(SyntaxKind.
SimpleAssignmentExpression
);
1432
N(SyntaxKind.
SimpleAssignmentExpression
);
1488
N(SyntaxKind.
SimpleAssignmentExpression
);
1542
N(SyntaxKind.
SimpleAssignmentExpression
);
1636
N(SyntaxKind.
SimpleAssignmentExpression
);
1740
N(SyntaxKind.
SimpleAssignmentExpression
);
1817
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\DeclarationExpressionTests.cs (3)
902
N(SyntaxKind.
SimpleAssignmentExpression
);
1214
N(SyntaxKind.
SimpleAssignmentExpression
);
1269
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\DeclarationParsingTests.cs (3)
4528
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, es.Expression.Kind());
4584
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, xs.Expression.Kind());
8161
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\DeclarationScopeParsingTests.cs (34)
3515
N(SyntaxKind.
SimpleAssignmentExpression
);
3582
N(SyntaxKind.
SimpleAssignmentExpression
);
3721
N(SyntaxKind.
SimpleAssignmentExpression
);
3826
N(SyntaxKind.
SimpleAssignmentExpression
);
3863
N(SyntaxKind.
SimpleAssignmentExpression
);
4014
N(SyntaxKind.
SimpleAssignmentExpression
);
4123
N(SyntaxKind.
SimpleAssignmentExpression
);
4160
N(SyntaxKind.
SimpleAssignmentExpression
);
4292
N(SyntaxKind.
SimpleAssignmentExpression
);
4329
N(SyntaxKind.
SimpleAssignmentExpression
);
4469
N(SyntaxKind.
SimpleAssignmentExpression
);
4506
N(SyntaxKind.
SimpleAssignmentExpression
);
4648
N(SyntaxKind.
SimpleAssignmentExpression
);
4685
N(SyntaxKind.
SimpleAssignmentExpression
);
4756
N(SyntaxKind.
SimpleAssignmentExpression
);
4831
N(SyntaxKind.
SimpleAssignmentExpression
);
4907
N(SyntaxKind.
SimpleAssignmentExpression
);
4982
N(SyntaxKind.
SimpleAssignmentExpression
);
5053
N(SyntaxKind.
SimpleAssignmentExpression
);
5124
N(SyntaxKind.
SimpleAssignmentExpression
);
5199
N(SyntaxKind.
SimpleAssignmentExpression
);
5275
N(SyntaxKind.
SimpleAssignmentExpression
);
5342
N(SyntaxKind.
SimpleAssignmentExpression
);
5478
N(SyntaxKind.
SimpleAssignmentExpression
);
5580
N(SyntaxKind.
SimpleAssignmentExpression
);
5664
N(SyntaxKind.
SimpleAssignmentExpression
);
5717
N(SyntaxKind.
SimpleAssignmentExpression
);
5787
N(SyntaxKind.
SimpleAssignmentExpression
);
5840
N(SyntaxKind.
SimpleAssignmentExpression
);
5919
N(SyntaxKind.
SimpleAssignmentExpression
);
5990
N(SyntaxKind.
SimpleAssignmentExpression
);
6153
N(SyntaxKind.
SimpleAssignmentExpression
);
11986
N(SyntaxKind.
SimpleAssignmentExpression
);
12045
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\DeconstructionTests.cs (28)
473
N(SyntaxKind.
SimpleAssignmentExpression
);
624
N(SyntaxKind.
SimpleAssignmentExpression
);
716
N(SyntaxKind.
SimpleAssignmentExpression
);
806
N(SyntaxKind.
SimpleAssignmentExpression
);
919
N(SyntaxKind.
SimpleAssignmentExpression
);
996
N(SyntaxKind.
SimpleAssignmentExpression
);
1157
N(SyntaxKind.
SimpleAssignmentExpression
);
1258
N(SyntaxKind.
SimpleAssignmentExpression
);
1356
N(SyntaxKind.
SimpleAssignmentExpression
);
1587
N(SyntaxKind.
SimpleAssignmentExpression
);
1787
N(SyntaxKind.
SimpleAssignmentExpression
);
1937
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, lhsContent.Expression.Kind());
2429
N(SyntaxKind.
SimpleAssignmentExpression
);
2494
N(SyntaxKind.
SimpleAssignmentExpression
);
2933
N(SyntaxKind.
SimpleAssignmentExpression
);
2973
N(SyntaxKind.
SimpleAssignmentExpression
);
3027
N(SyntaxKind.
SimpleAssignmentExpression
);
3081
N(SyntaxKind.
SimpleAssignmentExpression
);
3140
N(SyntaxKind.
SimpleAssignmentExpression
);
3201
N(SyntaxKind.
SimpleAssignmentExpression
);
3262
N(SyntaxKind.
SimpleAssignmentExpression
);
3307
N(SyntaxKind.
SimpleAssignmentExpression
);
3410
N(SyntaxKind.
SimpleAssignmentExpression
);
3457
N(SyntaxKind.
SimpleAssignmentExpression
);
3519
N(SyntaxKind.
SimpleAssignmentExpression
);
3581
N(SyntaxKind.
SimpleAssignmentExpression
);
3628
N(SyntaxKind.
SimpleAssignmentExpression
);
3676
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\ExpressionParsingTests.cs (5)
1348
Assert.Equal(SyntaxKind.
SimpleAssignmentExpression
, oc.Initializer.Expressions[0].Kind());
4906
N(SyntaxKind.
SimpleAssignmentExpression
);
4938
N(SyntaxKind.
SimpleAssignmentExpression
);
6181
N(SyntaxKind.
SimpleAssignmentExpression
);
6815
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\FileModifierParsingTests.cs (3)
3261
N(SyntaxKind.
SimpleAssignmentExpression
);
3337
N(SyntaxKind.
SimpleAssignmentExpression
);
3381
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\ImplicitObjectCreationParsingTests.cs (2)
514
N(SyntaxKind.
SimpleAssignmentExpression
);
580
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\LambdaAttributeParsingTests.cs (12)
943
N(SyntaxKind.
SimpleAssignmentExpression
);
1019
N(SyntaxKind.
SimpleAssignmentExpression
);
1078
N(SyntaxKind.
SimpleAssignmentExpression
);
2273
N(SyntaxKind.
SimpleAssignmentExpression
);
2328
N(SyntaxKind.
SimpleAssignmentExpression
);
2386
N(SyntaxKind.
SimpleAssignmentExpression
);
2438
N(SyntaxKind.
SimpleAssignmentExpression
);
2705
N(SyntaxKind.
SimpleAssignmentExpression
);
2737
N(SyntaxKind.
SimpleAssignmentExpression
);
2799
N(SyntaxKind.
SimpleAssignmentExpression
);
2832
N(SyntaxKind.
SimpleAssignmentExpression
);
3658
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\LambdaParameterParsingTests.cs (6)
2156
N(SyntaxKind.
SimpleAssignmentExpression
);
3203
N(SyntaxKind.
SimpleAssignmentExpression
);
3530
N(SyntaxKind.
SimpleAssignmentExpression
);
4275
N(SyntaxKind.
SimpleAssignmentExpression
);
4662
N(SyntaxKind.
SimpleAssignmentExpression
);
5239
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\LambdaReturnTypeParsingTests.cs (2)
2811
N(SyntaxKind.
SimpleAssignmentExpression
);
2854
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\MemberDeclarationParsingTests.cs (1)
2298
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\PatternParsingTests.cs (60)
8310
N(SyntaxKind.
SimpleAssignmentExpression
);
8372
N(SyntaxKind.
SimpleAssignmentExpression
);
8431
N(SyntaxKind.
SimpleAssignmentExpression
);
8480
N(SyntaxKind.
SimpleAssignmentExpression
);
8558
N(SyntaxKind.
SimpleAssignmentExpression
);
8728
N(SyntaxKind.
SimpleAssignmentExpression
);
8902
N(SyntaxKind.
SimpleAssignmentExpression
);
9061
N(SyntaxKind.
SimpleAssignmentExpression
);
9168
N(SyntaxKind.
SimpleAssignmentExpression
);
9206
N(SyntaxKind.
SimpleAssignmentExpression
);
9252
N(SyntaxKind.
SimpleAssignmentExpression
);
9297
N(SyntaxKind.
SimpleAssignmentExpression
);
9337
N(SyntaxKind.
SimpleAssignmentExpression
);
9403
N(SyntaxKind.
SimpleAssignmentExpression
);
9450
N(SyntaxKind.
SimpleAssignmentExpression
);
9505
N(SyntaxKind.
SimpleAssignmentExpression
);
9563
N(SyntaxKind.
SimpleAssignmentExpression
);
9629
N(SyntaxKind.
SimpleAssignmentExpression
);
9691
N(SyntaxKind.
SimpleAssignmentExpression
);
9755
N(SyntaxKind.
SimpleAssignmentExpression
);
9808
N(SyntaxKind.
SimpleAssignmentExpression
);
9947
N(SyntaxKind.
SimpleAssignmentExpression
);
9987
N(SyntaxKind.
SimpleAssignmentExpression
);
10035
N(SyntaxKind.
SimpleAssignmentExpression
);
10083
N(SyntaxKind.
SimpleAssignmentExpression
);
10138
N(SyntaxKind.
SimpleAssignmentExpression
);
10185
N(SyntaxKind.
SimpleAssignmentExpression
);
10233
N(SyntaxKind.
SimpleAssignmentExpression
);
10381
N(SyntaxKind.
SimpleAssignmentExpression
);
10422
N(SyntaxKind.
SimpleAssignmentExpression
);
10463
N(SyntaxKind.
SimpleAssignmentExpression
);
10504
N(SyntaxKind.
SimpleAssignmentExpression
);
10559
N(SyntaxKind.
SimpleAssignmentExpression
);
10604
N(SyntaxKind.
SimpleAssignmentExpression
);
10677
N(SyntaxKind.
SimpleAssignmentExpression
);
10714
N(SyntaxKind.
SimpleAssignmentExpression
);
10755
N(SyntaxKind.
SimpleAssignmentExpression
);
10797
N(SyntaxKind.
SimpleAssignmentExpression
);
10850
N(SyntaxKind.
SimpleAssignmentExpression
);
10899
N(SyntaxKind.
SimpleAssignmentExpression
);
10956
N(SyntaxKind.
SimpleAssignmentExpression
);
11017
N(SyntaxKind.
SimpleAssignmentExpression
);
11068
N(SyntaxKind.
SimpleAssignmentExpression
);
11120
N(SyntaxKind.
SimpleAssignmentExpression
);
11173
N(SyntaxKind.
SimpleAssignmentExpression
);
11230
N(SyntaxKind.
SimpleAssignmentExpression
);
11403
N(SyntaxKind.
SimpleAssignmentExpression
);
11446
N(SyntaxKind.
SimpleAssignmentExpression
);
11597
N(SyntaxKind.
SimpleAssignmentExpression
);
11657
N(SyntaxKind.
SimpleAssignmentExpression
);
11715
N(SyntaxKind.
SimpleAssignmentExpression
);
11846
N(SyntaxKind.
SimpleAssignmentExpression
);
11919
N(SyntaxKind.
SimpleAssignmentExpression
);
12027
N(SyntaxKind.
SimpleAssignmentExpression
);
12086
N(SyntaxKind.
SimpleAssignmentExpression
);
12167
N(SyntaxKind.
SimpleAssignmentExpression
);
12262
N(SyntaxKind.
SimpleAssignmentExpression
);
12368
N(SyntaxKind.
SimpleAssignmentExpression
);
12463
N(SyntaxKind.
SimpleAssignmentExpression
);
12568
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\RecordParsing.cs (7)
1544
N(SyntaxKind.
SimpleAssignmentExpression
);
1903
N(SyntaxKind.
SimpleAssignmentExpression
);
1958
N(SyntaxKind.
SimpleAssignmentExpression
);
1975
N(SyntaxKind.
SimpleAssignmentExpression
);
2014
N(SyntaxKind.
SimpleAssignmentExpression
);
2042
N(SyntaxKind.
SimpleAssignmentExpression
);
2084
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\RefFieldParsingTests.cs (4)
711
N(SyntaxKind.
SimpleAssignmentExpression
);
802
N(SyntaxKind.
SimpleAssignmentExpression
);
822
N(SyntaxKind.
SimpleAssignmentExpression
);
892
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\ScriptParsingTests.cs (7)
2012
N(SyntaxKind.
SimpleAssignmentExpression
);
5655
N(SyntaxKind.
SimpleAssignmentExpression
);
5750
N(SyntaxKind.
SimpleAssignmentExpression
);
6411
N(SyntaxKind.
SimpleAssignmentExpression
);
6460
N(SyntaxKind.
SimpleAssignmentExpression
);
6506
N(SyntaxKind.
SimpleAssignmentExpression
);
7488
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\StatementAttributeParsingTests.cs (1)
4059
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\StatementParsingTests.cs (4)
2735
N(SyntaxKind.
SimpleAssignmentExpression
);
4066
N(SyntaxKind.
SimpleAssignmentExpression
);
4125
N(SyntaxKind.
SimpleAssignmentExpression
);
4225
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (6)
80
N(SyntaxKind.
SimpleAssignmentExpression
);
100
N(SyntaxKind.
SimpleAssignmentExpression
);
124
N(SyntaxKind.
SimpleAssignmentExpression
);
152
N(SyntaxKind.
SimpleAssignmentExpression
);
192
N(SyntaxKind.
SimpleAssignmentExpression
);
199
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\TopLevelStatementsParsingTests.cs (2)
42
N(SyntaxKind.
SimpleAssignmentExpression
);
355
N(SyntaxKind.
SimpleAssignmentExpression
);
Parsing\TypeArgumentListParsingTests.cs (20)
114
N(SyntaxKind.
SimpleAssignmentExpression
);
242
N(SyntaxKind.
SimpleAssignmentExpression
);
362
N(SyntaxKind.
SimpleAssignmentExpression
);
500
N(SyntaxKind.
SimpleAssignmentExpression
);
656
N(SyntaxKind.
SimpleAssignmentExpression
);
1105
N(SyntaxKind.
SimpleAssignmentExpression
);
1247
N(SyntaxKind.
SimpleAssignmentExpression
);
1389
N(SyntaxKind.
SimpleAssignmentExpression
);
1517
N(SyntaxKind.
SimpleAssignmentExpression
);
1618
N(SyntaxKind.
SimpleAssignmentExpression
);
1713
N(SyntaxKind.
SimpleAssignmentExpression
);
1847
N(SyntaxKind.
SimpleAssignmentExpression
);
1921
N(SyntaxKind.
SimpleAssignmentExpression
);
2111
N(SyntaxKind.
SimpleAssignmentExpression
);
2245
N(SyntaxKind.
SimpleAssignmentExpression
);
2319
N(SyntaxKind.
SimpleAssignmentExpression
);
2420
N(SyntaxKind.
SimpleAssignmentExpression
);
2529
N(SyntaxKind.
SimpleAssignmentExpression
);
2631
N(SyntaxKind.
SimpleAssignmentExpression
);
2749
N(SyntaxKind.
SimpleAssignmentExpression
);
Microsoft.CodeAnalysis.CSharp.Workspaces (18)
AssignmentExpressionSyntaxExtensions.cs (1)
16
return assignment.Kind() == SyntaxKind.
SimpleAssignmentExpression
&&
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3298
=> SyntaxFactory.AssignmentExpression(SyntaxKind.
SimpleAssignmentExpression
, (ExpressionSyntax)left, (ExpressionSyntax)Parenthesize(right));
CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
246
kind: SyntaxKind.
SimpleAssignmentExpression
,
CSharpSyntaxFacts.cs (4)
661
else if (objectInitializer?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment)
1293
exprStatement.Expression.IsKind(SyntaxKind.
SimpleAssignmentExpression
);
1554
=> node is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) { Left: IdentifierNameSyntax };
1557
=> node is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) { Left: ImplicitElementAccessSyntax };
CSharpTypeInferenceService.TypeInferrer.cs (3)
324
argument.Parent.Parent.IsParentKind(SyntaxKind.
SimpleAssignmentExpression
) &&
986
if (binop.Kind() == SyntaxKind.
SimpleAssignmentExpression
&&
1440
else if (initializerExpression.IsParentKind(SyntaxKind.
SimpleAssignmentExpression
))
FormattingHelpers.cs (3)
405
if (expression.Kind() == SyntaxKind.
SimpleAssignmentExpression
)
431
parent.IsKind(SyntaxKind.
SimpleAssignmentExpression
))
450
parent.IsKind(SyntaxKind.
SimpleAssignmentExpression
))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (2)
298
case SyntaxKind.
SimpleAssignmentExpression
:
843
case SyntaxKind.
SimpleAssignmentExpression
:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs\SyntaxNodeExtensions.cs (1)
348
=> node?.Parent is AssignmentExpressionSyntax(SyntaxKind.
SimpleAssignmentExpression
) assignment &&
Simplification\CSharpSimplificationService.cs (1)
212
if (parent.IsKind(SyntaxKind.
SimpleAssignmentExpression
))
Simplification\CSharpSimplificationService.Expander.cs (1)
874
return currentNode.Kind() == SyntaxKind.
SimpleAssignmentExpression
&&
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\ControlFlowGraphVerifier.cs (3)
553
while (parent != null && parent.Kind() != CSharp.SyntaxKind.
SimpleAssignmentExpression
);
921
RawKind: (int)CSharp.SyntaxKind.
SimpleAssignmentExpression
,
1178
parent.Parent is AssignmentExpressionSyntax assignment && assignment.Kind() == CSharp.SyntaxKind.
SimpleAssignmentExpression
&&
Diagnostics\OperationTestAnalyzer.cs (1)
2025
CSharp.SyntaxKind.
SimpleAssignmentExpression
);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
188
case SyntaxKind.
SimpleAssignmentExpression
: