User-974983964 posted
IEnumerable<MethodBase> methods = from p in defaultMembers.OfType<PropertyInfo>()
select p.GetGetMethod() into m
where m != null
select m
ERROR: Unable to convert type“System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo>” to “System.Collections.Generic.IEnumerable<System.Reflection.MethodBase>”