Skip to content

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

Open
@drewnoakes

Description

@drewnoakes

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;

Metadata

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