29 references to PublicKeyToken
Microsoft.CodeAnalysis (13)
Desktop\DesktopAssemblyIdentityComparer.cs (3)
169!value.PublicKeyToken.SequenceEqual(identity.PublicKeyToken)) 258if (identity.PublicKeyToken.SequenceEqual(s_SILVERLIGHT_PLATFORM_PUBLICKEY_STR_L)) 270else if (identity.PublicKeyToken.SequenceEqual(s_SILVERLIGHT_PUBLICKEY_STR_L))
Desktop\DesktopAssemblyIdentityComparer.Fx.cs (1)
152if (!TryGetValue(new Key(identity.Name, identity.PublicKeyToken), out values))
MetadataReference\AssemblyIdentity.cs (2)
504return x.PublicKeyToken.SequenceEqual(yToken); 508return xToken.SequenceEqual(y.PublicKeyToken);
MetadataReference\AssemblyIdentity.DisplayName.cs (3)
109if (PublicKeyToken.Length > 0) 111AppendKey(sb, PublicKeyToken); 436if (hasPublicKey && hasPublicKeyToken && !identity.PublicKeyToken.SequenceEqual(publicKeyToken))
PEWriter\MetadataWriter.cs (3)
1965publicKeyOrToken: metadata.GetOrAddBlob(identity.PublicKeyToken), 3713if (identity.PublicKeyToken.Length > 0) 3715foreach (byte b in identity.PublicKeyToken)
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
1053Debug.Assert(definitionData.Identity.PublicKeyToken.IsEmpty);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Attributes\InternalsVisibleToAndStrongNameTests.cs (3)
1461Assert.Equal<byte>(pubKeyTokenBytes, comp.Assembly.Identity.PublicKeyToken); 1479Assert.Equal<byte>(pubKeyTokenBytes, comp2.Assembly.Identity.PublicKeyToken); 1489Assert.Equal<byte>(pubKeyTokenBytes, comp3.Assembly.Identity.PublicKeyToken);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\DefaultInterfaceImplementationTests.cs (1)
62581var publicKeyToken = assemblyIdentity.PublicKeyToken;
Microsoft.CodeAnalysis.UnitTests (9)
MetadataReferences\AssemblyIdentityExtensions.cs (2)
36if (!identity.PublicKeyToken.IsDefault) 38result.SetPublicKeyToken(identity.PublicKeyToken.ToArray());
MetadataReferences\AssemblyIdentityTests.cs (7)
151Assert.Equal(0, id.PublicKeyToken.Length); 162AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 173AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 184AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 195AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 266AssertEx.Equal(PublicKeyToken1, id.PublicKeyToken); 276Assert.Equal(0, id.PublicKeyToken.Length);
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (3)
Attributes\InternalsVisibleToAndStrongNameTests.vb (3)
1143AssertEx.Equal(Of Byte)(pubKeyTokenBytes, comp.Assembly.Identity.PublicKeyToken) 1161AssertEx.Equal(Of Byte)(pubKeyTokenBytes, comp2.Assembly.Identity.PublicKeyToken) 1168AssertEx.Equal(Of Byte)(pubKeyTokenBytes, comp3.Assembly.Identity.PublicKeyToken)