Skip to content

Commit

Permalink
Drop preprocessor checks for NET 4.61
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Nov 15, 2023
1 parent ed6146f commit 2104b4c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions MaxMind.GeoIP2.UnitTests/WebServiceClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
using MaxMind.GeoIP2.Exceptions;
using MaxMind.GeoIP2.Model;
using MaxMind.GeoIP2.Responses;
#if !NET461
using Microsoft.Extensions.Options;
#endif
using System;
using System.Collections.Generic;
using System.Net;
Expand Down Expand Up @@ -457,8 +455,6 @@ public void Constructors()

#region NetCoreTests

#if !NET461

[Fact]
public async Task WebServiceOptionsConstructor()
{
Expand Down Expand Up @@ -495,7 +491,6 @@ public async Task WebServiceOptionsConstructor()
Assert.NotNull(result);
Assert.Equal("1.2.3.0/24", result.Traits.Network?.ToString());
}
#endif

#endregion

Expand Down

0 comments on commit 2104b4c

Please sign in to comment.