dotnet-inspect-sourcelink
dotnet-inspect: SourceLink and PDB source
Use this skill to get source mapped by the Portable PDB. dotnet-inspect
verifies local files and GitHub committed blobs read through --repo against
the PDB checksum. A network PDB Source fetch follows redirects permitted by
the host transport and returns the body only when it matches that checksum; it
does not treat the final destination as source provenance. Use
library -S "SourceLink: Integrity" for opt-in verification that every
fetchable, non-embedded compiler-source document preserves its attributed
repository and revision through redirects. If no usable PDB or
checksum-matching source is available locally or through SourceLink, use the
always-local decompiler skill.
The checksum proves that returned bytes match the PDB's declaration. It does
not independently prove that those bytes are the physical syntax tree that
produced a MethodDef; PDB Source names that evidence boundary explicitly.