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

            IRegexFilter regexFilter = fixture.GetRegexFilter();

            regexFilter.ExcludeParameter(parameterName, typeFullName, methodName);

            return(fixture);
        }