MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ReflectionReflection­HelperIs­Available­In­Target­Framework
Open sandboxFocus

ReflectionHelper.IsAvailableInTargetFramework Method

IsAvailableInTargetFramework(MemberInfo)

Declaration
public static bool IsAvailableInTargetFramework(this MemberInfo memberInfo)
Parameters
Type Name Description
System.Reflection.MemberInfo memberInfo
Returns
Type Description
System.Boolean

IsAvailableInTargetFramework(Type)

Declaration
public static bool IsAvailableInTargetFramework(this Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean