39 references to LogicalNotExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
672case SyntaxKind.LogicalNotExpression:
Binder\Binder_Operators.cs (1)
3018case SyntaxKind.LogicalNotExpression: return UnaryOperatorKind.LogicalNegation;
Binder\EarlyWellKnownAttributeBinder.cs (1)
117case SyntaxKind.LogicalNotExpression:
Parser\DirectiveParser.cs (2)
790return SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, op, this.ParseLogicalNot()); 864case SyntaxKind.LogicalNotExpression:
Parser\LanguageParser.cs (1)
10749case SyntaxKind.LogicalNotExpression:
Syntax\SyntaxKindFacts.cs (1)
424return SyntaxKind.LogicalNotExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (7)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsDiagnosticAnalyzer.cs (1)
51SyntaxKind.LogicalNotExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
130case SyntaxKind.LogicalNotExpression:
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpUseNotPatternDiagnosticAnalyzer.cs (2)
47context.RegisterSyntaxNodeAction(n => SyntaxNodeAction(n, expressionOfTType), SyntaxKind.LogicalNotExpression); 64if (node is not PrefixUnaryExpressionSyntax(SyntaxKind.LogicalNotExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
721case SyntaxKind.LogicalNotExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
106public 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)
1913case 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)
51SyntaxKind.LogicalNotExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
130case SyntaxKind.LogicalNotExpression:
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpUseNotPatternDiagnosticAnalyzer.cs (2)
47context.RegisterSyntaxNodeAction(n => SyntaxNodeAction(n, expressionOfTType), SyntaxKind.LogicalNotExpression); 64if (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)
3362=> SyntaxFactory.PrefixUnaryExpression(SyntaxKind.LogicalNotExpression, (ExpressionSyntax)Parenthesize(expression));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
721case SyntaxKind.LogicalNotExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
106public 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)
1913case SyntaxKind.LogicalNotExpression: