43 references to LogicalAndExpression
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
650case SyntaxKind.LogicalAndExpression:
Binder\Binder_Operators.cs (3)
891Debug.Assert(node.Kind() == SyntaxKind.LogicalOrExpression || node.Kind() == SyntaxKind.LogicalAndExpression); 904(childAsBinary.Kind() != SyntaxKind.LogicalOrExpression && childAsBinary.Kind() != SyntaxKind.LogicalAndExpression)) 2254case SyntaxKind.LogicalAndExpression: return BinaryOperatorKind.LogicalAnd;
Binder\EarlyWellKnownAttributeBinder.cs (1)
132case SyntaxKind.LogicalAndExpression:
Parser\DirectiveParser.cs (2)
766left = SyntaxFactory.BinaryExpression(SyntaxKind.LogicalAndExpression, left, op, right); 854case SyntaxKind.LogicalAndExpression:
Parser\LanguageParser.cs (1)
10713case SyntaxKind.LogicalAndExpression:
Syntax\SyntaxKindFacts.cs (1)
662return SyntaxKind.LogicalAndExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
36SyntaxKind.LogicalAndExpression,
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
49SyntaxKind.LogicalAndExpression,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (2)
104case SyntaxKind.LogicalAndExpression when !defAssignedWhenTrue: 116case SyntaxKind.LogicalAndExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
801case SyntaxKind.LogicalAndExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
457case SyntaxKind.LogicalAndExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
104public int LogicalAndExpression => (int)SyntaxKind.LogicalAndExpression;
Microsoft.CodeAnalysis.CSharp.Features (12)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (5)
75BinaryExpressionSyntax(LogicalAndExpression) logicalAnd => CombineLogicalAndOperands(logicalAnd, model), 86BinaryExpressionSyntax(LogicalAndExpression) => true, 156if (logicalAnd.Left is BinaryExpressionSyntax(LogicalAndExpression) leftExpression) 177case BinaryExpressionSyntax(LogicalAndExpression) logicalAnd: 356BinaryExpressionSyntax(LogicalAndExpression) expr => TryDetermineReceiver(inWhenClause ? expr.Left : expr.Right, model, inWhenClause),
ConvertIfToSwitch\CSharpConvertIfToSwitchCodeRefactoringProvider.Rewriting.cs (1)
85.AggregateOrDefault((prev, current) => BinaryExpression(SyntaxKind.LogicalAndExpression, prev, current)));
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
362case SyntaxKind.LogicalAndExpression:
InvertLogical\CSharpInvertLogicalCodeRefactoringProvider.cs (1)
25=> binaryExprKind == SyntaxKind.LogicalAndExpression
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
36SyntaxKind.LogicalAndExpression,
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
49SyntaxKind.LogicalAndExpression,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (2)
104case SyntaxKind.LogicalAndExpression when !defAssignedWhenTrue: 116case SyntaxKind.LogicalAndExpression:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
IncrementalParsing\BinaryExpression.cs (2)
84MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.LogicalAndExpression); 245case SyntaxKind.LogicalAndExpression:
Parsing\ExpressionParsingTests.cs (2)
5534N(SyntaxKind.LogicalAndExpression); 5557N(SyntaxKind.LogicalAndExpression);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
298[InlineData(SyntaxKind.LogicalAndExpression, SyntaxKind.AmpersandAmpersandToken)]
Parsing\PatternParsingTests.cs (4)
738N(SyntaxKind.LogicalAndExpression); 906N(SyntaxKind.LogicalAndExpression); 6423N(SyntaxKind.LogicalAndExpression); 10003N(SyntaxKind.LogicalAndExpression);
Parsing\ValueTupleTests.cs (1)
1003N(SyntaxKind.LogicalAndExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3356=> CreateBinaryExpression(SyntaxKind.LogicalAndExpression, left, right);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
801case SyntaxKind.LogicalAndExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
457case SyntaxKind.LogicalAndExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
104public int LogicalAndExpression => (int)SyntaxKind.LogicalAndExpression;
Microsoft.CodeAnalysis.Test.Utilities (1)
Compilation\ControlFlowGraphVerifier.cs (1)
955(binOpSyntax.Kind() == CSharp.SyntaxKind.LogicalAndExpression || binOpSyntax.Kind() == CSharp.SyntaxKind.LogicalOrExpression) &&