41 references to Subtract
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2118
case CodeBinaryOperatorType.
Subtract
:
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1242
case CodeBinaryOperatorType.
Subtract
:
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
1998
CodeBinaryOperatorType.
Subtract
,
2246
CodeBinaryOperatorType.
Subtract
,
System.Management (4)
WmiGenerator.cs (4)
6828
cboe.Operator = CodeBinaryOperatorType.
Subtract
;
7068
cboe.Operator = CodeBinaryOperatorType.
Subtract
;
7275
CodeBinaryOperatorType.
Subtract
,
7365
cboe.Operator = CodeBinaryOperatorType.
Subtract
;
System.Workflow.Activities (33)
Rules\ArithmeticLiteral.cs (21)
354
case CodeBinaryOperatorType.
Subtract
:
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);
Rules\CodeDomDecompiler.cs (1)
446
case CodeBinaryOperatorType.
Subtract
:
Rules\Expressions.cs (4)
255
case CodeBinaryOperatorType.
Subtract
:
532
case CodeBinaryOperatorType.
Subtract
:
685
case CodeBinaryOperatorType.
Subtract
:
797
else if (binaryExpr.Operator == CodeBinaryOperatorType.
Subtract
)
Rules\Literal.cs (3)
527
case CodeBinaryOperatorType.
Subtract
:
586
case CodeBinaryOperatorType.
Subtract
:
657
case CodeBinaryOperatorType.
Subtract
:
Rules\Parser\Parser.cs (2)
602
new BinaryOperationDescriptor(TokenID.Minus, CodeBinaryOperatorType.
Subtract
)),
1323
unaryResult = new CodeBinaryOperatorExpression(new CodePrimitiveExpression(0), CodeBinaryOperatorType.
Subtract
, unaryResult);
Rules\RuleValidation.cs (2)
615
case CodeBinaryOperatorType.
Subtract
:
709
case CodeBinaryOperatorType.
Subtract
: