Microsoft.CodeAnalysis.CSharp by Microsoft

<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.0-3.final" />

.NET API 7,927,456 bytes

 BoundLambda

public Binder Binder { get; }

public BoundBlock Body { get; }

public MessageID MessageID { get; }

public LambdaSymbol Symbol { get; }

public TypeSymbol Type { get; }

public UnboundLambda UnboundLambda { get; }

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)