21 references to BitwiseNotExpression
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (1)
673case SyntaxKind.BitwiseNotExpression:
Binder\Binder_Operators.cs (1)
3019case SyntaxKind.BitwiseNotExpression: return UnaryOperatorKind.BitwiseComplement;
Binder\EarlyWellKnownAttributeBinder.cs (1)
118case SyntaxKind.BitwiseNotExpression:
Parser\LanguageParser.cs (1)
10748case SyntaxKind.BitwiseNotExpression:
Syntax\SyntaxKindFacts.cs (1)
422return SyntaxKind.BitwiseNotExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
722case SyntaxKind.BitwiseNotExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (3)
152if (castExpression.WalkUpParentheses().Parent is PrefixUnaryExpressionSyntax(SyntaxKind.BitwiseNotExpression) parent && 749if (parent is not PrefixUnaryExpressionSyntax(SyntaxKind.BitwiseNotExpression)) 754Debug.Assert(rewrittenBitwiseNotExpression.Kind() == SyntaxKind.BitwiseNotExpression);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1901case SyntaxKind.BitwiseNotExpression:
Microsoft.CodeAnalysis.CSharp.Features (1)
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
282if (prefixUnaryExpression.Kind() is SyntaxKind.LogicalNotExpression or SyntaxKind.BitwiseNotExpression or SyntaxKind.UnaryMinusExpression or SyntaxKind.UnaryPlusExpression)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\EnumTests.cs (1)
353var expr = tree.GetRoot().DescendantNodes().Single(n => n.Kind() == SyntaxKind.BitwiseNotExpression);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
IncrementalParsing\UnaryExpression.cs (2)
34MakeUnaryChange(SyntaxKind.UnaryPlusExpression, SyntaxKind.BitwiseNotExpression); 115case SyntaxKind.BitwiseNotExpression:
Parsing\PatternParsingTests.cs (1)
6673N(SyntaxKind.BitwiseNotExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3353=> SyntaxFactory.PrefixUnaryExpression(SyntaxKind.BitwiseNotExpression, (ExpressionSyntax)Parenthesize(operand));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
722case SyntaxKind.BitwiseNotExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (3)
152if (castExpression.WalkUpParentheses().Parent is PrefixUnaryExpressionSyntax(SyntaxKind.BitwiseNotExpression) parent && 749if (parent is not PrefixUnaryExpressionSyntax(SyntaxKind.BitwiseNotExpression)) 754Debug.Assert(rewrittenBitwiseNotExpression.Kind() == SyntaxKind.BitwiseNotExpression);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
1901case SyntaxKind.BitwiseNotExpression: