user6617108
user6617108

Reputation:

How to Find References of a Method?

I have below method In my project and I'm not able to find the references of it by press Shift+F12 (or select Find All References), How can I find the all references of method like below?

public override string[] Convert(object input)
{
}

Update : The above method is under this class:

public class AutoClerkReservationMessageToPMSConverter : BaseAutoClerkMessageConverter
{
}

Using Visual Studio 2013,and by pressing Shift+F12 (or select Find All References) I'm getting below references, which are actually not the references?

enter image description here

Upvotes: 0

Views: 198

Answers (2)

Olivier Citeau
Olivier Citeau

Reputation: 169

It seems that BaseAutoClerkMessageConverter inherit from BaseMessageConverter which extends IMessageConverter.

So my advice would be to press Shift+F12 from IMessageConverter.Convert.

PS : Use Resharper if possible.

Upvotes: 0

Valeh Mikayilzadeh
Valeh Mikayilzadeh

Reputation: 919

First you must select class, method, varible ets... if you have ReSharper press ctrl + mouse left button click. if you have not ReSharper then press only F12

Upvotes: 3

Related Questions