private static bool IsDownloadSizeMissing([NotNull] this RetrievalMethod retrievalMethod)
{
var downloadRetrievalMethod = retrievalMethod as DownloadRetrievalMethod;
return downloadRetrievalMethod != null && downloadRetrievalMethod.Size == 0;
}
#endregion