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: 2023.0.3.0 (2023.0.3.0)
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
This feature is available only at build time. |