PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Require­Reflection­Wrapper­Attribute Class
RequireReflectionWrapperAttribute Class

Note: This API is now obsolete.

Custom attribute that, when applied on a type, specifies that all build-time semantics of this type require reflection wrappers to be passed instead of real reflection objects.
Inheritance Hierarchy
System.Object
  System.Attribute
    PostSharp.Extensibility.RequireReflectionWrapperAttribute

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
[ObsoleteAttribute("Reflection wrappers are now returned automatically when a real reflection type cannot be returned.", 
	true)]
public sealed class RequireReflectionWrapperAttribute : Attribute

The RequireReflectionWrapperAttribute type exposes the following members.

Constructors
  NameDescription
Public methodRequireReflectionWrapperAttribute
Initializes a new instance of the RequireReflectionWrapperAttribute class
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also