예제 #1
0
        public void IsNonGenericBaseType(Type type, bool expectedResult)
        {
            // act
            bool result = BaseTypes.IsNonGenericBaseType(type);

            // assert
            Assert.Equal(expectedResult, result);
        }
예제 #2
0
            internal static bool IsNonGenericBaseType(Type type)
            {
                if (type is null)
                {
                    throw new ArgumentNullException(nameof(type));
                }

                return(BaseTypes.IsNonGenericBaseType(type));
            }