Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'AppleDocHandler.cs')
-rw-r--r--AppleDocHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/AppleDocHandler.cs b/AppleDocHandler.cs
index a034bc1..4917cb2 100644
--- a/AppleDocHandler.cs
+++ b/AppleDocHandler.cs
@@ -58,7 +58,7 @@ namespace macdoc
// This method transforms the Atom XML data into a POCO for the the most recent item of the feed
AppleDocInformation GetLatestAppleDocInformation (XDocument feed)
{
- var latestEntry = feed.Descendants (atomNamespace + "entry").LastOrDefault ();
+ var latestEntry = feed.Descendants (atomNamespace + "entry").FirstOrDefault ();
if (latestEntry == null)
return null;