When you pass it an array of bytes there's no way to know what file it comes from (or if it even comes from a file) so it can't locate the PDB file with the source code line information.
You can fix this by saving the byte[] as a file and making sure there's a PDB for it with the same file name.