示例#1
0
        public void PropertyHelper_WorksForNullablePrimitiveAndEnumTypes()
        {
            // Act
            var properties = PropertyHelper.GetPropertyAccessors(typeof(int?));

            // Assert
            Assert2.Empty(properties);

            // Act
            var properties2 = PropertyHelper.GetPropertyAccessors(typeof(DayOfWeek?));

            // Assert
            Assert2.Empty(properties2);
        }