18 references to DecrementOperatorName
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
176operation.OperatorMethod.ContainingType.GetMembers(WellKnownMemberNames.DecrementOperatorName).Length > 0)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
79WellKnownMemberNames.DecrementOperatorName or WellKnownMemberNames.CheckedDecrementOperatorName => PredefinedOperator.Decrement,
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
89CodeGenerationOperatorKind.Decrement => WellKnownMemberNames.DecrementOperatorName,
Microsoft.CodeAnalysis.CSharp (7)
Binder\Semantics\Operators\OperatorFacts.cs (2)
110case SyntaxKind.MinusMinusToken: return isChecked ? WellKnownMemberNames.CheckedDecrementOperatorName : WellKnownMemberNames.DecrementOperatorName; 180case UnaryOperatorKind.PrefixDecrement: return isChecked ? WellKnownMemberNames.CheckedDecrementOperatorName : WellKnownMemberNames.DecrementOperatorName;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1231case WellKnownMemberNames.DecrementOperatorName:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2480CheckForUnmatchedOperator(diagnostics, WellKnownMemberNames.CheckedDecrementOperatorName, WellKnownMemberNames.DecrementOperatorName, symmetricCheck: false);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
382case WellKnownMemberNames.DecrementOperatorName: 418case WellKnownMemberNames.DecrementOperatorName:
Syntax\SyntaxKindFacts.cs (1)
1032case WellKnownMemberNames.DecrementOperatorName:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
56(WellKnownMemberNames.DecrementOperatorName, OperatorPosition.Prefix | OperatorPosition.Postfix),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\CompilationAPITests.cs (1)
2933[InlineData(WellKnownMemberNames.DecrementOperatorName, "int.operator --(int)")]
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (1)
634WellKnownMemberNames.DecrementOperatorName };
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
322OperatorKind.Decrement => WellKnownMemberNames.DecrementOperatorName,
Recommendations\CSharpRecommendationServiceRunner_Operators.cs (1)
70case WellKnownMemberNames.DecrementOperatorName:
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
176operation.OperatorMethod.ContainingType.GetMembers(WellKnownMemberNames.DecrementOperatorName).Length > 0)
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
79WellKnownMemberNames.DecrementOperatorName or WellKnownMemberNames.CheckedDecrementOperatorName => PredefinedOperator.Decrement,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
89CodeGenerationOperatorKind.Decrement => WellKnownMemberNames.DecrementOperatorName,