7 references to _dependentAllocations
Microsoft.Build.Tasks.UnitTests (7)
MockUnmanagedMemoryHelper.cs (7)
47
if (!
_dependentAllocations
.ContainsKey(_mainAllocationHandle))
49
_dependentAllocations
.Add(_mainAllocationHandle, new List<IntPtr>());
52
_dependentAllocations
[_mainAllocationHandle].Add(handle);
74
if (
_dependentAllocations
.ContainsKey(handle))
76
while (
_dependentAllocations
[handle].Count > 0)
78
Marshal.FreeHGlobal(
_dependentAllocations
[handle][0]);
79
_dependentAllocations
[handle].RemoveAt(0);