提交 ad12b7f5 编写于 作者: C Cyrus Najmabadi

Simplify tuples

上级 abe61764
......@@ -284,7 +284,7 @@ public void AddInitialSuppressOperation(SuppressOperation operation)
}
var onSameLine = _tokenStream.TwoTokensOriginallyOnSameLine(operation.StartToken, operation.EndToken);
valuePairs[i] = (operation, shouldSuppress: true, onSameLine: onSameLine);
valuePairs[i] = (operation, shouldSuppress: true, onSameLine);
}
valuePairs.Do(v =>
......
......@@ -43,7 +43,7 @@ public static void AddAliasSymbols(SemanticModel semanticModel, int namespaceId,
var treeMap = s_treeAliasMap.GetValue(semanticModel.Compilation, s_createTreeMap);
// check again to see whether somebody has beaten us
var key = (tree: semanticModel.SyntaxTree, namespaceId: namespaceId);
var key = (tree: semanticModel.SyntaxTree, namespaceId);
if (treeMap.ContainsKey(key))
{
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册