C# Alias an Attribute (such as Inline Hinting)
问题 I've been wanting for a while to shorten the (no- using -pollution) "inline" attribute from the absurdity that is: [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] to, well, [InlineHint] or [MyCompilerSvcs.InlineHint] or similar- something both quicker to type and quicker to mentally parse. Is there any way to actually do that? Right now the only "sane" options I can see are to either add using System.Runtime.CompilerServices;