/// <summary>
        /// Excludes the <paramref name="type"/> from checks for <see cref="ArgumentNullException"/>.
        /// </summary>
        /// <param name="filter">The <see cref="Regex"/> filter.</param>
        /// <param name="type">The type.</param>
        /// <returns>The <paramref name="filter"/>.</returns>
        /// <exception cref="ArgumentNullException">The <paramref name="filter"/> or <paramref name="type"/> parameters
        /// are <see langword="null"/>.</exception>
        public static IRegexFilter ExcludeType(this IRegexFilter filter, Type type)
        {
            if (type == null)
            {
                throw new ArgumentNullException(nameof(type));
            }

            return(filter.ExcludeType(type.FullName));
        }
        /// <summary>
        /// Excludes the <paramref name="typeFullName"/> from checks for <see cref="ArgumentNullException"/>.
        /// </summary>
        /// <param name="fixture">The fixture.</param>
        /// <param name="typeFullName">The <see cref="Type.FullName"/> of the <see cref="Type"/>.</param>
        /// <returns>The <paramref name="fixture"/>.</returns>
        /// <exception cref="ArgumentNullException">The <paramref name="fixture"/> or <paramref name="typeFullName"/>
        /// parameters are <see langword="null"/>.</exception>
        public static IArgumentNullExceptionFixture ExcludeType(this IArgumentNullExceptionFixture fixture, string typeFullName)
        {
            if (fixture == null)
            {
                throw new ArgumentNullException(nameof(fixture));
            }
            if (string.IsNullOrWhiteSpace(typeFullName))
            {
                throw new ArgumentNullException(nameof(typeFullName));
            }

            IRegexFilter regexFilter = fixture.GetRegexFilter();

            regexFilter.ExcludeType(typeFullName);

            return(fixture);
        }