14 references to IsLiteralDefault
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Expressions.cs (1)
7633if (boundLeft.IsLiteralDefault())
Binder\Binder_Operators.cs (9)
745bool leftDefault = left.IsLiteralDefault(); 746bool rightDefault = right.IsLiteralDefault(); 799if (operand.IsLiteralDefault()) 1400return !left.IsLiteralDefault() || !right.IsLiteralDefault(); 1404return !left.IsLiteralDefault() && !right.IsLiteralDefault(); 3791if (operand.IsLiteralDefault()) 3996if (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()))