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