Skip to content

Commit 22760db

Browse files
Update src/OpenApi/gen/XmlCommentGenerator.Parser.cs
Co-authored-by: Copilot <[email protected]>
1 parent a6c9247 commit 22760db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenApi/gen/XmlCommentGenerator.Parser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal static string NormalizeDocId(string docId)
3232

3333
// Check if this is a conversion operator (op_Implicit or op_Explicit)
3434
// For these operators, we need to keep the return type suffix
35-
if (docId.Contains("op_Implicit") || docId.Contains("op_Explicit"))
35+
if (docId.Contains("op_Implicit", StringComparison.Ordinal) || docId.Contains("op_Explicit", StringComparison.Ordinal))
3636
{
3737
return docId;
3838
}

0 commit comments

Comments
 (0)