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