615 references to CodeBinaryOperatorType
PresentationBuildTasks (7)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (7)
957
CodeBinaryOperatorType
.ValueEquality,
1187
CodeBinaryOperatorType
.ValueEquality,
2700
CodeBinaryOperatorExpression cboe1 = new CodeBinaryOperatorExpression(cfre1,
CodeBinaryOperatorType
.BitwiseOr, cfre2);
2701
CodeBinaryOperatorExpression cboe2 = new CodeBinaryOperatorExpression(cfre3,
CodeBinaryOperatorType
.BitwiseOr, cfre4);
2702
CodeBinaryOperatorExpression cboeCI = new CodeBinaryOperatorExpression(cboe1,
CodeBinaryOperatorType
.BitwiseOr, cboe2);
2803
CodeBinaryOperatorExpression cboe = new CodeBinaryOperatorExpression(cfre2,
CodeBinaryOperatorType
.BitwiseOr, cfre3);
2804
CodeBinaryOperatorExpression cboeCD = new CodeBinaryOperatorExpression(cfre5,
CodeBinaryOperatorType
.BitwiseOr, cboe);
System (49)
compmod\microsoft\csharp\csharpcodeprovider.cs (18)
2113
private void OutputOperator(
CodeBinaryOperatorType
op) {
2115
case
CodeBinaryOperatorType
.Add:
2118
case
CodeBinaryOperatorType
.Subtract:
2121
case
CodeBinaryOperatorType
.Multiply:
2124
case
CodeBinaryOperatorType
.Divide:
2127
case
CodeBinaryOperatorType
.Modulus:
2130
case
CodeBinaryOperatorType
.Assign:
2133
case
CodeBinaryOperatorType
.IdentityInequality:
2136
case
CodeBinaryOperatorType
.IdentityEquality:
2139
case
CodeBinaryOperatorType
.ValueEquality:
2142
case
CodeBinaryOperatorType
.BitwiseOr:
2145
case
CodeBinaryOperatorType
.BitwiseAnd:
2148
case
CodeBinaryOperatorType
.BooleanOr:
2151
case
CodeBinaryOperatorType
.BooleanAnd:
2154
case
CodeBinaryOperatorType
.LessThan:
2157
case
CodeBinaryOperatorType
.LessThanOrEqual:
2160
case
CodeBinaryOperatorType
.GreaterThan:
2163
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
compmod\microsoft\visualbasic\VBCodeProvider.cs (10)
845
protected override void OutputOperator(
CodeBinaryOperatorType
op) {
847
case
CodeBinaryOperatorType
.IdentityInequality:
850
case
CodeBinaryOperatorType
.IdentityEquality:
853
case
CodeBinaryOperatorType
.BooleanOr:
856
case
CodeBinaryOperatorType
.BooleanAnd:
859
case
CodeBinaryOperatorType
.ValueEquality:
862
case
CodeBinaryOperatorType
.Modulus:
865
case
CodeBinaryOperatorType
.BitwiseOr:
868
case
CodeBinaryOperatorType
.BitwiseAnd:
886
if (e.Operator !=
CodeBinaryOperatorType
.IdentityInequality) {
compmod\system\codedom\CodeBinaryOperatorExpression.cs (3)
28
private
CodeBinaryOperatorType
op;
47
public CodeBinaryOperatorExpression(CodeExpression left,
CodeBinaryOperatorType
op, CodeExpression right) {
89
public
CodeBinaryOperatorType
Operator {
compmod\system\codedom\compiler\CodeGenerator.cs (18)
1237
protected virtual void OutputOperator(
CodeBinaryOperatorType
op) {
1239
case
CodeBinaryOperatorType
.Add:
1242
case
CodeBinaryOperatorType
.Subtract:
1245
case
CodeBinaryOperatorType
.Multiply:
1248
case
CodeBinaryOperatorType
.Divide:
1251
case
CodeBinaryOperatorType
.Modulus:
1254
case
CodeBinaryOperatorType
.Assign:
1257
case
CodeBinaryOperatorType
.IdentityInequality:
1260
case
CodeBinaryOperatorType
.IdentityEquality:
1263
case
CodeBinaryOperatorType
.ValueEquality:
1266
case
CodeBinaryOperatorType
.BitwiseOr:
1269
case
CodeBinaryOperatorType
.BitwiseAnd:
1272
case
CodeBinaryOperatorType
.BooleanOr:
1275
case
CodeBinaryOperatorType
.BooleanAnd:
1278
case
CodeBinaryOperatorType
.LessThan:
1281
case
CodeBinaryOperatorType
.LessThanOrEqual:
1284
case
CodeBinaryOperatorType
.GreaterThan:
1287
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
System.Activities (26)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (26)
505
CodeBinaryOperatorType
.Add,
518
CodeBinaryOperatorType
.Add,
765
CodeBinaryOperatorType
.IdentityEquality,
853
CodeBinaryOperatorExpression idExpression = new CodeBinaryOperatorExpression(new CodeVariableReferenceExpression("expressionId"),
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(descriptor.Id));
908
CodeBinaryOperatorExpression idExpression = new CodeBinaryOperatorExpression(new CodeVariableReferenceExpression("expressionId"),
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(descriptor.Id));
995
CodeBinaryOperatorExpression idExpression = new CodeBinaryOperatorExpression(new CodeVariableReferenceExpression("expressionId"),
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(descriptor.Id));
1011
CodeBinaryOperatorType
.IdentityEquality,
1044
CodeBinaryOperatorType
.IdentityEquality,
1107
CodeBinaryOperatorType
.IdentityEquality,
1297
CodeBinaryOperatorType
.ValueEquality,
1302
CodeBinaryOperatorType
.ValueEquality,
1315
CodeBinaryOperatorType
.ValueEquality,
1320
CodeBinaryOperatorType
.BooleanAnd,
1325
CodeBinaryOperatorType
.BooleanAnd,
1690
CodeBinaryOperatorType
.Add,
1726
CodeBinaryOperatorType
.Add,
1998
CodeBinaryOperatorType
.Subtract,
2003
CodeBinaryOperatorType
.ValueEquality,
2215
CodeBinaryOperatorType
.ValueEquality,
2222
CodeBinaryOperatorType
.LessThan,
2228
CodeBinaryOperatorType
.BooleanAnd,
2246
CodeBinaryOperatorType
.Subtract,
2306
CodeBinaryOperatorType
.Add,
2311
CodeBinaryOperatorType
.IdentityInequality,
2316
CodeBinaryOperatorType
.IdentityInequality,
2321
CodeBinaryOperatorType
.BooleanOr,
System.Data (3)
fx\src\data\System\Data\CodeGen\datacache.cs (3)
1473
private static CodeBinaryOperatorExpression BinOperator(CodeExpression left,
CodeBinaryOperatorType
op, CodeExpression right) {
1477
private static CodeBinaryOperatorExpression IdNotEQ(CodeExpression left, CodeExpression right) {return BinOperator(left,
CodeBinaryOperatorType
.IdentityInequality, right);}
1479
private static CodeBinaryOperatorExpression EQ( CodeExpression left, CodeExpression right) {return BinOperator(left,
CodeBinaryOperatorType
.ValueEquality, right);}
System.Data.Entity.Design (4)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (1)
515
indexParameterReference,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(index)));
System\Data\EntityModel\Emitters\Emitter.cs (2)
56
return new CodeBinaryOperatorExpression(expression,
CodeBinaryOperatorType
.IdentityEquality, NullExpression);
61
return new CodeBinaryOperatorExpression(expression,
CodeBinaryOperatorType
.IdentityInequality, NullExpression);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
616
CodeBinaryOperatorType
.IdentityInequality,
System.Data.Services.Design (5)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
794
CodeBinaryOperatorType
.IdentityInequality,
System\Data\EntityModel\Emitters\Emitter.cs (2)
50
return new CodeBinaryOperatorExpression(expression,
CodeBinaryOperatorType
.IdentityEquality, NullExpression);
55
return new CodeBinaryOperatorExpression(expression,
CodeBinaryOperatorType
.IdentityInequality, NullExpression);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
252
CodeBinaryOperatorType
.BooleanAnd,
257
CodeBinaryOperatorType
.IdentityInequality,
System.Management (124)
WmiGenerator.cs (124)
1074
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
1087
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
1102
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
1339
CodeBinaryOperatorType
.IdentityEquality,
1362
CodeBinaryOperatorType
.IdentityEquality,
1431
CodeBinaryOperatorType
.ValueEquality,
1544
CodeBinaryOperatorType
.ValueEquality,
1552
CodeBinaryOperatorType
.ValueEquality,
1578
CodeBinaryOperatorType
.ValueEquality,
1582
CodeBinaryOperatorType
.ValueEquality,
1588
cboe2.Operator =
CodeBinaryOperatorType
.BooleanAnd;
2592
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
2659
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
2734
CodeBinaryOperatorType
.IdentityInequality,
2749
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
2899
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
3490
cboe.Operator =
CodeBinaryOperatorType
.IdentityEquality;
3497
cboe1.Operator =
CodeBinaryOperatorType
.IdentityEquality;
3544
cboe.Operator =
CodeBinaryOperatorType
.IdentityEquality;
3670
cboe.Operator =
CodeBinaryOperatorType
.IdentityEquality;
3678
cboe1.Operator =
CodeBinaryOperatorType
.IdentityEquality;
4130
cboe1.Operator =
CodeBinaryOperatorType
.IdentityEquality;
4150
cboe2.Operator =
CodeBinaryOperatorType
.IdentityEquality;
4156
CodeBinaryOperatorType
.IdentityEquality,
4160
CodeBinaryOperatorType
.IdentityInequality,
4166
cboe5.Operator =
CodeBinaryOperatorType
.BooleanAnd;
4172
CodeBinaryOperatorType
.ValueEquality,
4178
cboe7.Operator =
CodeBinaryOperatorType
.BooleanAnd;
4192
cboe1.Operator =
CodeBinaryOperatorType
.IdentityEquality;
4200
cboe2.Operator =
CodeBinaryOperatorType
.IdentityEquality;
4205
cboe3.Operator =
CodeBinaryOperatorType
.BooleanAnd;
4221
CodeBinaryOperatorType
.IdentityEquality,
4225
CodeBinaryOperatorType
.IdentityInequality,
4231
cboe5.Operator =
CodeBinaryOperatorType
.BooleanAnd;
4237
CodeBinaryOperatorType
.ValueEquality,
4243
cboe7.Operator =
CodeBinaryOperatorType
.BooleanAnd;
4262
CodeBinaryOperatorType
.IdentityInequality,
4269
CodeBinaryOperatorType
.ValueEquality,
4275
cboe3.Operator =
CodeBinaryOperatorType
.BooleanAnd;
4427
cboe.Operator =
CodeBinaryOperatorType
.LessThan;
4433
CodeBinaryOperatorType
.Add,
5065
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
5099
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
5447
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5456
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5471
cboe3.Operator =
CodeBinaryOperatorType
.IdentityEquality;
5476
cboe4.Operator =
CodeBinaryOperatorType
.IdentityEquality;
5481
cboe5.Operator =
CodeBinaryOperatorType
.BooleanOr;
5533
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
5538
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5543
cboe2.Operator =
CodeBinaryOperatorType
.BooleanAnd;
5606
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
5611
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5616
cboe2.Operator =
CodeBinaryOperatorType
.BooleanAnd;
5634
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5643
cboe.Operator =
CodeBinaryOperatorType
.LessThan;
5649
CodeBinaryOperatorType
.Add,
5673
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
5702
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5767
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5826
cboe1.Operator =
CodeBinaryOperatorType
.LessThan;
5835
CodeBinaryOperatorType
.Add,
5902
cboe1.Operator =
CodeBinaryOperatorType
.IdentityInequality;
5947
cboe1.Operator =
CodeBinaryOperatorType
.LessThan;
5957
CodeBinaryOperatorType
.Add,
6099
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
6113
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
6147
cboe1.Operator =
CodeBinaryOperatorType
.LessThan;
6153
CodeBinaryOperatorType
.Add,
6320
cboe1.Operator =
CodeBinaryOperatorType
.IdentityEquality;
6491
cboe.Operator =
CodeBinaryOperatorType
.IdentityEquality;
6512
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
6530
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
6565
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
6577
cboe.Operator =
CodeBinaryOperatorType
.Divide;
6583
cboe2.Operator =
CodeBinaryOperatorType
.Multiply;
6599
cboeYear.Operator =
CodeBinaryOperatorType
.LessThan;
6605
cboeMonth.Operator =
CodeBinaryOperatorType
.LessThan;
6610
cboeDay.Operator =
CodeBinaryOperatorType
.LessThan;
6615
cboeHour.Operator =
CodeBinaryOperatorType
.LessThan;
6620
cboeMinute.Operator =
CodeBinaryOperatorType
.LessThan;
6625
cboeSecond.Operator =
CodeBinaryOperatorType
.LessThan;
6630
cboeTicks.Operator =
CodeBinaryOperatorType
.LessThan;
6635
cboetemp1.Operator =
CodeBinaryOperatorType
.BooleanOr;
6640
cboetemp2.Operator =
CodeBinaryOperatorType
.BooleanOr;
6645
cboetemp3.Operator =
CodeBinaryOperatorType
.BooleanOr;
6650
cboetemp4.Operator =
CodeBinaryOperatorType
.BooleanOr;
6655
cboetemp5.Operator =
CodeBinaryOperatorType
.BooleanOr;
6660
cboetemp6.Operator =
CodeBinaryOperatorType
.BooleanOr;
6665
cboetemp7.Operator =
CodeBinaryOperatorType
.BooleanOr;
6757
cboe.Operator =
CodeBinaryOperatorType
.Divide;
6797
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
6828
cboe.Operator =
CodeBinaryOperatorType
.Subtract;
6867
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
6948
cboe.Operator =
CodeBinaryOperatorType
.GreaterThan;
6978
cboe3.Operator =
CodeBinaryOperatorType
.LessThan;
7068
cboe.Operator =
CodeBinaryOperatorType
.Subtract;
7073
cboe1.Operator =
CodeBinaryOperatorType
.Multiply;
7081
cboe2.Operator =
CodeBinaryOperatorType
.Divide;
7106
cboe.Operator =
CodeBinaryOperatorType
.GreaterThan;
7193
cboe.Operator =
CodeBinaryOperatorType
.Divide;
7218
cboe.Operator =
CodeBinaryOperatorType
.GreaterThan;
7239
cboe1.Operator =
CodeBinaryOperatorType
.GreaterThanOrEqual;
7247
cboe2.Operator =
CodeBinaryOperatorType
.Divide;
7275
CodeBinaryOperatorType
.Subtract,
7365
cboe.Operator =
CodeBinaryOperatorType
.Subtract;
7370
cboe1.Operator =
CodeBinaryOperatorType
.Multiply;
7375
cboe2.Operator =
CodeBinaryOperatorType
.Divide;
7402
cboe.Operator =
CodeBinaryOperatorType
.GreaterThan;
7507
cboe.Operator =
CodeBinaryOperatorType
.IdentityEquality;
7528
cboe.Operator =
CodeBinaryOperatorType
.ValueEquality;
7547
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
7570
cboe.Operator =
CodeBinaryOperatorType
.IdentityInequality;
7630
CodeBinaryOperatorType
.Multiply,
7638
CodeBinaryOperatorType
.Divide,
7656
cboeDays.Operator =
CodeBinaryOperatorType
.LessThan;
7662
cboeHours.Operator =
CodeBinaryOperatorType
.LessThan;
7667
cboeMinutes.Operator =
CodeBinaryOperatorType
.LessThan;
7672
cboeSeconds.Operator =
CodeBinaryOperatorType
.LessThan;
7677
cboeTicks.Operator =
CodeBinaryOperatorType
.LessThan;
7682
cboetemp1.Operator =
CodeBinaryOperatorType
.BooleanOr;
7687
cboetemp2.Operator =
CodeBinaryOperatorType
.BooleanOr;
7692
cboetemp3.Operator =
CodeBinaryOperatorType
.BooleanOr;
7697
cboetemp4.Operator =
CodeBinaryOperatorType
.BooleanOr;
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (3)
1816
CodeBinaryOperatorType
.IdentityEquality,
1912
CodeConditionStatement ifStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(propertyChanged,
CodeBinaryOperatorType
.IdentityInequality, NullReference));
1970
ifStatement.Condition = new CodeBinaryOperatorExpression(left,
CodeBinaryOperatorType
.IdentityInequality, right);
System.ServiceModel (2)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
827
CodeBinaryOperatorType
.IdentityInequality,
925
CodeBinaryOperatorType
.IdentityEquality,
System.Web (14)
Compilation\BaseCodeDomTreeGenerator.cs (2)
452
CodeBinaryOperatorType
.ValueEquality,
617
ifStmt.Condition = new CodeBinaryOperatorExpression(fieldAccess,
CodeBinaryOperatorType
.IdentityEquality, new CodePrimitiveExpression(null));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
498
CodeBinaryOperatorExpression contentNullCheckExpr = new CodeBinaryOperatorExpression(contentTemplatesFieldRef,
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null));
530
templateIfStmt.Condition = new CodeBinaryOperatorExpression(templateFieldRef,
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null));
924
templateIfStmt.Condition = new CodeBinaryOperatorExpression(templateFieldRef,
CodeBinaryOperatorType
.IdentityEquality, new CodePrimitiveExpression(null));
1080
ensureControlExpression.Operator =
CodeBinaryOperatorType
.IdentityInequality;
Compilation\DataBindingExpressionBuilder.cs (1)
58
CodeBinaryOperatorType
.IdentityInequality,
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
124
CodeBinaryOperatorType
.IdentityInequality,
Compilation\PageCodeDomTreeGenerator.cs (1)
189
CodeBinaryOperatorType
.IdentityEquality,
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
755
istatement.Condition = new CodeBinaryOperatorExpression(cmie,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(false));
1238
istatement.Condition = new CodeBinaryOperatorExpression(result,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(true));
1241
istatement.Condition = new CodeBinaryOperatorExpression(result,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(false));
1299
istatement.Condition = new CodeBinaryOperatorExpression(result,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(true));
1302
istatement.Condition = new CodeBinaryOperatorExpression(result,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(false));
System.Web.Services (4)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
286
invokeParams[1] = new CodeBinaryOperatorExpression(left,
CodeBinaryOperatorType
.Add, right);
System\Web\Services\Description\ProtocolImporter.cs (1)
690
CodeBinaryOperatorExpression checkIfNull = new CodeBinaryOperatorExpression(urlSettingReference,
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null));
System\Web\Services\Description\WebCodeGenerator.cs (2)
292
CodeBinaryOperatorExpression checkIfNull = new CodeBinaryOperatorExpression(member,
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null));
337
CodeBinaryOperatorExpression checkIfNull = new CodeBinaryOperatorExpression(member,
CodeBinaryOperatorType
.IdentityEquality, new CodePrimitiveExpression(null));
System.Workflow.Activities (359)
Rules\ArithmeticLiteral.cs (160)
298
CodeBinaryOperatorType
operation,
337
private static Type ResultType(
CodeBinaryOperatorType
operation, TypeFlags lhsType, TypeFlags rhsType)
345
case
CodeBinaryOperatorType
.Add:
349
goto case
CodeBinaryOperatorType
.Divide;
351
case
CodeBinaryOperatorType
.Divide:
352
case
CodeBinaryOperatorType
.Modulus:
353
case
CodeBinaryOperatorType
.Multiply:
354
case
CodeBinaryOperatorType
.Subtract:
399
case
CodeBinaryOperatorType
.BitwiseAnd:
400
case
CodeBinaryOperatorType
.BitwiseOr:
432
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName,
CodeBinaryOperatorType
.Add, this.TypeName);
433
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.Add, this.m_type);
437
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.Add, this.TypeName);
438
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.Add, this.m_type);
442
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
443
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
447
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
448
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
452
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
453
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
457
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
458
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
462
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
463
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
467
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
468
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
472
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
473
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
477
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
478
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
482
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
483
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
487
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
488
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
492
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Add, this.TypeName);
493
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Add, this.m_type);
498
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName,
CodeBinaryOperatorType
.Subtract, this.TypeName);
499
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.Subtract, this.m_type);
503
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.Subtract, this.TypeName);
504
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.Subtract, this.m_type);
508
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
509
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
513
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
514
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
518
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
519
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
523
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
524
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
528
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
529
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
533
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
534
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
538
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
539
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
543
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.TypeName);
544
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Subtract, this.m_type);
549
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName,
CodeBinaryOperatorType
.Multiply, this.TypeName);
550
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.Multiply, this.m_type);
554
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.Multiply, this.TypeName);
555
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.Multiply, this.m_type);
559
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
560
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
564
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
565
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
569
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
570
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
574
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
575
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
579
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
580
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
584
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
585
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
589
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
590
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
594
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.TypeName);
595
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Multiply, this.m_type);
600
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName,
CodeBinaryOperatorType
.Divide, this.TypeName);
601
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.Divide, this.m_type);
605
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.Divide, this.TypeName);
606
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.Divide, this.m_type);
610
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
611
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
615
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
616
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
620
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
621
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
625
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
626
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
630
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
631
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
635
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
636
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
640
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
641
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
645
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Divide, this.TypeName);
646
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Divide, this.m_type);
651
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.m_type,
CodeBinaryOperatorType
.Modulus, this.TypeName);
652
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.Modulus, this.m_type);
656
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.Modulus, this.TypeName);
657
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.Modulus, this.m_type);
661
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
662
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
666
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
667
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
671
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
672
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
676
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
677
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
681
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
682
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
686
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
687
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
691
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
692
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
696
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.TypeName);
697
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.Modulus, this.m_type);
702
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.m_type,
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
703
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
707
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
708
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
712
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
713
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
717
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
718
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
722
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
723
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
727
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
728
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
732
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
733
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
737
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
738
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
742
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
743
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
747
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
748
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
752
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.TypeName);
753
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseAnd, this.m_type);
758
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName,
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
759
throw new RuleEvaluationIncompatibleTypesException(message, v.m_type,
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
763
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue,
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
764
throw new RuleEvaluationIncompatibleTypesException(message, typeof(void),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
768
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
769
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
773
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
774
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
778
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
779
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
783
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
784
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
788
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
789
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
793
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
794
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
798
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
799
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
803
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
804
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
808
string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.TypeName);
809
throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(),
CodeBinaryOperatorType
.BitwiseOr, this.m_type);
Rules\CodeDomDecompiler.cs (16)
440
case
CodeBinaryOperatorType
.Multiply:
441
case
CodeBinaryOperatorType
.Divide:
442
case
CodeBinaryOperatorType
.Modulus:
446
case
CodeBinaryOperatorType
.Subtract:
447
case
CodeBinaryOperatorType
.Add:
451
case
CodeBinaryOperatorType
.LessThan:
452
case
CodeBinaryOperatorType
.LessThanOrEqual:
453
case
CodeBinaryOperatorType
.GreaterThan:
454
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
458
case
CodeBinaryOperatorType
.IdentityEquality:
459
case
CodeBinaryOperatorType
.ValueEquality:
460
case
CodeBinaryOperatorType
.IdentityInequality:
464
case
CodeBinaryOperatorType
.BitwiseAnd:
468
case
CodeBinaryOperatorType
.BitwiseOr:
472
case
CodeBinaryOperatorType
.BooleanAnd:
476
case
CodeBinaryOperatorType
.BooleanOr:
Rules\Exceptions.cs (6)
113
private
CodeBinaryOperatorType
m_op;
128
public
CodeBinaryOperatorType
Operator
180
CodeBinaryOperatorType
op,
200
CodeBinaryOperatorType
op,
223
m_op = (
CodeBinaryOperatorType
)serializeInfo.GetValue("op", typeof(
CodeBinaryOperatorType
));
Rules\Expressions.cs (53)
254
case
CodeBinaryOperatorType
.Add:
255
case
CodeBinaryOperatorType
.Subtract:
256
case
CodeBinaryOperatorType
.Multiply:
257
case
CodeBinaryOperatorType
.Divide:
258
case
CodeBinaryOperatorType
.Modulus:
259
case
CodeBinaryOperatorType
.BitwiseAnd:
260
case
CodeBinaryOperatorType
.BitwiseOr:
278
case
CodeBinaryOperatorType
.IdentityEquality:
279
case
CodeBinaryOperatorType
.IdentityInequality:
283
case
CodeBinaryOperatorType
.ValueEquality:
301
case
CodeBinaryOperatorType
.LessThan:
302
case
CodeBinaryOperatorType
.LessThanOrEqual:
303
case
CodeBinaryOperatorType
.GreaterThan:
304
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
322
case
CodeBinaryOperatorType
.BooleanAnd:
323
case
CodeBinaryOperatorType
.BooleanOr:
450
CodeBinaryOperatorType
operation = binaryExpr.Operator;
452
if (operation ==
CodeBinaryOperatorType
.BooleanAnd)
464
else if (operation ==
CodeBinaryOperatorType
.BooleanOr)
513
private static object EvaluateBinaryOperation(CodeBinaryOperatorExpression binaryExpr, Type lhsType, object lhsValue,
CodeBinaryOperatorType
operation, Type rhsType, object rhsValue)
524
case
CodeBinaryOperatorType
.Add:
532
case
CodeBinaryOperatorType
.Subtract:
540
case
CodeBinaryOperatorType
.Multiply:
548
case
CodeBinaryOperatorType
.Divide:
556
case
CodeBinaryOperatorType
.Modulus:
564
case
CodeBinaryOperatorType
.BitwiseAnd:
572
case
CodeBinaryOperatorType
.BitwiseOr:
581
case
CodeBinaryOperatorType
.ValueEquality:
589
case
CodeBinaryOperatorType
.IdentityEquality:
591
case
CodeBinaryOperatorType
.IdentityInequality:
594
case
CodeBinaryOperatorType
.LessThan:
602
case
CodeBinaryOperatorType
.LessThanOrEqual:
610
case
CodeBinaryOperatorType
.GreaterThan:
618
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
675
case
CodeBinaryOperatorType
.Modulus:
678
case
CodeBinaryOperatorType
.Multiply:
681
case
CodeBinaryOperatorType
.Divide:
685
case
CodeBinaryOperatorType
.Subtract:
688
case
CodeBinaryOperatorType
.Add:
692
case
CodeBinaryOperatorType
.LessThan:
695
case
CodeBinaryOperatorType
.LessThanOrEqual:
698
case
CodeBinaryOperatorType
.GreaterThan:
701
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
705
case
CodeBinaryOperatorType
.IdentityEquality:
706
case
CodeBinaryOperatorType
.ValueEquality:
709
case
CodeBinaryOperatorType
.IdentityInequality:
713
case
CodeBinaryOperatorType
.BitwiseAnd:
717
case
CodeBinaryOperatorType
.BitwiseOr:
721
case
CodeBinaryOperatorType
.BooleanAnd:
725
case
CodeBinaryOperatorType
.BooleanOr:
740
if (binaryExpr.Operator ==
CodeBinaryOperatorType
.ValueEquality)
759
if (lhsBinary != null && lhsBinary.Operator ==
CodeBinaryOperatorType
.ValueEquality)
797
else if (binaryExpr.Operator ==
CodeBinaryOperatorType
.Subtract)
Rules\Literal.cs (86)
155
CodeBinaryOperatorType
.Assign,
416
CodeBinaryOperatorType
comparison,
431
if ((lhsFlags == TypeFlags.Bool) && (comparison !=
CodeBinaryOperatorType
.ValueEquality))
488
CodeBinaryOperatorType
op,
503
case
CodeBinaryOperatorType
.ValueEquality:
507
case
CodeBinaryOperatorType
.GreaterThan:
511
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
515
case
CodeBinaryOperatorType
.LessThan:
519
case
CodeBinaryOperatorType
.LessThanOrEqual:
523
case
CodeBinaryOperatorType
.Add:
527
case
CodeBinaryOperatorType
.Subtract:
531
case
CodeBinaryOperatorType
.Multiply:
535
case
CodeBinaryOperatorType
.Divide:
539
case
CodeBinaryOperatorType
.Modulus:
543
case
CodeBinaryOperatorType
.BitwiseAnd:
547
case
CodeBinaryOperatorType
.BitwiseOr:
577
case
CodeBinaryOperatorType
.Add:
586
case
CodeBinaryOperatorType
.Subtract:
610
case
CodeBinaryOperatorType
.ValueEquality:
611
case
CodeBinaryOperatorType
.LessThan:
612
case
CodeBinaryOperatorType
.LessThanOrEqual:
613
case
CodeBinaryOperatorType
.GreaterThan:
614
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
647
case
CodeBinaryOperatorType
.Add:
657
case
CodeBinaryOperatorType
.Subtract:
677
case
CodeBinaryOperatorType
.ValueEquality:
678
case
CodeBinaryOperatorType
.LessThan:
679
case
CodeBinaryOperatorType
.LessThanOrEqual:
680
case
CodeBinaryOperatorType
.GreaterThan:
681
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
1026
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1031
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1036
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1041
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1046
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1051
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1056
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1061
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1066
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1071
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1076
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1081
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1086
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1091
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThan, m_type);
1107
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1112
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1117
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1122
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1127
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1132
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1137
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1142
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1147
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1152
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1157
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1162
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1167
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1172
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThan, m_type);
1188
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1193
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1198
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1203
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1208
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1213
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1218
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1223
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1228
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1233
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1238
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1243
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1248
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1253
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.LessThanOrEqual, m_type);
1269
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1274
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1279
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1284
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1289
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1294
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1299
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1304
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1309
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1314
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1319
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1324
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1329
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
1334
throw new RuleEvaluationIncompatibleTypesException(message, literalValue.GetType(),
CodeBinaryOperatorType
.GreaterThanOrEqual, m_type);
Rules\Parser\Parser.cs (22)
519
private
CodeBinaryOperatorType
codeDomOperator;
521
internal BinaryOperationDescriptor(TokenID token,
CodeBinaryOperatorType
codeDomOperator)
541
: base(token,
CodeBinaryOperatorType
.IdentityInequality) // kludge
551
CodeBinaryOperatorExpression binaryExpr = new CodeBinaryOperatorExpression(left,
CodeBinaryOperatorType
.ValueEquality, right);
555
binaryExpr = new CodeBinaryOperatorExpression(binaryExpr,
CodeBinaryOperatorType
.ValueEquality, falseExpr);
585
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.Or,
CodeBinaryOperatorType
.BooleanOr)),
586
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.And,
CodeBinaryOperatorType
.BooleanAnd)),
588
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.BitOr,
CodeBinaryOperatorType
.BitwiseOr)),
590
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.BitAnd,
CodeBinaryOperatorType
.BitwiseAnd)),
592
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.Equal,
CodeBinaryOperatorType
.ValueEquality),
593
new BinaryOperationDescriptor(TokenID.Assign,
CodeBinaryOperatorType
.ValueEquality),
596
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.Less,
CodeBinaryOperatorType
.LessThan),
597
new BinaryOperationDescriptor(TokenID.LessEqual,
CodeBinaryOperatorType
.LessThanOrEqual),
598
new BinaryOperationDescriptor(TokenID.Greater,
CodeBinaryOperatorType
.GreaterThan),
599
new BinaryOperationDescriptor(TokenID.GreaterEqual,
CodeBinaryOperatorType
.GreaterThanOrEqual)),
601
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.Plus,
CodeBinaryOperatorType
.Add),
602
new BinaryOperationDescriptor(TokenID.Minus,
CodeBinaryOperatorType
.Subtract)),
604
new BinaryPrecedenceDescriptor(new BinaryOperationDescriptor(TokenID.Multiply,
CodeBinaryOperatorType
.Multiply),
605
new BinaryOperationDescriptor(TokenID.Divide,
CodeBinaryOperatorType
.Divide),
606
new BinaryOperationDescriptor(TokenID.Modulus,
CodeBinaryOperatorType
.Modulus))
1311
unaryResult = new CodeBinaryOperatorExpression(unaryResult,
CodeBinaryOperatorType
.ValueEquality, new CodePrimitiveExpression(false));
1323
unaryResult = new CodeBinaryOperatorExpression(new CodePrimitiveExpression(0),
CodeBinaryOperatorType
.Subtract, unaryResult);
Rules\RuleValidation.cs (16)
547
CodeBinaryOperatorType
op;
561
public EnumOperationMethodInfo(Type lhs,
CodeBinaryOperatorType
operation, Type rhs, bool isZero)
603
case
CodeBinaryOperatorType
.Add:
615
case
CodeBinaryOperatorType
.Subtract:
646
case
CodeBinaryOperatorType
.ValueEquality:
647
case
CodeBinaryOperatorType
.LessThan:
648
case
CodeBinaryOperatorType
.LessThanOrEqual:
649
case
CodeBinaryOperatorType
.GreaterThan:
650
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
698
case
CodeBinaryOperatorType
.Add:
709
case
CodeBinaryOperatorType
.Subtract:
723
case
CodeBinaryOperatorType
.ValueEquality:
727
case
CodeBinaryOperatorType
.LessThan:
731
case
CodeBinaryOperatorType
.LessThanOrEqual:
735
case
CodeBinaryOperatorType
.GreaterThan:
739
case
CodeBinaryOperatorType
.GreaterThanOrEqual:
System.Xml (2)
System\Xml\Serialization\CodeExporter.cs (1)
359
CodeConditionStatement ifStatement = new CodeConditionStatement(new CodeBinaryOperatorExpression(propertyChanged,
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null)));
System\Xml\Serialization\XmlCodeExporter.cs (1)
211
valueExpression = new CodeBinaryOperatorExpression(valueExpression,
CodeBinaryOperatorType
.BitwiseOr, enumRef);
XamlBuildTask (13)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (13)
405
Operator =
CodeBinaryOperatorType
.ValueEquality,
442
CodeBinaryOperatorType
.ValueEquality,
637
xmlReaderNotNull.Condition = new CodeBinaryOperatorExpression(xmlReaderVar,
CodeBinaryOperatorType
.IdentityInequality,
644
xamlReaderNotNull.Condition = new CodeBinaryOperatorExpression(xamlReaderVar,
CodeBinaryOperatorType
.IdentityInequality,
651
objWriterNotNull.Condition = new CodeBinaryOperatorExpression(objWriterVar,
CodeBinaryOperatorType
.IdentityInequality,
749
Operator =
CodeBinaryOperatorType
.LessThan,
762
Operator =
CodeBinaryOperatorType
.Add,
788
Operator =
CodeBinaryOperatorType
.BooleanOr,
1107
new CodeBinaryOperatorExpression(assemblyList,
CodeBinaryOperatorType
.IdentityEquality, new CodePrimitiveExpression(null)),
1160
CodeBinaryOperatorType
.IdentityInequality,
1166
new CodeBinaryOperatorExpression(xsc,
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null)),
1176
CodeBinaryOperatorType
.GreaterThan,
1238
CodeBinaryOperatorType
.IdentityInequality, new CodePrimitiveExpression(null));