2 writes to type
System.Workflow.Activities (2)
Rules\RuleValidation.cs (2)
2493
this.
type
= type;
2505
this.
type
= paramInfo.ParameterType;
20 references to type
System.Workflow.Activities (20)
Rules\RuleValidation.cs (20)
2535
if (this.
type
.IsByRef && this.
type
!= argument.type)
2540
message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgumentTypeMismatch, argPosition, methodName, RuleDecompiler.DecompileType(argument.type), RuleDecompiler.DecompileType(this.
type
));
2548
if (!RuleValidation.TypesAreAssignable(argument.type, this.
type
, argument.expression, out error))
2552
message = string.Format(CultureInfo.CurrentCulture, Messages.MethodArgumentTypeMismatch, argPosition, methodName, RuleDecompiler.DecompileType(argument.type), RuleDecompiler.DecompileType(this.
type
));
2568
return this.direction == otherParam.direction && this.
type
== otherParam.
type
;
2573
return this.direction.GetHashCode() ^ this.
type
.GetHashCode();
2585
if (this.
type
== otherParam.
type
)
2589
if (argument.type == this.
type
)
2591
if (argument.type == otherParam.
type
)
2597
bool thisConvertsToOther = RuleValidation.TypesAreAssignable(this.
type
, otherParam.
type
, null, out dummy);
2598
bool otherConvertsToThis = RuleValidation.TypesAreAssignable(otherParam.
type
, this.
type
, null, out dummy);
2605
if (BetterSignedConversion(this.
type
, otherParam.
type
))
2607
if (BetterSignedConversion(otherParam.
type
, this.
type
))