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