2 overrides of IsDefaultValue
Microsoft.CodeAnalysis (2)
ConstantValueSpecialized.cs (2)
115
public override bool
IsDefaultValue
436
public override bool
IsDefaultValue
11 references to IsDefaultValue
Microsoft.CodeAnalysis (4)
CodeGen\SwitchIntegralJumpTableEmitter.cs (3)
445
if (constant.
IsDefaultValue
)
466
if (!startConstant.
IsDefaultValue
)
529
if (!startConstant.
IsDefaultValue
)
ConstantValue.cs (1)
844
if (
IsDefaultValue
)
Microsoft.CodeAnalysis.CSharp (7)
BoundTree\BoundExpressionExtensions.cs (1)
117
return constValue.
IsDefaultValue
;
CodeGen\EmitArrayInitializer.cs (1)
519
if (start.ConstantValueOpt?.
IsDefaultValue
!= true || start.ConstantValueOpt.Discriminator != ConstantValueTypeDiscriminator.Int32)
CodeGen\EmitOperators.cs (1)
371
if (constant.
IsDefaultValue
)
CodeGen\EmitStatement.cs (2)
259
bool isZero = constOp.ConstantValueOpt.
IsDefaultValue
;
401
bool taken = condition.ConstantValueOpt.
IsDefaultValue
!= sense;
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
1129
IsDefaultValue
: false,
Lowering\SyntheticBoundNodeFactory.cs (1)
1167
Debug.Assert(charConst.IsChar || charConst.
IsDefaultValue
);