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:
authorJan Kotas <jkotas@microsoft.com>2015-12-01 10:12:23 +0300
committerJan Kotas <jkotas@microsoft.com>2015-12-18 01:31:34 +0300
commit5323536d0b3dfbe8ea28b9adc1812677317d8392 (patch)
tree98f21149a5f11031f8367f92953eb0c8cf72073f /src/Runtime.Base
parent48eb9926db083dadb98fc0e676449ffa3e9465a6 (diff)
Native compilation of Runtime.Base
- For now - until we have the proper multifile compilation in place, link the Runtime.Base .cs files into System.Private.CoreLib. The proper factoring of Runtime.Base is still guaranteed by building Runtime.Base as separate .dll. - Remove many stubbed out helpers since the proper implementation is comming from Runtime.Base now. - Fix CppCodeGen to deal with same RuntimeImport being used with different signatures (e.g. RpNewArray is imported under two different signatures in System.Private.CoreLib)
Diffstat (limited to 'src/Runtime.Base')
-rw-r--r--src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs2
-rw-r--r--src/Runtime.Base/src/System/Runtime/GCStress.cs2
-rw-r--r--src/Runtime.Base/src/System/Runtime/RuntimeExports.cs2
-rw-r--r--src/Runtime.Base/src/System/Runtime/TypeCast.cs2
-rw-r--r--src/Runtime.Base/src/System/Runtime/__Finalizer.cs2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs b/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs
index baedb017c..cbfe6af9f 100644
--- a/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs
+++ b/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs
@@ -85,7 +85,7 @@ namespace System.Runtime
}
}
- public unsafe static class EH
+ internal unsafe static class EH
{
internal static UIntPtr MaxSP
{
diff --git a/src/Runtime.Base/src/System/Runtime/GCStress.cs b/src/Runtime.Base/src/System/Runtime/GCStress.cs
index 9753801c6..93abda4e4 100644
--- a/src/Runtime.Base/src/System/Runtime/GCStress.cs
+++ b/src/Runtime.Base/src/System/Runtime/GCStress.cs
@@ -5,7 +5,7 @@ using System.Runtime.CompilerServices;
namespace System.Runtime
{
- public class GCStress
+ internal class GCStress
{
[RuntimeExport("RhGcStress_Initialize")]
public static void Initialize()
diff --git a/src/Runtime.Base/src/System/Runtime/RuntimeExports.cs b/src/Runtime.Base/src/System/Runtime/RuntimeExports.cs
index 7a6eb104f..4b0e9fc1f 100644
--- a/src/Runtime.Base/src/System/Runtime/RuntimeExports.cs
+++ b/src/Runtime.Base/src/System/Runtime/RuntimeExports.cs
@@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
namespace System.Runtime
{
- public static class RuntimeExports
+ internal static class RuntimeExports
{
//
// internalcalls for System.Runtime.InteropServices.GCHandle.
diff --git a/src/Runtime.Base/src/System/Runtime/TypeCast.cs b/src/Runtime.Base/src/System/Runtime/TypeCast.cs
index 0b90c6998..bcbd58b7d 100644
--- a/src/Runtime.Base/src/System/Runtime/TypeCast.cs
+++ b/src/Runtime.Base/src/System/Runtime/TypeCast.cs
@@ -17,7 +17,7 @@ namespace System.Runtime
//
/////////////////////////////////////////////////////////////////////////////////////////////////////
- public static class TypeCast
+ internal static class TypeCast
{
[RuntimeExport("RhTypeCast_IsInstanceOfClass")]
static public unsafe object IsInstanceOfClass(object obj, void* pvTargetType)
diff --git a/src/Runtime.Base/src/System/Runtime/__Finalizer.cs b/src/Runtime.Base/src/System/Runtime/__Finalizer.cs
index 1625cab3c..174384be4 100644
--- a/src/Runtime.Base/src/System/Runtime/__Finalizer.cs
+++ b/src/Runtime.Base/src/System/Runtime/__Finalizer.cs
@@ -14,7 +14,7 @@ using System.Runtime.CompilerServices;
namespace System.Runtime
{
// We choose this name to avoid clashing with any future public class with the name Finalizer.
- public static class __Finalizer
+ internal static class __Finalizer
{
private static bool s_fHaveNewClasslibs /* = false */;