ReflectionSearchOptions Enumeration

Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: (
public enum ReflectionSearchOptions
  Member nameValueDescription
None0 No option.
IncludeDerivedTypes1 Include relationships referencing a derived type (instead of exactly that type).
IncludeTypeElement2 Include relationships referencing a type signature including the given type (instead of only the given type).
UseReflectionWrappers4Obsolete. Use reflection wrappers instead of runtime reflection objects. Reflection wrappers implement standard reflection classes (Type, MethodInfo, ...), but do not require the CLR to load the type. Reflection wrappers should be used only when the CLR is not able to load the type, for instance because the type is not valid for runtime execution. This happens for instance when the type has an extern method implemented after compilation by PostSharp.
See Also