diff options
author | Jan Kotas <jkotas@microsoft.com> | 2017-06-10 23:24:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 23:24:14 +0300 |
commit | 208de3dd1aa5f0de33c44bc024dc5122eb455208 (patch) | |
tree | 3e807d7f164266e33770ee8f33146977f0d79125 /src/System.Private.Interop | |
parent | 453f0c1781c3fcfeee5a936e8223816abb5d4098 (diff) |
Fix ProjectN build breaks (#3859)
Diffstat (limited to 'src/System.Private.Interop')
-rw-r--r-- | src/System.Private.Interop/src/Internal/Runtime/CompilerHelpers/RuntimeInteropData.ProjectN.cs | 4 |
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 25cd30340..84678d1b9 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 @@ -12,7 +12,7 @@ using System.Runtime.InteropServices; namespace Internal.Runtime.CompilerHelpers { - internal class RuntimeInteropData : InteropCallbacks + internal partial class RuntimeInteropData : InteropCallbacks { public override bool TryGetMarshallerDataForDelegate(RuntimeTypeHandle delegateTypeHandle, out McgPInvokeDelegateData data) { @@ -44,7 +44,7 @@ namespace Internal.Runtime.CompilerHelpers { RuntimeTypeHandle unsafeStructType; size = 0; - if (McgModuleManager.TryGetStructUnsafeStructType(typeHandle, out unsafeStructType)) + if (McgModuleManager.TryGetStructUnsafeStructType(structureTypeHandle, out unsafeStructType)) { size = unsafeStructType.GetValueTypeSize(); return true; |