5 writes to Include
Microsoft.DotNet.Build.Tasks.Feed (1)
src\SigningInformationModelFactory.cs (1)
96parsedFileExtensionSignInfoModel.Add(new FileExtensionSignInfoModel { Include = signInfo.ItemSpec, CertificateName = attributes["CertificateName"] });
Microsoft.DotNet.VersionTools.Tests (4)
BuildManifest\ManifestModelTests.cs (4)
51models.Add(new FileExtensionSignInfoModel() { Include = infos[i * 2], CertificateName = infos[i * 2 + 1] }); 711Include = ".dll", 716Include = ".jar", 721Include = ".nupkg",
15 references to Include
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
BuildModelFactoryTests.cs (2)
534item.Include.Should().Be(".dll"); 686item.Include.Should().Be(".dll");
Microsoft.DotNet.VersionTools (13)
BuildManifest\Model\SigningInformationModel.cs (5)
40.OrderBy(fe => fe.Include, StringComparer.OrdinalIgnoreCase) 83nameof(Include), 90get { return Attributes.GetOrDefault(nameof(Include)); } 91set { Attributes[nameof(Include)] = value; } 99public override string ToString() => $"Files \"*{Include}\" are signed with {CertificateName}";
BuildManifest\Model\SigningInformationParsingExtensions.cs (8)
36if (string.IsNullOrWhiteSpace(signInfo.Include)) 41string extension = signInfo.Include.Equals(".tar.gz", StringComparison.OrdinalIgnoreCase) ? ".tar.gz" : Path.GetExtension(signInfo.Include); 42if (!signInfo.Include.Equals(extension)) 44throw new ArgumentException($"Value of FileExtensionSignInfo Include is invalid: '{signInfo.Include}' is not returned by Path.GetExtension('{signInfo.Include}')"); 47if (!extensionToCertMapping.TryGetValue(signInfo.Include, out var hashSet)) 50extensionToCertMapping.Add(signInfo.Include, hashSet);