TNG / ArchUnitNET

A C# architecture test library to specify and assert architecture rules in C# for automated testing.
Apache License 2.0
932 stars 61 forks source link

Constructor parameter Name returns the name of the type #275

Open mmisztal1980 opened 4 months ago

mmisztal1980 commented 4 months ago

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