diff options
author | Jan Kotas <jkotas@microsoft.com> | 2019-01-20 08:16:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-20 08:16:44 -0800 |
commit | 170854b92017d709bc82d7631c6cb33dd7443078 (patch) | |
tree | e4d216f1b1be6d9207644e160f86af8846c02577 /src/System.Private.CoreLib/src/System/Array.cs | |
parent | 614966d1e179c32ce85df2791102847128390ca6 (diff) | |
download | coreclr-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.cs | 5 |
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 |