5 writes to DestinationPath
Microsoft.Build.Tasks.CodeAnalysis (1)
CopyRefAssembly.cs (1)
31DestinationPath = null!;
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (4)
CopyRefAssemblyTests.cs (4)
53DestinationPath = null!, 72DestinationPath = dest, 93DestinationPath = dest.Path, 124DestinationPath = dest.Path,
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);