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