[SourceLink] Use PEReader to try to read pdbs #57417
Labels
Navigation-SourceLink
Metadata as Source, SourceLink, Decompilation
untriaged
Issues and PRs which have not yet been triaged by a lead
We should be checking that the PDB version matches the DLL when we find the .pdb file next to the .dll.
The easiest way to handle both cases (including the embedded PBD) is to use PEReader.TryOpenAssociatedPortablePdb method: https://source.dot.net/#System.Reflection.Metadata/System/Reflection/PortableExecutable/PEReader.cs,d04ae6c22fdcad8f,references
Originally posted by @tmat in #57073 (comment)
The text was updated successfully, but these errors were encountered: