8 references to HasExplicitReturnType
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.IdentifierUsedAsValueFinder.cs (1)
180unboundLambda.HasExplicitReturnType(out RefKind refKind, out TypeWithAnnotations returnType);
Binder\Semantics\Conversions\ConversionsBase.cs (1)
1410if (anonymousFunction.HasExplicitReturnType(out var refKind, out var returnType))
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (1)
1496if (!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)
8997useDelegateInvokeReturnType = !unboundLambda.HasExplicitReturnType(out _, out _);
Symbols\Source\LambdaSymbol.cs (1)
57if (!unboundLambda.HasExplicitReturnType(out _refKind, out _returnType))