33 references to SubtractExpression
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
633case SyntaxKind.SubtractExpression:
Binder\Binder_Operators.cs (3)
430case SyntaxKind.SubtractExpression: 471if (node.IsKind(SyntaxKind.SubtractExpression) 2235case SyntaxKind.SubtractExpression: return BinaryOperatorKind.Subtraction;
Binder\EarlyWellKnownAttributeBinder.cs (1)
123case SyntaxKind.SubtractExpression:
Parser\LanguageParser.cs (1)
10740case SyntaxKind.SubtractExpression:
Syntax\SyntaxKindFacts.cs (1)
654return SyntaxKind.SubtractExpression;
Microsoft.CodeAnalysis.CSharp.CodeStyle (6)
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
29SyntaxKind.SubtractExpression,
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundAssignmentDiagnosticAnalyzer.cs (2)
39SyntaxKind.SubtractExpression => -1, 50SyntaxKind.SubtractExpression => 1,
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\Utilities.cs (1)
15(SyntaxKind.SubtractExpression, SyntaxKind.SubtractAssignmentExpression),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
751case SyntaxKind.SubtractExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxKindExtensions.cs (1)
43return SyntaxKind.SubtractExpression;
Microsoft.CodeAnalysis.CSharp.Features (10)
Debugging\CSharpProximityExpressionsService_ExpressionTermCollector.cs (1)
355case SyntaxKind.SubtractExpression:
ReplacePropertyWithMethods\CSharpReplacePropertyWithMethodsService.cs (1)
342SyntaxKind.SubtractAssignmentExpression => SyntaxKind.SubtractExpression,
ReverseForStatement\CSharpReverseForStatementCodeRefactoringProvider.cs (4)
323if ((outerBinary.Kind() == SyntaxKind.SubtractExpression && innerLeft.Kind() == SyntaxKind.AddExpression) || 324(outerBinary.Kind() == SyntaxKind.AddExpression && innerLeft.Kind() == SyntaxKind.SubtractExpression)) 336innerRight.Kind() == SyntaxKind.SubtractExpression && 346innerLeft.Kind() == SyntaxKind.SubtractExpression &&
src\Analyzers\CSharp\Analyzers\AddRequiredParentheses\CSharpAddRequiredExpressionParenthesesDiagnosticAnalyzer.cs (1)
29SyntaxKind.SubtractExpression,
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\CSharpUseCompoundAssignmentDiagnosticAnalyzer.cs (2)
39SyntaxKind.SubtractExpression => -1, 50SyntaxKind.SubtractExpression => 1,
src\Analyzers\CSharp\Analyzers\UseCompoundAssignment\Utilities.cs (1)
15(SyntaxKind.SubtractExpression, SyntaxKind.SubtractAssignmentExpression),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (7)
IncrementalParsing\BinaryExpression.cs (2)
42MakeBinOpChange(SyntaxKind.AddExpression, SyntaxKind.SubtractExpression); 229case SyntaxKind.SubtractExpression:
Parsing\ExpressionParsingTests.cs (1)
5426N(SyntaxKind.SubtractExpression);
Parsing\ImplicitObjectCreationParsingTests.cs (1)
290[InlineData(SyntaxKind.SubtractExpression, SyntaxKind.MinusToken)]
Parsing\PatternParsingTests.cs (1)
7280N(SyntaxKind.SubtractExpression);
Syntax\SyntaxNodeTests.cs (2)
93Assert.Equal(SyntaxKind.SubtractExpression, nodes[4].Kind()); 112Assert.Equal(SyntaxKind.SubtractExpression, nodes[5].Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3335=> CreateBinaryExpression(SyntaxKind.SubtractExpression, left, right);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ExpressionSyntaxExtensions.cs (1)
751case SyntaxKind.SubtractExpression:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\SyntaxKindExtensions.cs (1)
43return SyntaxKind.SubtractExpression;