Boo.Lang.Compiler.TypeSystem.ExternalType.IsDefined C# (CSharp) Method

IsDefined() public method

public IsDefined ( IType attributeType ) : bool
attributeType IType
return bool
        public bool IsDefined(IType attributeType)
        {
            ExternalType type = attributeType as ExternalType;
            if (null == type) return false;
            return MetadataUtil.IsAttributeDefined(_type, type.ActualType);
        }