9 references to Bad
Microsoft.CodeAnalysis (9)
ConstantValue.cs (7)
358
Debug.Assert(discriminator != ConstantValueTypeDiscriminator.
Bad
);
402
Debug.Assert(discriminator != ConstantValueTypeDiscriminator.
Bad
);
410
case ConstantValueTypeDiscriminator.
Bad
: return Bad;
459
return ConstantValueTypeDiscriminator.
Bad
;
483
ConstantValueTypeDiscriminator.Null or ConstantValueTypeDiscriminator.
Bad
=> throw ExceptionUtilities.UnexpectedValue(Discriminator),
519
case ConstantValueTypeDiscriminator.
Bad
: return null;
736
return this.Discriminator == ConstantValueTypeDiscriminator.
Bad
;
ConstantValueSpecialized.cs (1)
38
return ConstantValueTypeDiscriminator.
Bad
;
Operations\ControlFlowGraphBuilder.cs (1)
5089
Debug.Assert(value.Discriminator != ConstantValueTypeDiscriminator.
Bad
);