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