2 implementations of IAnalyzerPathResolver
Microsoft.CodeAnalysis.Workspaces (2)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (1)
26internal sealed class ProgramFilesAnalyzerPathResolver : IAnalyzerPathResolver
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
22internal sealed class ShadowCopyAnalyzerPathResolver : IAnalyzerPathResolver
15 references to IAnalyzerPathResolver
Microsoft.CodeAnalysis.Workspaces (15)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (2)
40internal AnalyzerAssemblyLoader(ImmutableArray<IAnalyzerPathResolver> pathResolvers) 54ImmutableArray<IAnalyzerPathResolver> pathResolvers,
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (8)
44/// and the path returned after calling <see cref="IAnalyzerPathResolver.GetResolvedAnalyzerPath(string)"/>. In the 72/// the key is the original path before it is considered by <see cref="IAnalyzerPathResolver.GetResolvedAnalyzerPath(string)"/>. 77private readonly Dictionary<string, (IAnalyzerPathResolver? Resolver, string ResolvedPath, AssemblyName? AssemblyName)> _originalPathInfoMap = new(OriginalPathComparer); 105public ImmutableArray<IAnalyzerPathResolver> AnalyzerPathResolvers { get; } 160IAnalyzerPathResolver? resolver = null; 161foreach (var current in AnalyzerPathResolvers) 264IAnalyzerPathResolver? resolver; 409ImmutableArray<IAnalyzerPathResolver> pathResolvers = default,
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (2)
18/// This <see cref="IAnalyzerPathResolver"/> implementation is used to handle analyzers that 28internal static readonly IAnalyzerPathResolver Instance = new ProgramFilesAnalyzerPathResolver();
Workspace\Host\Metadata\IAnalyzerAssemblyLoaderProvider.cs (3)
41private readonly ImmutableArray<IAnalyzerPathResolver> _assemblyPathResolvers; 43public AbstractAnalyzerAssemblyLoaderProvider(IEnumerable<IAnalyzerAssemblyResolver> assemblyResolvers, IEnumerable<IAnalyzerPathResolver> assemblyPathResolvers) 91public DefaultAnalyzerAssemblyLoaderProvider([ImportMany] IEnumerable<IAnalyzerAssemblyResolver> assemblyResolvers, [ImportMany] IEnumerable<IAnalyzerPathResolver> assemblyPathResolvers)