55 references to NotEqualsExpression
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
637case SyntaxKind.NotEqualsExpression:
Binder\Binder_Operators.cs (3)
434case SyntaxKind.NotEqualsExpression: 596case SyntaxKind.NotEqualsExpression: 2243case SyntaxKind.NotEqualsExpression: return BinaryOperatorKind.NotEqual;
Binder\EarlyWellKnownAttributeBinder.cs (1)
135case SyntaxKind.NotEqualsExpression:
Parser\DirectiveParser.cs (1)
862case SyntaxKind.NotEqualsExpression:
Parser\LanguageParser.cs (1)
10722case SyntaxKind.NotEqualsExpression:
Syntax\SyntaxKindFacts.cs (1)
636return SyntaxKind.NotEqualsExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (11)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
41SyntaxKind.NotEqualsExpression,
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
58if (!ifStatement.Condition.IsKind(SyntaxKind.NotEqualsExpression))
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs (1)
41context.RegisterSyntaxNodeAction(n => AnalyzeSyntax(n), SyntaxKind.EqualsExpression, SyntaxKind.NotEqualsExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
110else if (binaryExpression.Kind() is SyntaxKind.NotEqualsExpression)
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
96var defAssignedWhenTrue = _comparison.Kind() is SyntaxKind.NotEqualsExpression or SyntaxKind.IsExpression;
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
53SyntaxKind.NotEqualsExpression,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\UsePatternMatchingHelpers.cs (1)
65SyntaxKind.NotEqualsExpression or
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
777case SyntaxKind.NotEqualsExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
113public int ReferenceNotEqualsExpression => (int)SyntaxKind.NotEqualsExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
118if (leftOrRightChild.Parent is BinaryExpressionSyntax(SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression) binary) 873if (parentBinary != null && parentBinary.Kind() is SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndMemberAccessCodeFixProvider.cs (1)
128SyntaxKind.NotEqualsExpression => UnaryPattern(ConstantPattern(binaryExpression.Right)),
Microsoft.CodeAnalysis.CSharp.Features (12)
CodeRefactorings\UseRecursivePatterns\UseRecursivePatternsCodeRefactoringProvider.cs (3)
279BinaryExpressionSyntax(NotEqualsExpression) => UnaryPattern(ConstantPattern(constant)), 338NotEqualsExpression or 505if (exp is BinaryExpressionSyntax(NotEqualsExpression) binaryExpression)
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
367case SyntaxKind.NotEqualsExpression:
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
41SyntaxKind.NotEqualsExpression,
src\Analyzers\CSharp\Analyzers\InvokeDelegateWithConditionalAccess\InvokeDelegateWithConditionalAccessAnalyzer.cs (1)
58if (!ifStatement.Condition.IsKind(SyntaxKind.NotEqualsExpression))
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs (1)
41context.RegisterSyntaxNodeAction(n => AnalyzeSyntax(n), SyntaxKind.EqualsExpression, SyntaxKind.NotEqualsExpression);
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndMemberAccessDiagnosticAnalyzer.cs (1)
110else if (binaryExpression.Kind() is SyntaxKind.NotEqualsExpression)
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.Analyzer.cs (1)
96var defAssignedWhenTrue = _comparison.Kind() is SyntaxKind.NotEqualsExpression or SyntaxKind.IsExpression;
src\Analyzers\CSharp\Analyzers\UsePatternMatching\CSharpAsAndNullCheckDiagnosticAnalyzer.cs (1)
53SyntaxKind.NotEqualsExpression,
src\Analyzers\CSharp\Analyzers\UsePatternMatching\UsePatternMatchingHelpers.cs (1)
65SyntaxKind.NotEqualsExpression or
src\Analyzers\CSharp\CodeFixes\UsePatternMatching\CSharpAsAndMemberAccessCodeFixProvider.cs (1)
128SyntaxKind.NotEqualsExpression => UnaryPattern(ConstantPattern(binaryExpression.Right)),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (12)
IncrementalParsing\BinaryExpression.cs (2)
114MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.NotEqualsExpression); 255case SyntaxKind.NotEqualsExpression:
Parsing\ImplicitObjectCreationParsingTests.cs (1)
303[InlineData(SyntaxKind.NotEqualsExpression, SyntaxKind.ExclamationEqualsToken)]
Parsing\LambdaParameterParsingTests.cs (7)
1005N(SyntaxKind.NotEqualsExpression); 1402N(SyntaxKind.NotEqualsExpression); 1466N(SyntaxKind.NotEqualsExpression); 1530N(SyntaxKind.NotEqualsExpression); 1694N(SyntaxKind.NotEqualsExpression); 1762N(SyntaxKind.NotEqualsExpression); 1886N(SyntaxKind.NotEqualsExpression);
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
159N(SyntaxKind.NotEqualsExpression); 201N(SyntaxKind.NotEqualsExpression);
Microsoft.CodeAnalysis.CSharp.Workspaces (6)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3311=> CreateBinaryExpression(SyntaxKind.NotEqualsExpression, left, right); 3314=> CreateBinaryExpression(SyntaxKind.NotEqualsExpression, left, right);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
777case SyntaxKind.NotEqualsExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Services\SyntaxFacts\CSharpSyntaxKinds.cs (1)
113public int ReferenceNotEqualsExpression => (int)SyntaxKind.NotEqualsExpression;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (2)
118if (leftOrRightChild.Parent is BinaryExpressionSyntax(SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression) binary) 873if (parentBinary != null && parentBinary.Kind() is SyntaxKind.EqualsExpression or SyntaxKind.NotEqualsExpression)
Microsoft.Interop.ComInterfaceGenerator (1)
ComInterfaceGenerator.cs (1)
663BinaryExpression(SyntaxKind.NotEqualsExpression,
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSExportCodeGenerator.cs (1)
139BinaryExpression(SyntaxKind.NotEqualsExpression,
Microsoft.Interop.SourceGeneration (3)
Marshalling\BoolMarshaller.cs (1)
81(SyntaxKind binaryOp, int comparand) = _compareToTrue ? (SyntaxKind.EqualsExpression, _trueValue) : (SyntaxKind.NotEqualsExpression, _falseValue);
Marshalling\DelegateMarshaller.cs (2)
46SyntaxKind.NotEqualsExpression, 65SyntaxKind.NotEqualsExpression,