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