PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Extensibility.​Tasks Namespace / Index­Type­Def­Member­Refs­Task Class / Index­Type­Def­Member­Refs­Task Methods / Index­Type­Def­Member­Refs­Task.​Get­References Method

IndexTypeDefMemberRefsTask.GetReferences Method

Gets the collection of MemberRefs (MemberRefDeclaration) that are used to access a given FieldDefDeclaration or MethodDefDeclaration.

Namespace:  PostSharp.Sdk.Extensibility.Tasks
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static ICollection<MemberRefDeclaration> GetReferences(
	IMember member
)

Parameters

member
Type: PostSharp.Sdk.CodeModel.IMember
A FieldDefDeclaration or a MethodDefDeclaration.

Return Value

Type: ICollection<MemberRefDeclaration>
The collection of MemberRefDeclaration referencing member.
See Also