From 60e1661dd753f52ea5daff20bed03247297352ad Mon Sep 17 00:00:00 2001
From: Copilot <198982749+Copilot@users.noreply.github.com>
Date: Fri, 3 Oct 2025 16:14:42 -0700
Subject: [PATCH 1/2] Fix typos in FromKeyedServicesAttribute.Key documentation
remarks (#11866)
---
.../FromKeyedServicesAttribute.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml b/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml
index c54621fd02e..76bca94412b 100644
--- a/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml
+++ b/xml/Microsoft.Extensions.DependencyInjection/FromKeyedServicesAttribute.xml
@@ -96,8 +96,8 @@
The key of the keyed service to bind to.
To be added.
- A value with indicates there is not a key and just the parameter type is used to resolve the service.
- This is useful for DI implementations that require an explict way to declare that the parameter should be resolved for unkeyed services.
+ A value indicates there is not a key and just the parameter type is used to resolve the service.
+ This is useful for DI implementations that require an explicit way to declare that the parameter should be resolved for unkeyed services.
A value is also used along with set to to indicate that the key should be inherited from the parent scope.
From a3f9108e629095a6ed5e0306e5cb2a7515806864 Mon Sep 17 00:00:00 2001
From: Nasif Ishtiaque Islam
Date: Sat, 4 Oct 2025 05:16:45 +0600
Subject: [PATCH 2/2] Fix typo in Type.GetMethod remarks section (#11891)
---
xml/System/Type.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xml/System/Type.xml b/xml/System/Type.xml
index 9a727ebead8..9c53242e926 100644
--- a/xml/System/Type.xml
+++ b/xml/System/Type.xml
@@ -5626,7 +5626,7 @@ This method can be used to find a constructed generic member given a member from
You can do one of the following to retrieve a specific method:
-- Call the method and specify a `bindingAttr` argument that uniquely identifies the method. For example, if the exception is thrown because a type has a static and an instance overload, you can specify a `bindingAttr` argument of ` Or `.
+- Call the method and specify a `bindingAttr` argument that uniquely identifies the method. For example, if the exception is thrown because a type has a static and an instance overload, you can specify a `bindingAttr` argument of or .
- Call an overload of the method that includes a `types` parameter which defines the types of the method's parameters.