PostSharp6.4//API Reference/Post­Sharp.​Reflection Namespace/Declaration­Identifier Structure/Declaration­Identifier Properties/Declaration­Identifier.​Member­Index Property

DeclarationIdentifier.MemberIndex Property

Gets a number that uniquely identifies the member inside its declaring type, for the given member kind.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public int MemberIndex { get; }

Property Value

Type: Int32
Remarks

The value of this property is guaranteed to be smaller than the total number of methods in the declaring type.

The value is guaranteed to be unique only in the declaring type, not in the set of base types. Numbering of members restarts at 0 for every derived type.

See Also