2 instantiations of DependencyContext
xunit.console (2)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContext.cs (1)
68
return new
DependencyContext
(
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (1)
105
return new
DependencyContext
(
21 references to DependencyContext
xunit.console (21)
common\AssemblyResolution\AssemblyHelper.cs (2)
46
var
dependencyContext =
DependencyContext
.Load(assembly);
common\AssemblyResolution\DependencyContextAssemblyCache.cs (3)
28
readonly
DependencyContext
dependencyContext;
40
DependencyContext
dependencyContext,
93
List<string> GetCompatibleRuntimes(
DependencyContext
dependencyContext)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContext.cs (7)
13
private static readonly Lazy<
DependencyContext
> _defaultContext = new Lazy<
DependencyContext
>(LoadDefault);
49
public static
DependencyContext
Default => _defaultContext.Value;
61
public
DependencyContext
Merge(
DependencyContext
other)
77
private static
DependencyContext
LoadDefault()
88
public static
DependencyContext
Load(Assembly assembly)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (2)
18
public
DependencyContext
Read(Stream stream)
44
private
DependencyContext
Read(TextReader reader)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextLoader.cs (6)
53
public
DependencyContext
Load(Assembly assembly)
60
DependencyContext
context = null;
77
var
extraContext = LoadContext(reader, extraPath);
88
private
DependencyContext
LoadEntryAssemblyContext(IDependencyContextReader reader)
93
private
DependencyContext
LoadContext(IDependencyContextReader reader, string location)
106
private
DependencyContext
LoadAssemblyContext(Assembly assembly, IDependencyContextReader reader)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\IDependencyContextReader.cs (1)
11
DependencyContext
Read(Stream stream);