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