diff --git a/Trell/Collections/BoundedObjectPool.cs b/Trell/Collections/BoundedObjectPool.cs index 36f9595..59b0eee 100644 --- a/Trell/Collections/BoundedObjectPool.cs +++ b/Trell/Collections/BoundedObjectPool.cs @@ -47,7 +47,7 @@ public BoundedObjectPool(Func ctor, int max = 1, int pending = 0) { public int Count => this.allocated.Count; public int Pending => this.unallocated.Count; - public IEnumerable Values => (IEnumerable)this.allocated.Values; + public IEnumerable Values => this.allocated.Values; public bool TryGet(K key, out V val) { #pragma warning disable CS8601 // Possible null reference assignment.