/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Removed or changed the visibility of the get or set accessor of {0} {1} which may code using the {0} to not compile.", FormatItem.MemberKind(NewProperty), FormatItem.MemberName(NewProperty, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Removed {0} {1} which will cause code using the {0} to not compile.", FormatItem.MemberKind(OldMember), FormatItem.MemberName(OldMember, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Removed override of abstract {0} {1} in {2} which may derived classes to not compile.", FormatItem.MemberKind(OldMemberOverride), FormatItem.MemberName(OldMemberOverride, StyleFlags.Italics), FormatItem.MemberName(NewType, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Added or removed the static modifier of {0} {1} which may cause code using the {0} to not compile.", FormatItem.MemberKind(NewMember), FormatItem.MemberName(NewMember, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Removed implementation of interface {0} from {1} which may cause code using the {2} to not compile.", FormatItem.MemberName(OldInterfaceType, StyleFlags.Italics), FormatItem.MemberName(NewType, StyleFlags.Bold), FormatItem.MemberKind(NewType));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Changed virtual {0} {1} to non-virtual which will cause derived classes overriding the {0} to not compile.", FormatItem.MemberKind(NewMember), FormatItem.MemberName(NewMember, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Changed variance (in or out modifier) for the generic type parameter {0} in {1} {2} which may cause implicit conversions of the {1} to not compile.", FormatItem.MemberName(NewGenericParameter, StyleFlags.Italics), FormatItem.MemberKind(NewGenericParameter.GenericDeclaringMember), FormatItem.MemberName(NewGenericParameter.GenericDeclaringMember, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Changed constraints for the generic type parameter {0} in {1} {2} which may cause constructions of the entity to not compile.", FormatItem.MemberName(NewGenericParameter, StyleFlags.Italics), FormatItem.MemberKind(NewGenericParameter.GenericDeclaringMember), FormatItem.MemberName(NewGenericParameter.GenericDeclaringMember, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Added a new interface {0} {1} which will cause implementing types to not compile.", FormatItem.MemberKind(NewMember), FormatItem.MemberName(NewMember, StyleFlags.Bold));
/// <inheritdoc/> public override void FormatMessage(IBreakingChangeFormatter formatter) => formatter.AppendFormat("Added a new abstract {0} {1} which will cause derived classes to not compile.", FormatItem.MemberKind(NewMember), FormatItem.MemberName(NewMember, StyleFlags.Bold));