1 write to _unboundLambda
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\UnboundLambda.cs (1)
532
_unboundLambda
= unbound;
27 references to _unboundLambda
Microsoft.CodeAnalysis.CSharp (27)
BoundTree\UnboundLambda.cs (27)
531
Debug.Assert(
_unboundLambda
== null || (object)
_unboundLambda
== unbound);
549
public UnboundLambda UnboundLambda =>
_unboundLambda
;
593
this.Binder.GenerateAnonymousFunctionConversionError(diagnostics,
_unboundLambda
.Syntax,
_unboundLambda
, targetType);
667
if (
_unboundLambda
.ParameterAttributes(i).Any())
675
if (
_unboundLambda
.ParameterAttributes(i).Any())
681
else if (scope == ScopedKind.ScopedValue &&
_unboundLambda
.ParameterAttributes(i).Any())
717
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
723
_unboundLambda
,
746
_unboundLambda
.ParameterAttributes(i).Any())
765
_unboundLambda
.Syntax,
784
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
811
lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder), inExpressionTree ? BinderFlags.InExpressionTree : BinderFlags.None);
874
var result = new BoundLambda(
_unboundLambda
.Syntax,
_unboundLambda
, block, diagnostics.ToReadOnlyAndFree(), lambdaBodyBinder, delegateType, inferredReturnType: default)
875
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
890
_unboundLambda
,
955
inferredReturnType = BoundLambda.InferReturnType(returnTypes,
_unboundLambda
, lambdaBodyBinder, delegateType, lambdaSymbol.IsAsync, lambdaBodyBinder.Conversions);
970
_unboundLambda
.Syntax,
971
_unboundLambda
,
977
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
993
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
999
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
1220
_unboundLambda
.Syntax,
1221
_unboundLambda
,
1235
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };