Skip to content

Commit 6346519

Browse files
authored
fix IPNetwork.TryParse comment
1 parent 2d015aa commit 6346519

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Middleware/HttpOverrides/src/IPNetwork.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Microsoft.AspNetCore.HttpOverrides;
1313
public class IPNetwork
1414
{
1515
private readonly System.Net.IPNetwork _network;
16-
16+
1717
/// <summary>
1818
/// Create a new <see cref="IPNetwork"/> with the specified <see cref="IPAddress"/> and prefix length.
1919
/// </summary>
@@ -47,7 +47,7 @@ public IPNetwork(IPAddress prefix, int prefixLength)
4747
/// <inheritdoc cref="System.Net.IPNetwork.Parse(ReadOnlySpan{char})"/>
4848
public static IPNetwork Parse(ReadOnlySpan<char> networkSpan) => System.Net.IPNetwork.Parse(networkSpan);
4949

50-
/// <inheritdoc cref="System.Net.IPNetwork.TryParse(ReadOnlySpan{char}, out IPNetwork?)"/>
50+
/// <inheritdoc cref="System.Net.IPNetwork.TryParse(ReadOnlySpan{char}, out System.Net.IPNetwork?)"/>
5151
public static bool TryParse(ReadOnlySpan<char> networkSpan, [NotNullWhen(true)] out IPNetwork? network)
5252
{
5353
if (System.Net.IPNetwork.TryParse(networkSpan, out var ipNetwork))

0 commit comments

Comments
 (0)