20 references to CheckedAdditionOperatorName
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
75WellKnownMemberNames.AdditionOperatorName or WellKnownMemberNames.CheckedAdditionOperatorName or WellKnownMemberNames.UnaryPlusOperatorName => PredefinedOperator.Addition,
Microsoft.CodeAnalysis.CSharp (7)
Binder\Semantics\Operators\OperatorFacts.cs (3)
66(isChecked ? WellKnownMemberNames.CheckedAdditionOperatorName : WellKnownMemberNames.AdditionOperatorName); // This can occur in the presence of syntax errors. 73case SyntaxKind.PlusToken: return isChecked ? WellKnownMemberNames.CheckedAdditionOperatorName : WellKnownMemberNames.AdditionOperatorName; 192case BinaryOperatorKind.Addition: return isChecked ? WellKnownMemberNames.CheckedAdditionOperatorName : WellKnownMemberNames.AdditionOperatorName;
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1208case WellKnownMemberNames.CheckedAdditionOperatorName:
Symbols\Source\SourceMemberContainerSymbol.cs (1)
2483CheckForUnmatchedOperator(diagnostics, WellKnownMemberNames.CheckedAdditionOperatorName, WellKnownMemberNames.AdditionOperatorName, symmetricCheck: false);
Syntax\SyntaxKindFacts.cs (2)
1023case WellKnownMemberNames.CheckedAdditionOperatorName: 1096case WellKnownMemberNames.CheckedAdditionOperatorName:
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\CompilationAPITests.cs (7)
2723[InlineData(WellKnownMemberNames.CheckedAdditionOperatorName, "int.operator checked +(int, int)")] 2802compilation.CreateBuiltinOperator(WellKnownMemberNames.CheckedAdditionOperatorName, nullableIntType, intType, intType)); 2806compilation.CreateBuiltinOperator(WellKnownMemberNames.CheckedAdditionOperatorName, intType, nullableIntType, intType)); 2810compilation.CreateBuiltinOperator(WellKnownMemberNames.CheckedAdditionOperatorName, intType, intType, nullableIntType)); 2848var addBuiltInChecked = compilation.CreateBuiltinOperator(WellKnownMemberNames.CheckedAdditionOperatorName, intType, intType, intType); 2883var addBuiltInChecked = compilation.CreateBuiltinOperator(WellKnownMemberNames.CheckedAdditionOperatorName, intType, intType, intType); 2915var addBuiltInChecked = compilation.CreateBuiltinOperator(WellKnownMemberNames.CheckedAdditionOperatorName, intType, intType, intType);
Microsoft.CodeAnalysis.VisualBasic (4)
Compilation\VisualBasicCompilation.vb (1)
2951Case WellKnownMemberNames.CheckedAdditionOperatorName
Semantics\Operators.vb (1)
221Return If(isChecked, WellKnownMemberNames.CheckedAdditionOperatorName, WellKnownMemberNames.AdditionOperatorName)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (1)
385Case WellKnownMemberNames.CheckedAdditionOperatorName
Symbols\SynthesizedSymbols\SynthesizedIntrinsicOperatorSymbol.vb (1)
36WellKnownMemberNames.CheckedAdditionOperatorName,
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\IMethodSymbolExtensions.cs (1)
75WellKnownMemberNames.AdditionOperatorName or WellKnownMemberNames.CheckedAdditionOperatorName or WellKnownMemberNames.UnaryPlusOperatorName => PredefinedOperator.Addition,