44 references to UnboundLambda
Microsoft.CodeAnalysis.CSharp (44)
Binder\Binder.ValueChecks.cs (1)
745
case BoundKind.
UnboundLambda
:
Binder\Binder_Conversions.cs (1)
138
if (conversion.IsAnonymousFunction && source.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Expressions.cs (5)
202
if (expr.HasAnyErrors && ((object)resultType != null || exprKind == BoundKind.
UnboundLambda
|| exprKind == BoundKind.DefaultLiteral))
411
Debug.Assert(expr.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup);
2724
if (operand.Kind == BoundKind.
UnboundLambda
)
7640
if (boundLeft.Kind == BoundKind.
UnboundLambda
)
11116
if (receiver.Kind == BoundKind.
UnboundLambda
)
Binder\Binder_Invocation.cs (2)
585
if (arg.Kind == BoundKind.Lambda || arg.Kind == BoundKind.
UnboundLambda
)
2016
case BoundKind.
UnboundLambda
:
Binder\Binder_Operators.cs (3)
3159
case BoundKind.
UnboundLambda
:
3707
case BoundKind.
UnboundLambda
:
4018
if (leftOperand.Kind == BoundKind.
UnboundLambda
|| leftOperand.Kind == BoundKind.MethodGroup)
Binder\Binder_Query.cs (1)
951
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)
892
BoundExpression expression = value.Kind is BoundKind.
UnboundLambda
or BoundKind.MethodGroup ?
1933
if (expression.HasAnyErrors && expression.Kind != BoundKind.
UnboundLambda
)
2323
case BoundKind.
UnboundLambda
:
2437
Debug.Assert(operand.HasAnyErrors && operand.Kind != BoundKind.
UnboundLambda
, "Missing a case in implicit conversion error reporting");
3157
if (!argument.HasAnyErrors || argument.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\Conversions\ConversionsBase.cs (2)
1090
case BoundKind.
UnboundLambda
:
1648
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (1)
456
&& nonDelegate.Kind == BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\MethodTypeInference.cs (6)
609
if (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)))
1529
if (source.Kind != BoundKind.
UnboundLambda
)
1583
if (source.Kind != BoundKind.
UnboundLambda
)
3060
if (source.Kind != BoundKind.
UnboundLambda
)
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3231
if (node.Kind == BoundKind.
UnboundLambda
&&
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1070
if (argument.Kind == BoundKind.
UnboundLambda
)
1216
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)
2231
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)
7905
case BoundKind.
UnboundLambda
:
Generated\BoundNodes.xml.Generated.cs (3)
7633
: base(BoundKind.
UnboundLambda
, syntax, null, hasErrors)
7644
: base(BoundKind.
UnboundLambda
, syntax, null)
9230
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
);