1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 19:10:43 +08:00

Disable resharper inspections on case-by-case basis

This commit is contained in:
smoogipoo
2017-11-20 18:55:48 +09:00
Unverified
parent f0966a2e12
commit aac41d2de6
21 changed files with 46 additions and 16 deletions
+2 -2
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)}";
}