We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 481db36 commit 4ef3494Copy full SHA for 4ef3494
NetStandardPolyfills.UnitTests/WhenCheckingTypeData.cs
@@ -66,6 +66,18 @@ public void ShouldFlagANonAnonymousType()
66
typeof(IOrderedEnumerable<int>).IsAnonymous().ShouldBeFalse();
67
}
68
69
+ [Fact]
70
+ public void ShouldFlagAPrimitiveType()
71
+ {
72
+ typeof(int).IsPrimitive().ShouldBeTrue();
73
+ }
74
+
75
76
+ public void ShouldFlagANonPrimitiveType()
77
78
+ typeof(object).IsPrimitive().ShouldBeFalse();
79
80
81
[MyAttribute]
82
private class TestHelper
83
{
0 commit comments