14 references to IsLiteralDefault
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (1)
7634if (boundLeft.IsLiteralDefault())
Binder\Binder_Operators.cs (9)
745bool leftDefault = left.IsLiteralDefault(); 746bool rightDefault = right.IsLiteralDefault(); 799if (operand.IsLiteralDefault()) 1405return !left.IsLiteralDefault() || !right.IsLiteralDefault(); 1409return !left.IsLiteralDefault() && !right.IsLiteralDefault(); 3796if (operand.IsLiteralDefault()) 4001if (leftOperand.IsLiteralDefault())
Binder\Binder_Query.cs (1)
939else if (ultimateReceiver.IsLiteralDefault())
Binder\Binder_TupleOperators.cs (1)
327if (!expr.IsLiteralDefault() || targetType is null)
BoundTree\BoundExpressionExtensions.cs (1)
98return node.IsLiteralDefault() || node.IsImplicitObjectCreation();
Lowering\DiagnosticsPass_ExpressionTrees.cs (1)
912if (_inExpressionLambda && (node.LeftOperand.IsLiteralNull() || node.LeftOperand.IsLiteralDefault()))