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
Describe the bug
This code in TypeNameSupport.FindTypeByName unconditionally roots ExpandoObject:
TypeNameSupport.FindTypeByName
ExpandoObject
CsWinRT/src/WinRT.Runtime/TypeNameSupport.cs
Lines 105 to 112 in f01956b
This shows up even in a minimal WinRT component with NAOT, not using anonymous/dynamic types at all:
Additionally, matching on "<>f__AnonymousType" is undefined behavior. The C# spec (nor Roslyn) guarantee that name prefix.
"<>f__AnonymousType"
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
This code in
TypeNameSupport.FindTypeByName
unconditionally rootsExpandoObject
:CsWinRT/src/WinRT.Runtime/TypeNameSupport.cs
Lines 105 to 112 in f01956b
This shows up even in a minimal WinRT component with NAOT, not using anonymous/dynamic types at all:
Additionally, matching on
"<>f__AnonymousType"
is undefined behavior. The C# spec (nor Roslyn) guarantee that name prefix.The text was updated successfully, but these errors were encountered: