Red Gate forums :: View topic - Baml decoding issue for System types
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
.NET Reflector 7.0 Feedback
.NET Reflector 7.0 Feedback forum

Baml decoding issue for System types

Search in .NET Reflector 7.0 Feedback forum
Post new topic   Reply to topic
Jump to:  
Author Message
alehandro



Joined: 16 Nov 2010
Posts: 35

PostPosted: Tue Jan 31, 2012 1:30 pm    Post subject: Baml decoding issue for System types Reply with quote

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.
Back to top
View user's profile Send private message
nick.maidment



Joined: 29 Jan 2010
Posts: 74

PostPosted: Fri Feb 03, 2012 11:35 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group