Skip to content

Commit c6e0152

Browse files
committed
Code cleanup
1 parent 899c609 commit c6e0152

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

src/DotNext.Tests/Reflection/TypeExtensionsTests.cs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
1-
using System.Reflection;
2-
31
namespace DotNext.Reflection;
42

53
public sealed class TypeExtensionsTests : Test
64
{
7-
public sealed class MyList : List<string>
8-
{
9-
10-
}
5+
public sealed class MyList : List<string>;
116

127
[Fact]
138
public static void DelegateSignature()
@@ -79,7 +74,7 @@ public static void IsUnmanaged()
7974
}
8075

8176
[Fact]
82-
public static unsafe void IsImmutable()
77+
public static void IsImmutable()
8378
{
8479
True(typeof(ReadOnlySpan<int>).IsImmutable());
8580
True(typeof(Guid).IsImmutable());
@@ -126,7 +121,7 @@ public static void EqualsMethodResolution()
126121
}
127122

128123
[Fact]
129-
public static unsafe void DefaultValues()
124+
public static void DefaultValues()
130125
{
131126
Null(typeof(string).GetDefaultValue());
132127
Null(typeof(void*).GetDefaultValue());

0 commit comments

Comments
 (0)