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