BoundLambda
public BoundLambda(SyntaxNode syntax, UnboundLambda unboundLambda, BoundBlock body, ReadOnlyBindingDiagnostic<AssemblySymbol> diagnostics, Binder binder, TypeSymbol delegateType, InferredLambdaReturnType inferredReturnType)
public BoundLambda(SyntaxNode syntax, UnboundLambda unboundLambda, LambdaSymbol symbol, BoundBlock body, ReadOnlyBindingDiagnostic<AssemblySymbol> diagnostics, Binder binder, TypeSymbol type, bool hasErrors = false)
public TypeWithAnnotations GetInferredReturnType(ref CompoundUseSiteInfo useSiteInfo, out bool inferredFromFunctionType)
public TypeWithAnnotations GetInferredReturnType(ConversionsBase conversions, VariableState nullableState, ref CompoundUseSiteInfo useSiteInfo, out bool inferredFromFunctionType)
Infer return type. If `nullableState` is non-null, nullability is also inferred and `NullableWalker.Analyze`
uses that state to set the inferred nullability of variables in the enclosing scope. `conversions` is
only needed when nullability is inferred.
public BoundLambda Update(UnboundLambda unboundLambda, LambdaSymbol symbol, BoundBlock body, ReadOnlyBindingDiagnostic<AssemblySymbol> diagnostics, Binder binder, TypeSymbol type)