41 references to Subtract
System (2)
compmod\microsoft\csharp\csharpcodeprovider.cs (1)
2118case CodeBinaryOperatorType.Subtract:
compmod\system\codedom\compiler\CodeGenerator.cs (1)
1242case CodeBinaryOperatorType.Subtract:
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
1998CodeBinaryOperatorType.Subtract, 2246CodeBinaryOperatorType.Subtract,
System.Management (4)
WmiGenerator.cs (4)
6828cboe.Operator = CodeBinaryOperatorType.Subtract; 7068cboe.Operator = CodeBinaryOperatorType.Subtract; 7275CodeBinaryOperatorType.Subtract, 7365cboe.Operator = CodeBinaryOperatorType.Subtract;
System.Workflow.Activities (33)
Rules\ArithmeticLiteral.cs (21)
354case CodeBinaryOperatorType.Subtract: 498string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.TypeName, CodeBinaryOperatorType.Subtract, this.TypeName); 499throw new RuleEvaluationIncompatibleTypesException(message, v.m_type, CodeBinaryOperatorType.Subtract, this.m_type); 503string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, Messages.NullValue, CodeBinaryOperatorType.Subtract, this.TypeName); 504throw new RuleEvaluationIncompatibleTypesException(message, typeof(void), CodeBinaryOperatorType.Subtract, this.m_type); 508string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 509throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 513string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 514throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 518string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 519throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 523string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 524throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 528string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 529throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 533string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 534throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 538string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 539throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type); 543string message = string.Format(CultureInfo.CurrentCulture, Messages.IncompatibleArithmeticTypes, v.GetType(), CodeBinaryOperatorType.Subtract, this.TypeName); 544throw new RuleEvaluationIncompatibleTypesException(message, v.GetType(), CodeBinaryOperatorType.Subtract, this.m_type);
Rules\CodeDomDecompiler.cs (1)
446case CodeBinaryOperatorType.Subtract:
Rules\Expressions.cs (4)
255case CodeBinaryOperatorType.Subtract: 532case CodeBinaryOperatorType.Subtract: 685case CodeBinaryOperatorType.Subtract: 797else if (binaryExpr.Operator == CodeBinaryOperatorType.Subtract)
Rules\Literal.cs (3)
527case CodeBinaryOperatorType.Subtract: 586case CodeBinaryOperatorType.Subtract: 657case CodeBinaryOperatorType.Subtract:
Rules\Parser\Parser.cs (2)
602new BinaryOperationDescriptor(TokenID.Minus, CodeBinaryOperatorType.Subtract)), 1323unaryResult = new CodeBinaryOperatorExpression(new CodePrimitiveExpression(0), CodeBinaryOperatorType.Subtract, unaryResult);
Rules\RuleValidation.cs (2)
615case CodeBinaryOperatorType.Subtract: 709case CodeBinaryOperatorType.Subtract: