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:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2018-02-27 15:14:59 +0300
committerGitHub <noreply@github.com>2018-02-27 15:14:59 +0300
commitb2b821b20e2dac6d9e8a5e2dd5c36f020b4bdf63 (patch)
treeec47eceb28761a82a6a7f542667f744341c06d72
parent32758a8ebce859a4a7198db69a21c6ac074cd6bc (diff)
Fix ProjectN build break (#5454)
-rw-r--r--src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs b/src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs
index 4db7c7f13..cfc7ce822 100644
--- a/src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs
+++ b/src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs
@@ -18,7 +18,7 @@ namespace Internal.Runtime.CompilerHelpers
{
McgModuleManager.GetPInvokeDelegateData(delegateTypeHandle, out McgPInvokeDelegateData data);
IntPtr pStub = data.ForwardDelegateCreationStub;
- if (pStup == IntPtr.Zero)
+ if (pStub == IntPtr.Zero)
throw new MissingInteropDataException(SR.DelegateMarshalling_MissingInteropData, Type.GetTypeFromHandle(delegateTypeHandle));
return pStub;
}
@@ -27,7 +27,7 @@ namespace Internal.Runtime.CompilerHelpers
{
McgModuleManager.GetPInvokeDelegateData(delegateTypeHandle, out McgPInvokeDelegateData pinvokeDelegateData);
IntPtr pStub = openStaticDelegate ? pinvokeDelegateData.ReverseOpenStaticDelegateStub : pinvokeDelegateData.ReverseStub;
- if (pStup == IntPtr.Zero)
+ if (pStub == IntPtr.Zero)
throw new MissingInteropDataException(SR.DelegateMarshalling_MissingInteropData, Type.GetTypeFromHandle(delegateTypeHandle));
return pStub;
}