Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/src/Internal/Runtime/CompilerHelpers/StartupCodeHelpers.cs')
-rw-r--r--src/Common/src/Internal/Runtime/CompilerHelpers/StartupCodeHelpers.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Common/src/Internal/Runtime/CompilerHelpers/StartupCodeHelpers.cs b/src/Common/src/Internal/Runtime/CompilerHelpers/StartupCodeHelpers.cs
index e5fba47ad..b7e299219 100644
--- a/src/Common/src/Internal/Runtime/CompilerHelpers/StartupCodeHelpers.cs
+++ b/src/Common/src/Internal/Runtime/CompilerHelpers/StartupCodeHelpers.cs
@@ -121,7 +121,10 @@ namespace Internal.Runtime.CompilerHelpers
for (int i = 0; i < count; i++)
{
if (pModuleHeaders[i] != IntPtr.Zero)
- modules[moduleIndex++] = RuntimeImports.RhpCreateTypeManager(osModule, pModuleHeaders[i], pClasslibFunctions, nClasslibFunctions);
+ {
+ modules[moduleIndex] = RuntimeImports.RhpCreateTypeManager(osModule, pModuleHeaders[i], pClasslibFunctions, nClasslibFunctions);
+ moduleIndex++;
+ }
}
return modules;
@@ -301,6 +304,6 @@ namespace Internal.Runtime.CompilerHelpers
internal unsafe struct TypeManagerSlot
{
public TypeManagerHandle TypeManager;
- public Int32 ModuleIndex;
+ public int ModuleIndex;
}
}