17 references to Bad
Microsoft.CodeAnalysis (14)
Compilation\Expression.cs (1)
46
return ConstantValue.
Bad
;
ConstantValue.cs (1)
410
case ConstantValueTypeDiscriminator.Bad: return
Bad
;
EnumConstantHelper.cs (1)
25
offsetValue = ConstantValue.
Bad
;
MetadataReader\MetadataDecoder.cs (4)
1022
value = (type.IsReferenceType || type.TypeKind == TypeKind.Pointer || type.TypeKind == TypeKind.FunctionPointer) ? ConstantValue.Null : ConstantValue.
Bad
;
1026
value = ConstantValue.
Bad
;
1116
return ConstantValue.
Bad
;
1124
return ConstantValue.
Bad
;
MetadataReader\PEModule.cs (6)
1579
defaultValue = ConstantValue.
Bad
;
3579
return constantHandle.IsNil ? ConstantValue.
Bad
: GetConstantValueOrThrow(constantHandle);
3583
return ConstantValue.
Bad
;
3596
return constantHandle.IsNil ? ConstantValue.
Bad
: GetConstantValueOrThrow(constantHandle);
3600
return ConstantValue.
Bad
;
3748
return ConstantValue.
Bad
;
Symbols\Attributes\CommonAttributeData.cs (1)
247
return ConstantValue.
Bad
;
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Operators.cs (2)
3382
/// - <see cref="ConstantValue.
Bad
"/> - compiler doesn't support the type check, i.e. cannot perform it, even at runtime
3938
/// - <see cref="ConstantValue.
Bad
"/> - compiler doesn't support the type check, i.e. cannot perform it, even at runtime
Binder\Binder_Patterns.cs (1)
799
/// - <see cref="ConstantValue.
Bad
"/> - compiler doesn't support the type check, i.e. cannot perform it, even at runtime