From b02c54213254c3d5563237756e8c124dad6844c6 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Thu, 18 Sep 2025 19:02:00 -0700 Subject: [PATCH] Clarify MemberInfo.IsCollectible documentation MemberInfo can reference multiple different assemblies (e.g. via generic instantiation or via reflected type). IsCollectible property must take all references into account. Related to https://github.com/dotnet/runtime/pull/119869 --- xml/System.Reflection/MemberInfo.xml | 4 ++-- xml/System.Reflection/TypeDelegator.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xml/System.Reflection/MemberInfo.xml b/xml/System.Reflection/MemberInfo.xml index 6f088b8232a..09a69efc440 100644 --- a/xml/System.Reflection/MemberInfo.xml +++ b/xml/System.Reflection/MemberInfo.xml @@ -721,9 +721,9 @@ System.Boolean - Gets a value that indicates whether this object is part of an assembly held in a collectible . + Gets a value that indicates whether this object references one or more assemblies held in a collectible . - if the is part of an assembly held in a collectible assembly load context; otherwise, . + if the references one or more assemblies held in a collectible assembly load context; otherwise, . System.Boolean - Gets the value for this object's , which indicates whether this object, which is a implementation, is part of an assembly held in a collectible . + Gets the value for this object's , which indicates whether this object, which is a implementation, references one or more assemblies held in a collectible . - if this object, which is a implementation, is part of an assembly held in a collectible assembly load context; otherwise, . + if this object, which is a implementation, references one or more assemblies held in a collectible assembly load context; otherwise, . To be added.