18 references to TypeOrValueExpression
Microsoft.CodeAnalysis.CSharp (18)
Binder\Binder.ValueChecks.cs (3)
637if ((object)otherSymbol != null && receiver?.Kind == BoundKind.TypeOrValueExpression) 676case BoundKind.TypeOrValueExpression: 677case BoundKind.QueryClause when ((BoundQueryClause)expression).Value.Kind == BoundKind.TypeOrValueExpression:
Binder\Binder_Expressions.cs (3)
7707case BoundKind.TypeOrValueExpression: 8036if (boundLeft.HasAnyErrors && boundLeft.Kind != BoundKind.TypeOrValueExpression) 9706else if (receiverKind == BoundKind.TypeOrValueExpression)
Binder\Binder_Invocation.cs (2)
440case BoundKind.TypeOrValueExpression: 1837case BoundKind.TypeOrValueExpression:
Binder\Binder_Query.cs (1)
985else if (ultimateReceiver.Kind == BoundKind.TypeOrValueExpression)
Compilation\CSharpSemanticModel.cs (2)
1924else if (highestBoundExpr.Kind == BoundKind.TypeOrValueExpression) 3421case BoundKind.TypeOrValueExpression:
Compilation\MemberSemanticModel.NodeMapBuilder.cs (2)
93if (existing[i].Kind == BoundKind.TypeExpression && nodesToAdd[i].Kind == BoundKind.TypeOrValueExpression) 101else if (existing[i].Kind == BoundKind.TypeOrValueExpression && nodesToAdd[i].Kind == BoundKind.TypeExpression)
Generated\BoundNodes.xml.Generated.cs (3)
1104: base(BoundKind.TypeOrValueExpression, syntax, type, hasErrors) 1113: base(BoundKind.TypeOrValueExpression, syntax, type) 8878case BoundKind.TypeOrValueExpression:
Lowering\LocalRewriter\LocalRewriter_Call.cs (1)
44Debug.Assert(methodGroup.ReceiverOpt == null || methodGroup.ReceiverOpt.Kind != BoundKind.TypeOrValueExpression);
Operations\CSharpOperationFactory.cs (1)
306case BoundKind.TypeOrValueExpression: