mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Disable resharper inspections on case-by-case basis
This commit is contained in:
@ -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)}";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user