Fixed a bug in the ValueCollection: SyncRoot was returning the IsSynchronized property of the internal collection

git-svn-id: file:///srv/devel/repo-conversion/nusu@327 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2014-07-28 22:14:30 +00:00
parent 7dd08c93e0
commit 3f1809e5cc

View File

@ -252,7 +252,7 @@ namespace Nuclex.Support.Collections {
/// The synchronization root used by the dictionary for thread synchronization /// The synchronization root used by the dictionary for thread synchronization
/// </summary> /// </summary>
object ICollection.SyncRoot { object ICollection.SyncRoot {
get { return this.dictionaryAsICollection.IsSynchronized; } get { return this.dictionaryAsICollection.SyncRoot; }
} }
#endregion // ICollection implementation #endregion // ICollection implementation