Skip to content

Commit

Permalink
disable warning CA1033
Browse files Browse the repository at this point in the history
  • Loading branch information
smdn committed May 15, 2023
1 parent 8616c44 commit b77f659
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ protected void ThrowIfDisposed()
/*
* IPAddress -> PhysicalAddress
*/
#pragma warning disable CA1033
ValueTask<PhysicalAddress?> IAddressResolver<IPAddress, PhysicalAddress>.ResolveAsync(
IPAddress address,
CancellationToken cancellationToken
Expand All @@ -101,6 +102,7 @@ CancellationToken cancellationToken
IPAddress address
)
=> Invalidate(ipAddress: address);
#pragma warning restore CA1033

/// <summary>
/// Resolves from an IP address to its corresponding MAC address.
Expand Down Expand Up @@ -185,6 +187,7 @@ public void Invalidate(IPAddress ipAddress)
/*
* PhysicalAddress -> IPAddress
*/
#pragma warning disable CA1033
ValueTask<IPAddress?> IAddressResolver<PhysicalAddress, IPAddress>.ResolveAsync(
PhysicalAddress address,
CancellationToken cancellationToken
Expand All @@ -198,6 +201,7 @@ CancellationToken cancellationToken
PhysicalAddress address
)
=> Invalidate(macAddress: address);
#pragma warning restore CA1033

/// <summary>
/// Resolves from a MAC address to its corresponding IP address.
Expand Down

0 comments on commit b77f659

Please sign in to comment.