提交 1f69f98d 编写于 作者: S Sam Harwell

Use named argument when passing null

上级 6cb854a5
......@@ -146,7 +146,7 @@ internal void AppendSwitchIfNotNull
string[] attributes
)
{
AppendSwitchIfNotNull(switchName, parameters, attributes, null /* treatAsFlag */);
AppendSwitchIfNotNull(switchName, parameters, attributes, treatAsFlags: null);
}
/// <summary>
......
......@@ -954,7 +954,7 @@ protected override bool ValidateParameters()
/// </summary>
internal static bool ListHasNoDuplicateItems(ITaskItem[] itemList, string parameterName, TaskLoggingHelper log)
{
return ListHasNoDuplicateItems(itemList, parameterName, null, log);
return ListHasNoDuplicateItems(itemList, parameterName, disambiguatingMetadataName: null, log);
}
/// <summary>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册