Boo.Lang.Compiler.Steps.CheckAttributesUsage.AttributeType C# (CSharp) Method

AttributeType() private static method

private static AttributeType ( Ast node ) : Type
node Ast
return System.Type
        private static Type AttributeType(Ast.Attribute node)
        {
            IExternalEntity attr = TypeSystemServices.GetOptionalEntity(node) as IExternalEntity;
            if (null == attr) return null;
            return attr.MemberInfo.DeclaringType;
        }