43 references to LogicalAndExpression
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (1)
650
case SyntaxKind.
LogicalAndExpression
:
Binder\Binder_Operators.cs (3)
891
Debug.Assert(node.Kind() == SyntaxKind.LogicalOrExpression || node.Kind() == SyntaxKind.
LogicalAndExpression
);
904
(childAsBinary.Kind() != SyntaxKind.LogicalOrExpression && childAsBinary.Kind() != SyntaxKind.
LogicalAndExpression
))
2254
case SyntaxKind.
LogicalAndExpression
: return BinaryOperatorKind.LogicalAnd;
Binder\EarlyWellKnownAttributeBinder.cs (1)
132
case SyntaxKind.
LogicalAndExpression
:
Parser\DirectiveParser.cs (2)
758
left = SyntaxFactory.BinaryExpression(SyntaxKind.
LogicalAndExpression
, left, op, right);
846
case SyntaxKind.
LogicalAndExpression
:
Parser\LanguageParser.cs (1)
10754
case SyntaxKind.
LogicalAndExpression
:
Syntax\SyntaxKindFacts.cs (1)
662
return SyntaxKind.
LogicalAndExpression
;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
36
SyntaxKind.
LogicalAndExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
49
SyntaxKind.
LogicalAndExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (2)
104
case SyntaxKind.
LogicalAndExpression
when !defAssignedWhenTrue:
116
case SyntaxKind.
LogicalAndExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
802
case SyntaxKind.
LogicalAndExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
457
case SyntaxKind.
LogicalAndExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
106
public int LogicalAndExpression => (int)SyntaxKind.
LogicalAndExpression
;
Microsoft.CodeAnalysis.CSharp.Features (12)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (5)
75
BinaryExpressionSyntax(
LogicalAndExpression
) logicalAnd => CombineLogicalAndOperands(logicalAnd, model),
86
BinaryExpressionSyntax(
LogicalAndExpression
) => true,
156
if (logicalAnd.Left is BinaryExpressionSyntax(
LogicalAndExpression
) leftExpression)
177
case BinaryExpressionSyntax(
LogicalAndExpression
) logicalAnd:
356
BinaryExpressionSyntax(
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)
362
case SyntaxKind.
LogicalAndExpression
:
InvertLogical\CSharpInvertLogicalCodeRefactoringProvider.cs (1)
25
=> binaryExprKind == SyntaxKind.
LogicalAndExpression
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
36
SyntaxKind.
LogicalAndExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
49
SyntaxKind.
LogicalAndExpression
,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (2)
104
case SyntaxKind.
LogicalAndExpression
when !defAssignedWhenTrue:
116
case SyntaxKind.
LogicalAndExpression
:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (10)
IncrementalParsing\BinaryExpression.cs (2)
84
MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.
LogicalAndExpression
);
245
case SyntaxKind.
LogicalAndExpression
:
Parsing\ExpressionParsingTests.cs (2)
5534
N(SyntaxKind.
LogicalAndExpression
);
5557
N(SyntaxKind.
LogicalAndExpression
);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
298
[InlineData(SyntaxKind.
LogicalAndExpression
, SyntaxKind.AmpersandAmpersandToken)]
Parsing\PatternParsingTests.cs (4)
738
N(SyntaxKind.
LogicalAndExpression
);
906
N(SyntaxKind.
LogicalAndExpression
);
6423
N(SyntaxKind.
LogicalAndExpression
);
10003
N(SyntaxKind.
LogicalAndExpression
);
Parsing\ValueTupleTests.cs (1)
1003
N(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)
802
case SyntaxKind.
LogicalAndExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ParenthesizedExpressionSyntaxExtensions.cs (1)
457
case SyntaxKind.
LogicalAndExpression
:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
106
public 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) &&