5 writes to DestinationPath
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (4)
8 references to DestinationPath
Microsoft.Build.Tasks.CodeAnalysis (8)
CopyRefAssembly.cs (8)
42if (File.Exists(DestinationPath))
62Guid destination = ExtractMvid(DestinationPath);
66Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_SkippingCopy1", DestinationPath);
70Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_Changed", SourcePath, File.GetLastWriteTimeUtc(SourcePath).ToString("O"), source, DestinationPath, File.GetLastWriteTimeUtc(DestinationPath).ToString("O"), destination);
74Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_BadDestination1", DestinationPath);
86Log.LogMessageFromResources(MessageImportance.Normal, "CopyRefAssembly_Copying", SourcePath, DestinationPath);
87File.Copy(SourcePath, DestinationPath, overwrite: true);