add else and pragma

This commit is contained in:
stubbfel
2013-09-23 10:29:48 +02:00
parent 87436ef6e8
commit fc0e7fba64
2 changed files with 5 additions and 3 deletions

View File

@@ -45,6 +45,7 @@ namespace CampusAppWP8.File.Exams
/// <summary>Executes the file operation.</summary>
/// <remarks>Stubbfel, 03.09.2013.</remarks>
#pragma warning disable 4014
public async void LaunchFile()
{
if (this.storageFile == null)

View File

@@ -125,9 +125,10 @@ namespace CampusAppWP8.Utility
{
retValue.Add(child);
}
var ret = retValue.Concat<DependencyObject>(GetChild(child as DependencyObject, elemName));
retValue = ret.ToList<DependencyObject>();
else
{
retValue.AddRange(GetChild(child as DependencyObject, elemName));
}
}
return retValue;