2 interfaces inheriting from IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
17internal interface IAnalyzerAssemblyLoaderInternal : IAnalyzerAssemblyLoader, IDisposable
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
17internal interface IAnalyzerAssemblyLoaderInternal : IAnalyzerAssemblyLoader, IDisposable
12 implementations of IAnalyzerAssemblyLoader
AnalyzerRunner (1)
AssemblyLoader.cs (1)
12internal class AssemblyLoader : IAnalyzerAssemblyLoader
CodeStyleConfigFileGenerator (1)
Program.cs (1)
288private sealed class AnalyzerAssemblyLoader : IAnalyzerAssemblyLoader
GenerateRulesMissingDocumentation (1)
Program.cs (1)
178private sealed class AnalyzerAssemblyLoader : IAnalyzerAssemblyLoader
Microsoft.AspNetCore.Analyzer.Testing (1)
DiagnosticProject.cs (1)
91internal sealed class AssemblyLoader : IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\InMemoryAssemblyLoader.vb (1)
11Implements IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\HostDiagnosticAnalyzerProvider.cs (1)
36private class SimpleAnalyzerAssemblyLoader : IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis.Scripting (1)
Hosting\CommandLine\NotImplementedAnalyzerLoader.cs (1)
12internal sealed class NotImplementedAnalyzerLoader : IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis.Test.Utilities (1)
Mocks\TestAnalyzerAssemblyLoader.cs (1)
11public class TestAnalyzerAssemblyLoader : IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (1)
TouchedFileLoggingTests.vb (1)
202Implements IAnalyzerAssemblyLoader
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
3357private class InMemoryAssemblyLoader : IAnalyzerAssemblyLoader
Microsoft.VisualStudio.LanguageServices (1)
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.Loader.cs (1)
15private sealed class Loader : IAnalyzerAssemblyLoader
Roslyn.VisualStudio.Next.UnitTests (1)
Remote\RemoteHostClientServiceFactoryTests.cs (1)
84private class NullAssemblyAnalyzerLoader : IAnalyzerAssemblyLoader
52 references to IAnalyzerAssemblyLoader
CodeStyleConfigFileGenerator (1)
Program.cs (1)
290public static IAnalyzerAssemblyLoader Instance = new AnalyzerAssemblyLoader();
csc (4)
src\Compilers\CSharp\csc\Program.cs (1)
40public static int Run(string[] args, string clientDir, string workingDir, string sdkDir, string? tempDir, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader)
src\Compilers\Shared\BuildClient.cs (1)
24internal delegate int CompileFunc(string[] arguments, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerAssemblyLoader);
src\Compilers\Shared\Csc.cs (2)
17internal Csc(string responseFile, BuildPaths buildPaths, string[] args, IAnalyzerAssemblyLoader analyzerLoader) 22internal static int Run(string[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader)
GenerateRulesMissingDocumentation (1)
Program.cs (1)
180public static IAnalyzerAssemblyLoader Instance = new AnalyzerAssemblyLoader();
Microsoft.CodeAnalysis (10)
CommandLine\CommandLineArguments.cs (3)
461public IEnumerable<AnalyzerReference> ResolveAnalyzerReferences(IAnalyzerAssemblyLoader analyzerLoader) 474IAnalyzerAssemblyLoader analyzerLoader, 565private AnalyzerFileReference? ResolveAnalyzerReference(CommandLineAnalyzerReference reference, IAnalyzerAssemblyLoader analyzerLoader)
CommandLine\CommonCompiler.cs (2)
78public IAnalyzerAssemblyLoader AssemblyLoader { get; private set; } 125public CommonCompiler(CommandLineParser parser, string? responseFile, string[] args, BuildPaths buildPaths, string? additionalReferenceDirectories, IAnalyzerAssemblyLoader assemblyLoader, GeneratorDriverCache? driverCache, ICommonCompilerFileSystem? fileSystem)
DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
34/// The base implementation for <see cref="IAnalyzerAssemblyLoader"/>. This type provides caching and tracking of inputs given
DiagnosticAnalyzer\AnalyzerFileReference.cs (3)
38private readonly IAnalyzerAssemblyLoader _assemblyLoader; 53public AnalyzerFileReference(string fullPath, IAnalyzerAssemblyLoader assemblyLoader) 68public IAnalyzerAssemblyLoader AssemblyLoader => _assemblyLoader;
DiagnosticAnalyzer\DefaultAnalyzerAssemblyLoader.cs (1)
55/// Return an <see cref="IAnalyzerAssemblyLoader"/> which does not lock assemblies on disk that is
Microsoft.CodeAnalysis.CSharp (1)
CommandLine\CSharpCompiler.cs (1)
28protected CSharpCompiler(CSharpCommandLineParser parser, string? responseFile, string[] args, BuildPaths buildPaths, string? additionalReferenceDirectories, IAnalyzerAssemblyLoader assemblyLoader, GeneratorDriverCache? driverCache = null, ICommonCompilerFileSystem? fileSystem = null)
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\CommandLine\Csi.cs (1)
24IAnalyzerAssemblyLoader analyzerLoader,
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
CodeFixes\CodeFixServiceTests.vb (1)
32Private ReadOnly _assemblyLoader As IAnalyzerAssemblyLoader = New InMemoryAssemblyLoader()
Diagnostics\DiagnosticServiceTests.vb (1)
33Private ReadOnly _assemblyLoader As IAnalyzerAssemblyLoader = New InMemoryAssemblyLoader()
Diagnostics\InMemoryAssemblyLoader.vb (2)
13Public Sub AddDependencyLocation(fullPath As String) Implements IAnalyzerAssemblyLoader.AddDependencyLocation 16Public Function LoadFromPath(fullPath As String) As Assembly Implements IAnalyzerAssemblyLoader.LoadFromPath
Microsoft.CodeAnalysis.ExternalAccess.OmniSharp (1)
Analyzers\OmnisharpAnalyzerLoaderFactory.cs (1)
12public static IAnalyzerAssemblyLoader CreateShadowCopyAnalyzerAssemblyLoader(string? baseDirectory = null)
Microsoft.CodeAnalysis.ExternalAccess.Razor (1)
Testing\RazorTestAnalyzerLoader.cs (1)
28public static IAnalyzerAssemblyLoader CreateAnalyzerAssemblyLoader()
Microsoft.CodeAnalysis.Test.Utilities (2)
Mocks\TestAnalyzerAssemblyLoader.cs (2)
13public static readonly IAnalyzerAssemblyLoader LoadFromFile = 16public static readonly IAnalyzerAssemblyLoader LoadNotImplemented =
Microsoft.CodeAnalysis.UnitTests (1)
Analyzers\AnalyzerFileReferenceTests.cs (1)
299public AnalyzerLoaderMockCSharpCompiler(CSharpCommandLineParser parser, string? responseFile, string[] args, BuildPaths buildPaths, string? additionalReferenceDirectories, IAnalyzerAssemblyLoader assemblyLoader, GeneratorDriverCache? driverCache = null, ICommonCompilerFileSystem? fileSystem = null)
Microsoft.CodeAnalysis.VisualBasic (1)
CommandLine\VisualBasicCompiler.vb (1)
23Protected Sub New(parser As VisualBasicCommandLineParser, responseFile As String, args As String(), buildPaths As BuildPaths, additionalReferenceDirectories As String, analyzerLoader As IAnalyzerAssemblyLoader, Optional driverCache As GeneratorDriverCache = Nothing, Optional fileSystem As ICommonCompilerFileSystem = Nothing)
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (2)
TouchedFileLoggingTests.vb (2)
204Public Sub AddDependencyLocation(fullPath As String) Implements IAnalyzerAssemblyLoader.AddDependencyLocation 208Public Function LoadFromPath(fullPath As String) As Assembly Implements IAnalyzerAssemblyLoader.LoadFromPath
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\CommandLine\Vbi.vb (1)
20Friend Sub New(responseFile As String, buildPaths As BuildPaths, args As String(), analyzerLoader As IAnalyzerAssemblyLoader, Optional createFromFileFunc As Func(Of String, PEStreamOptions, MetadataReferenceProperties, MetadataImageReference) = Nothing)
Microsoft.CodeAnalysis.Workspaces (6)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.cs (1)
34/// The base implementation for <see cref="IAnalyzerAssemblyLoader"/>. This type provides caching and tracking of inputs given
src\Compilers\Core\Portable\DiagnosticAnalyzer\DefaultAnalyzerAssemblyLoader.cs (1)
55/// Return an <see cref="IAnalyzerAssemblyLoader"/> which does not lock assemblies on disk that is
Workspace\CommandLineProject.cs (1)
45var analyzerLoader = languageServices.SolutionServices.GetRequiredService<IAnalyzerService>().GetLoader();
Workspace\Host\Metadata\DefaultAnalyzerService.cs (1)
24public IAnalyzerAssemblyLoader GetLoader()
Workspace\Host\Metadata\IAnalyzerAssemblyLoaderProvider.cs (1)
34/// cref="IAnalyzerAssemblyLoader"/> with an appropriate path.
Workspace\Host\Metadata\IAnalyzerService.cs (1)
13IAnalyzerAssemblyLoader GetLoader();
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\MSBuildProjectLoader.Worker.cs (1)
416var analyzerLoader = analyzerService.GetLoader();
Microsoft.VisualStudio.LanguageServices (2)
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.cs (1)
28public static readonly IAnalyzerAssemblyLoader AnalyzerAssemblyLoader = new Loader();
Diagnostics\VisualStudioDiagnosticAnalyzerProvider.Loader.cs (1)
17private readonly IAnalyzerAssemblyLoader _fallbackLoader;
vbc (4)
src\Compilers\Shared\BuildClient.cs (1)
24internal delegate int CompileFunc(string[] arguments, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerAssemblyLoader);
src\Compilers\Shared\Vbc.cs (2)
17internal Vbc(string responseFile, BuildPaths buildPaths, string[] args, IAnalyzerAssemblyLoader analyzerLoader) 22internal static int Run(string[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader)
src\Compilers\VisualBasic\vbc\Program.cs (1)
42public static int Run(string[] args, string clientDir, string workingDir, string sdkDir, string tempDir, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader)
VBCSCompiler (7)
src\Compilers\Server\VBCSCompiler\AnalyzerConsistencyChecker.cs (2)
29/// 2. File system changes: The implementations of <see cref="IAnalyzerAssemblyLoader"/> assume 36/// The fact that <see cref="IAnalyzerAssemblyLoader"/> believe the file system is unchanging
src\Compilers\Server\VBCSCompiler\CSharpCompilerServer.cs (2)
19internal CSharpCompilerServer(Func<string, MetadataReferenceProperties, PortableExecutableReference> metadataProvider, string[] args, BuildPaths buildPaths, string? libDirectory, IAnalyzerAssemblyLoader analyzerLoader, GeneratorDriverCache driverCache) 24internal CSharpCompilerServer(Func<string, MetadataReferenceProperties, PortableExecutableReference> metadataProvider, string? responseFile, string[] args, BuildPaths buildPaths, string? libDirectory, IAnalyzerAssemblyLoader analyzerLoader, GeneratorDriverCache driverCache)
src\Compilers\Server\VBCSCompiler\VisualBasicCompilerServer.cs (2)
21internal VisualBasicCompilerServer(Func<string, MetadataReferenceProperties, PortableExecutableReference> metadataProvider, string[] args, BuildPaths buildPaths, string? libDirectory, IAnalyzerAssemblyLoader analyzerLoader, GeneratorDriverCache driverCache) 26internal VisualBasicCompilerServer(Func<string, MetadataReferenceProperties, PortableExecutableReference> metadataProvider, string? responseFile, string[] args, BuildPaths buildPaths, string? libDirectory, IAnalyzerAssemblyLoader analyzerLoader, GeneratorDriverCache driverCache)
src\Compilers\Shared\BuildClient.cs (1)
24internal delegate int CompileFunc(string[] arguments, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerAssemblyLoader);
VBCSCompiler.UnitTests (1)
ServerUtil.cs (1)
207Func<string[], string, string, string, string, TextWriter, IAnalyzerAssemblyLoader, int> func;