2 implementations of IAnalyzerPathResolver
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (1)
26
internal sealed class ProgramFilesAnalyzerPathResolver :
IAnalyzerPathResolver
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (1)
19
internal sealed class ShadowCopyAnalyzerPathResolver :
IAnalyzerPathResolver
10 references to IAnalyzerPathResolver
Microsoft.CodeAnalysis.Workspaces (10)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (8)
43
/// and the path returned after calling <see cref="
IAnalyzerPathResolver
.GetResolvedAnalyzerPath(string)"/>. In the
71
/// the key is the original path before it is considered by <see cref="
IAnalyzerPathResolver
.GetResolvedAnalyzerPath(string)"/>.
76
private readonly Dictionary<string, (
IAnalyzerPathResolver
? Resolver, string ResolvedPath, AssemblyName? AssemblyName)> _originalPathInfoMap = new(OriginalPathComparer);
104
public ImmutableArray<
IAnalyzerPathResolver
> AnalyzerPathResolvers { get; }
159
IAnalyzerPathResolver
? resolver = null;
160
foreach (
var
current in AnalyzerPathResolvers)
263
IAnalyzerPathResolver
? resolver;
450
ImmutableArray<
IAnalyzerPathResolver
> pathResolvers = default)
src\Compilers\Core\Portable\DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (2)
18
/// This <see cref="
IAnalyzerPathResolver
"/> implementation is used to handle analyzers that
28
internal static readonly
IAnalyzerPathResolver
Instance = new ProgramFilesAnalyzerPathResolver();