Browse Source

We don't need the else block, the base class IsMatch already inspects the terms.

pull/3058/head
Daniel Grunwald 2 years ago
parent
commit
a0ba223921
  1. 6
      ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs

6
ICSharpCode.ILSpyX/Search/LiteralSearchStrategy.cs

@ -74,12 +74,8 @@ namespace ICSharpCode.ILSpyX.Search @@ -74,12 +74,8 @@ namespace ICSharpCode.ILSpyX.Search
break;
}
}
else
{
searchTermLiteralType = TypeCode.String;
searchTermLiteralValue = terms[0];
}
}
// Note: if searchTermLiteralType remains TypeCode.Empty, we'll do a substring search via base.IsMatch
}
public override void Search(PEFile module, CancellationToken cancellationToken)

Loading…
Cancel
Save