The .NET 4.7.2 overload System.Xml.XmlReader.Create(Stream, XmlReaderSettings, String) in System.Xml.dll has the following IL:
Reflector 10.0.6.546 renders the C# incorrectly:
Technically, I suppose, if you want to mirror the IL exactly, it should be...
...wherein the new instance is stored in argument slot 1 'settings', but I don't see how this could matter here (since it's not a visible memory location).
It is not correct because the above C# code will do nothing if 'null' is passed for 'settings', whereas the IL constructs a new instance upon which to invoke the 'CreateReader' function. A correct C# version would be:
|
Comments
4 comments
-
Thanks for your post @GlennSlayden!
We don't have the ETA yet, but this will be fixed within the next release. I'll post here once that's available. -
Hi there!
Just wanted to clarify that there was a release that we quickly put out earlier this week to resolve a security risk we learned of. The fix for this .NET 4.7.2 issue didn't make it into there, but it will still be in the next one. -
Ok, thanks for keeping me posted.
-
This is now fixed in v10.0.8.814, available on CfU here: https://download.red-gate.com/checkforupdates/ReflectorInstaller/ReflectorInstaller_10.0.8.814.exe.
Add comment
Please sign in to leave a comment.