From ed24f1cd933b1627ad09ec1d6f1b1897cbd51298 Mon Sep 17 00:00:00 2001 From: William Chen Date: Tue, 14 Jan 2025 17:51:31 -0500 Subject: [PATCH] Revert "Add Count property to DisposableCollection" This reverts commit b510819fed3e9b0039312db5d0f69bed78153c81. --- Runtime/DisposableCollection.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Runtime/DisposableCollection.cs b/Runtime/DisposableCollection.cs index 0fe0086..30797c2 100644 --- a/Runtime/DisposableCollection.cs +++ b/Runtime/DisposableCollection.cs @@ -12,8 +12,6 @@ public class DisposableCollection : IDisposable // This is to avoid allocations while keeping things simple private readonly Stack stack = new(); - public int Count => stack.Count; - /// /// Adds a disposable object for disposal. ///