public void Visit(TypeDefinition type)
 {
     if (type.IsRoleView()) return;
       type.Interfaces.
     Select(interfaceReference => interfaceReference.Resolve()).
     Where(interfaceType => interfaceType.IsRole()).
     ForEach(roleType =>
       _context.AddMessage(Error.TypeCantInheritFromRole(type, roleType)));
 }