2 overrides of LogicalNotExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3361public override SyntaxNode LogicalNotExpression(SyntaxNode expression)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
268Public Overrides Function LogicalNotExpression(expression As SyntaxNode) As SyntaxNode
25 references to LogicalNotExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
171g.LogicalNotExpression(g.IdentifierName(disposedValueField.Name)),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (3)
160factory.LogicalNotExpression( 345factory.LogicalNotExpression( 354factory.LogicalNotExpression(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (6)
137: generator.LogicalNotExpression(expressionOrPattern); 154return generator.LogicalNotExpression(expressionNode); 164return generator.LogicalNotExpression(expressionNode); 228return generator.LogicalNotExpression(expressionNode); 301return generator.LogicalNotExpression(isExpression); 489newLiteralExpression = generator.LogicalNotExpression(expression.WithoutTrivia());
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
336VerifySyntax<PrefixUnaryExpressionSyntax>(Generator.LogicalNotExpression(Generator.IdentifierName("x")), "!(x)");
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
CodeGeneration\ExpressionGenerationTests.cs (1)
513f => f.LogicalNotExpression(
CodeGeneration\ExpressionPrecedenceGenerationTests.cs (2)
325f.LogicalNotExpression( 338f => f.LogicalNotExpression(
Microsoft.CodeAnalysis.Features (1)
GenerateEqualsAndGetHashCodeFromMembers\GenerateEqualsAndGetHashCodeAction.cs (1)
172var expression = generator.LogicalNotExpression(
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
310VerifySyntax(Of UnaryExpressionSyntax)(Generator.LogicalNotExpression(Generator.IdentifierName("x")), "Not(x)")
Microsoft.CodeAnalysis.Workspaces (9)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (3)
160factory.LogicalNotExpression( 345factory.LogicalNotExpression( 354factory.LogicalNotExpression(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (6)
137: generator.LogicalNotExpression(expressionOrPattern); 154return generator.LogicalNotExpression(expressionNode); 164return generator.LogicalNotExpression(expressionNode); 228return generator.LogicalNotExpression(expressionNode); 301return generator.LogicalNotExpression(isExpression); 489newLiteralExpression = generator.LogicalNotExpression(expression.WithoutTrivia());