36 references to LogicalNotExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
640case SyntaxKind.LogicalNotExpression:
Binder\Binder_Operators.cs (1)
2975case SyntaxKind.LogicalNotExpression: return UnaryOperatorKind.LogicalNegation;
Binder\EarlyWellKnownAttributeBinder.cs (1)
117case SyntaxKind.LogicalNotExpression:
Parser\DirectiveParser.cs (2)
787return SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, op, this.ParseLogicalNot()); 861case SyntaxKind.LogicalNotExpression:
Parser\LanguageParser.cs (1)
10133case SyntaxKind.LogicalNotExpression:
Syntax\SyntaxKindFacts.cs (1)
396return SyntaxKind.LogicalNotExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
130case SyntaxKind.LogicalNotExpression:
CSharpSyntaxKinds.cs (1)
96public int LogicalNotExpression => (int)SyntaxKind.LogicalNotExpression;
CSharpUseNotPatternDiagnosticAnalyzer.cs (2)
49context.RegisterSyntaxNodeAction(n => SyntaxNodeAction(n), SyntaxKind.LogicalNotExpression); 62if (node is not PrefixUnaryExpressionSyntax(SyntaxKind.LogicalNotExpression)
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
50SyntaxKind.LogicalNotExpression);
ExpressionSyntaxExtensions.cs (1)
739case SyntaxKind.LogicalNotExpression:
SpeculationAnalyzer.cs (1)
302else if (currentOriginalNode.Kind() == SyntaxKind.LogicalNotExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
CSharpAsAndNullCheckCodeFixProvider.cs (1)
180return SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, isPatternExpression.Parenthesize());
CSharpTypeInferenceService.TypeInferrer.cs (1)
1968case SyntaxKind.LogicalNotExpression:
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
347PrefixUnaryExpressionSyntax(LogicalNotExpression) expr => (expr.Operand, s_falseConstantPattern, Flipped: false),
CSharpAsAndNullCheckCodeFixProvider.cs (1)
180return SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, isPatternExpression.Parenthesize());
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
130case SyntaxKind.LogicalNotExpression:
CSharpUseNotPatternDiagnosticAnalyzer.cs (2)
49context.RegisterSyntaxNodeAction(n => SyntaxNodeAction(n), SyntaxKind.LogicalNotExpression); 62if (node is not PrefixUnaryExpressionSyntax(SyntaxKind.LogicalNotExpression)
CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
50SyntaxKind.LogicalNotExpression);
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
283if (prefixUnaryExpression.Kind() is SyntaxKind.LogicalNotExpression or SyntaxKind.BitwiseNotExpression or SyntaxKind.UnaryMinusExpression or SyntaxKind.UnaryPlusExpression)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (8)
IncrementalParsing\UnaryExpression.cs (2)
40MakeUnaryChange(SyntaxKind.UnaryPlusExpression, SyntaxKind.LogicalNotExpression); 117case SyntaxKind.LogicalNotExpression:
Parsing\LambdaAttributeParsingTests.cs (1)
1260N(SyntaxKind.LogicalNotExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (5)
131N(SyntaxKind.LogicalNotExpression); 400N(SyntaxKind.LogicalNotExpression); 474N(SyntaxKind.LogicalNotExpression); 555N(SyntaxKind.LogicalNotExpression); 630N(SyntaxKind.LogicalNotExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3361=> SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, (ExpressionSyntax)Parenthesize(expression));
CSharpSyntaxKinds.cs (1)
96public int LogicalNotExpression => (int)SyntaxKind.LogicalNotExpression;
CSharpTypeInferenceService.TypeInferrer.cs (1)
1968case SyntaxKind.LogicalNotExpression:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
739case SyntaxKind.LogicalNotExpression:
SpeculationAnalyzer.cs (1)
302else if (currentOriginalNode.Kind() == SyntaxKind.LogicalNotExpression)