1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Reflection.Extensions</name>
7 <member name="T:System.Reflection.CustomAttributeExtensions">
8 <summary>Contains static methods for retrieving custom attributes.</summary>
10 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.Assembly,System.Type)">
11 <summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly.</summary>
12 <param name="element">The assembly to inspect.</param>
13 <param name="attributeType">The type of attribute to search for.</param>
14 <returns>A custom attribute that matches <paramref name="attributeType">attributeType</paramref>, or null if no such attribute is found.</returns>
15 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
16 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
17 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
19 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)">
20 <summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
21 <param name="element">The member to inspect.</param>
22 <param name="attributeType">The type of attribute to search for.</param>
23 <returns>A custom attribute that matches <paramref name="attributeType">attributeType</paramref>, or null if no such attribute is found.</returns>
24 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
25 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
26 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
27 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
28 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
30 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.Module,System.Type)">
31 <summary>Retrieves a custom attribute of a specified type that is applied to a specified module.</summary>
32 <param name="element">The module to inspect.</param>
33 <param name="attributeType">The type of attribute to search for.</param>
34 <returns>A custom attribute that matches <paramref name="attributeType">attributeType</paramref>, or null if no such attribute is found.</returns>
35 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
36 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
37 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
39 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type)">
40 <summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter.</summary>
41 <param name="element">The parameter to inspect.</param>
42 <param name="attributeType">The type of attribute to search for.</param>
43 <returns>A custom attribute that matches <paramref name="attributeType">attributeType</paramref>, or null if no such attribute is found.</returns>
44 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
45 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
46 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
47 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
49 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type,System.Boolean)">
50 <summary>Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.</summary>
51 <param name="element">The member to inspect.</param>
52 <param name="attributeType">The type of attribute to search for.</param>
53 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
54 <returns>A custom attribute that matches <paramref name="attributeType">attributeType</paramref>, or null if no such attribute is found.</returns>
55 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
56 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
57 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
58 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
59 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
61 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type,System.Boolean)">
62 <summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
63 <param name="element">The parameter to inspect.</param>
64 <param name="attributeType">The type of attribute to search for.</param>
65 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
66 <returns>A custom attribute matching <paramref name="attributeType">attributeType</paramref>, or null if no such attribute is found.</returns>
67 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
68 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
69 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
70 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
72 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.ParameterInfo,System.Boolean)">
73 <summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
74 <param name="element">The parameter to inspect.</param>
75 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
76 <typeparam name="T">The type of attribute to search for.</typeparam>
77 <returns>A custom attribute that matches <paramref name="T">T</paramref>, or null if no such attribute is found.</returns>
78 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
79 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
80 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
81 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
83 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo,System.Boolean)">
84 <summary>Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.</summary>
85 <param name="element">The member to inspect.</param>
86 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
87 <typeparam name="T">The type of attribute to search for.</typeparam>
88 <returns>A custom attribute that matches <paramref name="T">T</paramref>, or null if no such attribute is found.</returns>
89 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
90 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
91 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
92 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
94 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.ParameterInfo)">
95 <summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter.</summary>
96 <param name="element">The parameter to inspect.</param>
97 <typeparam name="T">The type of attribute to search for.</typeparam>
98 <returns>A custom attribute that matches <paramref name="T">T</paramref>, or null if no such attribute is found.</returns>
99 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
100 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
101 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
102 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
104 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.Module)">
105 <summary>Retrieves a custom attribute of a specified type that is applied to a specified module.</summary>
106 <param name="element">The module to inspect.</param>
107 <typeparam name="T">The type of attribute to search for.</typeparam>
108 <returns>A custom attribute that matches <paramref name="T">T</paramref>, or null if no such attribute is found.</returns>
109 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
110 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
112 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo)">
113 <summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
114 <param name="element">The member to inspect.</param>
115 <typeparam name="T">The type of attribute to search for.</typeparam>
116 <returns>A custom attribute that matches <paramref name="T">T</paramref>, or null if no such attribute is found.</returns>
117 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
118 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
119 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
120 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
122 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.Assembly)">
123 <summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly.</summary>
124 <param name="element">The assembly to inspect.</param>
125 <typeparam name="T">The type of attribute to search for.</typeparam>
126 <returns>A custom attribute that matches <paramref name="T">T</paramref>, or null if no such attribute is found.</returns>
127 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
128 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found.</exception>
130 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type,System.Boolean)">
131 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
132 <param name="element">The parameter to inspect.</param>
133 <param name="attributeType">The type of attribute to search for.</param>
134 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
135 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="attributeType">attributeType</paramref>, or an empty collection if no such attributes exist.</returns>
136 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
137 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
138 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
139 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
141 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Type,System.Boolean)">
142 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
143 <param name="element">The member to inspect.</param>
144 <param name="attributeType">The type of attribute to search for.</param>
145 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
146 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="attributeType">attributeType</paramref>, or an empty collection if no such attributes exist.</returns>
147 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
148 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
149 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
150 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
152 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type)">
153 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.</summary>
154 <param name="element">The parameter to inspect.</param>
155 <param name="attributeType">The type of attribute to search for.</param>
156 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="attributeType">attributeType</paramref>, or an empty collection if no such attributes exist.</returns>
157 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
158 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
159 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
160 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
162 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Boolean)">
163 <summary>Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
164 <param name="element">The parameter to inspect.</param>
165 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
166 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref>, or an empty collection if no such attributes exist.</returns>
167 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
168 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
169 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
171 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module,System.Type)">
172 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified module.</summary>
173 <param name="element">The module to inspect.</param>
174 <param name="attributeType">The type of attribute to search for.</param>
175 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="attributeType">attributeType</paramref>, or an empty collection if no such attributes exist.</returns>
176 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
177 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
179 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Type)">
180 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member.</summary>
181 <param name="element">The member to inspect.</param>
182 <param name="attributeType">The type of attribute to search for.</param>
183 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="attributeType">attributeType</paramref>, or an empty collection if no such attributes exist.</returns>
184 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
185 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
186 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
187 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
189 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Boolean)">
190 <summary>Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
191 <param name="element">The member to inspect.</param>
192 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
193 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> that match the specified criteria, or an empty collection if no such attributes exist.</returns>
194 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
195 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
196 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
198 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly,System.Type)">
199 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.</summary>
200 <param name="element">The assembly to inspect.</param>
201 <param name="attributeType">The type of attribute to search for.</param>
202 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="attributeType">attributeType</paramref>, or an empty collection if no such attributes exist.</returns>
203 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
204 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
206 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo)">
207 <summary>Retrieves a collection of custom attributes that are applied to a specified parameter.</summary>
208 <param name="element">The parameter to inspect.</param>
209 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref>, or an empty collection if no such attributes exist.</returns>
210 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
211 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
212 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
214 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module)">
215 <summary>Retrieves a collection of custom attributes that are applied to a specified module.</summary>
216 <param name="element">The module to inspect.</param>
217 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref>, or an empty collection if no such attributes exist.</returns>
218 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
220 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo)">
221 <summary>Retrieves a collection of custom attributes that are applied to a specified member.</summary>
222 <param name="element">The member to inspect.</param>
223 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref>, or an empty collection if no such attributes exist.</returns>
224 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
225 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
226 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
228 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly)">
229 <summary>Retrieves a collection of custom attributes that are applied to a specified assembly.</summary>
230 <param name="element">The assembly to inspect.</param>
231 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref>, or an empty collection if no such attributes exist.</returns>
232 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
234 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.ParameterInfo,System.Boolean)">
235 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
236 <param name="element">The parameter to inspect.</param>
237 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
238 <typeparam name="T">The type of attribute to search for.</typeparam>
239 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="T">T</paramref>, or an empty collection if no such attributes exist.</returns>
240 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
241 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
242 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
244 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.MemberInfo,System.Boolean)">
245 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
246 <param name="element">The member to inspect.</param>
247 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
248 <typeparam name="T">The type of attribute to search for.</typeparam>
249 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="T">T</paramref>, or an empty collection if no such attributes exist.</returns>
250 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
251 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
252 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
254 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.ParameterInfo)">
255 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.</summary>
256 <param name="element">The parameter to inspect.</param>
257 <typeparam name="T">The type of attribute to search for.</typeparam>
258 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="T">T</paramref>, or an empty collection if no such attributes exist.</returns>
259 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
260 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
261 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
263 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.MemberInfo)">
264 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member.</summary>
265 <param name="element">The member to inspect.</param>
266 <typeparam name="T">The type of attribute to search for.</typeparam>
267 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="T">T</paramref>, or an empty collection if no such attributes exist.</returns>
268 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
269 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
270 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded.</exception>
272 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.Assembly)">
273 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.</summary>
274 <param name="element">The assembly to inspect.</param>
275 <typeparam name="T">The type of attribute to search for.</typeparam>
276 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="T">T</paramref>, or an empty collection if no such attributes exist.</returns>
277 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
279 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.Module)">
280 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified module.</summary>
281 <param name="element">The module to inspect.</param>
282 <typeparam name="T">The type of attribute to search for.</typeparam>
283 <returns>A collection of the custom attributes that are applied to <paramref name="element">element</paramref> and that match <paramref name="T">T</paramref>, or an empty collection if no such attributes exist.</returns>
284 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> is null.</exception>
286 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.MemberInfo,System.Type,System.Boolean)">
287 <summary>Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors.</summary>
288 <param name="element">The member to inspect.</param>
289 <param name="attributeType">The type of the attribute to search for.</param>
290 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
291 <returns>true if an attribute of the specified type is applied to <paramref name="element">element</paramref>; otherwise, false.</returns>
292 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
293 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
294 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
296 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.Assembly,System.Type)">
297 <summary>Indicates whether custom attributes of a specified type are applied to a specified assembly.</summary>
298 <param name="element">The assembly to inspect.</param>
299 <param name="attributeType">The type of the attribute to search for.</param>
300 <returns>true if an attribute of the specified type is applied to <paramref name="element">element</paramref>; otherwise, false.</returns>
301 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
302 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
304 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.MemberInfo,System.Type)">
305 <summary>Indicates whether custom attributes of a specified type are applied to a specified member.</summary>
306 <param name="element">The member to inspect.</param>
307 <param name="attributeType">The type of attribute to search for.</param>
308 <returns>true if an attribute of the specified type is applied to <paramref name="element">element</paramref>; otherwise, false.</returns>
309 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
310 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
311 <exception cref="T:System.NotSupportedException"><paramref name="element">element</paramref> is not a constructor, method, property, event, type, or field.</exception>
313 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.Module,System.Type)">
314 <summary>Indicates whether custom attributes of a specified type are applied to a specified module.</summary>
315 <param name="element">The module to inspect.</param>
316 <param name="attributeType">The type of attribute to search for.</param>
317 <returns>true if an attribute of the specified type is applied to <paramref name="element">element</paramref>; otherwise, false.</returns>
318 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
319 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
321 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.ParameterInfo,System.Type)">
322 <summary>Indicates whether custom attributes of a specified type are applied to a specified parameter.</summary>
323 <param name="element">The parameter to inspect.</param>
324 <param name="attributeType">The type of attribute to search for.</param>
325 <returns>true if an attribute of the specified type is applied to <paramref name="element">element</paramref>; otherwise, false.</returns>
326 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
327 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
329 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.ParameterInfo,System.Type,System.Boolean)">
330 <summary>Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.</summary>
331 <param name="element">The parameter to inspect.</param>
332 <param name="attributeType">The type of attribute to search for.</param>
333 <param name="inherit">true to inspect the ancestors of element; otherwise, false.</param>
334 <returns>true if an attribute of the specified type is applied to <paramref name="element">element</paramref>; otherwise, false.</returns>
335 <exception cref="T:System.ArgumentNullException"><paramref name="element">element</paramref> or <paramref name="attributeType">attributeType</paramref> is null.</exception>
336 <exception cref="T:System.ArgumentException"><paramref name="attributeType">attributeType</paramref> is not derived from <see cref="T:System.Attribute"></see>.</exception>
338 <member name="T:System.Reflection.InterfaceMapping">
339 <summary>Retrieves the mapping of an interface into the actual methods on a class that implements that interface.</summary>
341 <member name="F:System.Reflection.InterfaceMapping.InterfaceMethods">
342 <summary>Shows the methods that are defined on the interface.</summary>
345 <member name="F:System.Reflection.InterfaceMapping.InterfaceType">
346 <summary>Shows the type that represents the interface.</summary>
349 <member name="F:System.Reflection.InterfaceMapping.TargetMethods">
350 <summary>Shows the methods that implement the interface.</summary>
353 <member name="F:System.Reflection.InterfaceMapping.TargetType">
354 <summary>Represents the type that was used to create the interface mapping.</summary>
357 <member name="T:System.Reflection.RuntimeReflectionExtensions">
358 <summary>Provides methods that retrieve information about types at run time.</summary>
360 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetMethodInfo(System.Delegate)">
361 <summary>Gets an object that represents the method represented by the specified delegate.</summary>
362 <param name="del">The delegate to examine.</param>
363 <returns>An object that represents the method.</returns>
365 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeBaseDefinition(System.Reflection.MethodInfo)">
366 <summary>Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.</summary>
367 <param name="method">The method to retrieve information about.</param>
368 <returns>An object that represents the specified method's initial declaration on a base class.</returns>
370 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeEvent(System.Type,System.String)">
371 <summary>Retrieves an object that represents the specified event.</summary>
372 <param name="type">The type that contains the event.</param>
373 <param name="name">The name of the event.</param>
374 <returns>An object that represents the specified event, or null if the event is not found.</returns>
376 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeEvents(System.Type)">
377 <summary>Retrieves a collection that represents all the events defined on a specified type.</summary>
378 <param name="type">The type that contains the events.</param>
379 <returns>A collection of events for the specified type.</returns>
381 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeField(System.Type,System.String)">
382 <summary>Retrieves an object that represents a specified field.</summary>
383 <param name="type">The type that contains the field.</param>
384 <param name="name">The name of the field.</param>
385 <returns>An object that represents the specified field, or null if the field is not found.</returns>
387 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeFields(System.Type)">
388 <summary>Retrieves a collection that represents all the fields defined on a specified type.</summary>
389 <param name="type">The type that contains the fields.</param>
390 <returns>A collection of fields for the specified type.</returns>
392 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeInterfaceMap(System.Reflection.TypeInfo,System.Type)">
393 <summary>Returns an interface mapping for the specified type and the specified interface.</summary>
394 <param name="typeInfo">The type to retrieve a mapping for.</param>
395 <param name="interfaceType">The interface to retrieve a mapping for.</param>
396 <returns>An object that represents the interface mapping for the specified interface and type.</returns>
398 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeMethod(System.Type,System.String,System.Type[])">
399 <summary>Retrieves an object that represents a specified method.</summary>
400 <param name="type">The type that contains the method.</param>
401 <param name="name">The name of the method.</param>
402 <param name="parameters">An array that contains the method's parameters.</param>
403 <returns>An object that represents the specified method, or null if the method is not found.</returns>
405 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeMethods(System.Type)">
406 <summary>Retrieves a collection that represents all methods defined on a specified type.</summary>
407 <param name="type">The type that contains the methods.</param>
408 <returns>A collection of methods for the specified type.</returns>
410 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperties(System.Type)">
411 <summary>Retrieves a collection that represents all the properties defined on a specified type.</summary>
412 <param name="type">The type that contains the properties.</param>
413 <returns>A collection of properties for the specified type.</returns>
415 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperty(System.Type,System.String)">
416 <summary>Retrieves an object that represents a specified property.</summary>
417 <param name="type">The type that contains the property.</param>
418 <param name="name">The name of the property.</param>
419 <returns>An object that represents the specified property, or null if the property is not found.</returns>