42 references to NotEqualsExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
605case SyntaxKind.NotEqualsExpression:
Binder\Binder_Operators.cs (3)
434case SyntaxKind.NotEqualsExpression: 596case SyntaxKind.NotEqualsExpression: 2212case SyntaxKind.NotEqualsExpression: return BinaryOperatorKind.NotEqual;
Binder\EarlyWellKnownAttributeBinder.cs (1)
135case SyntaxKind.NotEqualsExpression:
Parser\DirectiveParser.cs (1)
859case SyntaxKind.NotEqualsExpression:
Parser\LanguageParser.cs (1)
10106case SyntaxKind.NotEqualsExpression:
Syntax\SyntaxKindFacts.cs (1)
608return SyntaxKind.NotEqualsExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (11)
CastSimplifier.cs (2)
118if (leftOrRightChild.Parent is BinaryExpressionSyntax(SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression) binary) 764if (parentBinary != null && parentBinary.Kind() is SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression)
CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
40SyntaxKind.NotEqualsExpression,
CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
110else if (binaryExpression.Kind() is SyntaxKind.NotEqualsExpression)
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
96var defAssignedWhenTrue = _comparison.Kind() is SyntaxKind.NotEqualsExpression or SyntaxKind.IsExpression;
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
48SyntaxKind.NotEqualsExpression,
CSharpSyntaxKinds.cs (1)
103public int ReferenceNotEqualsExpression => (int)SyntaxKind.NotEqualsExpression;
CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs (1)
41context.RegisterSyntaxNodeAction(n => AnalyzeSyntax(n), SyntaxKind.EqualsExpression, SyntaxKind.NotEqualsExpression);
ExpressionSyntaxExtensions.cs (1)
795case SyntaxKind.NotEqualsExpression:
InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
58if (!ifStatement.Condition.IsKind(SyntaxKind.NotEqualsExpression))
UsePatternMatchingHelpers.cs (1)
65SyntaxKind.NotEqualsExpression or
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
CSharpAsAndMemberAccessCodeFixProvider.cs (1)
133SyntaxKind.NotEqualsExpression => UnaryPattern(ConstantPattern(binaryExpression.Right)),
Microsoft.CodeAnalysis.CSharp.Features (11)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (2)
261BinaryExpressionSyntax(NotEqualsExpression) => UnaryPattern(ConstantPattern(constant)), 320NotEqualsExpression or
CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
40SyntaxKind.NotEqualsExpression,
CSharpAsAndMemberAccessCodeFixProvider.cs (1)
133SyntaxKind.NotEqualsExpression => UnaryPattern(ConstantPattern(binaryExpression.Right)),
CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
110else if (binaryExpression.Kind() is SyntaxKind.NotEqualsExpression)
CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
96var defAssignedWhenTrue = _comparison.Kind() is SyntaxKind.NotEqualsExpression or SyntaxKind.IsExpression;
CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
48SyntaxKind.NotEqualsExpression,
CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs (1)
41context.RegisterSyntaxNodeAction(n => AnalyzeSyntax(n), SyntaxKind.EqualsExpression, SyntaxKind.NotEqualsExpression);
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
368case SyntaxKind.NotEqualsExpression:
InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
58if (!ifStatement.Condition.IsKind(SyntaxKind.NotEqualsExpression))
UsePatternMatchingHelpers.cs (1)
65SyntaxKind.NotEqualsExpression or
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
IncrementalParsing\BinaryExpression.cs (2)
114MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.NotEqualsExpression); 255case SyntaxKind.NotEqualsExpression:
Parsing\ImplicitObjectCreationParsingTests.cs (1)
303[InlineData(SyntaxKind.NotEqualsExpression, SyntaxKind.ExclamationEqualsToken)]
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
159N(SyntaxKind.NotEqualsExpression); 201N(SyntaxKind.NotEqualsExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CastSimplifier.cs (2)
118if (leftOrRightChild.Parent is BinaryExpressionSyntax(SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression) binary) 764if (parentBinary != null && parentBinary.Kind() is SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3310=> CreateBinaryExpression(SyntaxKind.NotEqualsExpression, left, right); 3313=> CreateBinaryExpression(SyntaxKind.NotEqualsExpression, left, right);
CSharpSyntaxKinds.cs (1)
103public int ReferenceNotEqualsExpression => (int)SyntaxKind.NotEqualsExpression;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs\ExpressionSyntaxExtensions.cs (1)
795case SyntaxKind.NotEqualsExpression: