diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-07-14 06:03:51 +0300 |
---|---|---|
committer | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2017-07-14 06:03:51 +0300 |
commit | 180830f17230196c5d9a99963f2f1374aa54a03e (patch) | |
tree | 1f93344979c79fe172ad32f85668bcca4188d399 /src/Runtime.Base | |
parent | 2278ebc3ee8a2a655a64e263450a0050d3ba37e8 (diff) |
Fix inconsistent EEType casing (#4155)
Diffstat (limited to 'src/Runtime.Base')
-rw-r--r-- | src/Runtime.Base/src/System/Runtime/EEType.Runtime.cs | 2 | ||||
-rw-r--r-- | src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs | 4 | ||||
-rw-r--r-- | src/Runtime.Base/src/System/Runtime/InternalCalls.cs | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/Runtime.Base/src/System/Runtime/EEType.Runtime.cs b/src/Runtime.Base/src/System/Runtime/EEType.Runtime.cs index 09a6c8bef..4bd520a25 100644 --- a/src/Runtime.Base/src/System/Runtime/EEType.Runtime.cs +++ b/src/Runtime.Base/src/System/Runtime/EEType.Runtime.cs @@ -25,7 +25,7 @@ namespace Internal.Runtime { fixed (EEType* pThis = &this) { - IntPtr pGetArrayEEType = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEtype(new IntPtr(pThis), EH.ClassLibFunctionId.GetSystemArrayEEType); + IntPtr pGetArrayEEType = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEType(new IntPtr(pThis), EH.ClassLibFunctionId.GetSystemArrayEEType); if (pGetArrayEEType != IntPtr.Zero) return (EEType*)CalliIntrinsics.Call<IntPtr>(pGetArrayEEType); } diff --git a/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs b/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs index aaf0cc33d..b86570c33 100644 --- a/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs +++ b/src/Runtime.Base/src/System/Runtime/ExceptionHandling.cs @@ -312,7 +312,7 @@ namespace System.Runtime return e; } - // Given an ExceptionID and an EEtype address, get an exception object of a type that the module containing + // Given an ExceptionID and an EEType address, get an exception object of a type that the module containing // the given address will understand. This finds the classlib-defined GetRuntimeException function and asks // it for the exception object. internal static Exception GetClasslibExceptionFromEEType(ExceptionIDs id, IntPtr pEEType) @@ -322,7 +322,7 @@ namespace System.Runtime IntPtr pGetRuntimeExceptionFunction = IntPtr.Zero; if (pEEType != IntPtr.Zero) { - pGetRuntimeExceptionFunction = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEtype(pEEType, ClassLibFunctionId.GetRuntimeException); + pGetRuntimeExceptionFunction = (IntPtr)InternalCalls.RhpGetClasslibFunctionFromEEType(pEEType, ClassLibFunctionId.GetRuntimeException); } // Return the exception object we get from the classlib. diff --git a/src/Runtime.Base/src/System/Runtime/InternalCalls.cs b/src/Runtime.Base/src/System/Runtime/InternalCalls.cs index 0aee9900a..0c4cc3ebf 100644 --- a/src/Runtime.Base/src/System/Runtime/InternalCalls.cs +++ b/src/Runtime.Base/src/System/Runtime/InternalCalls.cs @@ -234,10 +234,10 @@ namespace System.Runtime [ManuallyManaged(GcPollPolicy.Never)] internal extern static unsafe void* RhpGetClasslibFunctionFromCodeAddress(IntPtr address, EH.ClassLibFunctionId id); - [RuntimeImport(Redhawk.BaseName, "RhpGetClasslibFunctionFromEEtype")] + [RuntimeImport(Redhawk.BaseName, "RhpGetClasslibFunctionFromEEType")] [MethodImpl(MethodImplOptions.InternalCall)] [ManuallyManaged(GcPollPolicy.Never)] - internal extern static unsafe void* RhpGetClasslibFunctionFromEEtype(IntPtr pEEType, EH.ClassLibFunctionId id); + internal extern static unsafe void* RhpGetClasslibFunctionFromEEType(IntPtr pEEType, EH.ClassLibFunctionId id); // // StackFrameIterator |