Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for tuple element names #41

Open
ap0llo opened this issue Jun 1, 2020 · 0 comments
Open

Support for tuple element names #41

ap0llo opened this issue Jun 1, 2020 · 0 comments
Labels
area-apireference feature New feature or request

Comments

@ap0llo
Copy link
Owner

ap0llo commented Jun 1, 2020

C# named tuples are currently not supported.

For example, the following method definition

void Method((string name, object value)[] parameters)

is shown in the documentation as

void Method([TupleElementNames(Mono.Cecil.CustomAttributeArgument[])]params ValueTuple<string, object>[] parameters);

The TupleElementNames attribute should not be included and the ValueTuple should be displayed in the native C# syntax, including element names.

@ap0llo ap0llo added feature New feature or request area-apireference labels Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-apireference feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant