9 references to HasExplicitReturnType
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
180unboundLambda.HasExplicitReturnType(out RefKind refKind, out TypeWithAnnotations returnType);
Binder\Binder_Invocation.cs (1)
2077unboundArgument.HasExplicitReturnType(out _, out _) &&
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1469if (anonymousFunction.HasExplicitReturnType(out var refKind, out var returnType))
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1589if (!anonymousFunction.HasExplicitReturnType(out _, out TypeWithAnnotations anonymousFunctionReturnType))
BoundTree\UnboundLambda.cs (3)
137Debug.Assert(!UnboundLambda.HasExplicitReturnType(out _, out _)); 188Debug.Assert(!node.UnboundLambda.HasExplicitReturnType(out _, out _)); 195Debug.Assert(!node.HasExplicitReturnType(out _, out _));
FlowAnalysis\NullableWalker.cs (1)
9728useDelegateInvokeReturnType = !unboundLambda.HasExplicitReturnType(out _, out _);
Symbols\Source\LambdaSymbol.cs (1)
59if (!unboundLambda.HasExplicitReturnType(out _refKind, out _returnType))