public LinuxProtectedMemoryAllocatorTest() { if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { linuxProtectedMemoryAllocator = new LinuxProtectedMemoryAllocatorLP64(); } }
public LinuxProtectedMemoryAllocatorTest() { Trace.Listeners.Clear(); var consoleListener = new ConsoleTraceListener(); Trace.Listeners.Add(consoleListener); Debug.WriteLine("LinuxProtectedMemoryAllocatorTest ctor"); if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) { linuxProtectedMemoryAllocator = new LinuxProtectedMemoryAllocatorLP64(); } }