12 references to HasExpressionType
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_AnonymousTypes.cs (1)
218
if (expression.
HasExpressionType
())
Binder\Binder_Expressions.cs (2)
3534
else if (argument.Kind == BoundKind.DiscardExpression && !argument.
HasExpressionType
())
9398
else if (index.Kind == BoundKind.DiscardExpression && !index.
HasExpressionType
())
Binder\Binder_Invocation.cs (2)
131
e.Kind == BoundKind.DiscardExpression && !e.
HasExpressionType
()));
532
BoundDiscardExpression discard when !discard.
HasExpressionType
() => discard.FailInference(this, diagnostics),
Binder\Binder_Query.cs (1)
733
if (!yExpression.HasAnyErrors && !yExpression.
HasExpressionType
())
Binder\Binder_Statements.cs (1)
898
if (!expression.HasAnyErrors && !expression.
HasExpressionType
())
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
2895
(nodeKind == BoundKind.DiscardExpression && !node.
HasExpressionType
()))
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (2)
1207
if (!argument.
HasExpressionType
() &&
1301
Debug.Assert(argument.Kind != BoundKind.DiscardExpression || argument.
HasExpressionType
());
Compilation\CSharpSemanticModel.cs (2)
2049
if (boundExpr.
HasExpressionType
())
2188
else if (highestBoundExpr != null && highestBoundExpr != boundExpr && highestBoundExpr.
HasExpressionType
())