Browse Source

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

release/8.1
Daniel Grunwald 2 years ago committed by Siegfried Pammer
parent
commit
d355b401d5
  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