29 references to LoadFromAssemblyPath
aspire-server (1)
AssemblyLoader.cs (1)
46return context.LoadFromAssemblyPath(assemblyPath);
dotnet-svcutil-lib (1)
Shared\ProjectPropertyResolver.cs (1)
182var assembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(assemblyPath);
GetDocument.Insider (1)
Commands\GetDocumentCommand.cs (1)
100return loadContext.LoadFromAssemblyPath(assemblyPath);
illink (1)
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationParts\RelatedAssemblyAttribute.cs (1)
130=> _loadContext.LoadFromAssemblyPath(assemblyPath);
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
253return assemblyPath is not null ? directoryContext.LoadFromAssemblyPath(assemblyPath) : null;
Microsoft.CodeAnalysis.ExternalAccess.Razor.Features (1)
RazorAnalyzerAssemblyResolver.cs (1)
109assembly = compilerLoadContext.LoadFromAssemblyPath(assemblyPath);
Microsoft.CodeAnalysis.ExternalAccess.Razor.UnitTests (1)
RazorAnalyzerAssemblyResolverTests.cs (1)
115expectedAssembly = context.LoadFromAssemblyPath(Path.Combine(dir2, fileName));
Microsoft.CodeAnalysis.LanguageServer (3)
Services\ExtensionAssemblyManager.cs (3)
139return context.LoadFromAssemblyPath(assemblyPath); 160return loadContext.LoadFromAssemblyPath(assemblyFilePath); 204return LoadFromAssemblyPath(assemblyPath);
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\CoreAssemblyLoaderImpl.cs (1)
33var assembly = new LoadContext(Loader, Path.GetDirectoryName(path)).LoadFromAssemblyPath(path);
Microsoft.CodeAnalysis.Test.Utilities (1)
Platform\CoreClr\AssemblyLoadContextUtils.cs (1)
35return LoadFromAssemblyPath(assemblyPath);
Microsoft.CodeAnalysis.UnitTests (4)
AnalyzerAssemblyLoaderTests.cs (3)
1655_ = alc.LoadFromAssemblyPath(TestFixture.UserSystemCollectionsImmutable); 1656_ = alc.LoadFromAssemblyPath(typeof(AnalyzerAssemblyLoader).GetTypeInfo().Assembly.Location); 1788assemblyName.Name == name ? current.LoadFromAssemblyPath(TestFixture.Delta1) : null);
CompilerResolverTests.cs (1)
35AssemblyInCompilerContext = CompilerContext.LoadFromAssemblyPath(typeof(AnalyzerAssemblyLoader).Assembly.Location);
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
253return assemblyPath is not null ? directoryContext.LoadFromAssemblyPath(assemblyPath) : null;
Microsoft.DotNet.GenFacades (1)
RoslynBuildTask.cs (1)
47return LoadRoslyn(assemblyName, path => context.LoadFromAssemblyPath(path));
System.Private.CoreLib (7)
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\ComponentActivator.cs (2)
156? context.LoadFromAssemblyPath(assemblyPath) 160AssemblyLoadContext.Default.LoadFromAssemblyPath(assemblyPath);
src\libraries\System.Private.CoreLib\src\Internal\Runtime\InteropServices\IsolatedComponentLoadContext.cs (1)
37return LoadFromAssemblyPath(assemblyPath);
src\libraries\System.Private.CoreLib\src\System\Reflection\Assembly.cs (2)
296result = alc.LoadFromAssemblyPath(normalizedPath); 403return AssemblyLoadContext.Default.LoadFromAssemblyPath(fullPath);
src\libraries\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.cs (1)
879RuntimeAssembly? asm = exists ? (RuntimeAssembly?)parentALC.LoadFromAssemblyPath(assemblyPath) : null;
src\libraries\System.Private.CoreLib\src\System\StartupHookProvider.cs (1)
164assembly = AssemblyLoadContext.Default.LoadFromAssemblyPath(startupHook.Path);
TestDiscoveryWorker (1)
Program.cs (1)
57return context.LoadFromAssemblyPath(assemblyPath);
xunit.console (2)
common\AssemblyResolution\AssemblyHelper.cs (2)
38var assembly = LoadFromAssemblyPath(assemblyFileName); 86=> assemblyCache?.LoadManagedDll(name.Name, path => LoadFromAssemblyPath(path));