mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 14:46:38 +09:00
Resolve CA2249 inspections
"Use `string.Contains` instead of `string.IndexOf` to improve readability"
This commit is contained in:
@ -347,7 +347,7 @@ namespace osu.Game.Beatmaps.Formats
|
||||
/// <param name="line">The line which may contains variables.</param>
|
||||
private void decodeVariables(ref string line)
|
||||
{
|
||||
while (line.IndexOf('$') >= 0)
|
||||
while (line.Contains('$'))
|
||||
{
|
||||
string origLine = line;
|
||||
|
||||
|
Reference in New Issue
Block a user