提交 b1dabf41 编写于 作者: C CyrusNajmabadi

Fix incorret migration.

上级 06f55ced
......@@ -789,7 +789,7 @@ private string GetXmlOption(PerLanguageOption<CodeStyleOption<bool>> option)
private void SetXmlOption<T>(Option<CodeStyleOption<T>> option, string value)
{
var convertedValue = CodeStyleOption<bool>.FromXElement(XElement.Parse(value));
var convertedValue = CodeStyleOption<T>.FromXElement(XElement.Parse(value));
_workspace.Options = _workspace.Options.WithChangedOption(option, convertedValue);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册