Open drewnoakes opened 5 years ago
I don't think there's a valid reason to have a <returns> element on a void typed member:
<returns>
/// <returns>Nothing at all!</returns> public void Foo();
Nor on a type:
/// <returns>Nothing at all!</returns> public class Foo { }
Nor on a field:
/// <returns>Nothing at all!</returns> private int _foo;
There are two issues here, likely with distinct diagnostic IDs:
<value>
Does <returns> make sense on a non-void-returning delegate declaration?
delegate
I don't think there's a valid reason to have a
<returns>
element on a void typed member:Nor on a type:
Nor on a field: