Example #1
0
 public static IEnumerable <Type> AncestorsAndSelf(Type type)
 {
     if (type == null)
     {
         throw new ArgumentNullException(nameof(type));
     }
     return(TypeTree.AncestorsAndSelf(type));
 }