12 writes to SourceUrl
Microsoft.Build.Tasks.UnitTests (12)
DownloadFile_Tests.cs (12)
44SourceUrl = "http://largedownload/foo.txt" 74SourceUrl = "http://success/foo.txt" 120SourceUrl = "http://success/foo.txt" 155SourceUrl = "http://success/foo.txt" 177SourceUrl = "&&&&&" 193SourceUrl = "http://notfound/foo.txt" 233SourceUrl = "http://success/foo.txt" 252SourceUrl = "http://notfound/foo.txt" 276SourceUrl = "http://notfound/foo.txt" 310SourceUrl = "http://notfound/foo.txt" 345SourceUrl = "http://success/foo.txt" 368SourceUrl = "http://unknown/"
9 references to SourceUrl
Microsoft.Build.Tasks.Core (9)
DownloadFile.cs (9)
27/// Gets or sets an optional filename for the destination file. By default, the filename is derived from the <see cref="SourceUrl"/> if possible. 92if (!Uri.TryCreate(SourceUrl, UriKind.Absolute, out Uri uri)) 94Log.LogErrorWithCodeFromResources("DownloadFile.ErrorInvalidUrl", SourceUrl); 120Log.LogWarningWithCodeFromResources("DownloadFile.Retrying", SourceUrl, retryAttemptCount + 1, RetryDelayMilliseconds, actualException.Message); 135Log.LogErrorWithCodeFromResources("DownloadFile.ErrorDownloading", SourceUrl, flattenedMessage); 178Log.LogErrorWithCodeFromResources("DownloadFile.ErrorUnknownFileName", SourceUrl, nameof(DestinationFileName)); 190Log.LogMessageFromResources(MessageImportance.Normal, "DownloadFile.DidNotDownloadBecauseOfFileMatch", SourceUrl, destinationFile.FullName, nameof(SkipUnchangedFiles), "true"); 198Log.LogErrorFromResources("DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength); 208Log.LogMessageFromResources(MessageImportance.High, "DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength);