44 references to UnboundLambda
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder.ValueChecks.cs (1)
722case BoundKind.UnboundLambda:
Binder\Binder_Conversions.cs (1)
138if (conversion.IsAnonymousFunction && source.Kind == BoundKind.UnboundLambda)
Binder\Binder_Expressions.cs (5)
202if (expr.HasAnyErrors && ((object)resultType != null || exprKind == BoundKind.UnboundLambda || exprKind == BoundKind.DefaultLiteral)) 411Debug.Assert(expr.Kind is BoundKind.UnboundLambda or BoundKind.MethodGroup); 2727if (operand.Kind == BoundKind.UnboundLambda) 7643if (boundLeft.Kind == BoundKind.UnboundLambda) 11119if (receiver.Kind == BoundKind.UnboundLambda)
Binder\Binder_Invocation.cs (2)
585if (arg.Kind == BoundKind.Lambda || arg.Kind == BoundKind.UnboundLambda) 2016case BoundKind.UnboundLambda:
Binder\Binder_Operators.cs (3)
3159case BoundKind.UnboundLambda: 3707case BoundKind.UnboundLambda: 4018if (leftOperand.Kind == BoundKind.UnboundLambda || leftOperand.Kind == BoundKind.MethodGroup)
Binder\Binder_Query.cs (1)
951else if (ultimateReceiver.Kind == BoundKind.Lambda || ultimateReceiver.Kind == BoundKind.UnboundLambda)
Binder\Binder_QueryErrors.cs (1)
220if (arg.Kind == BoundKind.UnboundLambda)
Binder\Binder_Statements.cs (5)
892BoundExpression expression = value.Kind is BoundKind.UnboundLambda or BoundKind.MethodGroup ? 1936if (expression.HasAnyErrors && expression.Kind != BoundKind.UnboundLambda) 2326case BoundKind.UnboundLambda: 2440Debug.Assert(operand.HasAnyErrors && operand.Kind != BoundKind.UnboundLambda, "Missing a case in implicit conversion error reporting"); 3160if (!argument.HasAnyErrors || argument.Kind == BoundKind.UnboundLambda)
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1090case BoundKind.UnboundLambda: 1648if (source.Kind != BoundKind.UnboundLambda)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
456&& nonDelegate.Kind == BoundKind.UnboundLambda)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (6)
609if (argument.Kind == BoundKind.UnboundLambda && target.Type.GetDelegateType() is { }) 996(!isFunctionPointer && argument.Kind is not (BoundKind.UnboundLambda or BoundKind.MethodGroup))) 1052(!isFunctionPointer && argument.Kind is not (BoundKind.UnboundLambda or BoundKind.MethodGroup))) 1529if (source.Kind != BoundKind.UnboundLambda) 1583if (source.Kind != BoundKind.UnboundLambda) 3060if (source.Kind != BoundKind.UnboundLambda)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3252if (node.Kind == BoundKind.UnboundLambda &&
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1070if (argument.Kind == BoundKind.UnboundLambda) 1216if (argument.Kind == BoundKind.UnboundLambda && refArg == refParameter)
BoundTree\BoundExpressionExtensions.cs (1)
137Debug.Assert(expr.Kind is BoundKind.MethodGroup or BoundKind.UnboundLambda);
Compilation\CSharpSemanticModel.cs (1)
2231case BoundKind.UnboundLambda:
Compilation\MemberSemanticModel.cs (3)
1200Debug.Assert(highestBoundNode.Kind != BoundKind.UnboundLambda); 1744case BoundKind.UnboundLambda: 1809case BoundKind.UnboundLambda:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
169if (node.Kind == BoundKind.UnboundLambda)
FlowAnalysis\NullableWalker.cs (1)
7902case BoundKind.UnboundLambda:
Generated\BoundNodes.xml.Generated.cs (3)
7634: base(BoundKind.UnboundLambda, syntax, null, hasErrors) 7645: base(BoundKind.UnboundLambda, syntax, null) 9231case BoundKind.UnboundLambda:
Operations\CSharpOperationFactory.cs (2)
85case BoundKind.UnboundLambda: 1119boundOperand.Kind == BoundKind.UnboundLambda ||
Symbols\FunctionTypeSymbol.cs (1)
68Debug.Assert(expression.Kind is BoundKind.MethodGroup or BoundKind.UnboundLambda);