2 instantiations of AssemblyAndLocation
Microsoft.CodeAnalysis.Scripting (2)
Hosting\AssemblyLoader\CoreAssemblyLoaderImpl.cs (1)
37return new AssemblyAndLocation(assembly, path, fromGac: false);
Hosting\AssemblyLoader\DesktopAssemblyLoaderImpl.cs (1)
57return new AssemblyAndLocation(assembly, location, fromGac);
17 references to AssemblyAndLocation
Microsoft.CodeAnalysis.Scripting (17)
Hosting\AssemblyLoader\AssemblyAndLocation.cs (4)
14internal readonly struct AssemblyAndLocation : IEquatable<AssemblyAndLocation> 31public bool Equals(AssemblyAndLocation other) 38=> obj is AssemblyAndLocation && Equals((AssemblyAndLocation)obj);
Hosting\AssemblyLoader\AssemblyLoaderImpl.cs (1)
44public abstract AssemblyAndLocation LoadFromPath(string path);
Hosting\AssemblyLoader\CoreAssemblyLoaderImpl.cs (1)
30public override AssemblyAndLocation LoadFromPath(string path)
Hosting\AssemblyLoader\DesktopAssemblyLoaderImpl.cs (1)
49public override AssemblyAndLocation LoadFromPath(string path)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (10)
53private readonly Dictionary<string, AssemblyAndLocation> _assembliesLoadedFromLocationByFullPath; 102_assembliesLoadedFromLocationByFullPath = new Dictionary<string, AssemblyAndLocation>(); 122private AssemblyAndLocation Load(string reference) 136var result = _runtimeAssemblyLoader.LoadFromPath((copy != null) ? copy.PrimaryModule.FullPath : reference); 147return default(AssemblyAndLocation); 368AssemblyAndLocation assemblyAndLocation; 427AssemblyAndLocation assemblyAndLocation; 444private AssemblyAndLocation ShadowCopyAndLoadDependency(string originalPath) 446AssemblyAndLocation assemblyAndLocation = Load(originalPath); 449return default(AssemblyAndLocation);