PostSharpAPI ReferencePost­Sharp.​ReflectionDeclaration­IdentifierMember­Index
Open sandboxFocus

DeclarationIdentifier.MemberIndex Property

MemberIndex

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

Declaration
public int MemberIndex { get; }
Property Value
Type Description
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.