提交 caa6fb9b 编写于 作者: C CyrusNajmabadi

Properly pass along callback target.

上级 f22ef943
......@@ -58,14 +58,14 @@ public static bool IsOutOfProcessEnabled(this Workspace workspace, Option<bool>
}
// Treat experiments as always on in tests.
if (experimentName != null && workspace.Kind != WorkspaceKind.Test)
{
var experimentEnabled = workspace.Services.GetService<IExperimentationService>();
if (!experimentEnabled.IsExperimentEnabled(experimentName))
{
return false;
}
}
//if (experimentName != null && workspace.Kind != WorkspaceKind.Test)
//{
// var experimentEnabled = workspace.Services.GetService<IExperimentationService>();
// if (!experimentEnabled.IsExperimentEnabled(experimentName))
// {
// return false;
// }
//}
return true;
}
......@@ -86,7 +86,7 @@ public static bool IsOutOfProcessEnabled(this Workspace workspace, Option<bool>
return null;
}
return await client.TryCreateCodeAnalysisServiceSessionAsync(solution, cancellationToken).ConfigureAwait(false);
return await client.TryCreateCodeAnalysisServiceSessionAsync(solution, callbackTarget, cancellationToken).ConfigureAwait(false);
}
public static Task RunOnRemoteHostAsync(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册