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