public CopyTo ( IronPython.Runtime.DictionaryStorage into ) : IronPython.Runtime.DictionaryStorage | ||
into | IronPython.Runtime.DictionaryStorage | |
리턴 | IronPython.Runtime.DictionaryStorage |
public override void Add(ref DictionaryStorage storage, object key, object value) { lock (this) { if (storage == this) { var newStore = new CommonDictionaryStorage(); _storage.CopyTo(newStore); newStore.AddNoLock(key, value); storage = newStore; return; } } // race, try again... storage.Add(ref storage, key, value); }