We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1eed29 commit da4255fCopy full SHA for da4255f
sources/ClangSharp.PInvokeGenerator/PInvokeGenerator.VisitDecl.cs
@@ -298,7 +298,7 @@ private void VisitEnumConstantDecl(EnumConstantDecl enumConstantDecl)
298
var strippedName = escapedName;
299
if (Config.StripEnumMemberTypeName)
300
{
301
- Regex stripParentNameRegex = new($"^{Regex.Escape(parentName)}_*");
+ Regex stripParentNameRegex = new($"^{Regex.Escape(parentName)}_*", RegexOptions.IgnoreCase);
302
strippedName = stripParentNameRegex.Replace(escapedName, string.Empty);
303
}
304
0 commit comments