Skip to content

Commit 4f98780

Browse files
Compile
1 parent 7ba2078 commit 4f98780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/client/RabbitMQ.Client/src/util/SynchronizedList.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ internal SynchronizedList(IList<T> list)
4545
{
4646
this.list = list;
4747
// ICollection provides SyncRoot
48-
this.root = ((ICollection)list.SyncRoot;
48+
this.root = ((ICollection)list).SyncRoot;
4949
}
5050

5151
public void Add(T item)

0 commit comments

Comments
 (0)