Skip to content

SyntaxFactory.NameOfExpression(...) should have an overload that doesn't require "nameof" as first argument #53

@AArnott

Description

@AArnott

I'm generating code that includes nameof expressions and was very surprised that SyntaxFactory.NameOfExpression took two parameters: "nameof" itself, and then the expression that goes in as the argument of 'nameof'. Since the nameof expression is always going to be "nameof", should there be an overload of this method that will specify this automatically?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions