2 writes to _mainAllocationHandle
Microsoft.Build.Tasks.UnitTests (2)
MockUnmanagedMemoryHelper.cs (2)
92_mainAllocationHandle = mainAllocation; 102_mainAllocationHandle = IntPtr.Zero;
6 references to _mainAllocationHandle
Microsoft.Build.Tasks.UnitTests (6)
MockUnmanagedMemoryHelper.cs (6)
45if (_mainAllocationHandle != IntPtr.Zero) 47if (!_dependentAllocations.ContainsKey(_mainAllocationHandle)) 49_dependentAllocations.Add(_mainAllocationHandle, new List<IntPtr>()); 52_dependentAllocations[_mainAllocationHandle].Add(handle); 90Assert.Equal(IntPtr.Zero, _mainAllocationHandle); 100Assert.NotEqual(IntPtr.Zero, _mainAllocationHandle);