I have a method with the following signature:
public static TDestination Editable<TSource, TDestination>
(TSource source, TDestination destination)
{
...
}
It is called hundreds of times like this:
Editable(source, destination);
I want to change it to
Editable<TSource, TDestination>(source, destination);
The reason for this is that I want to be able to get a list of all the type parameters that are actually used in calls to this method, without having to inspect each call site. If I could make the type parameters explicit at every call site, I could simply search the source code mechanically to get a list of all the type parameters that get passed to the method.
How can I do that with ReSharper, or another tool?
答案 0 :(得分:2)