ReflectionHelper.IsAvailableInTargetFramework Method (MemberInfo) |
Determines whether a given MemberInfo is available in the target framework
of the current project.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public static bool IsAvailableInTargetFramework( this MemberInfo memberInfo )
Parameters
- memberInfo
- Type: System.Reflection.MemberInfo
A declaration that necessarily exists in the build-time framework.