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