提交 9afe2f1a 编写于 作者: J Jason Malinowski

Ensure we pass through the AnalyzerConfigOptionsProvider

Without this, the AnalyzerOptions we get from a Project that does
support AnalyzerConfig settings won't be used when running IDE
analyzers.
上级 9ae48bf9
......@@ -18,7 +18,7 @@ internal sealed class WorkspaceAnalyzerOptions : AnalyzerOptions
private readonly OptionSet _optionSet;
public WorkspaceAnalyzerOptions(AnalyzerOptions options, OptionSet optionSet, Solution solution)
: base(options.AdditionalFiles)
: base(options.AdditionalFiles, options.AnalyzerConfigOptionsProvider)
{
_solution = solution;
_optionSet = optionSet;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册