update sharpcifs

This commit is contained in:
Luke Pulverenti
2017-07-07 23:12:21 -04:00
parent a30e22c3a2
commit 0d10dfe471
221 changed files with 23704 additions and 25614 deletions

View File

@@ -6,18 +6,15 @@ namespace SharpCifs.Util.Sharpen
public class Hashtable : Dictionary<object, object>
{
public void Put(object key, object value)
{
if (this.ContainsKey(key))
this[key] = value;
else
this.Add(key, value);
{
Add(key, value);
}
public object Get(object key)
{
return this.ContainsKey(key)
? this[key]
: null;
var m_key = Keys.SingleOrDefault(k => k.Equals(key));
return m_key != null ? this[m_key] : null;
}
}
}