6 references to PublicKeyTokenSize
Microsoft.CodeAnalysis (6)
MetadataReader\MetadataReaderExtensions.cs (1)
131
publicKeyOrToken.Length != AssemblyIdentity.
PublicKeyTokenSize
)
MetadataReference\AssemblyIdentity.cs (5)
136
if (!publicKeyOrToken.IsDefaultOrEmpty && publicKeyOrToken.Length !=
PublicKeyTokenSize
)
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
)));
441
var result = ArrayBuilder<byte>.GetInstance(
PublicKeyTokenSize
);
442
for (int i = 0; i <
PublicKeyTokenSize
; i++)