We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Say you have code that doesn't fully compile. Generators are invoked nevertheless.
In this scenario, the Compilation.IsSymbolAccessibleWithin is throwing at https://github.com/dotnet/roslyn/blob/9fef96ff1194f686993293c7971802216eb75a26/src/Compilers/Core/Portable/Compilation/Compilation.cs#L1626. I was expecting a false return value instead 🤷♂️, so we should account for that.
Compilation.IsSymbolAccessibleWithin
The text was updated successfully, but these errors were encountered:
Generator shouldn't fail for unsuccessful compilation
9765d37
In this scenario, the Compilation.IsSymbolAccessibleWithin is throwing at https://github.com/dotnet/roslyn/blob/9fef96ff1194f686993293c7971802216eb75a26/src/Compilers/Core/Portable/Compilation/Compilation.cs#L1626. We account for that by providing our wrapping extension method that catches the exception and returns false instead (what we were expecting to get anyway). Closes #51
ee17c10
Successfully merging a pull request may close this issue.
Say you have code that doesn't fully compile. Generators are invoked nevertheless.
In this scenario, the
Compilation.IsSymbolAccessibleWithin
is throwing athttps://github.com/dotnet/roslyn/blob/9fef96ff1194f686993293c7971802216eb75a26/src/Compilers/Core/Portable/Compilation/Compilation.cs#L1626. I was expecting a false return value instead 🤷♂️, so we should account
for that.
The text was updated successfully, but these errors were encountered: