426 references to SimpleAssignmentExpression
Microsoft.AspNetCore.App.Analyzers (1)
RouteEmbeddedLanguage\Infrastructure\SyntaxNodeExtensions.cs (1)
71exprStatement.Expression.IsKind(SyntaxKind.SimpleAssignmentExpression);
Microsoft.AspNetCore.App.CodeFixes (1)
Http\HeaderDictionaryAddFixer.cs (1)
125SyntaxKind.SimpleAssignmentExpression,
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_Deconstruct.cs (1)
184Debug.Assert(parent.Kind() == SyntaxKind.SimpleAssignmentExpression);
Binder\Binder_Expressions.cs (3)
625case SyntaxKind.SimpleAssignmentExpression: 5671case SyntaxKind.SimpleAssignmentExpression: 6065Debug.Assert(memberInitializerSyntax.Kind() == SyntaxKind.SimpleAssignmentExpression);
Binder\Binder_Operators.cs (1)
3028case SyntaxKind.SimpleAssignmentExpression:
Compilation\CSharpSemanticModel.cs (1)
620initializer.Parent.Kind() == SyntaxKind.SimpleAssignmentExpression &&
Parser\LanguageParser.cs (6)
10679case SyntaxKind.SimpleAssignmentExpression: 10735case SyntaxKind.SimpleAssignmentExpression: 11132if (operatorExpressionKind == SyntaxKind.SimpleAssignmentExpression && CurrentToken.Kind == SyntaxKind.RefKeyword && 12947Kind: SyntaxKind.SimpleAssignmentExpression, 13001SyntaxKind.SimpleAssignmentExpression, 13012SyntaxKind.SimpleAssignmentExpression,
Symbols\Source\SourceLocalSymbol.cs (2)
684case SyntaxKind.SimpleAssignmentExpression: 710case SyntaxKind.SimpleAssignmentExpression:
Syntax\SyntaxExtensions.cs (1)
366case SyntaxKind.SimpleAssignmentExpression:
Syntax\SyntaxFacts.cs (1)
402case SimpleAssignmentExpression:
Syntax\SyntaxKindFacts.cs (2)
686case SyntaxKind.SimpleAssignmentExpression: 743return SyntaxKind.SimpleAssignmentExpression;
Syntax\SyntaxNodeExtensions.cs (1)
178case SyntaxKind.SimpleAssignmentExpression:
Microsoft.CodeAnalysis.CSharp.CodeStyle (22)
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (1)
39if (nodeToGenerate == SyntaxKind.SimpleAssignmentExpression &&
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
233if (setExpression is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression)
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
23=> SyntaxKind.SimpleAssignmentExpression;
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (2)
76if (assignment.Kind() != SyntaxKind.SimpleAssignmentExpression) 113assignment = whenTrue is ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignmentTemp }
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
353if (anonymousFunction?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment &&
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
54SyntaxKind.SimpleAssignmentExpression,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
301case SyntaxKind.SimpleAssignmentExpression:
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
472if (assignmentExpression.Kind() != SyntaxKind.SimpleAssignmentExpression)
src\Analyzers\CSharp\Analyzers\UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
139if (assignmentStatement is not ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment })
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\AssignmentExpressionSyntaxExtensions.cs (1)
16return assignment.Kind() == SyntaxKind.SimpleAssignmentExpression &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
299case SyntaxKind.SimpleAssignmentExpression: 826case SyntaxKind.SimpleAssignmentExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
283=> node is AssignmentExpressionSyntax(kind: not SyntaxKind.SimpleAssignmentExpression); 286=> node?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (3)
405if (expression.Kind() == SyntaxKind.SimpleAssignmentExpression) 433parent.IsKind(SyntaxKind.SimpleAssignmentExpression)) 452parent.IsKind(SyntaxKind.SimpleAssignmentExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (4)
663else if (objectInitializer?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment) 1306exprStatement.Expression.IsKind(SyntaxKind.SimpleAssignmentExpression); 1573=> node is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) { Left: IdentifierNameSyntax }; 1576=> node is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) { Left: ImplicitElementAccessSyntax };
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (7)
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
56.FirstOrDefault(n => n.Kind() is SyntaxKind.SimpleAssignmentExpression or SyntaxKind.ForEachVariableStatement or SyntaxKind.PositionalPatternClause);
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
141SyntaxKind.SimpleAssignmentExpression,
src\Analyzers\CSharp\CodeFixes\UseTupleSwap\CSharpUseTupleSwapCodeFixProvider.cs (1)
62SyntaxKind.SimpleAssignmentExpression,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
253kind: SyntaxKind.SimpleAssignmentExpression,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (3)
320argument.Parent.Parent.IsParentKind(SyntaxKind.SimpleAssignmentExpression) && 966if (binop.Kind() == SyntaxKind.SimpleAssignmentExpression && 1398else if (initializerExpression.IsParentKind(SyntaxKind.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.Emit3.UnitTests (2)
Semantics\OutVarTests.cs (2)
1233case SyntaxKind.SimpleAssignmentExpression: 1342case SyntaxKind.SimpleAssignmentExpression:
Microsoft.CodeAnalysis.CSharp.Features (23)
CodeRefactorings\InlineTemporary\InlineTemporaryCodeRefactoringProvider.cs (1)
447else if (parent?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment)
Completion\CompletionProviders\ObjectAndWithInitializerCompletionProvider.cs (1)
157if (parent.IsKind(SyntaxKind.SimpleAssignmentExpression))
Completion\KeywordRecommenders\RefKeywordRecommender.cs (1)
208return parent?.Kind() == SyntaxKind.SimpleAssignmentExpression
ConvertLinq\CSharpConvertLinqQueryToForEachProvider.cs (1)
481case SyntaxKind.SimpleAssignmentExpression:
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.cs (1)
525SyntaxKind.SimpleAssignmentExpression,
ExtractMethod\CSharpMethodExtractor.PostProcessor.cs (1)
275assignment.Expression.Kind() != SyntaxKind.SimpleAssignmentExpression)
IntroduceVariable\CSharpIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
116SyntaxKind.SimpleAssignmentExpression,
RemoveUnusedVariable\CSharpRemoveUnusedVariableCodeFixProvider.cs (2)
41if (node.Kind() == SyntaxKind.SimpleAssignmentExpression) 61case SyntaxKind.SimpleAssignmentExpression:
ReplaceMethodWithProperty\CSharpReplaceMethodWithPropertyService.cs (1)
344SyntaxKind.SimpleAssignmentExpression, currentInvocation.Expression, argumentExpression);
src\Analyzers\CSharp\Analyzers\ConvertSwitchStatementToExpression\ConvertSwitchStatementToExpressionDiagnosticAnalyzer.Analyzer.cs (1)
39if (nodeToGenerate == SyntaxKind.SimpleAssignmentExpression &&
src\Analyzers\CSharp\Analyzers\UseAutoProperty\CSharpUseAutoPropertyAnalyzer.cs (1)
233if (setExpression is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression)
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
23=> SyntaxKind.SimpleAssignmentExpression;
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundCoalesceAssignmentDiagnosticAnalyzer.cs (2)
76if (assignment.Kind() != SyntaxKind.SimpleAssignmentExpression) 113assignment = whenTrue is ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignmentTemp }
src\Analyzers\CSharp\Analyzers\UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs (1)
353if (anonymousFunction?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment &&
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
54SyntaxKind.SimpleAssignmentExpression,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
301case SyntaxKind.SimpleAssignmentExpression:
src\Analyzers\CSharp\Analyzers\UsePrimaryConstructor\CSharpUsePrimaryConstructorDiagnosticAnalyzer.cs (1)
472if (assignmentExpression.Kind() != SyntaxKind.SimpleAssignmentExpression)
src\Analyzers\CSharp\Analyzers\UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs (1)
139if (assignmentStatement is not ExpressionStatementSyntax { Expression: AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment })
src\Analyzers\CSharp\CodeFixes\GenerateMethod\GenerateDeconstructMethodCodeFixProvider.cs (1)
56.FirstOrDefault(n => n.Kind() is SyntaxKind.SimpleAssignmentExpression or SyntaxKind.ForEachVariableStatement or SyntaxKind.PositionalPatternClause);
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
141SyntaxKind.SimpleAssignmentExpression,
src\Analyzers\CSharp\CodeFixes\UseTupleSwap\CSharpUseTupleSwapCodeFixProvider.cs (1)
62SyntaxKind.SimpleAssignmentExpression,
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\ObjectAndCollectionInitializerTests.cs (3)
3694Assert.Equal(SyntaxKind.SimpleAssignmentExpression, listAssignment.Kind()); 3744Assert.Equal(SyntaxKind.SimpleAssignmentExpression, listAssignment.Kind()); 3788Assert.Equal(SyntaxKind.SimpleAssignmentExpression, listAssignment.Kind());
Semantics\UnsafeTests.cs (2)
8865if (binOpSyntax.Kind() == SyntaxKind.SimpleAssignmentExpression) 9327if (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 (272)
Generated\Syntax.Test.xml.Generated.cs (2)
110=> InternalSyntaxFactory.AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, GenerateIdentifierName(), InternalSyntaxFactory.Token(SyntaxKind.EqualsToken), GenerateIdentifierName()); 10326=> 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:
IncrementalParsing\IncrementalParsingTests.cs (1)
722N(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\CollectionExpressionParsingTests.cs (20)
58N(SyntaxKind.SimpleAssignmentExpression); 704N(SyntaxKind.SimpleAssignmentExpression); 830N(SyntaxKind.SimpleAssignmentExpression); 1121N(SyntaxKind.SimpleAssignmentExpression); 1192N(SyntaxKind.SimpleAssignmentExpression); 1248N(SyntaxKind.SimpleAssignmentExpression); 1482N(SyntaxKind.SimpleAssignmentExpression); 1553N(SyntaxKind.SimpleAssignmentExpression); 1585N(SyntaxKind.SimpleAssignmentExpression); 1631N(SyntaxKind.SimpleAssignmentExpression); 1684N(SyntaxKind.SimpleAssignmentExpression); 1727N(SyntaxKind.SimpleAssignmentExpression); 1770N(SyntaxKind.SimpleAssignmentExpression); 1808N(SyntaxKind.SimpleAssignmentExpression); 6555N(SyntaxKind.SimpleAssignmentExpression); 7801N(SyntaxKind.SimpleAssignmentExpression); 7847N(SyntaxKind.SimpleAssignmentExpression); 7903N(SyntaxKind.SimpleAssignmentExpression); 15336N(SyntaxKind.SimpleAssignmentExpression); 15452N(SyntaxKind.SimpleAssignmentExpression);
Parsing\DeclarationExpressionTests.cs (3)
939N(SyntaxKind.SimpleAssignmentExpression); 1251N(SyntaxKind.SimpleAssignmentExpression); 1306N(SyntaxKind.SimpleAssignmentExpression);
Parsing\DeclarationParsingTests.cs (2)
4528Assert.Equal(SyntaxKind.SimpleAssignmentExpression, es.Expression.Kind()); 4584Assert.Equal(SyntaxKind.SimpleAssignmentExpression, xs.Expression.Kind());
Parsing\DeclarationScopeParsingTests.cs (25)
3496N(SyntaxKind.SimpleAssignmentExpression); 3563N(SyntaxKind.SimpleAssignmentExpression); 3786N(SyntaxKind.SimpleAssignmentExpression); 4025N(SyntaxKind.SimpleAssignmentExpression); 4165N(SyntaxKind.SimpleAssignmentExpression); 4313N(SyntaxKind.SimpleAssignmentExpression); 4463N(SyntaxKind.SimpleAssignmentExpression); 4534N(SyntaxKind.SimpleAssignmentExpression); 4609N(SyntaxKind.SimpleAssignmentExpression); 4685N(SyntaxKind.SimpleAssignmentExpression); 4760N(SyntaxKind.SimpleAssignmentExpression); 4831N(SyntaxKind.SimpleAssignmentExpression); 4902N(SyntaxKind.SimpleAssignmentExpression); 4977N(SyntaxKind.SimpleAssignmentExpression); 5053N(SyntaxKind.SimpleAssignmentExpression); 5120N(SyntaxKind.SimpleAssignmentExpression); 5384N(SyntaxKind.SimpleAssignmentExpression); 5437N(SyntaxKind.SimpleAssignmentExpression); 5507N(SyntaxKind.SimpleAssignmentExpression); 5560N(SyntaxKind.SimpleAssignmentExpression); 5639N(SyntaxKind.SimpleAssignmentExpression); 5710N(SyntaxKind.SimpleAssignmentExpression); 5873N(SyntaxKind.SimpleAssignmentExpression); 11652N(SyntaxKind.SimpleAssignmentExpression); 11711N(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); 6160N(SyntaxKind.SimpleAssignmentExpression); 6802N(SyntaxKind.SimpleAssignmentExpression);
Parsing\FieldKeywordParsingTests.cs (9)
300N(SyntaxKind.SimpleAssignmentExpression); 570N(SyntaxKind.SimpleAssignmentExpression); 637N(SyntaxKind.SimpleAssignmentExpression); 721N(SyntaxKind.SimpleAssignmentExpression); 814N(SyntaxKind.SimpleAssignmentExpression); 1511N(SyntaxKind.SimpleAssignmentExpression); 1589N(SyntaxKind.SimpleAssignmentExpression); 1653N(SyntaxKind.SimpleAssignmentExpression); 1803N(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 (14)
928N(SyntaxKind.SimpleAssignmentExpression); 1004N(SyntaxKind.SimpleAssignmentExpression); 1063N(SyntaxKind.SimpleAssignmentExpression); 2259N(SyntaxKind.SimpleAssignmentExpression); 2321N(SyntaxKind.SimpleAssignmentExpression); 2383N(SyntaxKind.SimpleAssignmentExpression); 2450N(SyntaxKind.SimpleAssignmentExpression); 2717N(SyntaxKind.SimpleAssignmentExpression); 2749N(SyntaxKind.SimpleAssignmentExpression); 2811N(SyntaxKind.SimpleAssignmentExpression); 2844N(SyntaxKind.SimpleAssignmentExpression); 3647N(SyntaxKind.SimpleAssignmentExpression); 4353N(SyntaxKind.SimpleAssignmentExpression); 4487N(SyntaxKind.SimpleAssignmentExpression);
Parsing\LambdaParameterParsingTests.cs (8)
2244N(SyntaxKind.SimpleAssignmentExpression); 3291N(SyntaxKind.SimpleAssignmentExpression); 3618N(SyntaxKind.SimpleAssignmentExpression); 4363N(SyntaxKind.SimpleAssignmentExpression); 4430N(SyntaxKind.SimpleAssignmentExpression); 4509N(SyntaxKind.SimpleAssignmentExpression); 4737N(SyntaxKind.SimpleAssignmentExpression); 5319N(SyntaxKind.SimpleAssignmentExpression);
Parsing\LambdaReturnTypeParsingTests.cs (2)
2884N(SyntaxKind.SimpleAssignmentExpression); 2927N(SyntaxKind.SimpleAssignmentExpression);
Parsing\MemberDeclarationParsingTests.cs (5)
2292N(SyntaxKind.SimpleAssignmentExpression); 16192N(SyntaxKind.SimpleAssignmentExpression); 16345N(SyntaxKind.SimpleAssignmentExpression); 16758N(SyntaxKind.SimpleAssignmentExpression); 16939N(SyntaxKind.SimpleAssignmentExpression);
Parsing\NullableParsingTests.cs (2)
1787N(SyntaxKind.SimpleAssignmentExpression); 1823N(SyntaxKind.SimpleAssignmentExpression);
Parsing\ParsingErrorRecoveryTests.cs (8)
5240N(SyntaxKind.SimpleAssignmentExpression); 5352N(SyntaxKind.SimpleAssignmentExpression); 5365N(SyntaxKind.SimpleAssignmentExpression); 5378N(SyntaxKind.SimpleAssignmentExpression); 5391N(SyntaxKind.SimpleAssignmentExpression); 5499N(SyntaxKind.SimpleAssignmentExpression); 5612N(SyntaxKind.SimpleAssignmentExpression); 5749N(SyntaxKind.SimpleAssignmentExpression);
Parsing\PatternParsingTests.cs (60)
8271N(SyntaxKind.SimpleAssignmentExpression); 8333N(SyntaxKind.SimpleAssignmentExpression); 8392N(SyntaxKind.SimpleAssignmentExpression); 8441N(SyntaxKind.SimpleAssignmentExpression); 8519N(SyntaxKind.SimpleAssignmentExpression); 8689N(SyntaxKind.SimpleAssignmentExpression); 8863N(SyntaxKind.SimpleAssignmentExpression); 9022N(SyntaxKind.SimpleAssignmentExpression); 9129N(SyntaxKind.SimpleAssignmentExpression); 9167N(SyntaxKind.SimpleAssignmentExpression); 9213N(SyntaxKind.SimpleAssignmentExpression); 9258N(SyntaxKind.SimpleAssignmentExpression); 9298N(SyntaxKind.SimpleAssignmentExpression); 9364N(SyntaxKind.SimpleAssignmentExpression); 9411N(SyntaxKind.SimpleAssignmentExpression); 9466N(SyntaxKind.SimpleAssignmentExpression); 9524N(SyntaxKind.SimpleAssignmentExpression); 9590N(SyntaxKind.SimpleAssignmentExpression); 9652N(SyntaxKind.SimpleAssignmentExpression); 9716N(SyntaxKind.SimpleAssignmentExpression); 9769N(SyntaxKind.SimpleAssignmentExpression); 9908N(SyntaxKind.SimpleAssignmentExpression); 9948N(SyntaxKind.SimpleAssignmentExpression); 9996N(SyntaxKind.SimpleAssignmentExpression); 10044N(SyntaxKind.SimpleAssignmentExpression); 10099N(SyntaxKind.SimpleAssignmentExpression); 10146N(SyntaxKind.SimpleAssignmentExpression); 10194N(SyntaxKind.SimpleAssignmentExpression); 10342N(SyntaxKind.SimpleAssignmentExpression); 10383N(SyntaxKind.SimpleAssignmentExpression); 10424N(SyntaxKind.SimpleAssignmentExpression); 10465N(SyntaxKind.SimpleAssignmentExpression); 10520N(SyntaxKind.SimpleAssignmentExpression); 10565N(SyntaxKind.SimpleAssignmentExpression); 10638N(SyntaxKind.SimpleAssignmentExpression); 10675N(SyntaxKind.SimpleAssignmentExpression); 10716N(SyntaxKind.SimpleAssignmentExpression); 10758N(SyntaxKind.SimpleAssignmentExpression); 10811N(SyntaxKind.SimpleAssignmentExpression); 10860N(SyntaxKind.SimpleAssignmentExpression); 10917N(SyntaxKind.SimpleAssignmentExpression); 10978N(SyntaxKind.SimpleAssignmentExpression); 11029N(SyntaxKind.SimpleAssignmentExpression); 11081N(SyntaxKind.SimpleAssignmentExpression); 11134N(SyntaxKind.SimpleAssignmentExpression); 11191N(SyntaxKind.SimpleAssignmentExpression); 11364N(SyntaxKind.SimpleAssignmentExpression); 11407N(SyntaxKind.SimpleAssignmentExpression); 11558N(SyntaxKind.SimpleAssignmentExpression); 11618N(SyntaxKind.SimpleAssignmentExpression); 11676N(SyntaxKind.SimpleAssignmentExpression); 11807N(SyntaxKind.SimpleAssignmentExpression); 11880N(SyntaxKind.SimpleAssignmentExpression); 11988N(SyntaxKind.SimpleAssignmentExpression); 12047N(SyntaxKind.SimpleAssignmentExpression); 12128N(SyntaxKind.SimpleAssignmentExpression); 12223N(SyntaxKind.SimpleAssignmentExpression); 12329N(SyntaxKind.SimpleAssignmentExpression); 12424N(SyntaxKind.SimpleAssignmentExpression); 12529N(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)
4060N(SyntaxKind.SimpleAssignmentExpression);
Parsing\StatementParsingTests.cs (4)
2738N(SyntaxKind.SimpleAssignmentExpression); 4067N(SyntaxKind.SimpleAssignmentExpression); 4126N(SyntaxKind.SimpleAssignmentExpression); 4253N(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)
112N(SyntaxKind.SimpleAssignmentExpression); 240N(SyntaxKind.SimpleAssignmentExpression); 360N(SyntaxKind.SimpleAssignmentExpression); 498N(SyntaxKind.SimpleAssignmentExpression); 654N(SyntaxKind.SimpleAssignmentExpression); 1103N(SyntaxKind.SimpleAssignmentExpression); 1245N(SyntaxKind.SimpleAssignmentExpression); 1387N(SyntaxKind.SimpleAssignmentExpression); 1515N(SyntaxKind.SimpleAssignmentExpression); 1616N(SyntaxKind.SimpleAssignmentExpression); 1711N(SyntaxKind.SimpleAssignmentExpression); 1845N(SyntaxKind.SimpleAssignmentExpression); 1919N(SyntaxKind.SimpleAssignmentExpression); 2109N(SyntaxKind.SimpleAssignmentExpression); 2243N(SyntaxKind.SimpleAssignmentExpression); 2317N(SyntaxKind.SimpleAssignmentExpression); 2418N(SyntaxKind.SimpleAssignmentExpression); 2527N(SyntaxKind.SimpleAssignmentExpression); 2629N(SyntaxKind.SimpleAssignmentExpression); 2747N(SyntaxKind.SimpleAssignmentExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (20)
Classification\SyntaxClassification\OperatorOverloadSyntaxClassifier.cs (1)
35if (syntax.IsKind(SyntaxKind.SimpleAssignmentExpression))
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3302=> SyntaxFactory.AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, (ExpressionSyntax)left, (ExpressionSyntax)Parenthesize(right));
Simplification\CSharpSimplificationService.cs (1)
211if (parent.IsKind(SyntaxKind.SimpleAssignmentExpression))
Simplification\CSharpSimplificationService.Expander.cs (1)
875return currentNode.Kind() == SyntaxKind.SimpleAssignmentExpression &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\AssignmentExpressionSyntaxExtensions.cs (1)
16return assignment.Kind() == SyntaxKind.SimpleAssignmentExpression &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (2)
299case SyntaxKind.SimpleAssignmentExpression: 826case SyntaxKind.SimpleAssignmentExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxNodeExtensions.cs (2)
283=> node is AssignmentExpressionSyntax(kind: not SyntaxKind.SimpleAssignmentExpression); 286=> node?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\FormattingHelpers.cs (3)
405if (expression.Kind() == SyntaxKind.SimpleAssignmentExpression) 433parent.IsKind(SyntaxKind.SimpleAssignmentExpression)) 452parent.IsKind(SyntaxKind.SimpleAssignmentExpression))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxFacts.cs (4)
663else if (objectInitializer?.Parent is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) assignment) 1306exprStatement.Expression.IsKind(SyntaxKind.SimpleAssignmentExpression); 1573=> node is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) { Left: IdentifierNameSyntax }; 1576=> node is AssignmentExpressionSyntax(SyntaxKind.SimpleAssignmentExpression) { Left: ImplicitElementAccessSyntax };
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
253kind: SyntaxKind.SimpleAssignmentExpression,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (3)
320argument.Parent.Parent.IsParentKind(SyntaxKind.SimpleAssignmentExpression) && 966if (binop.Kind() == SyntaxKind.SimpleAssignmentExpression && 1398else if (initializerExpression.IsParentKind(SyntaxKind.SimpleAssignmentExpression))
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\ControlFlowGraphVerifier.cs (2)
883RawKind: (int)CSharp.SyntaxKind.SimpleAssignmentExpression, 1146parent.Parent is AssignmentExpressionSyntax assignment && assignment.Kind() == CSharp.SyntaxKind.SimpleAssignmentExpression &&
Diagnostics\OperationTestAnalyzer.cs (1)
2025CSharp.SyntaxKind.SimpleAssignmentExpression);
Microsoft.Interop.ComInterfaceGenerator (8)
ComClassGenerator.cs (4)
148SyntaxKind.SimpleAssignmentExpression, 153SyntaxKind.SimpleAssignmentExpression, 165AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, 172AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
ComInterfaceGenerator.cs (1)
668AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
Marshallers\ComInterfaceDispatchMarshallingResolver.cs (1)
51AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
Marshallers\ManagedHResultExceptionGeneratorResolver.cs (1)
80SyntaxKind.SimpleAssignmentExpression,
VirtualMethodPointerStubGenerator.cs (1)
247AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
Microsoft.Interop.JavaScript.JSImportGenerator (5)
JSExportCodeGenerator.cs (3)
93tryStatements.Add(ExpressionStatement(AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, 144AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, 222SyntaxKind.SimpleAssignmentExpression,
JSImportCodeGenerator.cs (2)
101tryStatements.Add(ExpressionStatement(AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, 149ExpressionStatement(AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
Microsoft.Interop.LibraryImportGenerator (1)
Analyzers\ConvertToLibraryImportFixer.cs (1)
375else if (invocation.Parent.IsKind(SyntaxKind.SimpleAssignmentExpression) && invocation.Parent.Parent.IsKind(SyntaxKind.ExpressionStatement))
Microsoft.Interop.SourceGeneration (29)
GeneratedStatements.cs (2)
119SyntaxKind.SimpleAssignmentExpression, 147SyntaxKind.SimpleAssignmentExpression,
ManagedToNativeStubGenerator.cs (1)
157tryStatements.Add(ExpressionStatement(AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
Marshalling\BlittableMarshaller.cs (2)
76SyntaxKind.SimpleAssignmentExpression, 87SyntaxKind.SimpleAssignmentExpression,
Marshalling\BoolMarshaller.cs (2)
64SyntaxKind.SimpleAssignmentExpression, 85SyntaxKind.SimpleAssignmentExpression,
Marshalling\CharMarshaller.cs (2)
97SyntaxKind.SimpleAssignmentExpression, 109SyntaxKind.SimpleAssignmentExpression,
Marshalling\ElementsMarshalling.cs (2)
119SyntaxKind.SimpleAssignmentExpression, 133SyntaxKind.SimpleAssignmentExpression,
Marshalling\StatelessMarshallingStrategy.cs (16)
41SyntaxKind.SimpleAssignmentExpression, 82assignment = AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, 90SyntaxKind.SimpleAssignmentExpression, 113SyntaxKind.SimpleAssignmentExpression, 197SyntaxKind.SimpleAssignmentExpression, 222SyntaxKind.SimpleAssignmentExpression, 329SyntaxKind.SimpleAssignmentExpression, 350SyntaxKind.SimpleAssignmentExpression, 365SyntaxKind.SimpleAssignmentExpression, 372SyntaxKind.SimpleAssignmentExpression, 400SyntaxKind.SimpleAssignmentExpression, 453SyntaxKind.SimpleAssignmentExpression, 460SyntaxKind.SimpleAssignmentExpression, 590SyntaxKind.SimpleAssignmentExpression, 599SyntaxKind.SimpleAssignmentExpression, 633SyntaxKind.SimpleAssignmentExpression,
Marshalling\UnmanagedToManagedOwnershipTrackingStrategy.cs (1)
43AssignmentExpression(SyntaxKind.SimpleAssignmentExpression,
Utils\SyntaxFactoryExtensions.cs (1)
105=> ExpressionStatement(AssignmentExpression(SyntaxKind.SimpleAssignmentExpression, left, right));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\MethodXml\MethodXmlBuilder.cs (1)
188case SyntaxKind.SimpleAssignmentExpression: