summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-01-08 22:55:58 -0800
committerJan Kotas <jkotas@microsoft.com>2019-01-09 09:23:32 -0800
commitb2ea27c2959f2d50702cffb6cb0698a36da8167e (patch)
treea63622fec7d903d006fe6f58dc730bdf5f805442 /src/System.Private.CoreLib/shared/System
parentc44b38fec5db8c0957cd15dd17164084b4af4011 (diff)
downloadcoreclr-b2ea27c2959f2d50702cffb6cb0698a36da8167e.tar.gz
coreclr-b2ea27c2959f2d50702cffb6cb0698a36da8167e.tar.bz2
coreclr-b2ea27c2959f2d50702cffb6cb0698a36da8167e.zip
Delete files moved to shared partition
Diffstat (limited to 'src/System.Private.CoreLib/shared/System')
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs
index d246f55748..3bef38a0b7 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/InteropServices/ArrayWithOffset.cs
@@ -45,7 +45,10 @@ namespace System.Runtime.InteropServices
return !(a == b);
}
-#if !CORECLR // TODO: Cleanup
+#if CORECLR // TODO: Cleanup
+ [MethodImpl(MethodImplOptions.InternalCall)]
+ private extern int CalculateCount();
+#else
private int CalculateCount()
{
if (m_array == null)