Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cnkz committed Jan 9, 2024
1 parent 31f3a3d commit 307b351
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ManagedObjectSize.Tests/ObjectSizeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,11 @@ static object CreateData(bool equal, int count)
[DataRow(true, false)]
public unsafe void ObjectSize_ReportsCorrectSize(bool useRtHelpers, bool useObjectPool)
{
if (useRtHelpers && !RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
return;
}

var data = new Dictionary<ulong, (string Name, Type Type, long Count, long ExclusiveSize, long InclusiveSize)>();

// References are on stack and won't be moved by GC.
Expand Down

0 comments on commit 307b351

Please sign in to comment.