Date: Mon, 14 Jul 2025 10:50:35 -0700
Subject: [PATCH 5/6] Update src/OpenApi/gen/XmlCommentGenerator.Parser.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---
src/OpenApi/gen/XmlCommentGenerator.Parser.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/OpenApi/gen/XmlCommentGenerator.Parser.cs b/src/OpenApi/gen/XmlCommentGenerator.Parser.cs
index f86c9407733b..7cfd00ad7ae7 100644
--- a/src/OpenApi/gen/XmlCommentGenerator.Parser.cs
+++ b/src/OpenApi/gen/XmlCommentGenerator.Parser.cs
@@ -32,7 +32,7 @@ internal static string NormalizeDocId(string docId)
// Check if this is a conversion operator (op_Implicit or op_Explicit)
// For these operators, we need to keep the return type suffix
- if (docId.Contains("op_Implicit") || docId.Contains("op_Explicit"))
+ if (docId.Contains("op_Implicit", StringComparison.Ordinal) || docId.Contains("op_Explicit", StringComparison.Ordinal))
{
return docId;
}
From 01943b50b39ec6aaead04e3a9e9cdffaa750000d Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 14 Jul 2025 19:19:34 +0000
Subject: [PATCH 6/6] Fix missing using System directive for StringComparison
Co-authored-by: captainsafia <1857993+captainsafia@users.noreply.github.com>
---
src/OpenApi/gen/XmlCommentGenerator.Parser.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/OpenApi/gen/XmlCommentGenerator.Parser.cs b/src/OpenApi/gen/XmlCommentGenerator.Parser.cs
index 7cfd00ad7ae7..ba8248194d20 100644
--- a/src/OpenApi/gen/XmlCommentGenerator.Parser.cs
+++ b/src/OpenApi/gen/XmlCommentGenerator.Parser.cs
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
+using System;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy