6 writes to Include
Microsoft.DotNet.Build.Tasks.Feed (1)
src\SigningInformationModelFactory.cs (1)
76
var fileSignInfoModel = new FileSignInfoModel {
Include
= Path.GetFileName(signInfo.ItemSpec), CertificateName = attributes["CertificateName"] };
Microsoft.DotNet.VersionTools.Tests (5)
BuildManifest\ManifestModelTests.cs (5)
156
Include
= infos[i * 4],
180
Include
= "Microsoft.DiaSymReader.dll",
187
Include
= "Microsoft.DiaSymReader.dll",
729
Include
= "Dll.dll",
734
Include
= "Another.dll",
15 references to Include
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
BuildModelFactoryTests.cs (4)
503
item.
Include
.Should().Be("Microsoft.DiaSymReader.dll");
510
item.
Include
.Should().Be("Microsoft.DiaSymReader.dll");
517
item.
Include
.Should().Be("test-package-a.1.0.0.nupkg");
669
item.
Include
.Should().Be("test-package-a.1.0.0.nupkg");
Microsoft.DotNet.VersionTools (11)
BuildManifest\Model\SigningInformationModel.cs (5)
45
.OrderBy(f => f.
Include
, StringComparer.OrdinalIgnoreCase)
119
nameof(
Include
),
126
get { return Attributes.GetOrDefault(nameof(
Include
)); }
127
set { Attributes[nameof(
Include
)] = value; }
148
public override string ToString() => $"File \"{
Include
}\" is signed with {CertificateName}";
BuildManifest\Model\SigningInformationParsingExtensions.cs (6)
84
if (signInfo.
Include
.IndexOfAny(new[] { '/', '\\' }) >= 0)
86
throw new ArgumentException($"FileSignInfo should specify file name and extension, not a full path: '{signInfo.
Include
}'");
91
throw new ArgumentException($"TargetFramework metadata of FileSignInfo '{signInfo.
Include
}' is invalid: '{signInfo.TargetFramework}'");
96
throw new ArgumentException($"CertificateName metadata of FileSignInfo '{signInfo.
Include
}' should be non-empty.");
101
throw new ArgumentException($"PublicKeyToken metadata of FileSignInfo '{signInfo.
Include
}' is invalid: '{signInfo.PublicKeyToken}'");
104
string key = $"{signInfo.
Include
}/{signInfo.TargetFramework}/{signInfo.PublicKeyToken?.ToLower()}";