We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2b21f commit b74969eCopy full SHA for b74969e
src/Middleware/HttpOverrides/src/IPNetwork.cs
@@ -45,7 +45,7 @@ public IPNetwork(IPAddress prefix, int prefixLength)
45
public bool Contains(IPAddress address) => _network.Contains(address);
46
47
/// <inheritdoc cref="System.Net.IPNetwork.Parse(ReadOnlySpan{char})"/>
48
- public static IPNetwork Parse(ReadOnlySpan<char> networkSpan) => System.Net.IPNetwork.Parse(networkSpan);
+ public static IPNetwork Parse(ReadOnlySpan<char> networkSpan) => new(System.Net.IPNetwork.Parse(networkSpan));
49
50
/// <inheritdoc cref="System.Net.IPNetwork.TryParse(ReadOnlySpan{char}, out System.Net.IPNetwork)"/>
51
public static bool TryParse(ReadOnlySpan<char> networkSpan, [NotNullWhen(true)] out IPNetwork? network)
0 commit comments