11 references to IsEnum
Microsoft.CSharp (11)
Microsoft\CSharp\RuntimeBinder\Semantics\ExplicitConversion.cs (2)
428
!aggDest.
IsEnum
() &&
555
if (!aggDest.
IsEnum
())
Microsoft\CSharp\RuntimeBinder\Semantics\ImplicitConversion.cs (1)
544
if (aggSrc.
IsEnum
())
Microsoft\CSharp\RuntimeBinder\Semantics\Symbols\SymbolLoader.cs (2)
486
Debug.Assert(!derived.
IsEnum
() && !@base.
IsEnum
());
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (6)
249
return agg.IsPredefined() ? PredefinedTypeFacts.IsSimpleType(agg.GetPredefType()) : agg.
IsEnum
();
264
return agg.
IsEnum
();
282
return agg.IsStruct() || agg.
IsEnum
();
288
public override bool IsEnumType => OwningAggregate.
IsEnum
();
350
if (sym.
IsEnum
())
384
OwningAggregate.
IsEnum
() && OwningAggregate.GetUnderlyingType().PredefinedType == PredefinedType.PT_DECIMAL