Merge pull request dotnet/corert#3832 from dotnet/nmirror
authorJan Kotas <jkotas@microsoft.com>
Thu, 8 Jun 2017 03:16:48 +0000 (20:16 -0700)
committerJan Kotas <jkotas@microsoft.com>
Thu, 8 Jun 2017 13:03:28 +0000 (06:03 -0700)
Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
src/mscorlib/shared/System/Diagnostics/Tracing/EventSource.cs

index a30231b..901c0c4 100644 (file)
@@ -1134,17 +1134,7 @@ namespace System.Diagnostics.Tracing
             /// Address where the one argument lives (if this points to managed memory you must ensure the
             /// managed object is pinned.
             /// </summary>
-#if PROJECTN // Workaround for DevDiv #445798 
-            public unsafe IntPtr DataPointer
-            {
-                [MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
-                get { return (IntPtr)(void*)m_Ptr; }
-                [MethodImpl(MethodImplOptions.NoOptimization | MethodImplOptions.NoInlining)]
-                set { m_Ptr = unchecked((ulong)(void*)value); }
-            }
-#else
             public unsafe IntPtr DataPointer { get { return (IntPtr)(void*)m_Ptr; } set { m_Ptr = unchecked((ulong)(void*)value); } }
-#endif
 
             /// <summary>
             /// Size of the argument referenced by DataPointer