Skip to content

ASP007 false positive when attributes used #103

@dzmitry-lahoda

Description

@dzmitry-lahoda
        [HttpGet("/foobar/servers/{poolIdOrName}/level/{levelid}")]
        public async Task<IEnumerable<FooBar>> GetFooBar(
            [Range(1, int.MaxValue)] int levelid,
            [Required][MinLength(1)] string poolIdOrName)

will raise ASP007, seems because of attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions