1 instantiation of CompilationLibrary
Microsoft.Extensions.DependencyModel (1)
DependencyContextJsonReader.cs (1)
840return new CompilationLibrary(
28 references to CompilationLibrary
installer.tasks (1)
GenerateTestSharedFrameworkDepsFile.cs (1)
81Enumerable.Empty<CompilationLibrary>(),
Microsoft.AspNetCore.Analyzer.Testing (3)
DiagnosticProject.cs (1)
45foreach (var defaultCompileLibrary in DependencyContext.Load(testAssembly).CompileLibraries)
DiagnosticVerifier.cs (2)
165foreach (var defaultCompileLibrary in DependencyContext.Load(GetType().Assembly).CompileLibraries) 190public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)
Microsoft.AspNetCore.Analyzers.Test (1)
src\Shared\AnalyzerTesting\TestReferences.cs (1)
24foreach (var defaultCompileLibrary in DependencyContext.Load(typeof(TestReferences).Assembly).CompileLibraries)
Microsoft.AspNetCore.Http.Extensions.Tests (2)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
331foreach (var defaultCompileLibrary in dependencyContext.CompileLibraries) 418public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)
Microsoft.AspNetCore.Http.Microbenchmarks (2)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (2)
331foreach (var defaultCompileLibrary in dependencyContext.CompileLibraries) 418public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string> assemblies)
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
348foreach (var candidate in candidates)
Microsoft.DotNet.SharedFramework.Sdk (1)
src\GenerateSharedFrameworkDepsFile.cs (1)
109Enumerable.Empty<CompilationLibrary>(),
Microsoft.Extensions.DependencyModel (16)
DependencyContext.cs (3)
21IEnumerable<CompilationLibrary> compileLibraries, 45public IReadOnlyList<CompilationLibrary> CompileLibraries { get; } 58CompileLibraries.Union(other.CompileLibraries, new LibraryMergeEqualityComparer<CompilationLibrary>()),
DependencyContextJsonReader.cs (1)
209CreateLibraries(compileTarget?.Libraries, false, libraryStubs).Cast<CompilationLibrary>().ToArray(),
DependencyContextWriter.cs (5)
144private static void WritePortableTarget(string key, IReadOnlyList<RuntimeLibrary> runtimeLibraries, IReadOnlyList<CompilationLibrary> compilationLibraries, Utf8JsonWriter jsonWriter) 147Dictionary<string, CompilationLibrary> compileLookup = compilationLibraries.LibraryCollectionToDictionary(); 155compileLookup.TryGetValue(packageName, out CompilationLibrary? compilationLibrary); 245else if (library is CompilationLibrary compilationLibrary) 258private static void WritePortableTargetLibrary(string key, RuntimeLibrary? runtimeLibrary, CompilationLibrary? compilationLibrary, Utf8JsonWriter jsonWriter)
Resolution\AppBaseCompilationAssemblyResolver.cs (1)
44public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)
Resolution\CompositeCompilationAssemblyResolver.cs (1)
20public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)
Resolution\ICompilationAssemblyResolver.cs (1)
10bool TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies);
Resolution\PackageCompilationAssemblyResolver.cs (2)
69public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies) 95private static bool TryResolveFromPackagePath(IFileSystem fileSystem, CompilationLibrary library, string basePath, [MaybeNullWhen(false)] out IEnumerable<string> results)
Resolution\ReferenceAssemblyPathResolver.cs (1)
44public bool TryResolveAssemblyPaths(CompilationLibrary library, List<string>? assemblies)
Resolution\ResolverUtils.cs (1)
10internal static bool TryResolvePackagePath(IFileSystem fileSystem, CompilationLibrary library, string basePath, out string packagePath)
Mvc.Analyzers.Test (1)
src\Shared\AnalyzerTesting\TestReferences.cs (1)
24foreach (var defaultCompileLibrary in DependencyContext.Load(typeof(TestReferences).Assembly).CompileLibraries)