PostSharp 4.3 / / Post­Sharp Documentation / 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: 4.3.48.0 (4.3.48.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