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