87 references to RuleDecompiler
System.Workflow.Activities (87)
Rules\ArithmeticLiteral.cs (2)
319(lhs == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(lhs), 320(rhs == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(rhs));
Rules\Design\Dialogs\IntellisenseTextBox.cs (3)
525toolTipText.Append(RuleDecompiler.DecompileType(methodInfo.ReturnType)); 537toolTipText.Append(RuleDecompiler.DecompileType(ctorInfo.DeclaringType)); 585toolTipText.Append(RuleDecompiler.DecompileType(paramType));
Rules\Executor.cs (13)
131RuleDecompiler.DecompileType(propertyInfo.ReflectedType), propertyInfo.Name, e.InnerException.Message); 157RuleDecompiler.DecompileType(propertyInfo.ReflectedType), propertyInfo.Name, e.InnerException.Message); 216RuleDecompiler.DecompileType(validation.ThisType), 217RuleDecompiler.DecompileType(thisObject.GetType()))); 715RuleDecompiler.DecompileType(operandType), 716RuleDecompiler.DecompileType(toType))); 735RuleDecompiler.DecompileType(operandType), 736RuleDecompiler.DecompileType(toType))); 762RuleDecompiler.DecompileType(operandType), 763RuleDecompiler.DecompileType(toType))); 782RuleDecompiler.DecompileType(operandType), 783RuleDecompiler.DecompileType(toType))); 803string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotCastNullToValueType, RuleDecompiler.DecompileType(toType));
Rules\Expressions.cs (31)
144RuleDecompiler.DecompileObjectLiteral(stringBuilder, primitiveExpr.Value); 328(lhsType == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(lhsType)); 337(rhsType == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(rhsType)); 640RuleDecompiler.DecompileType(lhsType), 641RuleDecompiler.DecompileType(rhsType)); 778mustParenthesize = RuleDecompiler.MustParenthesize(leftExpr, parentExpression); 837mustParenthesize = RuleDecompiler.MustParenthesize(rightExpr, parentExpression); 855mustParenthesize = RuleDecompiler.MustParenthesize(binaryExpr, parentExpression); 947message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownField, fieldRefExpr.FieldName, RuleDecompiler.DecompileType(targetType)); 966message = string.Format(CultureInfo.CurrentCulture, Messages.FieldSetNotAllowed, fieldRefExpr.FieldName, RuleDecompiler.DecompileType(targetType)); 1102message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownProperty, propGetExpr.PropertyName, RuleDecompiler.DecompileType(targetType)); 1123message = string.Format(CultureInfo.CurrentCulture, baseMessage, propGetExpr.PropertyName, RuleDecompiler.DecompileType(targetType)); 1615RuleDecompiler.DecompileType(mi.ReflectedType), mi.Name, e.InnerException.Message); 1925RuleDecompiler.DecompileType(stringBuilder, typeRefExpr.Type); 2042message = string.Format(CultureInfo.CurrentCulture, Messages.CastOfNullInvalid, RuleDecompiler.DecompileType(toType)); 2114message = string.Format(CultureInfo.CurrentCulture, Messages.CastIncompatibleTypes, RuleDecompiler.DecompileType(fromType), RuleDecompiler.DecompileType(toType)); 2180message = string.Format(CultureInfo.CurrentCulture, Messages.CastIncompatibleTypes, Messages.NullValue, RuleDecompiler.DecompileType(toType)); 2215bool mustParenthesize = RuleDecompiler.MustParenthesize(castExpr, parentExpression); 2220RuleDecompiler.DecompileType(stringBuilder, castExpr.TargetType); 2392message = string.Format(CultureInfo.CurrentCulture, baseMessage, pi.Name, RuleDecompiler.DecompileType(targetType)); 2693message = string.Format(CultureInfo.CurrentCulture, Messages.CannotIndexType, RuleDecompiler.DecompileType(targetType)); 2762message = string.Format(CultureInfo.CurrentCulture, Messages.ArrayIndexBadType, RuleDecompiler.DecompileType(argType)); 2953message = string.Format(CultureInfo.CurrentCulture, Messages.NullConstructorParameter, i.ToString(CultureInfo.CurrentCulture), RuleDecompiler.DecompileType(resultType)); 2988message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownConstructor, RuleDecompiler.DecompileType(resultType)); 2998message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownConstructor, RuleDecompiler.DecompileType(resultType)); 3122RuleDecompiler.DecompileType(createExpressionInfo.ExpressionType), 3143bool mustParenthesize = RuleDecompiler.MustParenthesize(createExpression, parentExpression); 3148RuleDecompiler.DecompileType(stringBuilder, createExpression.CreateType); 3436bool mustParenthesize = RuleDecompiler.MustParenthesize(createExpression, parentExpression); 3441RuleDecompiler.DecompileType(stringBuilder, createExpression.CreateType);
Rules\Literal.cs (10)
152RuleDecompiler.DecompileType(literalValue.GetType()), 153RuleDecompiler.DecompileType(literalType)), 434RuleDecompiler.DecompileType(lhs), 435RuleDecompiler.DecompileType(rhs)); 458(lhs == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(lhs), 459(rhs == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(rhs)); 776(lhs == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(lhs), 777(rhs == typeof(NullLiteral)) ? Messages.NullValue : RuleDecompiler.DecompileType(rhs)); 794RuleDecompiler.DecompileMethod(candidates[0]), 795RuleDecompiler.DecompileMethod(candidates[1]));
Rules\Parser\Parser.cs (6)
1588string message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownFieldOrProperty, name, RuleDecompiler.DecompileType(type)); 1615string message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownFieldOrProperty, name, RuleDecompiler.DecompileType(thisType)); 1935RuleDecompiler.DecompileType(type)); 2119message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_NotAGenericType, RuleDecompiler.DecompileType(type)); 2127message = string.Format(CultureInfo.CurrentCulture, Messages.Parser_BadTypeArgCount, RuleDecompiler.DecompileType(type)); 2748message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownMethod, type.Name, RuleDecompiler.DecompileType(type));
Rules\RuleValidation.cs (20)
1267RuleDecompiler.DecompileType(fromType), 1268RuleDecompiler.DecompileType(toType)); 1368RuleDecompiler.DecompileType(fromType), 1369RuleDecompiler.DecompileType(toType)); 1458RuleDecompiler.DecompileType(fromType), 1459RuleDecompiler.DecompileType(toType)); 1610RuleDecompiler.DecompileType(fromType), 1611RuleDecompiler.DecompileType(toType)); 1908string message = string.Format(CultureInfo.CurrentCulture, Messages.AssignNotAllowed, Messages.NullValue, RuleDecompiler.DecompileType(lhsType)); 2335message = string.Format(CultureInfo.CurrentCulture, Messages.CannotAccessPrivateMember, memberName, RuleDecompiler.DecompileType(targetType)); 2346message = string.Format(CultureInfo.CurrentCulture, Messages.CannotAccessInternalMember, memberName, RuleDecompiler.DecompileType(targetType)); 2540message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgumentTypeMismatch, argPosition, methodName, RuleDecompiler.DecompileType(argument.type), RuleDecompiler.DecompileType(this.type)); 2552message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgumentTypeMismatch, argPosition, methodName, RuleDecompiler.DecompileType(argument.type), RuleDecompiler.DecompileType(this.type)); 3163message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownConstructor, RuleDecompiler.DecompileType(targetType)); 3181message = string.Format(CultureInfo.CurrentCulture, Messages.AmbiguousConstructor, RuleDecompiler.DecompileType(targetType)); 3204message = string.Format(CultureInfo.CurrentCulture, Messages.UnknownMethod, methodName, RuleDecompiler.DecompileType(targetType)); 3561message = string.Format(CultureInfo.CurrentCulture, Messages.IndexerNotFound, RuleDecompiler.DecompileType(targetType)); 3747sb.Append(RuleDecompiler.DecompileType(t));
Rules\Statements.cs (2)
170message = string.Format(CultureInfo.CurrentCulture, Messages.AssignNotAllowed, RuleDecompiler.DecompileType(expressionType), RuleDecompiler.DecompileType(assignmentType));