diff --git a/src/System.Runtime/tests/System.Runtime.Tests.csproj b/src/System.Runtime/tests/System.Runtime.Tests.csproj
index 1d85c40d0a1f..f5b94e0230d6 100644
--- a/src/System.Runtime/tests/System.Runtime.Tests.csproj
+++ b/src/System.Runtime/tests/System.Runtime.Tests.csproj
@@ -164,6 +164,7 @@
+
diff --git a/src/System.Runtime/tests/System/Runtime/CompilerServices/AttributesTests.cs b/src/System.Runtime/tests/System/Runtime/CompilerServices/AttributesTests.cs
new file mode 100644
index 000000000000..876b4d367cbc
--- /dev/null
+++ b/src/System.Runtime/tests/System/Runtime/CompilerServices/AttributesTests.cs
@@ -0,0 +1,22 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+using Xunit;
+
+namespace System.Runtime.CompilerServices.Tests
+{
+ public static class AttributesTests
+ {
+ [Fact]
+ public static void TypeForwardedToAttributeTests()
+ {
+ string assemblyFullName = "MyAssembly";
+ var attr = new TypeForwardedFromAttribute(assemblyFullName);
+ Assert.Equal(assemblyFullName, attr.AssemblyFullName);
+
+ AssertExtensions.Throws("assemblyFullName", () => new TypeForwardedFromAttribute(null));
+ AssertExtensions.Throws("assemblyFullName", () => new TypeForwardedFromAttribute(""));
+ }
+ }
+}