Explicitly check for arrays in Marshal.SizeOf impl. (#45227)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Mon, 30 Nov 2020 18:34:01 +0000 (10:34 -0800)
committerGitHub <noreply@github.com>
Mon, 30 Nov 2020 18:34:01 +0000 (10:34 -0800)
commit741d548534d712014a9ee5d9ca8bd39393fcff45
treea38c97611e9b4fd3d002e66cc17f3f348b436870
parent188a1ee22344f181224d38df91fa8d214b76a020
Explicitly check for arrays in Marshal.SizeOf impl. (#45227)
src/coreclr/src/vm/marshalnative.cpp
src/libraries/System.Runtime.InteropServices/tests/System/Runtime/InteropServices/Marshal/SizeOfTests.cs