/// <summary>
        /// Gets the example expected summary text for a constructor, based on the type of the constructor.
        /// </summary>
        /// <param name="constructor">The constructor.</param>
        /// <param name="type">The type of the element containing the constructor.</param>
        /// <returns>Returns the example summary text.</returns>
        private static string GetExampleSummaryTextForConstructorType(Constructor constructor, string type)
        {
            Param.AssertNotNull(constructor, "constructor");
            Param.AssertValidString(type, "type");

            if (constructor.ContainsModifier(TokenType.Static))
            {
                return string.Format(
                    CultureInfo.InvariantCulture,
                    CachedCodeStrings.ExampleHeaderSummaryForStaticConstructor,
                    type);
            }
            else if (constructor.AccessModifierType == AccessModifierType.Private &&
                (constructor.ParameterList == null || constructor.ParameterList.Count == 0))
            {
                return string.Format(
                    CultureInfo.InvariantCulture,
                    CachedCodeStrings.ExampleHeaderSummaryForPrivateInstanceConstructor,
                    type);
            }
            else
            {
                return string.Format(
                    CultureInfo.InvariantCulture,
                    CachedCodeStrings.ExampleHeaderSummaryForInstanceConstructor,
                    type);
            }
        }