1 write to SourcePath
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (1)
30
SourcePath
= null!;
9 references to SourcePath
Microsoft.Build.Tasks.CodeAnalysis.Sdk (9)
src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (9)
36
if (!File.Exists(
SourcePath
))
38
Log.LogErrorWithCodeFromResources("General_ExpectedFileMissing",
SourcePath
);
47
source = ExtractMvid(
SourcePath
);
51
Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_BadSource3",
SourcePath
, e.Message, e.StackTrace);
56
Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_SourceNotRef1",
SourcePath
);
70
Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_Changed",
SourcePath
, File.GetLastWriteTimeUtc(
SourcePath
).ToString("O"), source, DestinationPath, File.GetLastWriteTimeUtc(DestinationPath).ToString("O"), destination);
86
Log.LogMessageFromResources(MessageImportance.Normal, "CopyRefAssembly_Copying",
SourcePath
, DestinationPath);
87
File.Copy(
SourcePath
, DestinationPath, overwrite: true);