wasm System.Reflection.MemberInfo.ToString() returns different string for some types in public field compare to desktop #88637
Labels
needs-area-label
An area label is needed to ensure this gets routed to the appropriate area owners
Description
Call MemberInfo.ToString() on int, double in public field
desktop returns
Int32 int1
Double double1
wasm returns
System.Int32 int1
System.Double double1
For properties, both return same
Int32 Int1
Double Double1
We are serialize the string in desktop and then use the same string to find the member in wasm. Because they are mismatched, we cannot find the corresponding fields.
Reproduction Steps
https://github.com/jjzhang12/MonoType
Run the Blazor app BlazorApp and ConsoleApp1 can see the difference.
Expected behavior
wasm should return the same string as desktop.
Actual behavior
wasm returns different than desktop. See description.
Regression?
Not sure.
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: