Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 70 additions & 1 deletion xml/System.Reflection/RuntimeReflectionExtensions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
<summary>Gets an object that represents the method represented by the specified delegate.</summary>
<returns>An object that represents the method.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="del" /> is <see langword="null" />.</exception>
<exception cref="T:System.MemberAccessException">The caller does not have access to the method represented by the delegate (for example, if the method is private).</exception>
<altmember cref="P:System.Delegate.Method" />
</Docs>
</Member>
<Member MemberName="GetRuntimeBaseDefinition">
Expand Down Expand Up @@ -108,6 +111,8 @@
<summary>Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.</summary>
<returns>An object that represents the specified method's initial declaration on a base class.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="method" /> is <see langword="null" />.</exception>
<altmember cref="M:System.Reflection.MethodInfo.GetBaseDefinition" />
</Docs>
</Member>
<Member MemberName="GetRuntimeEvent">
Expand Down Expand Up @@ -148,6 +153,13 @@
<summary>Retrieves an object that represents the specified event.</summary>
<returns>An object that represents the specified event, or <see langword="null" /> if the event is not found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.

-or-

<paramref name="name" /> is <see langword="null" />.
</exception>
<altmember cref="M:System.Type.GetEvent(System.String)" />
</Docs>
</Member>
<Member MemberName="GetRuntimeEvents">
Expand Down Expand Up @@ -193,6 +205,8 @@

]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.</exception>
<altmember cref="M:System.Type.GetEvents(System.Reflection.BindingFlags)" />
</Docs>
</Member>
<Member MemberName="GetRuntimeField">
Expand Down Expand Up @@ -233,6 +247,13 @@
<summary>Retrieves an object that represents a specified field.</summary>
<returns>An object that represents the specified field, or <see langword="null" /> if the field is not found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.

-or-

<paramref name="name" /> is <see langword="null" />.
</exception>
<altmember cref="M:System.Type.GetField(System.String)" />
</Docs>
</Member>
<Member MemberName="GetRuntimeFields">
Expand Down Expand Up @@ -278,6 +299,8 @@

]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.</exception>
<altmember cref="M:System.Type.GetFields(System.Reflection.BindingFlags)" />
</Docs>
</Member>
<Member MemberName="GetRuntimeInterfaceMap">
Expand Down Expand Up @@ -318,6 +341,34 @@
<summary>Returns an interface mapping for the specified type and the specified interface.</summary>
<returns>An object that represents the interface mapping for the specified interface and type.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="typeInfo" /> is <see langword="null" />.

-or-

<paramref name="interfaceType" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException"><paramref name="interfaceType" /> is not implemented by <paramref name="typeInfo" />.

-or-

<paramref name="interfaceType" /> does not refer to an interface.

-or-

<paramref name="typeInfo" /> or <paramref name="interfaceType" /> is an open generic type.

-or-

<paramref name="interfaceType" /> is a generic interface, and <paramref name="typeInfo" /> is an array type.
</exception>
<exception cref="T:System.InvalidOperationException"><paramref name="typeInfo" /> represents a generic type parameter.</exception>
<exception cref="T:System.NotSupportedException"><paramref name="typeInfo" /> is a <see cref="T:System.Reflection.Emit.TypeBuilder" /> instance whose <see cref="M:System.Reflection.Emit.TypeBuilder.CreateType" /> method has not yet been called.

-or-

The invoked method is not supported in the base class. Derived classes must provide an implementation.
</exception>
<altmember cref="M:System.Type.GetInterfaceMap(System.Type)" />
</Docs>
</Member>
<Member MemberName="GetRuntimeMethod">
Expand Down Expand Up @@ -360,6 +411,14 @@
<summary>Retrieves an object that represents a specified method.</summary>
<returns>An object that represents the specified method, or <see langword="null" /> if the method is not found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.

-or-

<paramref name="name" /> is <see langword="null" />.
</exception>
<exception cref="T:System.AmbiguousMatchException">More than one method is found with the specified name.</exception>
<altmember cref="M:System.Type.GetMethod(System.String,System.Type[])" />
</Docs>
</Member>
<Member MemberName="GetRuntimeMethods">
Expand Down Expand Up @@ -405,6 +464,8 @@

]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.</exception>
<altmember cref="M:System.Type.GetMethods(System.Reflection.BindingFlags)" />
</Docs>
</Member>
<Member MemberName="GetRuntimeProperties">
Expand Down Expand Up @@ -450,6 +511,8 @@

]]></format>
</remarks>
<exception cref="T:System.ArgumentNullException"><paramref name="type" /> is <see langword="null" />.</exception>
<altmember cref="M:System.Type.GetProperties(System.Reflection.BindingFlags" />
</Docs>
</Member>
<Member MemberName="GetRuntimeProperty">
Expand Down Expand Up @@ -491,10 +554,16 @@
<returns>An object that represents the specified property, or <see langword="null" /> if the property is not found.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="type" /> is <see langword="null" />.</exception>
<paramref name="type" /> is <see langword="null" />.

-or-

<paramref name="name" /> is <see langword="null" />.
</exception>
<exception cref="T:System.ArgumentException">
<paramref name="type" /> is not a <see langword="RuntimeType" />.</exception>
<exception cref="T:System.Reflection.AmbiguousMatchException">More than one property with the requested name was found.</exception>
<altmember cref="M:System.Type.GetProperty(System.String)" />
</Docs>
</Member>
</Members>
Expand Down