2 instantiations of AnalyzerAssemblyLoader
Microsoft.CodeAnalysis.Workspaces (2)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
457
return new
AnalyzerAssemblyLoader
([.. pathResolvers, ProgramFilesAnalyzerPathResolver.Instance, new ShadowCopyAnalyzerPathResolver(windowsShadowPath)]);
Workspace\Host\Metadata\DefaultAnalyzerService.cs (1)
14
private readonly AnalyzerAssemblyLoader _loader =
new
();
9 references to AnalyzerAssemblyLoader
Microsoft.CodeAnalysis.Workspaces (9)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
217
/// Called from the consumer of <see cref="
AnalyzerAssemblyLoader
"/> to load an analyzer assembly from disk. It
src\Compilers\Core\Portable\DiagnosticAnalyzer\IAnalyzerPathResolver.cs (1)
22
/// Instances of these types are considered in the order they are added to the <see cref="
AnalyzerAssemblyLoader
"/>.
src\Compilers\Core\Portable\DiagnosticAnalyzer\ProgramFilesAnalyzerPathResolver.cs (1)
50
return
AnalyzerAssemblyLoader
.GetSatelliteAssemblyPath(originalAnalyzerPath, cultureInfo);
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerPathResolver.cs (4)
49
private ConcurrentDictionary<string, int> OriginalDirectoryMap { get; } = new(
AnalyzerAssemblyLoader
.OriginalPathComparer);
56
private ConcurrentDictionary<string, Task<string>> CopyMap { get; } = new(
AnalyzerAssemblyLoader
.OriginalPathComparer);
165
var satelliteFilePath =
AnalyzerAssemblyLoader
.GetSatelliteAssemblyPath(originalAnalyzerPath, cultureInfo);
222
Debug.Assert(
AnalyzerAssemblyLoader
.GeneratedPathComparer.Equals(shadowCopyPath, task.Result));
Workspace\Host\Metadata\DefaultAnalyzerService.cs (1)
14
private readonly
AnalyzerAssemblyLoader
_loader = new();
Workspace\Host\Metadata\IAnalyzerAssemblyLoaderProvider.cs (1)
68
=> this.WrapLoader(
AnalyzerAssemblyLoader
.CreateNonLockingLoader(