Just use the non-generic API:
((IList)objList).Add(o);
I'm also assuming that type
is a generic type-parameter; just to say: type
is confusing for this; T
or TSomethingSpecific
would be more idiomatic.
Also: this line needs fixing:
List<type> objList = new List<type>(); // <=== not new List<Object>