22 references to IncrementOperatorName
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
156operation.OperatorMethod.ContainingType.GetMembers(WellKnownMemberNames.IncrementOperatorName).Length > 0)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
86WellKnownMemberNames.IncrementOperatorName or WellKnownMemberNames.CheckedIncrementOperatorName => PredefinedOperator.Increment,
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
97CodeGenerationOperatorKind.Increment => WellKnownMemberNames.IncrementOperatorName,
Microsoft.CodeAnalysis.CSharp (7)
Binder\Semantics\Operators\OperatorFacts.cs (2)
109case SyntaxKind.PlusPlusToken: return isChecked ? WellKnownMemberNames.CheckedIncrementOperatorName : WellKnownMemberNames.IncrementOperatorName; 178case UnaryOperatorKind.PrefixIncrement: return isChecked ? WellKnownMemberNames.CheckedIncrementOperatorName : WellKnownMemberNames.IncrementOperatorName;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1234case WellKnownMemberNames.IncrementOperatorName:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2481CheckForUnmatchedOperator(diagnostics, WellKnownMemberNames.CheckedIncrementOperatorName, WellKnownMemberNames.IncrementOperatorName, symmetricCheck: false);
Symbols\Source\SourceUserDefinedOperatorSymbolBase.cs (2)
380case WellKnownMemberNames.IncrementOperatorName: 416case WellKnownMemberNames.IncrementOperatorName:
Syntax\SyntaxKindFacts.cs (1)
1053case WellKnownMemberNames.IncrementOperatorName:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\CompletionProviders\OperatorsAndIndexer\UnnamedSymbolCompletionProvider_Operators.cs (1)
55(WellKnownMemberNames.IncrementOperatorName, OperatorPosition.Prefix | OperatorPosition.Postfix),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\CompilationAPITests.cs (1)
2931[InlineData(WellKnownMemberNames.IncrementOperatorName, "int.operator ++(int)")]
Compilation\GetSemanticInfoTests.cs (3)
2759CheckOperatorSemanticInfo(text, WellKnownMemberNames.IncrementOperatorName); 3020var operators = comp.GlobalNamespace.GetMember<INamedTypeSymbol>("IncrementOperator").GetMembers(WellKnownMemberNames.IncrementOperatorName); 3052var operators = comp.GlobalNamespace.GetMember<NamedTypeSymbol>("C").GetMembers(WellKnownMemberNames.IncrementOperatorName);
Compilation\SemanticModelGetSemanticInfoTests_LateBound.cs (1)
633WellKnownMemberNames.IncrementOperatorName,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
331OperatorKind.Increment => WellKnownMemberNames.IncrementOperatorName,
Recommendations\CSharpRecommendationServiceRunner_Operators.cs (1)
68case WellKnownMemberNames.IncrementOperatorName:
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\AbstractUseCompoundAssignmentDiagnosticAnalyzer.cs (1)
156operation.OperatorMethod.ContainingType.GetMembers(WellKnownMemberNames.IncrementOperatorName).Length > 0)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (1)
Compilation\CompilationAPITests.vb (1)
1821Assert.Throws(Of ArgumentException)("name", Function() compilation.CreateBuiltinOperator(WellKnownMemberNames.IncrementOperatorName, intType, intType, intType))
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
86WellKnownMemberNames.IncrementOperatorName or WellKnownMemberNames.CheckedIncrementOperatorName => PredefinedOperator.Increment,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\Symbols\CodeGenerationOperatorSymbol.cs (1)
97CodeGenerationOperatorKind.Increment => WellKnownMemberNames.IncrementOperatorName,