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