Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6409491

Browse files
kouveljkotas
authored andcommitted
Remove WaitHandleExtensions, as it is implemented in CoreFX (#7431)
1 parent 89ee0e4 commit 6409491

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

src/mscorlib/model.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8137,10 +8137,6 @@
81378137
<Member Name="WaitOne(System.TimeSpan,System.Boolean)" />
81388138
<Member MemberType="Property" Name="SafeWaitHandle" />
81398139
</Type>
8140-
<Type Name="System.Threading.WaitHandleExtensions">
8141-
<Member Name="GetSafeWaitHandle(System.Threading.WaitHandle)" />
8142-
<Member Name="SetSafeWaitHandle(System.Threading.WaitHandle,Microsoft.Win32.SafeHandles.SafeWaitHandle)" />
8143-
</Type>
81448140
<Type Name="System.Threading.WaitHandleCannotBeOpenedException">
81458141
<Member Name="#ctor" />
81468142
<Member Name="#ctor(System.String)" />

src/mscorlib/mscorlib.shared.sources.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@
732732
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\Timer.cs" />
733733
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\Volatile.cs" />
734734
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\WaitHandle.cs" />
735-
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\WaitHandleExtensions.cs" />
735+
<ThreadingSources Condition="'$(FeatureCoreClr)'!='true'" Include="$(BclSourcesRoot)\System\Threading\WaitHandleExtensions.cs" />
736736
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\WaitHandleCannotBeOpenedException.cs" />
737737
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\ApartmentState.cs" />
738738
<ThreadingSources Include="$(BclSourcesRoot)\System\Threading\SpinLock.cs" />

src/mscorlib/ref/mscorlib.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13459,13 +13459,6 @@ public WaitHandleCannotBeOpenedException(string message) { }
1345913459
public WaitHandleCannotBeOpenedException(string message, System.Exception innerException) { }
1346013460
protected WaitHandleCannotBeOpenedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { }
1346113461
}
13462-
public static partial class WaitHandleExtensions
13463-
{
13464-
[System.Security.SecurityCriticalAttribute]
13465-
public static Microsoft.Win32.SafeHandles.SafeWaitHandle GetSafeWaitHandle(this System.Threading.WaitHandle waitHandle) { throw null; }
13466-
[System.Security.SecurityCriticalAttribute]
13467-
public static void SetSafeWaitHandle(this System.Threading.WaitHandle waitHandle, Microsoft.Win32.SafeHandles.SafeWaitHandle value) { }
13468-
}
1346913462
[System.Runtime.InteropServices.ComVisibleAttribute(true)]
1347013463
public delegate void WaitOrTimerCallback(object state, bool timedOut);
1347113464
}

0 commit comments

Comments
 (0)