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