Baml decoding issue for System types

Moderators: Luke Jefferson, Greg.Tillman, Clive Tong

Baml decoding issue for System types

Postby alehandro » Tue Jan 31, 2012 1:30 pm

there should be an alias for System names space, I guess, here is an example of what is now and what it should be:


<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</Double>
<Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</Double>

.........


I guess it should be:


<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</sys:Double>
<sys:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
</sys:Double>

Otherwise Double type is not recognized.
alehandro
 
Posts: 35
Joined: Tue Nov 16, 2010 12:08 am

Postby nick.maidment » Fri Feb 03, 2012 11:35 am

Sorry for a delay in getting back to you. We don't usually check these forums, using http://forums.reflector.net/ instead these days.

I've logged this bug under reference RP-2467 Thanks for reporting it
nick.maidment
 
Posts: 74
Joined: Fri Jan 29, 2010 1:55 pm


Return to .NET Reflector 7.0 Feedback

Who is online

Users browsing this forum: No registered users and 0 guests