예제 #1
0
        private static bool IsSuperTypeByClrName(string clrName, IDeclaredType type)
        {
            var interfaceType = TypeFactory.CreateTypeByCLRName(clrName, type.Module).GetTypeElement();

            return(interfaceType != null && type.GetSuperType(interfaceType).Any());
        }