Boo.Lang.Compiler.Steps.BindNamespaces.IsValidNamespace C# (CSharp) Метод

IsValidNamespace() приватный Метод

private IsValidNamespace ( IEntity entity ) : bool
entity IEntity
Результат bool
        private bool IsValidNamespace(IEntity entity)
        {
            EntityType type = entity.EntityType;
            return type == EntityType.Namespace || type == EntityType.Type;
        }