40 references to TestOperatorKinds
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (40)
Semantics\DynamicTests.cs (1)
29
SyntaxBinderTests.
TestOperatorKinds
(source);
Semantics\OperatorTests.cs (39)
1755
TestOperatorKinds
(source);
2682
TestOperatorKinds
(@"
2745
TestOperatorKinds
(@"
3118
TestOperatorKinds
(GenerateTest(PrefixIncrementTemplate, "++", "PrefixIncrement"));
3119
TestOperatorKinds
(GenerateTest(PrefixIncrementTemplate, "--", "PrefixDecrement"));
3121
TestOperatorKinds
(UnaryPlus);
3122
TestOperatorKinds
(UnaryMinus);
3123
TestOperatorKinds
(LogicalNegation);
3124
TestOperatorKinds
(BitwiseComplement);
3125
TestOperatorKinds
(EnumAddition);
3126
TestOperatorKinds
(StringAddition);
3127
TestOperatorKinds
(DelegateAddition);
3129
TestOperatorKinds
(EnumSubtraction);
3130
TestOperatorKinds
(DelegateSubtraction);
3132
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "+", "Addition"));
3133
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "-", "Subtraction"));
3134
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "*", "Multiplication"));
3135
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "/", "Division"));
3136
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "%", "Remainder"));
3137
TestOperatorKinds
(GenerateTest(ShiftTemplate, "<<", "LeftShift"));
3138
TestOperatorKinds
(GenerateTest(ShiftTemplate, ">>", "RightShift"));
3139
TestOperatorKinds
(GenerateTest(ShiftTemplate, ">>>", "UnsignedRightShift"));
3140
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "==", "Equal"));
3141
TestOperatorKinds
(GenerateTest(ArithmeticTemplate, "!=", "NotEqual"));
3142
TestOperatorKinds
(GenerateTest(EqualityTemplate, "!=", "NotEqual"));
3143
TestOperatorKinds
(GenerateTest(EqualityTemplate, "!=", "NotEqual"));
3145
TestOperatorKinds
(GenerateTest(ComparisonTemplate, ">", "GreaterThan"));
3146
TestOperatorKinds
(GenerateTest(ComparisonTemplate, ">=", "GreaterThanOrEqual"));
3147
TestOperatorKinds
(GenerateTest(ComparisonTemplate, "<", "LessThan"));
3148
TestOperatorKinds
(GenerateTest(ComparisonTemplate, "<=", "LessThanOrEqual"));
3149
TestOperatorKinds
(GenerateTest(LogicTemplate, "^", "Xor"));
3150
TestOperatorKinds
(GenerateTest(LogicTemplate, "&", "And"));
3151
TestOperatorKinds
(GenerateTest(LogicTemplate, "|", "Or"));
3152
TestOperatorKinds
(GenerateTest(ShortCircuitTemplate, "&&", "And"));
3153
TestOperatorKinds
(GenerateTest(ShortCircuitTemplate, "||", "Or"));
3159
TestOperatorKinds
(GenerateTest(EnumLogicTemplate, "^", "Xor"));
3160
TestOperatorKinds
(GenerateTest(EnumLogicTemplate, "&", "And"));
3161
TestOperatorKinds
(GenerateTest(EnumLogicTemplate, "|", "Or"));
3192
TestOperatorKinds
(code);