1 <?xml version="1.0" encoding="utf-8"?>
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``1(System.Reflection.Assembly)">
11 <summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly. </summary>
12 <returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
13 <param name="element">The assembly to inspect.</param>
14 <typeparam name="T">The type of attribute to search for.</typeparam>
15 <exception cref="T:System.ArgumentNullException">
16 <paramref name="element" /> is null. </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.Assembly,System.Type)">
20 <summary>Retrieves a custom attribute of a specified type that is applied to a specified assembly.</summary>
21 <returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
22 <param name="element">The assembly to inspect.</param>
23 <param name="attributeType">The type of attribute to search for.</param>
24 <exception cref="T:System.ArgumentNullException">
25 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
26 <exception cref="T:System.ArgumentException">
27 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
28 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
30 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo)">
31 <summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
32 <returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
33 <param name="element">The member to inspect.</param>
34 <typeparam name="T">The type of attribute to search for.</typeparam>
35 <exception cref="T:System.ArgumentNullException">
36 <paramref name="element" /> is null. </exception>
37 <exception cref="T:System.NotSupportedException">
38 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
39 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
40 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
42 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.MemberInfo,System.Boolean)">
43 <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>
44 <returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
45 <param name="element">The member to inspect.</param>
46 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
47 <typeparam name="T">The type of attribute to search for.</typeparam>
48 <exception cref="T:System.ArgumentNullException">
49 <paramref name="element" /> is null. </exception>
50 <exception cref="T:System.NotSupportedException">
51 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
52 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
53 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
55 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)">
56 <summary>Retrieves a custom attribute of a specified type that is applied to a specified member.</summary>
57 <returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
58 <param name="element">The member to inspect.</param>
59 <param name="attributeType">The type of attribute to search for.</param>
60 <exception cref="T:System.ArgumentNullException">
61 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
62 <exception cref="T:System.ArgumentException">
63 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
64 <exception cref="T:System.NotSupportedException">
65 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
66 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
67 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
69 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo,System.Type,System.Boolean)">
70 <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>
71 <returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
72 <param name="element">The member to inspect.</param>
73 <param name="attributeType">The type of attribute to search for.</param>
74 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
75 <exception cref="T:System.ArgumentNullException">
76 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
77 <exception cref="T:System.ArgumentException">
78 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
79 <exception cref="T:System.NotSupportedException">
80 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
81 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
82 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
84 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.Module)">
85 <summary>Retrieves a custom attribute of a specified type that is applied to a specified module.</summary>
86 <returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
87 <param name="element">The module to inspect.</param>
88 <typeparam name="T">The type of attribute to search for.</typeparam>
89 <exception cref="T:System.ArgumentNullException">
90 <paramref name="element" /> is null. </exception>
91 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
93 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.Module,System.Type)">
94 <summary>Retrieves a custom attribute of a specified type that is applied to a specified module.</summary>
95 <returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
96 <param name="element">The module to inspect.</param>
97 <param name="attributeType">The type of attribute to search for.</param>
98 <exception cref="T:System.ArgumentNullException">
99 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
100 <exception cref="T:System.ArgumentException">
101 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
102 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
104 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.ParameterInfo)">
105 <summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter.</summary>
106 <returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
107 <param name="element">The parameter to inspect.</param>
108 <typeparam name="T">The type of attribute to search for.</typeparam>
109 <exception cref="T:System.ArgumentNullException">
110 <paramref name="element" /> is null. </exception>
111 <exception cref="T:System.NotSupportedException">
112 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
113 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
114 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
116 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute``1(System.Reflection.ParameterInfo,System.Boolean)">
117 <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>
118 <returns>A custom attribute that matches <paramref name="T" />, or null if no such attribute is found.</returns>
119 <param name="element">The parameter to inspect.</param>
120 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
121 <typeparam name="T">The type of attribute to search for.</typeparam>
122 <exception cref="T:System.ArgumentNullException">
123 <paramref name="element" /> is null. </exception>
124 <exception cref="T:System.NotSupportedException">
125 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
126 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
127 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
129 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type)">
130 <summary>Retrieves a custom attribute of a specified type that is applied to a specified parameter.</summary>
131 <returns>A custom attribute that matches <paramref name="attributeType" />, or null if no such attribute is found.</returns>
132 <param name="element">The parameter to inspect.</param>
133 <param name="attributeType">The type of attribute to search for.</param>
134 <exception cref="T:System.ArgumentNullException">
135 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
136 <exception cref="T:System.ArgumentException">
137 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
138 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
139 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
141 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type,System.Boolean)">
142 <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>
143 <returns>A custom attribute matching <paramref name="attributeType" />, or null if no such attribute is found.</returns>
144 <param name="element">The parameter to inspect.</param>
145 <param name="attributeType">The type of attribute to search for.</param>
146 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
147 <exception cref="T:System.ArgumentNullException">
148 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
149 <exception cref="T:System.ArgumentException">
150 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
151 <exception cref="T:System.Reflection.AmbiguousMatchException">More than one of the requested attributes was found. </exception>
152 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
154 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.Assembly)">
155 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly. </summary>
156 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist. </returns>
157 <param name="element">The assembly to inspect.</param>
158 <typeparam name="T">The type of attribute to search for.</typeparam>
159 <exception cref="T:System.ArgumentNullException">
160 <paramref name="element" /> is null. </exception>
162 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly)">
163 <summary>Retrieves a collection of custom attributes that are applied to a specified assembly.</summary>
164 <returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist. </returns>
165 <param name="element">The assembly to inspect.</param>
166 <exception cref="T:System.ArgumentNullException">
167 <paramref name="element" /> is null. </exception>
169 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly,System.Type)">
170 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified assembly.</summary>
171 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist. </returns>
172 <param name="element">The assembly to inspect.</param>
173 <param name="attributeType">The type of attribute to search for.</param>
174 <exception cref="T:System.ArgumentNullException">
175 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
176 <exception cref="T:System.ArgumentException">
177 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
179 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo)">
180 <summary>Retrieves a collection of custom attributes that are applied to a specified member.</summary>
181 <returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist. </returns>
182 <param name="element">The member to inspect.</param>
183 <exception cref="T:System.ArgumentNullException">
184 <paramref name="element" /> is null. </exception>
185 <exception cref="T:System.NotSupportedException">
186 <paramref name="element" /> 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``1(System.Reflection.MemberInfo)">
190 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member.</summary>
191 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist. </returns>
192 <param name="element">The member to inspect.</param>
193 <typeparam name="T">The type of attribute to search for.</typeparam>
194 <exception cref="T:System.ArgumentNullException">
195 <paramref name="element" /> is null. </exception>
196 <exception cref="T:System.NotSupportedException">
197 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
198 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
200 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.MemberInfo,System.Boolean)">
201 <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>
202 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist. </returns>
203 <param name="element">The member to inspect.</param>
204 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
205 <typeparam name="T">The type of attribute to search for.</typeparam>
206 <exception cref="T:System.ArgumentNullException">
207 <paramref name="element" /> is null. </exception>
208 <exception cref="T:System.NotSupportedException">
209 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
210 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
212 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Boolean)">
213 <summary>Retrieves a collection of custom attributes that are applied to a specified member, and optionally inspects the ancestors of that member.</summary>
214 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> that match the specified criteria, or an empty collection if no such attributes exist. </returns>
215 <param name="element">The member to inspect.</param>
216 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
217 <exception cref="T:System.ArgumentNullException">
218 <paramref name="element" /> is null. </exception>
219 <exception cref="T:System.NotSupportedException">
220 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
221 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
223 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Type)">
224 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified member.</summary>
225 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist. </returns>
226 <param name="element">The member to inspect.</param>
227 <param name="attributeType">The type of attribute to search for.</param>
228 <exception cref="T:System.ArgumentNullException">
229 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
230 <exception cref="T:System.ArgumentException">
231 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
232 <exception cref="T:System.NotSupportedException">
233 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
234 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
236 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.MemberInfo,System.Type,System.Boolean)">
237 <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>
238 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
239 <param name="element">The member to inspect.</param>
240 <param name="attributeType">The type of attribute to search for.</param>
241 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
242 <exception cref="T:System.ArgumentNullException">
243 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
244 <exception cref="T:System.ArgumentException">
245 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
246 <exception cref="T:System.NotSupportedException">
247 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
248 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
250 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module)">
251 <summary>Retrieves a collection of custom attributes that are applied to a specified module.</summary>
252 <returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist. </returns>
253 <param name="element">The module to inspect.</param>
254 <exception cref="T:System.ArgumentNullException">
255 <paramref name="element" /> is null. </exception>
257 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.Module)">
258 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified module.</summary>
259 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist. </returns>
260 <param name="element">The module to inspect.</param>
261 <typeparam name="T">The type of attribute to search for.</typeparam>
262 <exception cref="T:System.ArgumentNullException">
263 <paramref name="element" /> is null. </exception>
265 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module,System.Type)">
266 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified module.</summary>
267 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist.</returns>
268 <param name="element">The module to inspect.</param>
269 <param name="attributeType">The type of attribute to search for.</param>
270 <exception cref="T:System.ArgumentNullException">
271 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
272 <exception cref="T:System.ArgumentException">
273 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
275 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo)">
276 <summary>Retrieves a collection of custom attributes that are applied to a specified parameter.</summary>
277 <returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist. </returns>
278 <param name="element">The parameter to inspect.</param>
279 <exception cref="T:System.ArgumentNullException">
280 <paramref name="element" /> is null. </exception>
281 <exception cref="T:System.NotSupportedException">
282 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
283 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
285 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.ParameterInfo)">
286 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.</summary>
287 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist. </returns>
288 <param name="element">The parameter to inspect.</param>
289 <typeparam name="T">The type of attribute to search for.</typeparam>
290 <exception cref="T:System.ArgumentNullException">
291 <paramref name="element" /> is null. </exception>
292 <exception cref="T:System.NotSupportedException">
293 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
294 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
296 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Boolean)">
297 <summary>Retrieves a collection of custom attributes that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.</summary>
298 <returns>A collection of the custom attributes that are applied to <paramref name="element" />, or an empty collection if no such attributes exist. </returns>
299 <param name="element">The parameter to inspect.</param>
300 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
301 <exception cref="T:System.ArgumentNullException">
302 <paramref name="element" /> is null. </exception>
303 <exception cref="T:System.NotSupportedException">
304 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
305 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
307 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes``1(System.Reflection.ParameterInfo,System.Boolean)">
308 <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>
309 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="T" />, or an empty collection if no such attributes exist. </returns>
310 <param name="element">The parameter to inspect.</param>
311 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
312 <typeparam name="T">The type of attribute to search for.</typeparam>
313 <exception cref="T:System.ArgumentNullException">
314 <paramref name="element" /> is null. </exception>
315 <exception cref="T:System.NotSupportedException">
316 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
317 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
319 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type)">
320 <summary>Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.</summary>
321 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist. </returns>
322 <param name="element">The parameter to inspect.</param>
323 <param name="attributeType">The type of attribute to search for.</param>
324 <exception cref="T:System.ArgumentNullException">
325 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
326 <exception cref="T:System.ArgumentException">
327 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
328 <exception cref="T:System.NotSupportedException">
329 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
330 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
332 <member name="M:System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type,System.Boolean)">
333 <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>
334 <returns>A collection of the custom attributes that are applied to <paramref name="element" /> and that match <paramref name="attributeType" />, or an empty collection if no such attributes exist. </returns>
335 <param name="element">The parameter to inspect.</param>
336 <param name="attributeType">The type of attribute to search for.</param>
337 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
338 <exception cref="T:System.ArgumentNullException">
339 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
340 <exception cref="T:System.ArgumentException">
341 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
342 <exception cref="T:System.NotSupportedException">
343 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
344 <exception cref="T:System.TypeLoadException">A custom attribute type cannot be loaded. </exception>
346 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.Assembly,System.Type)">
347 <summary>Indicates whether custom attributes of a specified type are applied to a specified assembly.</summary>
348 <returns>true if an attribute of the specified type is applied to <paramref name="element" />; otherwise, false.</returns>
349 <param name="element">The assembly to inspect.</param>
350 <param name="attributeType">The type of the attribute to search for.</param>
351 <exception cref="T:System.ArgumentNullException">
352 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
353 <exception cref="T:System.ArgumentException">
354 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
356 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.MemberInfo,System.Type)">
357 <summary>Indicates whether custom attributes of a specified type are applied to a specified member.</summary>
358 <returns>true if an attribute of the specified type is applied to <paramref name="element" />; otherwise, false.</returns>
359 <param name="element">The member to inspect.</param>
360 <param name="attributeType">The type of attribute to search for.</param>
361 <exception cref="T:System.ArgumentNullException">
362 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
363 <exception cref="T:System.ArgumentException">
364 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
365 <exception cref="T:System.NotSupportedException">
366 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
368 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.MemberInfo,System.Type,System.Boolean)">
369 <summary>Indicates whether custom attributes of a specified type are applied to a specified member, and, optionally, applied to its ancestors.</summary>
370 <returns>true if an attribute of the specified type is applied to <paramref name="element" />; otherwise, false.</returns>
371 <param name="element">The member to inspect.</param>
372 <param name="attributeType">The type of the attribute to search for.</param>
373 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
374 <exception cref="T:System.ArgumentNullException">
375 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
376 <exception cref="T:System.ArgumentException">
377 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
378 <exception cref="T:System.NotSupportedException">
379 <paramref name="element" /> is not a constructor, method, property, event, type, or field. </exception>
381 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.Module,System.Type)">
382 <summary>Indicates whether custom attributes of a specified type are applied to a specified module.</summary>
383 <returns>true if an attribute of the specified type is applied to <paramref name="element" />; otherwise, false.</returns>
384 <param name="element">The module to inspect.</param>
385 <param name="attributeType">The type of attribute to search for.</param>
386 <exception cref="T:System.ArgumentNullException">
387 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
388 <exception cref="T:System.ArgumentException">
389 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
391 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.ParameterInfo,System.Type)">
392 <summary>Indicates whether custom attributes of a specified type are applied to a specified parameter.</summary>
393 <returns>true if an attribute of the specified type is applied to <paramref name="element" />; otherwise, false.</returns>
394 <param name="element">The parameter to inspect.</param>
395 <param name="attributeType">The type of attribute to search for.</param>
396 <exception cref="T:System.ArgumentNullException">
397 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
398 <exception cref="T:System.ArgumentException">
399 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
401 <member name="M:System.Reflection.CustomAttributeExtensions.IsDefined(System.Reflection.ParameterInfo,System.Type,System.Boolean)">
402 <summary>Indicates whether custom attributes of a specified type are applied to a specified parameter, and, optionally, applied to its ancestors.</summary>
403 <returns>true if an attribute of the specified type is applied to <paramref name="element" />; otherwise, false.</returns>
404 <param name="element">The parameter to inspect.</param>
405 <param name="attributeType">The type of attribute to search for.</param>
406 <param name="inherit">true to inspect the ancestors of <paramref name="element" />; otherwise, false. </param>
407 <exception cref="T:System.ArgumentNullException">
408 <paramref name="element" /> or <paramref name="attributeType" /> is null. </exception>
409 <exception cref="T:System.ArgumentException">
410 <paramref name="attributeType" /> is not derived from <see cref="T:System.Attribute" />. </exception>
412 <member name="T:System.Reflection.InterfaceMapping">
413 <summary>Retrieves the mapping of an interface into the actual methods on a class that implements that interface.</summary>
415 <member name="F:System.Reflection.InterfaceMapping.InterfaceMethods">
416 <summary>Shows the methods that are defined on the interface.</summary>
418 <member name="F:System.Reflection.InterfaceMapping.InterfaceType">
419 <summary>Shows the type that represents the interface.</summary>
421 <member name="F:System.Reflection.InterfaceMapping.TargetMethods">
422 <summary>Shows the methods that implement the interface.</summary>
424 <member name="F:System.Reflection.InterfaceMapping.TargetType">
425 <summary>Represents the type that was used to create the interface mapping.</summary>
427 <member name="T:System.Reflection.RuntimeReflectionExtensions">
428 <summary>Provides methods that retrieve information about types at run time.</summary>
430 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetMethodInfo(System.Delegate)">
431 <summary>Gets an object that represents the method represented by the specified delegate.</summary>
432 <returns>An object that represents the method.</returns>
433 <param name="del">The delegate to examine.</param>
435 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeBaseDefinition(System.Reflection.MethodInfo)">
436 <summary>Retrieves an object that represents the specified method on the direct or indirect base class where the method was first declared.</summary>
437 <returns>An object that represents the specified method's initial declaration on a base class.</returns>
438 <param name="method">The method to retrieve information about.</param>
440 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeEvent(System.Type,System.String)">
441 <summary>Retrieves an object that represents the specified event.</summary>
442 <returns>An object that represents the specified event, or null if the event is not found.</returns>
443 <param name="type">The type that contains the event.</param>
444 <param name="name">The name of the event.</param>
446 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeEvents(System.Type)">
447 <summary>Retrieves a collection that represents all the events defined on a specified type.</summary>
448 <returns>A collection of events for the specified type.</returns>
449 <param name="type">The type that contains the events.</param>
451 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeField(System.Type,System.String)">
452 <summary>Retrieves an object that represents a specified field.</summary>
453 <returns>An object that represents the specified field, or null if the field is not found.</returns>
454 <param name="type">The type that contains the field.</param>
455 <param name="name">The name of the field.</param>
457 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeFields(System.Type)">
458 <summary>Retrieves a collection that represents all the fields defined on a specified type.</summary>
459 <returns>A collection of fields for the specified type.</returns>
460 <param name="type">The type that contains the fields.</param>
462 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeInterfaceMap(System.Reflection.TypeInfo,System.Type)">
463 <summary>Returns an interface mapping for the specified type and the specified interface.</summary>
464 <returns>An object that represents the interface mapping for the specified interface and type.</returns>
465 <param name="typeInfo">The type to retrieve a mapping for.</param>
466 <param name="interfaceType">The interface to retrieve a mapping for.</param>
468 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeMethod(System.Type,System.String,System.Type[])">
469 <summary>Retrieves an object that represents a specified method.</summary>
470 <returns>An object that represents the specified method, or null if the method is not found.</returns>
471 <param name="type">The type that contains the method.</param>
472 <param name="name">The name of the method.</param>
473 <param name="parameters">An array that contains the method's parameters.</param>
475 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeMethods(System.Type)">
476 <summary>Retrieves a collection that represents all methods defined on a specified type.</summary>
477 <returns>A collection of methods for the specified type.</returns>
478 <param name="type">The type that contains the methods.</param>
480 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperties(System.Type)">
481 <summary>Retrieves a collection that represents all the properties defined on a specified type.</summary>
482 <returns>A collection of properties for the specified type.</returns>
483 <param name="type">The type that contains the properties.</param>
485 <member name="M:System.Reflection.RuntimeReflectionExtensions.GetRuntimeProperty(System.Type,System.String)">
486 <summary>Retrieves an object that represents a specified property.</summary>
487 <returns>An object that represents the specified property, or null if the property is not found.</returns>
488 <param name="type">The type that contains the property.</param>
489 <param name="name">The name of the property.</param>