summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/src/System/Array.cs
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-01-20 08:16:44 -0800
committerGitHub <noreply@github.com>2019-01-20 08:16:44 -0800
commit170854b92017d709bc82d7631c6cb33dd7443078 (patch)
treee4d216f1b1be6d9207644e160f86af8846c02577 /src/System.Private.CoreLib/src/System/Array.cs
parent614966d1e179c32ce85df2791102847128390ca6 (diff)
downloadcoreclr-170854b92017d709bc82d7631c6cb33dd7443078.tar.gz
coreclr-170854b92017d709bc82d7631c6cb33dd7443078.tar.bz2
coreclr-170854b92017d709bc82d7631c6cb33dd7443078.zip
Cleanup array related FCalls (#22097)
* Cleanup Array FCalls * Disable outdated CoreFX tests https://github.com/dotnet/corefx/pull/34700
Diffstat (limited to 'src/System.Private.CoreLib/src/System/Array.cs')
-rw-r--r--src/System.Private.CoreLib/src/System/Array.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/System.Private.CoreLib/src/System/Array.cs b/src/System.Private.CoreLib/src/System/Array.cs
index 41e8d794f5..3192ba96e2 100644
--- a/src/System.Private.CoreLib/src/System/Array.cs
+++ b/src/System.Private.CoreLib/src/System/Array.cs
@@ -555,7 +555,10 @@ namespace System
public extern int GetLowerBound(int dimension);
[MethodImplAttribute(MethodImplOptions.InternalCall)]
- internal extern int GetDataPtrOffsetInternal();
+ internal extern ref byte GetRawArrayData();
+
+ [MethodImplAttribute(MethodImplOptions.InternalCall)]
+ internal extern int GetElementSize();
// Number of elements in the Array.
int ICollection.Count