System.ComponentModel.DebugTypeDescriptor.GetCustomAttributes C# (CSharp) Method

GetCustomAttributes() static private method

static private GetCustomAttributes ( MemberInfo info ) : object[]
info System.Reflection.MemberInfo
return object[]
        internal static object[] GetCustomAttributes(MemberInfo info) {
            object[] attributes = (object[])attributeCache[info];
            if (attributes == null) {
                attributes = info.GetCustomAttributes(false);
            
                lock(attributeCache) {
                    attributeCache[info] = attributes;
                }
            }
            
            return attributes;
        }
                

Same methods

DebugTypeDescriptor::GetCustomAttributes ( Type type ) : object[]