Add missing method contract
authorJan Kotas <jkotas@microsoft.com>
Wed, 18 May 2016 09:37:56 +0000 (02:37 -0700)
committerJan Kotas <jkotas@microsoft.com>
Wed, 18 May 2016 09:37:56 +0000 (02:37 -0700)
[tfs-changeset: 1605842]

Commit migrated from https://github.com/dotnet/coreclr/commit/1bbb6e4941b26053ec81be3f5bedf187fc336076

src/coreclr/src/vm/gcenv.os.cpp

index de87e05..1972b23 100644 (file)
@@ -345,6 +345,8 @@ uint32_t GCToOSInterface::GetCurrentProcessCpuCount()
 //  non zero if it has succeeded, 0 if it has failed
 size_t GCToOSInterface::GetVirtualMemoryLimit()
 {
+    LIMITED_METHOD_CONTRACT;
+
     MEMORYSTATUSEX memStatus;
     ::GetProcessMemoryLoad(&memStatus);