8 references to ReturnType
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
ExpressionTrees\Sources\ExprLambdaUtils.vb (2)
262
If 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)
74
var method = new DynamicMethod(lambda.Name ?? ("lambda_method" + lambdaMethodIndex.ToString()), lambda.
ReturnType
, parameterTypes, true);
System\Linq\Expressions\Compiler\LambdaCompiler.Lambda.cs (1)
226
if (_lambda.
ReturnType
== typeof(void))
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
233
public Type ReturnType => _node.
ReturnType
;
System\Linq\Expressions\Interpreter\LightCompiler.cs (2)
324
if (node.Body.Type != typeof(void) && node.
ReturnType
== typeof(void))
329
Debug.Assert(_instructions.CurrentStackDepth == (node.
ReturnType
!= typeof(void) ? 1 : 0));