Boo.Lang.Compiler.Steps.BindNamespaces.IsValidNamespace C# (CSharp) Method

IsValidNamespace() private method

private IsValidNamespace ( IEntity entity ) : bool
entity IEntity
return bool
        private bool IsValidNamespace(IEntity entity)
        {
            EntityType type = entity.EntityType;
            return type == EntityType.Namespace || type == EntityType.Type;
        }