39 references to LogicalNotExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
672case SyntaxKind.LogicalNotExpression:
Binder\Binder_Operators.cs (1)
3023case SyntaxKind.LogicalNotExpression: return UnaryOperatorKind.LogicalNegation;
Binder\EarlyWellKnownAttributeBinder.cs (1)
117case SyntaxKind.LogicalNotExpression:
Parser\DirectiveParser.cs (2)
782return SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, op, this.ParseLogicalNot()); 856case SyntaxKind.LogicalNotExpression:
Parser\LanguageParser.cs (1)
10814case SyntaxKind.LogicalNotExpression:
Syntax\SyntaxKindFacts.cs (1)
424return SyntaxKind.LogicalNotExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
46SyntaxKind.LogicalNotExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
140case SyntaxKind.LogicalNotExpression:
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpUseNotPatternDiagnosticAnalyzer.cs (2)
46context.RegisterSyntaxNodeAction(n => SyntaxNodeAction(n, expressionOfTType), SyntaxKind.LogicalNotExpression); 63if (node is not PrefixUnaryExpressionSyntax(SyntaxKind.LogicalNotExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
722case SyntaxKind.LogicalNotExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
109public int LogicalNotExpression => (int)SyntaxKind.LogicalNotExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
315else if (currentOriginalNode.Kind() == SyntaxKind.LogicalNotExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs (1)
180return PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, isPatternExpression.Parenthesize());
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1929case SyntaxKind.LogicalNotExpression:
Microsoft.CodeAnalysis.CSharp.Features (7)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (1)
365PrefixUnaryExpressionSyntax(LogicalNotExpression) expr => (expr.Operand, s_falseConstantPattern, Flipped: false),
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
282if (prefixUnaryExpression.Kind() is SyntaxKind.LogicalNotExpression or SyntaxKind.BitwiseNotExpression or SyntaxKind.UnaryMinusExpression or SyntaxKind.UnaryPlusExpression)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
46SyntaxKind.LogicalNotExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
140case SyntaxKind.LogicalNotExpression:
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpUseNotPatternDiagnosticAnalyzer.cs (2)
46context.RegisterSyntaxNodeAction(n => SyntaxNodeAction(n, expressionOfTType), SyntaxKind.LogicalNotExpression); 63if (node is not PrefixUnaryExpressionSyntax(SyntaxKind.LogicalNotExpression)
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndNullCheckCodeFixProvider.cs (1)
180return PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, isPatternExpression.Parenthesize());
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
IncrementalParsing\UnaryExpression.cs (2)
40MakeUnaryChange(SyntaxKind.UnaryPlusExpression, SyntaxKind.LogicalNotExpression); 117case SyntaxKind.LogicalNotExpression:
Parsing\LambdaAttributeParsingTests.cs (1)
1232N(SyntaxKind.LogicalNotExpression);
Parsing\LambdaParameterParsingTests.cs (2)
1283N(SyntaxKind.LogicalNotExpression); 1286N(SyntaxKind.LogicalNotExpression);
Parsing\MemberDeclarationParsingTests.cs (1)
12487N(SyntaxKind.LogicalNotExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (5)
131N(SyntaxKind.LogicalNotExpression); 400N(SyntaxKind.LogicalNotExpression); 471N(SyntaxKind.LogicalNotExpression); 545N(SyntaxKind.LogicalNotExpression); 620N(SyntaxKind.LogicalNotExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (5)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3343=> SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, (ExpressionSyntax)Parenthesize(expression));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
722case SyntaxKind.LogicalNotExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
109public int LogicalNotExpression => (int)SyntaxKind.LogicalNotExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Utilities\SpeculationAnalyzer.cs (1)
315else if (currentOriginalNode.Kind() == SyntaxKind.LogicalNotExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1929case SyntaxKind.LogicalNotExpression: