Provides helper methods for work with System.Reflection.
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public static class ReflectionHelper
Methods
Name | Description |
---|---|
AreInternalsVisibleTo(Assembly, Assembly) | Determines whether the InternalsVisibleToAttribute attribute relationship exists between two assemblies. |
AreInternalsVisibleToCurrentProject(Assembly) | Determines whether the internals of a given assembly are visible to the current project. |
GetAssemblyQualifiedTypeName(string, string) | Gets a properly-escaped assembly-qualified type name from its components. |
GetEvent(Type, MethodInfo, MethodInfo, MethodInfo) | |
GetLocation(Type, MethodInfo, MethodInfo) | |
GetProperty(Type, MethodInfo, MethodInfo) | |
GetProperty(Type, MethodInfo, MethodInfo, bool) | |
GetSemanticInfo(MemberInfo) | Gets the SemanticInfo for a given member. |
GetSemanticInfo(Type) | Gets the SemanticInfo for a given type. |
IsAvailableInTargetFramework(MemberInfo) | Determines whether a given MemberInfo is available in the target framework of the current project. |
IsAvailableInTargetFramework(Type) | Determines whether a given Type is available in the target framework of the current project. |
IsCompilerGenerated(MemberInfo) | Determines whether a MemberInfo is compiler-generated. |
IsCompilerGenerated(Type) | Determines whether a Type is compiler-generated. |
ParseAssemblyQualifiedTypeName(string, out string, out string) | Parses an escaped assembly-qualified type name into its components. |