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