2 writes to _allocations
System.Private.Windows.Core.Tests (2)
System\Value\MemoryWatch.cs (2)
72
public MemoryWatch(long allocations) =>
_allocations
= allocations;
90
_allocations
= GC.GetAllocatedBytesForCurrentThread();
1 reference to _allocations
System.Private.Windows.Core.Tests (1)
System\Value\MemoryWatch.cs (1)
87
Assert.Equal(0, GC.GetAllocatedBytesForCurrentThread() -
_allocations
);