6 writes to SourcePath
Microsoft.Build.Tasks.CodeAnalysis (1)
CopyRefAssembly.cs (1)
30SourcePath = null!;
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (5)
CopyRefAssemblyTests.cs (5)
35SourcePath = Path.Combine(dir.Path, "does_not_exist.dll") 52SourcePath = file.Path, 71SourcePath = file.Path, 92SourcePath = source.Path, 123SourcePath = source.Path,
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);