1 write to Type
Microsoft.Extensions.DependencyModel (1)
Library.cs (1)
57Type = type;
18 references to Type
dotnet-svcutil-lib (1)
Shared\MSBuildProj.cs (1)
904switch (rtLib.Type)
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
491var projects = context.CompileLibraries.Where(l => l.Type == "project");
Microsoft.Extensions.DependencyModel (10)
DependencyContextWriter.cs (3)
162Debug.Assert(compilationLibrary.Type == runtimeLibrary.Type); 437jsonWriter.WriteString(DependencyContextStrings.TypePropertyName, library.Type);
Resolution\AppBaseCompilationAssemblyResolver.cs (5)
48bool isProject = string.Equals(library.Type, "project", StringComparison.OrdinalIgnoreCase) || 49string.Equals(library.Type, "msbuildproject", StringComparison.OrdinalIgnoreCase); 51bool isPackage = string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase); 52bool isReferenceAssembly = string.Equals(library.Type, "referenceassembly", StringComparison.OrdinalIgnoreCase); 56!string.Equals(library.Type, "reference", StringComparison.OrdinalIgnoreCase))
Resolution\PackageCompilationAssemblyResolver.cs (1)
74!string.Equals(library.Type, "package", StringComparison.OrdinalIgnoreCase))
Resolution\ReferenceAssemblyPathResolver.cs (1)
48if (!string.Equals(library.Type, "referenceassembly", StringComparison.OrdinalIgnoreCase))
Microsoft.NET.Build.Tasks (1)
DependencyContextBuilder.cs (1)
508library.Library.Type,
Microsoft.NET.Build.Tasks.UnitTests (4)
GivenADependencyContextBuilder.cs (4)
185.NotContain(l => l.Type == "referenceassembly"); 208.Contain(c => c.Name == "System.NotConflicting" && c.Type == "referenceassembly"); 213.Contain(c => c.Name == "System.Collections.NonGeneric.Reference" && c.Type == "referenceassembly"); 215.Contain(c => c.Name == "System.Collections.NonGeneric.Reference.Reference" && c.Type == "referenceassembly");
Microsoft.NET.TestFramework (1)
Assertions\DependencyContextAssertions.cs (1)
87.Where(l => string.Equals(l.Type, "package", StringComparison.OrdinalIgnoreCase));