From 1a2b420e3fe0c18792ac086ddb0f872ffce5e0bb Mon Sep 17 00:00:00 2001
From: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Date: Fri, 3 Oct 2025 11:14:23 -0700
Subject: [PATCH] small doc fixes
---
.../Contents/McpServerToolCallContent.cs | 2 +-
.../Tools/HostedMcpServerTool.cs | 4 ++--
.../CSharp/IEvaluationReportWriter.cs | 2 +-
.../ApplicationMetadataConfigurationBuilderExtensions.cs | 4 ++--
.../ApplicationMetadataServiceCollectionExtensions.cs | 2 +-
.../Microsoft.Extensions.AsyncState/IAsyncContext.cs | 2 +-
.../Microsoft.Extensions.AsyncState/IAsyncLocalContext.cs | 2 +-
.../Microsoft.Extensions.AsyncState/IAsyncState.cs | 2 +-
.../FakeRedactionServiceCollectionExtensions.cs | 6 +++---
9 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/Libraries/Microsoft.Extensions.AI.Abstractions/Contents/McpServerToolCallContent.cs b/src/Libraries/Microsoft.Extensions.AI.Abstractions/Contents/McpServerToolCallContent.cs
index 5ed6385789c..ec7f993a25f 100644
--- a/src/Libraries/Microsoft.Extensions.AI.Abstractions/Contents/McpServerToolCallContent.cs
+++ b/src/Libraries/Microsoft.Extensions.AI.Abstractions/Contents/McpServerToolCallContent.cs
@@ -24,7 +24,7 @@ public sealed class McpServerToolCallContent : AIContent
/// The tool call ID.
/// The tool name.
/// The MCP server name.
- /// , , or are .
+ /// , , or is .
/// , , or are empty or composed entirely of whitespace.
public McpServerToolCallContent(string callId, string toolName, string serverName)
{
diff --git a/src/Libraries/Microsoft.Extensions.AI.Abstractions/Tools/HostedMcpServerTool.cs b/src/Libraries/Microsoft.Extensions.AI.Abstractions/Tools/HostedMcpServerTool.cs
index b5ed4938a45..26fc3cd6434 100644
--- a/src/Libraries/Microsoft.Extensions.AI.Abstractions/Tools/HostedMcpServerTool.cs
+++ b/src/Libraries/Microsoft.Extensions.AI.Abstractions/Tools/HostedMcpServerTool.cs
@@ -19,7 +19,7 @@ public class HostedMcpServerTool : AITool
///
/// The name of the remote MCP server.
/// The URL of the remote MCP server.
- /// or are .
+ /// or is .
/// is empty or composed entirely of whitespace.
public HostedMcpServerTool(string serverName, [StringSyntax(StringSyntaxAttribute.Uri)] string url)
: this(serverName, new Uri(Throw.IfNull(url)))
@@ -31,7 +31,7 @@ public HostedMcpServerTool(string serverName, [StringSyntax(StringSyntaxAttribut
///
/// The name of the remote MCP server.
/// The URL of the remote MCP server.
- /// or are .
+ /// or is .
/// is empty or composed entirely of whitespace.
public HostedMcpServerTool(string serverName, Uri url)
{
diff --git a/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/IEvaluationReportWriter.cs b/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/IEvaluationReportWriter.cs
index 97c1fdca15e..70b6492a17c 100644
--- a/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/IEvaluationReportWriter.cs
+++ b/src/Libraries/Microsoft.Extensions.AI.Evaluation.Reporting/CSharp/IEvaluationReportWriter.cs
@@ -17,7 +17,7 @@ public interface IEvaluationReportWriter
/// Writes a report containing all the s present in the supplied
/// s.
///
- /// An enumeration of s.
+ /// A collection of run results from which to generate the report.
/// A that can cancel the operation.
/// A that represents the asynchronous operation.
ValueTask WriteReportAsync(
diff --git a/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataConfigurationBuilderExtensions.cs b/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataConfigurationBuilderExtensions.cs
index 4dfacb812de..c3b303a5a0e 100644
--- a/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataConfigurationBuilderExtensions.cs
+++ b/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataConfigurationBuilderExtensions.cs
@@ -20,8 +20,8 @@ public static class ApplicationMetadataConfigurationBuilderExtensions
///
/// The configuration builder.
/// An instance of .
- /// Section name to save configuration into. Default set to "ambientmetadata:application".
- /// The value of >.
+ /// The section name to save configuration into. The default is "ambientmetadata:application".
+ /// The value of .
/// or is .
/// is either , empty, or whitespace.
public static IConfigurationBuilder AddApplicationMetadata(this IConfigurationBuilder builder, IHostEnvironment hostEnvironment, string sectionName = DefaultSectionName)
diff --git a/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataServiceCollectionExtensions.cs b/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataServiceCollectionExtensions.cs
index bc08c2a60e9..1e84e50c4f1 100644
--- a/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataServiceCollectionExtensions.cs
+++ b/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application/ApplicationMetadataServiceCollectionExtensions.cs
@@ -35,7 +35,7 @@ public static IServiceCollection AddApplicationMetadata(this IServiceCollection
///
/// The dependency injection container to add the instance to.
/// The delegate to configure with.
- /// The value of >.
+ /// The value of .
/// or is .
public static IServiceCollection AddApplicationMetadata(this IServiceCollection services, Action configure)
{
diff --git a/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncContext.cs b/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncContext.cs
index 478faa315ea..f10827b1954 100644
--- a/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncContext.cs
+++ b/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncContext.cs
@@ -8,7 +8,7 @@ namespace Microsoft.Extensions.AsyncState;
///
/// Provides access to the current async context.
-/// Some implementations of this interface may not be thread safe.
+/// Some implementations of this interface might not be thread safe.
///
/// The type of the asynchronous state.
public interface IAsyncContext
diff --git a/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncLocalContext.cs b/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncLocalContext.cs
index 9873375a78b..ed33f8afeb2 100644
--- a/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncLocalContext.cs
+++ b/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncLocalContext.cs
@@ -7,7 +7,7 @@ namespace Microsoft.Extensions.AsyncState;
///
/// Provides access to the current async context stored outside of the HTTP pipeline.
-/// Some implementations of this interface may not be thread safe.
+/// Some implementations of this interface might not be thread safe.
///
/// The type of the asynchronous state.
/// This type is intended for internal use. Use instead.
diff --git a/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncState.cs b/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncState.cs
index 2593136a736..4bf4c748146 100644
--- a/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncState.cs
+++ b/src/Libraries/Microsoft.Extensions.AsyncState/IAsyncState.cs
@@ -9,7 +9,7 @@ namespace Microsoft.Extensions.AsyncState;
///
/// Encapsulates all information within the asynchronous flow in an variable.
-/// Some implementations of this interface may not be thread safe.
+/// Some implementations of this interface might not be thread safe.
///
public interface IAsyncState
{
diff --git a/src/Libraries/Microsoft.Extensions.Compliance.Testing/FakeRedactionServiceCollectionExtensions.cs b/src/Libraries/Microsoft.Extensions.Compliance.Testing/FakeRedactionServiceCollectionExtensions.cs
index eab81632049..43637a7d726 100644
--- a/src/Libraries/Microsoft.Extensions.Compliance.Testing/FakeRedactionServiceCollectionExtensions.cs
+++ b/src/Libraries/Microsoft.Extensions.Compliance.Testing/FakeRedactionServiceCollectionExtensions.cs
@@ -18,7 +18,7 @@ public static class FakeRedactionServiceCollectionExtensions
///
/// Registers the fake redactor provider that always returns fake redactor instances.
///
- /// Container used to register fake redaction classes.
+ /// The container used to register fake redaction classes.
/// The value of .
/// is .
public static IServiceCollection AddFakeRedaction(this IServiceCollection services)
@@ -42,10 +42,10 @@ public static IServiceCollection AddFakeRedaction(this IServiceCollection servic
///
/// Registers the fake redactor provider that always returns fake redactor instances.
///
- /// Container used to register fake redaction classes.
+ /// The container used to register fake redaction classes.
/// Configures fake redactor.
/// The value of .
- /// or > are .
+ /// or is .
public static IServiceCollection AddFakeRedaction(this IServiceCollection services, Action configure)
{
_ = Throw.IfNull(services);