From 62ee729d8758cac2ac7b514df090d5937239088d Mon Sep 17 00:00:00 2001 From: Nasif Ishtiaque Islam Date: Sat, 4 Oct 2025 01:33:55 +0600 Subject: [PATCH] Fix typo in Type.GetMethod remarks section Corrected documentation that incorrectly referenced BindingFlags.Instance twice when describing how to retrieve specific methods. The text now correctly suggests using BindingFlags.Static or BindingFlags.Instance to distinguish between static and instance method overloads. --- 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.