Type-safe way to get the method name
<p>Is there a way to do this:</p>

<pre><code>var methodToDoStuffTo = typeof (FancyClass).GetMethod("MethodName").Name;
</code></pre>

<p>Without relaying on the string <code>"MethodName"</code>?</p>

<p>What I want is something like this:</p>

<pre><code>var methodToDoStuffTo = typeof (FancyClass).GetMethod(FancyClass.MethodName).Name;
</code></pre>

<p>So I can be sure that there is no unexpected error when I rename my method <code>MethodName</code>.</p>

<p>For reasons I can't simple update my enviroment to c# 6, so no <code>nameof()</code>.</p>

<p>I try and give a reason why I'am doing this:</p>

<p>I (have to) use one <code>Authorization Attribute</code> on several different Methods.
Depending on from which method the Attribute was 'called', the code has to do <em>slitly</em> different stuff.</p>

<p>That's why I can't / don't want to use differnet Attributes for each Method.</p>