8 references to IsValidPublicKey
Microsoft.CodeAnalysis (8)
MetadataReader\MetadataReaderExtensions.cs (2)
123
if (!MetadataHelpers.
IsValidPublicKey
(publicKeyOrToken))
144
if (hasPublicKey && !MetadataHelpers.
IsValidPublicKey
(publicKeyOrToken))
MetadataReference\AssemblyIdentity.cs (3)
129
if (!MetadataHelpers.
IsValidPublicKey
(publicKeyOrToken))
167
Debug.Assert((hasPublicKey && MetadataHelpers.
IsValidPublicKey
(publicKeyOrToken)) || (!hasPublicKey && (publicKeyOrToken.IsDefaultOrEmpty || publicKeyOrToken.Length == PublicKeyTokenSize)));
189
Debug.Assert((hasPublicKey && MetadataHelpers.
IsValidPublicKey
(publicKeyOrToken)) || (!hasPublicKey && (publicKeyOrToken.IsDefaultOrEmpty || publicKeyOrToken.Length == PublicKeyTokenSize)));
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
668
!MetadataHelpers.
IsValidPublicKey
(key))
StrongName\StrongNameKeys.cs (2)
92
if (MetadataHelpers.
IsValidPublicKey
(publicKey))
144
if (MetadataHelpers.
IsValidPublicKey
(keyFileContent))