We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f6ad0f commit 090c7baCopy full SHA for 090c7ba
VContainer.Standalone/VContainer.Standalone.csproj
@@ -1,6 +1,7 @@
1
<Project Sdk="Microsoft.NET.Sdk">
2
<PropertyGroup>
3
<TargetFramework>net8.0</TargetFramework>
4
+ <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
5
</PropertyGroup>
6
<ItemGroup>
7
<Compile Include="..\VContainer\Assets\VContainer\Runtime\**\*.cs"
VContainer/Assets/VContainer/Runtime/Internal/FreeList.cs
@@ -21,7 +21,7 @@ class FreeList<T> where T : class
21
{
22
public bool IsDisposed => lastIndex == -2;
23
24
- readonly object gate = new();
+ readonly object gate = new object();
25
T?[] values;
26
int lastIndex = -1;
27
0 commit comments