Is this nameof() truly a recursive call?

Viewed 188

I'm making a ConfigurationSection in C# right now. I decided to take advantage of some C# 6 features by using nameof(PropertyName) instead of hard coded strings.

However, I'm getting a weird result from Resharper about a recursive call.

Here's an example:

Recursive Warning

I can see why it might give this warning, as the property is being referenced within itself. I'm not convinced however that this is actually recursive.

Is there anything I have to worry about with this call?

1 Answers
Related