ImmutableDictionary.AddRange: throw if any item has a null Key. (#51438)
The behavior of AddRange(items) should be the same as foreach(var item in items) Add(item); Add(item) throws if item.Key == null, so AddRange should it as well. Fix #50865.
Showing
想要评论请 注册 或 登录