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