1 write to _unboundLambda
Microsoft.CodeAnalysis.CSharp (1)
BoundTree\UnboundLambda.cs (1)
523
_unboundLambda
= unbound;
25 references to _unboundLambda
Microsoft.CodeAnalysis.CSharp (25)
BoundTree\UnboundLambda.cs (25)
522
Debug.Assert(
_unboundLambda
== null || (object)
_unboundLambda
== unbound);
540
public UnboundLambda UnboundLambda =>
_unboundLambda
;
573
this.Binder.GenerateAnonymousFunctionConversionError(diagnostics,
_unboundLambda
.Syntax,
_unboundLambda
, targetType);
645
if (
_unboundLambda
.ParameterAttributes(i).Any())
681
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
687
_unboundLambda
,
708
if (DeclaredScope(i) == ScopedKind.None && parameterScopesBuilder[i] == ScopedKind.ScopedRef &&
_unboundLambda
.ParameterAttributes(i).Any())
727
_unboundLambda
.Syntax,
746
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
773
lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder), inExpressionTree ? BinderFlags.InExpressionTree : BinderFlags.None);
835
var result = new BoundLambda(
_unboundLambda
.Syntax,
_unboundLambda
, block, diagnostics.ToReadOnlyAndFree(), lambdaBodyBinder, delegateType, inferredReturnType: default)
836
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
851
_unboundLambda
,
916
inferredReturnType = BoundLambda.InferReturnType(returnTypes,
_unboundLambda
, lambdaBodyBinder, delegateType, lambdaSymbol.IsAsync, lambdaBodyBinder.Conversions);
931
_unboundLambda
.Syntax,
932
_unboundLambda
,
938
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };
954
var diagnostics = BindingDiagnosticBag.GetInstance(withDiagnostics: true,
_unboundLambda
.WithDependencies);
960
var lambdaBodyBinder = new ExecutableCodeBinder(
_unboundLambda
.Syntax, lambdaSymbol, GetWithParametersBinder(lambdaSymbol, Binder));
1181
_unboundLambda
.Syntax,
1182
_unboundLambda
,
1196
{ WasCompilerGenerated =
_unboundLambda
.WasCompilerGenerated };