Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Memory/tests/ReadOnlySpan/Empty.cs')
-rw-r--r--src/System.Memory/tests/ReadOnlySpan/Empty.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/System.Memory/tests/ReadOnlySpan/Empty.cs b/src/System.Memory/tests/ReadOnlySpan/Empty.cs
index 11ebb2b27c..0af910dfec 100644
--- a/src/System.Memory/tests/ReadOnlySpan/Empty.cs
+++ b/src/System.Memory/tests/ReadOnlySpan/Empty.cs
@@ -19,7 +19,7 @@ namespace System.SpanTests
{
ref int expected = ref Unsafe.AsRef<int>(null);
ref int actual = ref empty.DangerousGetPinnableReference();
- Assert.True(Unsafe.AreSame<int>(ref expected, ref actual));
+ Assert.True(Unsafe.AreSame(ref expected, ref actual));
}
}
}