Don't emit symbol file entry for partial method declarations. Fixes #11704