in aliyun-net-credentials/Utils/DictionaryUtil.cs [15:32]
public static void Add<TKey, TValue>(Dictionary<TKey, TValue> dic, TKey key, TValue value)
{
if (null == value)
{
return;
}
if (dic == null)
{
dic = new Dictionary<TKey, TValue>();
}
else if (dic.ContainsKey(key))
{
dic.Remove(key);
}
dic.Add(key, value);
}