44 references to UnboundLambda
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder.ValueChecks.cs (1)
752
case BoundKind.
UnboundLambda
:
Binder\Binder_Conversions.cs (1)
138
if (conversion.IsAnonymousFunction && source.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Expressions.cs (5)
207
if (expr.HasAnyErrors && ((object)resultType != null || exprKind == BoundKind.
UnboundLambda
|| exprKind == BoundKind.DefaultLiteral))
416
Debug.Assert(expr.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup);
2772
if (operand.Kind == BoundKind.
UnboundLambda
)
7692
if (boundLeft.Kind == BoundKind.
UnboundLambda
)
11502
if (receiver.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Invocation.cs (2)
586
if (arg.Kind == BoundKind.Lambda || arg.Kind == BoundKind.
UnboundLambda
)
2071
case BoundKind.
UnboundLambda
:
Binder\Binder_Operators.cs (3)
3164
case BoundKind.
UnboundLambda
:
3712
case BoundKind.
UnboundLambda
:
4023
if (leftOperand.Kind == BoundKind.
UnboundLambda
|| leftOperand.Kind == BoundKind.MethodGroup)
Binder\Binder_Query.cs (1)
953
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 (5)
894
BoundExpression expression = value.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup ?
1948
if (expression.HasAnyErrors && expression.Kind != BoundKind.
UnboundLambda
)
2342
case BoundKind.
UnboundLambda
:
2456
Debug.Assert(operand.HasAnyErrors && operand.Kind != BoundKind.
UnboundLambda
, "Missing a case in implicit conversion error reporting");
3176
if (!argument.HasAnyErrors || argument.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1090
case BoundKind.
UnboundLambda
:
1646
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
456
&& nonDelegate.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (6)
634
if (argument.Kind == BoundKind.
UnboundLambda
&& target.Type.GetDelegateType() is { })
1021
(!isFunctionPointer && argument.Kind is not (BoundKind.
UnboundLambda
or BoundKind.MethodGroup)))
1077
(!isFunctionPointer && argument.Kind is not (BoundKind.
UnboundLambda
or BoundKind.MethodGroup)))
1556
if (source.Kind != BoundKind.
UnboundLambda
)
1610
if (source.Kind != BoundKind.
UnboundLambda
)
3087
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3270
if (node.Kind == BoundKind.
UnboundLambda
&&
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1070
if (argument.Kind == BoundKind.
UnboundLambda
)
1218
if (argument.Kind == BoundKind.
UnboundLambda
&& refArg == refParameter)
BoundTree\BoundExpressionExtensions.cs (1)
137
Debug.Assert(expr.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);
Compilation\CSharpSemanticModel.cs (1)
2239
case BoundKind.
UnboundLambda
:
Compilation\MemberSemanticModel.cs (3)
1200
Debug.Assert(highestBoundNode.Kind != BoundKind.
UnboundLambda
);
1744
case BoundKind.
UnboundLambda
:
1809
case BoundKind.
UnboundLambda
:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
169
if (node.Kind == BoundKind.
UnboundLambda
)
FlowAnalysis\NullableWalker.cs (1)
8063
case BoundKind.
UnboundLambda
:
Generated\BoundNodes.xml.Generated.cs (3)
7632
: base(BoundKind.
UnboundLambda
, syntax, null, hasErrors)
7643
: base(BoundKind.
UnboundLambda
, syntax, null)
9265
case BoundKind.
UnboundLambda
:
Operations\CSharpOperationFactory.cs (2)
85
case BoundKind.
UnboundLambda
:
1119
boundOperand.Kind == BoundKind.
UnboundLambda
||
Symbols\FunctionTypeSymbol.cs (1)
68
Debug.Assert(expression.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);