public override MethodInfo[] GetAccessors(bool nonPublic)
{
List <MethodInfo> accessorList = new List <MethodInfo>();
if (Associates.IncludeAccessor(m_getterMethod, nonPublic))
{
accessorList.Add(m_getterMethod);
}
if (Associates.IncludeAccessor(m_setterMethod, nonPublic))
{
accessorList.Add(m_setterMethod);
}
if ((object)m_otherMethod != null)
{
for (int i = 0; i < m_otherMethod.Length; i++)
{
if (Associates.IncludeAccessor(m_otherMethod[i] as MethodInfo, nonPublic))
{
accessorList.Add(m_otherMethod[i]);
}
}
}
return(accessorList.ToArray());
}