29 references to LoadFromAssemblyPath
Aspire.Hosting.RemoteHost (1)
IntegrationLoadContext.cs (1)
73return LoadFromAssemblyPath(probedPath);
dotnet-svcutil-lib (1)
Shared\ProjectPropertyResolver.cs (1)
182var assembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(assemblyPath);
dotnet-watch (1)
Program.cs (1)
382var loadedAssembly = context.LoadFromAssemblyPath(Path.Combine(roslynPath, assembly.Name + ".dll"));
illink (1)
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationParts\RelatedAssemblyAttribute.cs (1)
130=> _loadContext.LoadFromAssemblyPath(assemblyPath);
Microsoft.Build (1)
src\msbuild\src\Shared\TaskEngineAssemblyResolver.cs (1)
123return AssemblyLoadContext.Default.LoadFromAssemblyPath(_taskAssemblyFile);
Microsoft.Build.Framework (5)
Loader\CoreCLRAssemblyLoader.cs (2)
102assembly = contextForAssemblyPath.LoadFromAssemblyPath(fullPath); 189var assembly = context.LoadFromAssemblyPath(fullPath);
Loader\MSBuildLoadContext.cs (3)
63return LoadFromAssemblyPath(assemblyPath); 93return LoadFromAssemblyPath(candidatePath); 107return targetAlc.LoadFromAssemblyPath(assemblyNameInExecutableDirectory);
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
253return assemblyPath is not null ? directoryContext.LoadFromAssemblyPath(assemblyPath) : null;
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\CoreAssemblyLoaderImpl.cs (1)
33var assembly = new LoadContext(Loader, Path.GetDirectoryName(path)).LoadFromAssemblyPath(path);
Microsoft.CodeAnalysis.Workspaces (1)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
253return assemblyPath is not null ? directoryContext.LoadFromAssemblyPath(assemblyPath) : null;
Microsoft.DotNet.ApiCompat.Task (1)
src\sdk\src\Compatibility\ApiCompat\Microsoft.DotNet.ApiCompat.Shared\RoslynResolver.cs (1)
40return LoadRoslyn(assemblyName, path => context.LoadFromAssemblyPath(path));
Microsoft.DotNet.GenFacades (1)
RoslynBuildTask.cs (1)
36return LoadRoslyn(assemblyName, path => context.LoadFromAssemblyPath(path));
Microsoft.Extensions.DotNetDeltaApplier (1)
src\sdk\src\Dotnet.Watch\HotReloadAgent.Host\StartupHook.cs (1)
61return File.Exists(path) ? AssemblyLoadContext.Default.LoadFromAssemblyPath(path) : null;
Microsoft.TemplateEngine.Edge (1)
ReflectionLoadProbingPath.cs (1)
184Assembly result = loadContext.LoadFromAssemblyPath(attempt);
Microsoft.TestPlatform.PlatformAbstractions (1)
netcore\Runtime\PlatformAssemblyLoadContext.cs (1)
24return AssemblyLoadContext.Default.LoadFromAssemblyPath(assemblyPath);
MSBuild (1)
src\msbuild\src\Shared\TaskEngineAssemblyResolver.cs (1)
123return AssemblyLoadContext.Default.LoadFromAssemblyPath(_taskAssemblyFile);
rzc (2)
DefaultExtensionAssemblyLoader.cs (1)
192return LoadContext.LoadFromAssemblyPath(filePath);
Program.cs (1)
71var loadedAssembly = context.LoadFromAssemblyPath(Path.Combine(roslynPath, assembly.Name + ".dll"));
System.Private.CoreLib (7)
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (2)
156? context.LoadFromAssemblyPath(assemblyPath) 160AssemblyLoadContext.Default.LoadFromAssemblyPath(assemblyPath);
src\runtime\src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\IsolatedComponentLoadContext.cs (1)
37return LoadFromAssemblyPath(assemblyPath);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (2)
296result = alc.LoadFromAssemblyPath(normalizedPath); 403return AssemblyLoadContext.Default.LoadFromAssemblyPath(fullPath);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (1)
879RuntimeAssembly? asm = exists ? (RuntimeAssembly?)parentALC.LoadFromAssemblyPath(assemblyPath) : null;
src\runtime\src\libraries\System.Private.CoreLib\src\System\StartupHookProvider.cs (1)
164assembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(startupHook.Path);