1 write to DestinationPath
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (1)
31
DestinationPath
= null!;
8 references to DestinationPath
Microsoft.Build.Tasks.CodeAnalysis.Sdk (8)
src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (8)
42
if (File.Exists(
DestinationPath
))
62
Guid destination = ExtractMvid(
DestinationPath
);
66
Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_SkippingCopy1",
DestinationPath
);
70
Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_Changed", SourcePath, File.GetLastWriteTimeUtc(SourcePath).ToString("O"), source,
DestinationPath
, File.GetLastWriteTimeUtc(
DestinationPath
).ToString("O"), destination);
74
Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_BadDestination1",
DestinationPath
);
86
Log.LogMessageFromResources(MessageImportance.Normal, "CopyRefAssembly_Copying", SourcePath,
DestinationPath
);
87
File.Copy(SourcePath,
DestinationPath
, overwrite: true);