The schema currently offers completion for PublicKey metadata on InternalsVisibleTo items. This was added in #6778.
However, this is incorrect as the metadata for setting the public key is named Key (dotnet/sdk#3439).
It may be better to leave the schema as-is and have the item respect PublicKey metadata for consistency with the PublicKey property, as suggested in dotnet/sdk#13289 (comment).