In researching a question on implementing the Visual Basic Power (^
) operator, I learned that the System.Runtime.CompilerServices.SpecialNameAttribute
class allows one to implement this operator in C# for use in VB.
Interestingly, the documentation states:
The SpecialNameAttribute class is not currently used in the .NET Framework, but is reserved for future use.
My question is: What other neat tricks are available when using this attribute?
(side question - is the documentation inaccurate or is this a semantic issue since the attribute is apparently used by the compiler but not the framework?)