1 write to _unboundLambda
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\UnboundLambda.cs (1)
571
_unboundLambda
= unbound;
27 references to _unboundLambda
Microsoft.CodeAnalysis.CSharp (27)
BoundTree\UnboundLambda.cs (27)
570
Debug.Assert(
_unboundLambda
== null || (object)
_unboundLambda
== unbound);
588
public UnboundLambda UnboundLambda =>
_unboundLambda
;
632
this.Binder.GenerateAnonymousFunctionConversionError(diagnostics,
_unboundLambda
.Syntax,
_unboundLambda
, targetType);
708
if (
_unboundLambda
.ParameterAttributes(i).Any())
716
if (
_unboundLambda
.ParameterAttributes(i).Any())
722
else if (scope == ScopedKind.ScopedValue &&
_unboundLambda
.ParameterAttributes(i).Any())
759
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
765
_unboundLambda
,
788
_unboundLambda
.ParameterAttributes(i).Any())
807
_unboundLambda
.Syntax,
827
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
861
lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder), inExpressionTree ? BinderFlags.InExpressionTree : BinderFlags.None);
924
var result = new BoundLambda(
_unboundLambda
.Syntax,
_unboundLambda
, block, diagnostics.ToReadOnlyAndFree(), lambdaBodyBinder, delegateType, inferredReturnType: default)
925
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
941
_unboundLambda
,
1008
inferredReturnType = BoundLambda.InferReturnType(returnTypes,
_unboundLambda
, lambdaBodyBinder, delegateType, lambdaSymbol.IsAsync, lambdaBodyBinder.Conversions);
1028
_unboundLambda
.Syntax,
1029
_unboundLambda
,
1035
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
1056
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
1063
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
1286
_unboundLambda
.Syntax,
1287
_unboundLambda
,
1302
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };