Open sandboxFocus

Method GetMembersOfType

GetMembersOfType(Type)

In Metalama, the feature is not exposed on the code model, but it is a part of the validation feature thanks to the ValidateReferences<TValidator>(Func<TDeclaration, TValidator>) method.

Declaration
public static MemberTypeCodeReference[] GetMembersOfType(Type memberType)
Parameters
Type Name Description
Type memberType
Returns
Type Description
MemberTypeCodeReference[]
See Also

GetMembersOfType(Type, ReflectionSearchOptions)

In Metalama, the feature is not exposed on the code model, but it is a part of the validation feature thanks to the ValidateReferences<TValidator>(Func<TDeclaration, TValidator>) method.

Declaration
public static MemberTypeCodeReference[] GetMembersOfType(Type memberType, ReflectionSearchOptions options)
Parameters
Type Name Description
Type memberType
ReflectionSearchOptions options
Returns
Type Description
MemberTypeCodeReference[]
See Also