Skip to content

DOC210/DOC211: Highlight invalid usages of <returns> #74

Open
@drewnoakes

Description

I don't think there's a valid reason to have a <returns> element on a void typed member:

/// <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;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions