Skip to content

Commit 9b532ac

Browse files
authored
[CS0660][CS0661] TestActorRef Warning Disable (#6686)
1 parent f55da53 commit 9b532ac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/Akka.TestKit/TestActorRef.cs

+4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ namespace Akka.TestKit
1717
/// <see cref="IActorRef"/> from the <see cref="TestActorRefBase{TActor}.Ref"/> property.
1818
/// </summary>
1919
/// <typeparam name="TActor">The type of actor</typeparam>
20+
#pragma warning disable CS0660 // Type defines operator == or operator != but does not override Object.Equals(object o)
21+
#pragma warning disable CS0661 // Type defines operator == or operator != but does not override Object.GetHashCode()
2022
public class TestActorRef<TActor> : TestActorRefBase<TActor> where TActor : ActorBase
23+
#pragma warning restore CS0661 // Type defines operator == or operator != but does not override Object.GetHashCode()
24+
#pragma warning restore CS0660 // Type defines operator == or operator != but does not override Object.Equals(object o)
2125
{
2226
/// <summary>
2327
/// Initializes a new instance of the <see cref="TestActorRef{TActor}"/> class.

0 commit comments

Comments
 (0)