6 references to ReturnType
System.Linq.Expressions (6)
System\Linq\Expressions\Compiler\LambdaCompiler.ControlFlow.cs (1)
258_labelInfo.Add(label, new LabelInfo(_ilg, label, TypeUtils.AreReferenceAssignable(lambda.ReturnType, label.Type)));
System\Linq\Expressions\Compiler\LambdaCompiler.cs (1)
74var method = new DynamicMethod(lambda.Name ?? ("lambda_method" + lambdaMethodIndex.ToString()), lambda.ReturnType, parameterTypes, true);
System\Linq\Expressions\Compiler\LambdaCompiler.Lambda.cs (1)
226if (_lambda.ReturnType == typeof(void))
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
233public Type ReturnType => _node.ReturnType;
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
324if (node.Body.Type != typeof(void) && node.ReturnType == typeof(void)) 329Debug.Assert(_instructions.CurrentStackDepth == (node.ReturnType != typeof(void) ? 1 : 0));