10 references to BaseTypeClassification
System.Reflection.MetadataLoadContext (10)
System\Reflection\TypeLoading\Types\RoType.cs (2)
269
public override bool IsEnum => (GetBaseTypeClassification() &
BaseTypeClassification
.IsEnum) != 0;
270
protected override bool IsValueTypeImpl() => (GetBaseTypeClassification() &
BaseTypeClassification
.IsValueType) != 0;
System\Reflection\TypeLoading\Types\RoType.TypeClassification.cs (8)
44
private
BaseTypeClassification
GetBaseTypeClassification() => (_lazyBaseTypeClassification != 0) ? _lazyBaseTypeClassification : (_lazyBaseTypeClassification = ComputeBaseTypeClassification());
45
private
BaseTypeClassification
ComputeBaseTypeClassification()
47
BaseTypeClassification
classification =
BaseTypeClassification
.Computed;
58
classification |=
BaseTypeClassification
.IsEnum |
BaseTypeClassification
.IsValueType;
62
classification |=
BaseTypeClassification
.IsValueType;
68
private volatile
BaseTypeClassification
_lazyBaseTypeClassification;