Beispiel #1
0
 /// <inheritdoc/>
 public override void FormatMessage(IBreakingChangeFormatter formatter) =>
 formatter.AppendFormat("Changed the type of parameter '{0}' in {1} in a way which may cause invocations to not compile. Type was changed from {2} to {3}.",
                        FormatItem.ParameterName(NewParameter, StyleFlags.Italics),
                        FormatItem.ParameterizedItemName(NewParameterizedItem, StyleFlags.Bold),
                        FormatItem.TypedItemTypeName(OldParameter, StyleFlags.Italics),
                        FormatItem.TypedItemTypeName(NewParameter, StyleFlags.Italics));
Beispiel #2
0
 /// <inheritdoc/>
 public override void FormatMessage(IBreakingChangeFormatter formatter) =>
 formatter.AppendFormat("Changed the type of {0} {1} in a way which may cause code using the {0} to not compile. Type was changed from {2} to {3}.",
                        FormatItem.TypedItemKind(NewTypedItem),
                        FormatItem.TypedItemName(NewTypedItem, StyleFlags.Bold),
                        FormatItem.TypedItemTypeName(OldTypedItem, StyleFlags.Italics),
                        FormatItem.TypedItemTypeName(NewTypedItem, StyleFlags.Italics));