WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Constructor parameter Name returns the name of the type #275

@mmisztal1980

Description

@mmisztal1980

Hello,

I wasn't able to find this information anywhere yet. I've noticed that the property Name in the constructor.Parameters returns the name of the parameter's type rather than the name of the parameter itself.

Is this intentional? I was looking to write some tests to validate parameter's names and types. Is this achievable this way, or should I try something else?

Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions