12 writes to SourceUrl
Microsoft.Build.Tasks.UnitTests (12)
DownloadFile_Tests.cs (12)
43SourceUrl = "http://largedownload/foo.txt" 72SourceUrl = "http://success/foo.txt" 117SourceUrl = "http://success/foo.txt" 151SourceUrl = "http://success/foo.txt" 172SourceUrl = "&&&&&" 187SourceUrl = "http://notfound/foo.txt" 226SourceUrl = "http://success/foo.txt" 244SourceUrl = "http://notfound/foo.txt" 267SourceUrl = "http://notfound/foo.txt" 301SourceUrl = "http://notfound/foo.txt" 335SourceUrl = "http://success/foo.txt" 357SourceUrl = "http://unknown/"
9 references to SourceUrl
Microsoft.Build.Tasks.Core (9)
DownloadFile.cs (9)
26/// Gets or sets an optional filename for the destination file. By default, the filename is derived from the <see cref="SourceUrl"/> if possible. 88if (!Uri.TryCreate(SourceUrl, UriKind.Absolute, out Uri uri)) 90Log.LogErrorWithCodeFromResources("DownloadFile.ErrorInvalidUrl", SourceUrl); 116Log.LogWarningWithCodeFromResources("DownloadFile.Retrying", SourceUrl, retryAttemptCount + 1, RetryDelayMilliseconds, actualException.Message); 131Log.LogErrorWithCodeFromResources("DownloadFile.ErrorDownloading", SourceUrl, flattenedMessage); 174Log.LogErrorWithCodeFromResources("DownloadFile.ErrorUnknownFileName", SourceUrl, nameof(DestinationFileName)); 185Log.LogMessageFromResources(MessageImportance.Normal, "DownloadFile.DidNotDownloadBecauseOfFileMatch", SourceUrl, destinationFile.FullName, nameof(SkipUnchangedFiles), "true"); 193Log.LogErrorFromResources("DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength); 203Log.LogMessageFromResources(MessageImportance.High, "DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength);