Replace more of JitHelpers with S.R.CS.Unsafe (dotnet/coreclr#21598)
authorJan Kotas <jkotas@microsoft.com>
Thu, 20 Dec 2018 15:10:07 +0000 (07:10 -0800)
committerGitHub <noreply@github.com>
Thu, 20 Dec 2018 15:10:07 +0000 (07:10 -0800)
commit1b5efe89ee7dc9c2179e59d3537114a41671d2c8
tree39423d27f8d69bbb8840f27a38214dbc280b8d21
parenta64ec00ddaf9cb6ec3bef642ce5aece6ee3318d8
Replace more of JitHelpers with S.R.CS.Unsafe (dotnet/coreclr#21598)

- Replace JitHelpers.UnsafeCastToStackPtr with Unsafe.AsPointer
- Delete PinningHelper that was duplicate of RawData helper class

Commit migrated from https://github.com/dotnet/coreclr/commit/b0f325989d84c0ea429f24250e6ee1c6fd1a50a7
12 files changed:
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/Eventing/FrameworkEventSource.cs
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/CompilerServices/jithelpers.cs
src/coreclr/src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/CLRIPropertyValueImpl.cs
src/coreclr/src/System.Private.CoreLib/src/System/Threading/Tasks/TPLETWProvider.cs
src/coreclr/src/vm/array.cpp
src/coreclr/src/vm/ecalllist.h
src/coreclr/src/vm/ilmarshalers.cpp
src/coreclr/src/vm/jitinterface.cpp
src/coreclr/src/vm/mscorlib.h
src/coreclr/src/vm/prestub.cpp
src/coreclr/src/vm/reflectioninvocation.cpp
src/coreclr/src/vm/reflectioninvocation.h