Skip to content

Commit

Permalink
Remove references to NETCOREAPP1_0 as obsolete
Browse files Browse the repository at this point in the history
castleproject#612 - Updating Windsor to support [email protected] and modern TFMs
  • Loading branch information
Jevonius committed May 14, 2022
1 parent efc5d28 commit efd2c12
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Castle.Windsor.Tests/DefaultValueTestCase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ public void Uses_explicit_value_over_default()
Assert.AreEqual("Adam Mickiewicz", value.Name);
}

#if !NETCOREAPP1_0 // FirstChanceException event was added in .NET Core 2.0
[Test]
public void First_chance_exceptions_are_not_thrown()
{
Expand All @@ -112,6 +111,5 @@ public HasCtorWithOptionalInterfaceParameter(IEqualityComparer<int> comparer = n
{
}
}
#endif
}
}
2 changes: 0 additions & 2 deletions src/Castle.Windsor.Tests/TestUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ namespace CastleTests

public static class TestUtils
{
#if !NETCOREAPP1_0 // FirstChanceException event was added in .NET Core 2.0
public static void AssertNoFirstChanceExceptions(Action action)
{
var firstChanceExceptions = new List<Exception>();
Expand Down Expand Up @@ -58,7 +57,6 @@ public static void AssertNoFirstChanceExceptions(Action action)
Assert.Fail(message.ToString());
}
}
#endif

public static string ConvertToEnvironmentLineEndings(this string value)
{
Expand Down

0 comments on commit efd2c12

Please sign in to comment.