private static async Task Returns(StreamWriter writer, MethodInfo method, XDocument xmlComments) { if (method.ReturnType.FullName != "System.Void") { await writer.WriteLineAsync("### Returns"); await TypeHelper.FullName(writer, method.ReturnType, t => t.Name, "<", ">"); await writer.WriteLineAsync(" "); await writer.WriteLineAsync(XmlCommentHelper.Returns(xmlComments, method)); } }