15 references to Type
Microsoft.NET.Build.Tasks (4)
ResolvePackageDependencies.cs (4)
176item.SetMetadata(MetadataKeys.Type, package.Type); 207fileItem.SetMetadata(MetadataKeys.Type, "AnalyzerAssembly"); 231fileItem.SetMetadata(MetadataKeys.Type, fileType); 285item.SetMetadata(MetadataKeys.Type, "target");
Microsoft.NET.Build.Tasks.UnitTests (11)
GivenAResolvePackageDependenciesTask.cs (11)
59(items) => items.All(x => !string.IsNullOrEmpty(x.GetMetadata(MetadataKeys.Type))); 254target.GetMetadata(MetadataKeys.Type).Should().Be("target"); 261target.GetMetadata(MetadataKeys.Type).Should().Be("target"); 298package.GetMetadata(MetadataKeys.Type).Should().Be("project"); 307package.GetMetadata(MetadataKeys.Type).Should().Be("package"); 393fileDefns.First().GetMetadata(MetadataKeys.Type).Should().Be(pair.Value); 577.Where(t => t.GetMetadata(MetadataKeys.Type) == "AnalyzerAssembly"); 593item.GetMetadata(MetadataKeys.Type).Should().Be("AnalyzerAssembly"); 661.Where(t => t.GetMetadata(MetadataKeys.Type) == "AnalyzerAssembly"); 673item.GetMetadata(MetadataKeys.Type).Should().Be("AnalyzerAssembly"); 691item.GetMetadata(MetadataKeys.Type).Should().NotBe("AnalyzerAssembly");