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

#945509 Support ref readonly parameters #710

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

nickwalkmsft
Copy link

Work item: https://ceapex.visualstudio.com/Engineering/_workitems/edit/945509

Add support for correct rendering of "ref readonly" parameter in C# method signature documentation.

Added one unit test and also verified output against the case mentioned in the work item (https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.unsafe.asref?view=net-8.0#system-runtime-compilerservices-unsafe-asref-1%28-0@%29 should render with scoped ref readonly T source instead of scoped ref T source.

I couldn't get the C++ tests running but they appear to be out of scope here.

@nickwalkmsft nickwalkmsft changed the base branch from main to develop September 11, 2024 17:58
Add support for correct rendering of "ref readonly" parameter in C#
method signature documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant