PostSharp.ILAPI ReferencePost­Sharp.​ReflectionReflection­HelperGet­Semantic­Info
Open sandboxFocus

ReflectionHelper.GetSemanticInfo Method

GetSemanticInfo(MemberInfo)

Gets the SemanticInfo for a given member.

Declaration
public static SemanticInfo GetSemanticInfo(this MemberInfo member)
Parameters
Type Name Description
MemberInfo member

A member.

Returns
Type Description
SemanticInfo

The SemanticInfo for member.

GetSemanticInfo(Type)

Gets the SemanticInfo for a given type.

Declaration
public static SemanticInfo GetSemanticInfo(this Type type)
Parameters
Type Name Description
Type type

A type.

Returns
Type Description
SemanticInfo

The SemanticInfo for type.