in Older/ReSharper20173CSharp/Refactoring/ExtractMethod/ConflictResolution.cs [7:22]
private static string GetText1(string path, string filename)
{
// Let's extract this line:
var reader = File.OpenText(AppendPathSeparator(path) + filename);
var text = reader.ReadToEnd();
return text;
// Which would need this function as well...
string AppendPathSeparator(string filepath)
{
if (!filepath.EndsWith(@"\"))
filepath += @"\";
return filepath;
}
}