ReadRawObject giving error

I am trying to convert an old XNA example to Monogame but I am having a problem with one of the methods. The one I have problem with is this one:

The error i get is: Specified method is not supported. Is it because the difference between XNA and Monogame the reason is does not work or have i missed something? I have copied it so it should be the same. The only thing I have changed is that it uses the MG content loader instead of a content project.