static IEnumerable<object> BuildObsoleteMethods(TypeDefinition typeDiff)
 {
     return from method in typeDiff.GetObsoleteMethods()
         select new
         {
             name = method.GetName(),
             obsolete = method.GetObsoleteString()
         };
 }
 void WriteObsoleteMethods(TypeDefinition type, TextWriter writer, FormattingInfo info)
 {
     var obsoletes = type.GetObsoleteMethods().ToList();
     if (obsoletes.Any())
     {
         writer.WriteLine();
         writer.WriteLine("#### Obsolete Methods");
         writer.WriteLine();
         foreach (var method in obsoletes)
         {
             var link = CreateRightLink(method.GetValidSequencePoint(), info);
             writer.Write("  - `{0}` {1}", method.GetName(), link);
             writer.WriteLine("<br>" + method.GetObsoleteString());
         }
     }
     writer.WriteLine();
 }