Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

carlossanlop
Copy link
Contributor

After fixing the MSBuild problem, the unit tests uncovered a problem when attempting to detect nested types, specifically, delegates. Turns out the way symbols were being visited before was not a proper way of ensuring nested types would also be visited. Instead, I added a CSharpVisitor instance and now all the symbols get pre-collected, and then paired up with the docs types afterwards.

The tests now pass.

Copy link
Member

@smasher164 smasher164 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@carlossanlop
Copy link
Contributor Author

Need to fix this in the yml. I'll send it in a separate PR:

Error: /usr/share/dotnet/sdk/6.0.402/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(144,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 7.0.  Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 7.0. [/home/runner/work/api-docs-sync/api-docs-sync/src/PortToTripleSlash/src/app/PortToTripleSlash.csproj]

@carlossanlop
Copy link
Contributor Author

Closing/reopening to auto rebase.

@carlossanlop
Copy link
Contributor Author

:shipit:

@carlossanlop carlossanlop merged commit 95c4f1f into dotnet:main Nov 11, 2022
@carlossanlop carlossanlop deleted the FixTestsAfterGoodBuild branch November 11, 2022 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants