<CustomPatterns>
  <Pattern Severity="HINT" FormatAfterReplace="True" ShortenReferences="True" Language="CSHARP">
    <Comment>String comparison could use EqualsIgnoreCase()</Comment>
    <ReplaceComment>Make string comparison case insensitive</ReplaceComment>
    <ReplacePattern>EqualsIgnoreCase($str1$, $str2$)</ReplacePattern>
    <SearchPattern>$str1$ == $str2$</SearchPattern>
    <Params />
    <Placeholders>
      <ExpressionPlaceholder Name="str1" ExpressionType="System.String" ExactType="True" />
      <ExpressionPlaceholder Name="str2" ExpressionType="System.String" ExactType="True" />
    </Placeholders>
  </Pattern>
</CustomPatterns>