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