[System.Private.CoreLib] Remove unused methods
authorMarek Safar <marek.safar@gmail.com>
Tue, 22 Oct 2019 13:49:26 +0000 (09:49 -0400)
committerMarek Safar <marek.safar@gmail.com>
Tue, 22 Oct 2019 15:28:22 +0000 (11:28 -0400)
Commit migrated from https://github.com/mono/mono/commit/f34fd20fbf009c9ef174c1fabdbccda47c93b9da

src/mono/netcore/System.Private.CoreLib/src/System.Threading/Monitor.cs
src/mono/netcore/System.Private.CoreLib/src/System.Threading/Thread.cs
src/mono/netcore/System.Private.CoreLib/src/System/NotImplemented.cs

index 20bba88..9b7c283 100644 (file)
@@ -172,7 +172,7 @@ namespace System.Threading
                        return Monitor_test_owner (obj);
                }
                
-               public static long LockContentionCount
+               public extern static long LockContentionCount
                {
                        [MethodImplAttribute (MethodImplOptions.InternalCall)]
                        get;
index 8937901..5d6166b 100644 (file)
@@ -144,8 +144,6 @@ namespace System.Threading
                        }
                }
 
-               internal SynchronizationContext SynchronizationContext { get; set; }
-
                public ThreadState ThreadState => GetState (this);
 
                void Create (ThreadStart start) => SetStartHelper ((Delegate) start, 0); // 0 will setup Thread with default stackSize
index 82f4e18..5a2690e 100644 (file)
@@ -24,11 +24,6 @@ namespace System
                 return new NotImplementedException();
             }
         }
-
-        internal static Exception ByDesignWithMessage(string message)
-        {
-            return new NotImplementedException(message);
-        }
     }
 }