14 references to IAnalyzerAssemblyResolver
Microsoft.CodeAnalysis.Workspaces (14)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (3)
48
internal AnalyzerAssemblyLoader(ImmutableArray<
IAnalyzerAssemblyResolver
> externalResolvers)
53
internal AnalyzerAssemblyLoader(AssemblyLoadContext? compilerLoadContext, AnalyzerLoadOption loadOption, ImmutableArray<
IAnalyzerAssemblyResolver
> externalResolvers)
229
internal sealed class CompilerAnalyzerAssemblyResolver(AssemblyLoadContext compilerContext) :
IAnalyzerAssemblyResolver
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (3)
73
/// A collection of <see cref="
IAnalyzerAssemblyResolver
"/>s that can be used to override the assembly resolution process.
78
private readonly ImmutableArray<
IAnalyzerAssemblyResolver
> _externalResolvers;
410
foreach (
var
resolver in _externalResolvers)
src\Compilers\Core\Portable\DiagnosticAnalyzer\DefaultAnalyzerAssemblyLoader.cs (3)
24
internal DefaultAnalyzerAssemblyLoader(ImmutableArray<
IAnalyzerAssemblyResolver
> externalResolvers)
31
internal DefaultAnalyzerAssemblyLoader(System.Runtime.Loader.AssemblyLoadContext? compilerLoadContext = null, AnalyzerLoadOption loadOption = AnalyzerLoadOption.LoadFromDisk, ImmutableArray<
IAnalyzerAssemblyResolver
>? externalResolvers = null)
60
internal static IAnalyzerAssemblyLoaderInternal CreateNonLockingLoader(string windowsShadowPath, ImmutableArray<
IAnalyzerAssemblyResolver
>? externalResolvers = null)
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerAssemblyLoader.cs (2)
47
public ShadowCopyAnalyzerAssemblyLoader(string baseDirectory, ImmutableArray<
IAnalyzerAssemblyResolver
>? externalResolvers = null)
52
public ShadowCopyAnalyzerAssemblyLoader(AssemblyLoadContext? compilerLoadContext, string baseDirectory, ImmutableArray<
IAnalyzerAssemblyResolver
>? externalResolvers = null)
Workspace\Host\Metadata\IAnalyzerAssemblyLoaderProvider.cs (3)
38
private readonly ImmutableArray<
IAnalyzerAssemblyResolver
> _externalResolvers;
41
public AbstractAnalyzerAssemblyLoaderProvider(IEnumerable<
IAnalyzerAssemblyResolver
> externalResolvers)
63
[ImportMany] IEnumerable<
IAnalyzerAssemblyResolver
> externalResolvers)