9 references to AnalyzerLoadOption
Microsoft.CodeAnalysis.Workspaces (9)
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (5)
43private readonly AnalyzerLoadOption _loadOption; 46internal AnalyzerLoadOption AnalyzerLoadOption => _loadOption; 49: this(null, AnalyzerLoadOption.LoadFromDisk, externalResolvers) 53internal AnalyzerAssemblyLoader(AssemblyLoadContext? compilerLoadContext, AnalyzerLoadOption loadOption, ImmutableArray<IAnalyzerAssemblyResolver> externalResolvers) 190if (_loader.AnalyzerLoadOption == AnalyzerLoadOption.LoadFromDisk)
src\Compilers\Core\Portable\DiagnosticAnalyzer\DefaultAnalyzerAssemblyLoader.cs (3)
31internal DefaultAnalyzerAssemblyLoader(System.Runtime.Loader.AssemblyLoadContext? compilerLoadContext = null, AnalyzerLoadOption loadOption = AnalyzerLoadOption.LoadFromDisk, ImmutableArray<IAnalyzerAssemblyResolver>? externalResolvers = null) 65return new DefaultAnalyzerAssemblyLoader(loadOption: AnalyzerLoadOption.LoadFromStream, externalResolvers: externalResolvers);
src\Compilers\Core\Portable\DiagnosticAnalyzer\ShadowCopyAnalyzerAssemblyLoader.cs (1)
53: base(compilerLoadContext, AnalyzerLoadOption.LoadFromDisk, externalResolvers ?? [])