1 write to SourcePath
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (1)
33
SourcePath
= null!;
9 references to SourcePath
Microsoft.Build.Tasks.CodeAnalysis (9)
src\roslyn\src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (9)
39
if (!File.Exists(
SourcePath
))
41
Log.LogErrorWithCodeFromResources("General_ExpectedFileMissing",
SourcePath
);
50
source = ExtractMvid(
SourcePath
);
54
Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_BadSource3",
SourcePath
, e.Message, e.StackTrace);
59
Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_SourceNotRef1",
SourcePath
);
73
Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_Changed",
SourcePath
, File.GetLastWriteTimeUtc(
SourcePath
).ToString("O"), source, DestinationPath, File.GetLastWriteTimeUtc(DestinationPath).ToString("O"), destination);
89
Log.LogMessageFromResources(MessageImportance.Normal, "CopyRefAssembly_Copying",
SourcePath
, DestinationPath);
90
File.Copy(
SourcePath
, DestinationPath, overwrite: true);