Disable resharper inspections on case-by-case basis

This commit is contained in:
smoogipoo
2017-11-20 18:55:48 +09:00
parent f0966a2e12
commit aac41d2de6
21 changed files with 46 additions and 16 deletions

View File

@ -310,12 +310,12 @@ namespace osu.Desktop.Deploy
foreach (var tag in toUpdate)
{
int startIndex = l.IndexOf(tag);
int startIndex = l.IndexOf(tag, StringComparison.InvariantCulture);
if (startIndex == -1)
continue;
startIndex += tag.Length;
int endIndex = l.IndexOf("<", startIndex);
int endIndex = l.IndexOf("<", startIndex, StringComparison.InvariantCulture);
line = $"{l.Substring(0, startIndex)}{version}{l.Substring(endIndex)}";
}