-
Notifications
You must be signed in to change notification settings - Fork 55
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
feat: Add support for nested types Cecil and Sre #122
feat: Add support for nested types Cecil and Sre #122
Conversation
Can anyone review? Please |
src/XamlX.IL.Cecil/CecilAssembly.cs
Outdated
} | ||
|
||
var resolved = tref?.Resolve(); | ||
if (resolved?.IsNestedPrivate == false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably need to examine the entire chain, e. g.
class Foo
{
class NestedPrivate
{
public class NestedPublic {}
}
}
would pass the current check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to merge this PR for 11.2, since it works well on current Avalonia and tests are passing in both repos.
Continuous of #54
Adds support for nested types specified with a + to the Cecil and Sre backend.
Closes #54
Fixes AvaloniaUI/Avalonia#2725