/// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String" /> that represents this instance. /// </returns> public override string ToString( ) { IXmlLineInfo lineInfo = Source; return(string.Format(@" Entity Id: {0} Field Id: {1} Mode: {2} Reason: {3} Value: {4} Node: {5} Line: {6} Position: {7}", EntityUpgradeId.ToString("B"), FieldUpgradeId.ToString("B"), StatisticsHelper.Capitalize(Mode.ToString( )), StatisticsHelper.Capitalize(Reason.ToString( )), Value, Source, lineInfo.HasLineInfo( ) ? lineInfo.LineNumber.ToString( ) : "N/A", lineInfo.HasLineInfo( ) ? lineInfo.LinePosition.ToString( ) : "N/A")); }