Type '|1' cannot be used across assembly boundaries because it has a generic type parameter that is an embedded interop type. ...