I have a class with a custom indexer like so
public string this[VehicleProperty property] { // Code }
How can I identify the custom index
Look for the DefaultMemberAttribute defined at type level.
DefaultMemberAttribute
(This used to be IndexerNameAttribute, but they seem to have dropped it)
IndexerNameAttribute