diff --git a/VContainer.Standalone/VContainer.Standalone.csproj b/VContainer.Standalone/VContainer.Standalone.csproj index dec2593d..742ce4bf 100644 --- a/VContainer.Standalone/VContainer.Standalone.csproj +++ b/VContainer.Standalone/VContainer.Standalone.csproj @@ -1,6 +1,7 @@ net8.0 + true where T : class { public bool IsDisposed => lastIndex == -2; - readonly object gate = new(); + readonly object gate = new object(); T?[] values; int lastIndex = -1;