45 references to UnboundLambda
Microsoft.CodeAnalysis.CSharp (45)
Binder\Binder.ValueChecks.cs (1)
575
case BoundKind.
UnboundLambda
:
Binder\Binder_Conversions.cs (3)
135
if (conversion.IsAnonymousFunction && source.Kind == BoundKind.
UnboundLambda
)
648
Debug.Assert(source.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);
655
if (source.Kind == BoundKind.
UnboundLambda
&&
Binder\Binder_Expressions.cs (5)
199
if (expr.HasAnyErrors && ((object)resultType != null || exprKind == BoundKind.
UnboundLambda
|| exprKind == BoundKind.DefaultLiteral))
399
Debug.Assert(expr.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup);
2514
if (operand.Kind == BoundKind.
UnboundLambda
)
6574
if (boundLeft.Kind == BoundKind.
UnboundLambda
)
9511
if (receiver.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Invocation.cs (2)
477
if (arg.Kind == BoundKind.Lambda || arg.Kind == BoundKind.
UnboundLambda
)
1695
case BoundKind.
UnboundLambda
:
Binder\Binder_Operators.cs (3)
3116
case BoundKind.
UnboundLambda
:
3635
case BoundKind.
UnboundLambda
:
3941
if (leftOperand.Kind == BoundKind.
UnboundLambda
|| leftOperand.Kind == BoundKind.MethodGroup)
Binder\Binder_Query.cs (1)
950
else if (ultimateReceiver.Kind == BoundKind.Lambda || ultimateReceiver.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_QueryErrors.cs (1)
220
if (arg.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Statements.cs (4)
895
BoundExpression expression = value.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup ?
1923
if (expression.HasAnyErrors && expression.Kind != BoundKind.
UnboundLambda
)
2290
case BoundKind.
UnboundLambda
:
2400
Debug.Assert(operand.HasAnyErrors && operand.Kind != BoundKind.
UnboundLambda
, "Missing a case in implicit conversion error reporting");
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1053
case BoundKind.
UnboundLambda
:
1570
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
456
&& nonDelegate.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (6)
607
if (argument.Kind == BoundKind.
UnboundLambda
&& target.Type.GetDelegateType() is { })
905
(!isFunctionPointer && argument.Kind is not (BoundKind.
UnboundLambda
or BoundKind.MethodGroup)))
961
(!isFunctionPointer && argument.Kind is not (BoundKind.
UnboundLambda
or BoundKind.MethodGroup)))
1436
if (source.Kind != BoundKind.
UnboundLambda
)
1490
if (source.Kind != BoundKind.
UnboundLambda
)
2881
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2540
if (node.Kind == BoundKind.
UnboundLambda
&&
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1046
if (argument.Kind == BoundKind.
UnboundLambda
)
1181
if (argument.Kind == BoundKind.
UnboundLambda
&& refArg == refParameter)
BoundTree\BoundExpressionExtensions.cs (1)
119
Debug.Assert(expr.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);
Compilation\CSharpSemanticModel.cs (1)
2229
case BoundKind.
UnboundLambda
:
Compilation\MemberSemanticModel.cs (3)
1191
Debug.Assert(highestBoundNode.Kind != BoundKind.
UnboundLambda
);
1735
case BoundKind.
UnboundLambda
:
1800
case BoundKind.
UnboundLambda
:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
170
if (node.Kind == BoundKind.
UnboundLambda
)
FlowAnalysis\NullableWalker.cs (1)
7101
case BoundKind.
UnboundLambda
:
Generated\BoundNodes.xml.Generated.cs (3)
7315
: base(BoundKind.
UnboundLambda
, syntax, null, hasErrors)
7326
: base(BoundKind.
UnboundLambda
, syntax, null)
8896
case BoundKind.
UnboundLambda
:
Operations\CSharpOperationFactory.cs (2)
85
case BoundKind.
UnboundLambda
:
1113
boundOperand.Kind == BoundKind.
UnboundLambda
||
Symbols\FunctionTypeSymbol.cs (1)
68
Debug.Assert(expression.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);