PostSharp6.2/API Reference/Post­Sharp.​Reflection Namespace/Reflection­Search Class/Reflection­Search Methods/Reflection­Search.​Get­Members­Of­Type Method/Reflection­Search.​Get­Members­Of­Type Method (Type)

ReflectionSearch.GetMembersOfType Method (Type)

Gets all members (FieldInfo, PropertyInfo, or ParameterInfo) of the assembly being processed of a given type.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public static MemberTypeCodeReference[] GetMembersOfType(
	Type memberType
)

Parameters

memberType
Type: System.Type
Member type.

Return Value

Type: MemberTypeCodeReference[]
The set of all members of type memberType in the assembly being processed
Remarks

Note Note

Note Note
This feature is available only at build time.

See Also