8 references to ReturnType
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
ExpressionTrees\Sources\ExprLambdaUtils.vb (2)
262If node.ReturnType IsNot Nothing Then 263_s.AppendLine(indent + "return type: " + node.ReturnType.ToString())
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));