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

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBuyaa Namnan <buyankhishig.namnan@microsoft.com>2022-11-12 02:08:15 +0300
committergithub-actions <github-actions@github.com>2022-11-12 03:12:40 +0300
commitc4d0cd472c9838220045f6b0b29f2cf566239c0a (patch)
treeace747b5eafca81d4d14962219eab3f89e9d9ecf
parent9778f35568aadaecaa0e2f0c56fc4921b84c8752 (diff)
Update src/libraries/System.Runtime/tests/System/Reflection/ReflectionCacheTests.csbackport/pr-78249-to-release/7.0
Co-authored-by: Steve Harter <steveharter@users.noreply.github.com>
-rw-r--r--src/libraries/System.Runtime/tests/System/Reflection/ReflectionCacheTests.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libraries/System.Runtime/tests/System/Reflection/ReflectionCacheTests.cs b/src/libraries/System.Runtime/tests/System/Reflection/ReflectionCacheTests.cs
index bb2c388ab9d..a5922112c1d 100644
--- a/src/libraries/System.Runtime/tests/System/Reflection/ReflectionCacheTests.cs
+++ b/src/libraries/System.Runtime/tests/System/Reflection/ReflectionCacheTests.cs
@@ -60,6 +60,8 @@ namespace System.Reflection.Tests
PropertyInfo parentProperty = typeof(A).GetProperty("P");
PropertyInfo childProperty = s_type.GetProperty("P");
+ Assert.NotNull(parentProperty);
+ Assert.NotNull(childProperty);
Assert.NotEqual(parentProperty, childProperty);
}