9 references to AnalyzerLoadOption
Microsoft.CodeAnalysis (9)
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)
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);
DiagnosticAnalyzer\ShadowCopyAnalyzerAssemblyLoader.cs (1)
53: base(compilerLoadContext, AnalyzerLoadOption.LoadFromDisk, externalResolvers ?? [])