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

Fix problem when default value expression contains namespace #253

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

hadashiA
Copy link
Contributor

@hadashiA hadashiA commented Mar 15, 2024

Fix #250, #252

In #242, to output the default value expression.
However, it seems that name resolution may not work as it is.

For example,

public List<MyType> MyProperty = new List<MyType>();.

The default value of such an expression should have been as follows.

new global::System.Collections.Generic.List<MyNameSpace.MyType>();.

@neuecc
Copy link
Member

neuecc commented Mar 18, 2024

Thank you!
I think the solution is a bit too complicated, but it is an urgent problem and we should release it immediately first.

@neuecc neuecc merged commit 22e107f into main Mar 18, 2024
2 checks passed
@neuecc neuecc deleted the ku/fix-default-value2 branch March 18, 2024 03:09
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.

CS0103 issue when upgrade project from NET6.0 to NET8.0
2 participants