17 references to HasDynamicType
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Await.cs (1)
275
if (expression.
HasDynamicType
())
Binder\Binder_Expressions.cs (1)
5394
else if (argument.
HasDynamicType
())
Binder\Binder_Operators.cs (7)
57
if (left.
HasDynamicType
() || right.
HasDynamicType
())
63
var placeholder = new BoundValuePlaceholder(right.Syntax, left.
HasDynamicType
() ? left.Type : right.Type).MakeCompilerGenerated();
336
isDynamic: right.
HasDynamicType
(),
956
if (left.
HasDynamicType
() || right.
HasDynamicType
())
2754
if (operand.
HasDynamicType
())
Binder\Binder_Query.cs (2)
33
if (boundFromExpression.
HasDynamicType
())
384
if (inExpression.
HasDynamicType
())
Binder\Binder_Statements.cs (1)
2653
if (expr.
HasDynamicType
())
Binder\ForEachLoopBinder.cs (1)
677
else if (collectionExpr.
HasDynamicType
())
BoundTree\BoundExpressionExtensions.cs (1)
165
return node.InstanceOpt != null && node.InstanceOpt.
HasDynamicType
();
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
727
if (loweredLeft.
HasDynamicType
())
Lowering\LocalRewriter\LocalRewriter_DelegateCreationExpression.cs (1)
18
if (node.Argument.
HasDynamicType
())
Lowering\LocalRewriter\LocalRewriter_NullCoalescingAssignmentOperator.cs (1)
23
BoundExpression transformedLHS = TransformCompoundAssignmentLHS(node.LeftOperand, isRegularCompoundAssignment: false, stores, temps, node.LeftOperand.
HasDynamicType
());