1 write to _unboundLambda
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\UnboundLambda.cs (1)
562
_unboundLambda
= unbound;
27 references to _unboundLambda
Microsoft.CodeAnalysis.CSharp (27)
BoundTree\UnboundLambda.cs (27)
561
Debug.Assert(
_unboundLambda
== null || (object)
_unboundLambda
== unbound);
579
public UnboundLambda UnboundLambda =>
_unboundLambda
;
623
this.Binder.GenerateAnonymousFunctionConversionError(diagnostics,
_unboundLambda
.Syntax,
_unboundLambda
, targetType);
697
if (
_unboundLambda
.ParameterAttributes(i).Any())
705
if (
_unboundLambda
.ParameterAttributes(i).Any())
711
else if (scope == ScopedKind.ScopedValue &&
_unboundLambda
.ParameterAttributes(i).Any())
747
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
753
_unboundLambda
,
776
_unboundLambda
.ParameterAttributes(i).Any())
795
_unboundLambda
.Syntax,
815
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
842
lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder), inExpressionTree ? BinderFlags.InExpressionTree : BinderFlags.None);
905
var result = new BoundLambda(
_unboundLambda
.Syntax,
_unboundLambda
, block, diagnostics.ToReadOnlyAndFree(), lambdaBodyBinder, delegateType, inferredReturnType: default)
906
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
921
_unboundLambda
,
986
inferredReturnType = BoundLambda.InferReturnType(returnTypes,
_unboundLambda
, lambdaBodyBinder, delegateType, lambdaSymbol.IsAsync, lambdaBodyBinder.Conversions);
1001
_unboundLambda
.Syntax,
1002
_unboundLambda
,
1008
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
1024
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
1030
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
1251
_unboundLambda
.Syntax,
1252
_unboundLambda
,
1266
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };