-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[wasm] Enable System.Xml.Linq.Tests.XTypeDescriptionProviderTests class #39709
Comments
Tagging subscribers to this area: @safern |
cc @eerhardt looks like a linker correctness issue. |
We annotated We won't be able to make progress on this issue in dotnet/runtime since this is an ILLinker issue. Adding |
The underlying linker bug has been fixed. Removing "blocked". When we get a new linker in dotnet/runtime, we should be able to enable these tests now. |
#42201 should bring related linker changes |
Tried to run
|
E.g.
Below is what
|
I got the time to investigate this issue today, and it appears to be another linker issue. I opened dotnet/linker#1536 for this issue. Marking this as |
I retested this scenario with the latest builds and it is still blocked by dotnet/linker#1536. Note: var xel = new XElement("someElement");
var props = TypeDescriptor.GetProperties(xel); The call to |
Moving to 7.0 as this scenario isn't necessary in order to ship 6.0. The underlying linker issue dotnet/linker#1536 needs to be fixed before this issue can be resolved. |
still blocked on dotnet/linker#1536 but that has been raised |
Unblocked, if @eerhardt you could see if we are able to close it soon, it would be great. |
looks like #70614 should have the linker fix now |
While enabling
System.ComponentModel.TypeConverter.Tests
on Browser WASM, I faced the failures in System.Xml.Linq.Tests.XTypeDescriptionProviderTests test class.There are 7 test cases which mostly test the property-related logic for XElement and XAttribute classes (dotnet/corefx#33082).
Those classes are annotated with
System.ComponentModel.TypeDescriptionProviderAttribute
so that TypeDescriptor.GetProperties() can provide with some additional propertiesruntime/src/libraries/System.ComponentModel.TypeConverter/src/MS/Internal/Xml/Linq/ComponentModel/XComponentModel.cs
Lines 36 to 61 in 6072e4d
The mentioned tests get a collection of property descriptors by calling something like below
Actually
props
contains only a collection of some general properties and doesn't include the additional ones.The text was updated successfully, but these errors were encountered: