Skip to content

Commit f53e527

Browse files
Copilotjkotas
andauthored
Clarify Type.FullName and Type.AssemblyQualifiedName null return conditions (#12106)
Fixes #12104 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jkotas <6668460+jkotas@users.noreply.github.com>
1 parent 36c87c3 commit f53e527

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/System/Type.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ The code example uses the <xref:System.Reflection.MethodInfo> to invoke the <xre
311311
</ReturnValue>
312312
<Docs>
313313
<summary>Gets the assembly-qualified name of the type, which includes the name of the assembly from which this <see cref="T:System.Type" /> object was loaded.</summary>
314-
<value>The assembly-qualified name of the <see cref="T:System.Type" />, which includes the name of the assembly from which the <see cref="T:System.Type" /> was loaded, or <see langword="null" /> if the current instance represents a generic type parameter.</value>
314+
<value>The assembly-qualified name of the <see cref="T:System.Type" />, which includes the name of the assembly from which the <see cref="T:System.Type" /> was loaded, or <see langword="null" /> if the type can't be represented by an assembly-qualified name. Types that can't be represented by an assembly-qualified name include types that contain unresolved generic parameters (<see cref="P:System.Type.ContainsGenericParameters" /> is <see langword="true" />) and types that contain function pointers.</value>
315315
<remarks>
316316
<format type="text/markdown"><![CDATA[
317317

@@ -1593,7 +1593,7 @@ The `filter` argument can be a custom delegate of type <xref:System.Reflection.M
15931593
</ReturnValue>
15941594
<Docs>
15951595
<summary>Gets the fully qualified name of the type, including its namespace but not its assembly.</summary>
1596-
<value>The fully qualified name of the type, including its namespace but not its assembly; or <see langword="null" /> if the current instance represents a generic type parameter, an array type, pointer type, or <see langword="byref" /> type based on a type parameter, or a generic type that is not a generic type definition but contains unresolved type parameters.</value>
1596+
<value>The fully qualified name of the type, including its namespace but not its assembly; or <see langword="null" /> if the type can't be represented by a fully qualified name. Types that can't be represented by a fully qualified name include types that contain unresolved generic parameters (<see cref="P:System.Type.ContainsGenericParameters" /> is <see langword="true" />) and types that contain function pointers.</value>
15971597
<remarks>
15981598
<format type="text/markdown"><![CDATA[
15991599

0 commit comments

Comments
 (0)