4 writes to PublicKeyToken
Microsoft.DotNet.Build.Tasks.Feed (1)
src\SigningInformationModelFactory.cs (1)
68
parsedStrongNameSignInfo.Add(new StrongNameSignInfoModel { Include = Path.GetFileName(signInfo.ItemSpec), CertificateName = attributes["CertificateName"],
PublicKeyToken
= attributes["PublicKeyToken"] });
Microsoft.DotNet.VersionTools.Tests (3)
BuildManifest\ManifestModelTests.cs (3)
345
PublicKeyToken
= infos[i * 3 + 1],
758
PublicKeyToken
= "0123456789abcdef",
764
PublicKeyToken
= "fedcba9876543210",
11 references to PublicKeyToken
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
BuildModelFactoryTests.cs (2)
498
item.
PublicKeyToken
.Should().Be("abcdabcdabcdabcd");
664
item.
PublicKeyToken
.Should().Be("abcdabcdabcdabcd");
Microsoft.DotNet.VersionTools (9)
BuildManifest\Model\SigningInformationModel.cs (5)
59
.ThenBy(s => s.
PublicKeyToken
, StringComparer.OrdinalIgnoreCase)
235
nameof(
PublicKeyToken
),
247
get { return Attributes.GetOrDefault(nameof(
PublicKeyToken
)); }
248
set { Attributes[nameof(
PublicKeyToken
)] = value; }
255
public override string ToString() => $"{Include} strong-name signed with certificate {CertificateName}, public key token: {
PublicKeyToken
}";
BuildManifest\Model\SigningInformationParsingExtensions.cs (4)
199
if (!IsValidPublicKeyToken(signInfo.
PublicKeyToken
))
201
throw new ArgumentException($"PublicKeyToken metadata of StrongNameSignInfo is not a valid public key token: '{signInfo.
PublicKeyToken
}'");
210
if (!pktMapping.TryGetValue(signInfo.
PublicKeyToken
, out var hashSet))
213
pktMapping.Add(signInfo.
PublicKeyToken
, hashSet);