Every once in a while, one of the CreateInfo structs takes a direct handle (IntPtr or long) instead of being able to pass in the actual object - here's a few examples:
FramebufferCreateInfo.Attachments should be type ImageView[]
RenderPassBeginInfo.RenderPass should take RenderPass
PipelineShaderStageCreateInfo.Module should take ShaderModule
I'm sure there's more of these scattered throughout the code; this should be a very simple fix but will break the current API.