25 references to ResultType
System.Activities (10)
System\Activities\Argument.cs (3)
285
if (actualExpression.
ResultType
!= this.ArgumentType)
289
new ValidationError(SR.ArgumentValueExpressionTypeMismatch(this.ArgumentType, actualExpression.
ResultType
), false, this.RuntimeArgument.Name, owner));
295
if (!ActivityUtilities.IsLocationGenericType(actualExpression.
ResultType
, out locationType) ||
System\Activities\CodeActivityPublicEnvironmentAccessor.cs (2)
141
AddGeneratedArgument(expression.
ResultType
, ArgumentDirection.In, expression);
168
codeActivityOfTType = typeof(CodeActivity<>).MakeGenericType(activityWithResult.
ResultType
);
System\Activities\Runtime\FuncCompletionCallbackWrapper.cs (1)
72
if (activity != null && TypeHelper.AreTypesCompatible(activity.
ResultType
, typeof(T)))
System\Activities\Statements\StateMachine.cs (1)
608
RuntimeArgument eventManagerArgument = new RuntimeArgument("Result", this.
ResultType
, ArgumentDirection.Out);
System\Activities\Variable.cs (2)
159
if (expression.
ResultType
!= this.Type)
163
new ValidationError(SR.VariableExpressionTypeMismatch(this.Name, this.Type, expression.
ResultType
), false, this.Name, parent));
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
1384
Type resultType = (activity is ActivityWithResult) ? ((ActivityWithResult)activity).
ResultType
: null;
System.Activities.Presentation (15)
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionConverter.cs (4)
60
argumentType = expression.
ResultType
;
65
if (expression.
ResultType
.IsGenericType)
67
argumentType = expression.
ResultType
.GetGenericArguments()[0];
72
argumentType = expression.
ResultType
;
System.Activities.Presentation\System\Activities\Presentation\Converters\ArgumentToExpressionModelItemConverter.cs (2)
68
argumentType = activityWithResult.
ResultType
;
73
argumentType = activityWithResult.
ResultType
.GetGenericArguments()[0];
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (2)
154
Type expressionType = expression.
ResultType
;
165
Type resultType = originalExpression.
ResultType
;
System.Activities.Presentation\System\Activities\Presentation\Metadata\ActivityArgumentHelper.cs (3)
196
if (expression.
ResultType
!= expectedReturnType)
238
Type expressionResultType = isLocationExpression ? expression.
ResultType
.GetGenericArguments()[0] : expression.
ResultType
;
System.Activities.Presentation\System\Activities\Presentation\NonTextualExpressionMorphHelper.cs (1)
30
if (expression.
ResultType
== newType &&
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (2)
832
else if ((!owner.UseLocationExpression && (owner.ExpressionType != null) && (expression.
ResultType
!= owner.ExpressionType)) ||
833
(owner.UseLocationExpression && (owner.ExpressionType != null) && (expression.
ResultType
!= typeof(Location<>).MakeGenericType(owner.ExpressionType))))
System.Activities.Presentation\System\Activities\Presentation\View\VisualBasicEditor.xaml.cs (1)
1296
(genericExpressionType == LiteralType && ExpressionHelper.CanTypeBeSerializedAsLiteral(expression.
ResultType
)))