示例#1
0
 public static bool TypeOrBaseTypeIs(this TypeReference reference, Type type)
 {
     return(reference.IsType(type) ||
            reference.BaseTypeIs(type));
 }