Example #1
0
 /// <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));
Example #2
0
 /// <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));
Example #3
0
 /// <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));
Example #4
0
 /// <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));
Example #5
0
 /// <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));
Example #6
0
 /// <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));
Example #7
0
 /// <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));
Example #8
0
 /// <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));
Example #9
0
 /// <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));
Example #10
0
 /// <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));