Fix CA1847: Use String.Contains(char) instead of String.Contains(string) with single characters

This commit is contained in:
Haselnussbomber 2025-10-24 04:05:59 +02:00
parent 12e2074ba2
commit d38aa63370
No known key found for this signature in database
GPG key ID: BB905BB49E7295D1

View file

@ -28,7 +28,7 @@ public partial class FileDialog
var match = m.Value;
var filter = default(FilterStruct);
if (match.Contains("{"))
if (match.Contains('{'))
{
var exts = m.Groups[2].Value;
filter = new FilterStruct