I am facing this error on changing a Sub to a Function in VB.Net
Type System.Collection.Generic.List(Of mshtml.IHTMLDocument2) cannot be used across assembly boundaries because it has a generic type parameters that is an embedded interop type.
Does anyone knows how to get it resolved?