11 references to ReturnType
System.Activities (6)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
145returnType = lambda.ReturnType; 260returnType = lambda.ReturnType;
System\Activities\ExpressionUtilities.cs (1)
1980typeof(Func<,>).MakeGenericType(typeof(ActivityContext), originalLambdaExpression.ReturnType),
System\Activities\XamlIntegration\CompiledDataContext.cs (3)
72if (lambdaExpression.ReturnType == null || lambdaExpression.ReturnType == typeof(void)) 78typeof(Func<,>).MakeGenericType(typeof(ActivityContext), lambdaExpression.ReturnType),
System.Core (5)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (1)
234public Type ReturnType { get { return _node.ReturnType; } }
Microsoft\Scripting\Compiler\LambdaCompiler.ControlFlow.cs (1)
239_labelInfo.Add(label, new LabelInfo(_ilg, label, TypeUtils.AreReferenceAssignable(lambda.ReturnType, label.Type)));
Microsoft\Scripting\Compiler\LambdaCompiler.cs (2)
93var method = new DynamicMethod(lambda.Name ?? "lambda_method", lambda.ReturnType, parameterTypes, true); 129method.SetReturnType(lambda.ReturnType);
Microsoft\Scripting\Compiler\LambdaCompiler.Lambda.cs (1)
180if (_lambda.ReturnType == typeof(void)) {