One of the things one might encounter quite early while writing a Roslyn Code analyzer for comments is it is slightly different from detection of Syntax Nodes. In fact, it is not a node at all. Syntax nodes represent syntactic constructs, for example declaration, statements, clauses and expressions. A Comment do not quite fall in the same category. … Continue reading Roslyn Analyzer : Analyzing Comments
Tag: roslyn
Evil Code #009 : nameof Operator
The nameof() operator has been so commonly used by the developers that one could not be called guilty if he assumes it was there since C# was born. Despite that, there are days it might still surprise you. What would be your reply if I asked you to predict the output of the following. No … Continue reading Evil Code #009 : nameof Operator