6 writes to SourcePath
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (5)
9 references to SourcePath
Microsoft.Build.Tasks.CodeAnalysis (9)
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);