46 references to UnboundLambda
Microsoft.CodeAnalysis.CSharp (46)
Binder\Binder.ValueChecks.cs (1)
990
case BoundKind.
UnboundLambda
:
Binder\Binder_Conversions.cs (3)
178
if (conversion.IsAnonymousFunction && source.Kind == BoundKind.
UnboundLambda
)
2765
Debug.Assert(source.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);
2772
if (source.Kind == BoundKind.
UnboundLambda
&&
Binder\Binder_Expressions.cs (5)
226
if (expr.HasAnyErrors && ((object)resultType != null || exprKind == BoundKind.
UnboundLambda
|| exprKind == BoundKind.DefaultLiteral))
448
Debug.Assert(expr.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup);
2848
if (operand.Kind == BoundKind.
UnboundLambda
)
7933
if (boundLeft.Kind == BoundKind.
UnboundLambda
)
11826
if (receiver.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Invocation.cs (2)
594
if (arg.Kind == BoundKind.Lambda || arg.Kind == BoundKind.
UnboundLambda
)
2169
case BoundKind.
UnboundLambda
:
Binder\Binder_Operators.cs (3)
4762
case BoundKind.
UnboundLambda
:
5360
case BoundKind.
UnboundLambda
:
5671
if (leftOperand.Kind == BoundKind.
UnboundLambda
|| leftOperand.Kind == BoundKind.MethodGroup)
Binder\Binder_Query.cs (1)
958
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)
899
BoundExpression expression = value.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup ?
1978
if (expression.HasAnyErrors && expression.Kind != BoundKind.
UnboundLambda
)
2372
case BoundKind.
UnboundLambda
:
2486
Debug.Assert(operand.HasAnyErrors && operand.Kind != BoundKind.
UnboundLambda
, "Missing a case in implicit conversion error reporting");
3210
if (!argument.HasAnyErrors || argument.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1105
case BoundKind.
UnboundLambda
:
1661
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
469
&& nonDelegate.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (6)
637
if (argument.Kind == BoundKind.
UnboundLambda
&& target.Type.GetDelegateType() is { })
1024
(!isFunctionPointer && argument.Kind is not (BoundKind.
UnboundLambda
or BoundKind.MethodGroup)))
1080
(!isFunctionPointer && argument.Kind is not (BoundKind.
UnboundLambda
or BoundKind.MethodGroup)))
1559
if (source.Kind != BoundKind.
UnboundLambda
)
1613
if (source.Kind != BoundKind.
UnboundLambda
)
3087
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3291
if (node.Kind == BoundKind.
UnboundLambda
&&
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1109
if (argument.Kind == BoundKind.
UnboundLambda
)
1257
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)
2242
case BoundKind.
UnboundLambda
:
Compilation\MemberSemanticModel.cs (3)
1239
Debug.Assert(highestBoundNode.Kind != BoundKind.
UnboundLambda
);
1783
case BoundKind.
UnboundLambda
:
1848
case BoundKind.
UnboundLambda
:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (1)
169
if (node.Kind == BoundKind.
UnboundLambda
)
FlowAnalysis\NullableWalker.cs (1)
8785
case BoundKind.
UnboundLambda
:
Generated\BoundNodes.xml.Generated.cs (3)
7769
: base(BoundKind.
UnboundLambda
, syntax, null, hasErrors)
7780
: base(BoundKind.
UnboundLambda
, syntax, null)
9501
case BoundKind.
UnboundLambda
:
Operations\CSharpOperationFactory.cs (2)
84
case BoundKind.
UnboundLambda
:
1159
boundOperand.Kind == BoundKind.
UnboundLambda
||
Symbols\FunctionTypeSymbol.cs (1)
68
Debug.Assert(expression.Kind is BoundKind.MethodGroup or BoundKind.
UnboundLambda
);