Skip to content

Commit

Permalink
[CS0618] Serializer Warning Disable (#6703)
Browse files Browse the repository at this point in the history
  • Loading branch information
eaba authored May 3, 2023
1 parent a1a371d commit 24dec7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Akka/Serialization/Serializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ protected Serializer(ExtendedActorSystem system)
/// <returns>TBD</returns>
public byte[] ToBinaryWithAddress(Address address, object obj)
{
#pragma warning disable CS0618 // Type or member is obsolete
return Serialization.WithTransport(system, address, () => ToBinary(obj));
#pragma warning restore CS0618 // Type or member is obsolete
}

/// <summary>
Expand Down

0 comments on commit 24dec7f

Please sign in to comment.