I've recently upgraded my visual studio from 2010 to 2015, and since them, I'm getting a lot of warnings in my output window like:
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='10705061';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='1587067';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='4309168';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='59694858'; Freezable.Type='System.Windows.Media.TranslateTransform';
DP='X'; DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='1914083';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='19024873';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='50812954';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='4881566';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='18343908';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='20169503';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='35212414';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='41054801'; Freezable.Type='System.Windows.Media.TranslateTransform';
DP='X'; DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='35526744';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='55199627';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='955278';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='42987539';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='55391087';
Freezable.Type='System.Windows.Media.TranslateTransform'; DP='X';
DpOwnerType='System.Windows.Media.TranslateTransform'
System.Windows.Freezable Warning: 1 : CanFreeze is returning
false because a DependencyProperty on the Freezable has a value that is an
expression; Freezable='System.Windows.Media.TranslateTransform';
Freezable.HashCode='9570975'; Freezable.Type='System.Windows.Media.TranslateTransform';
DP='X'; DpOwnerType='System.Windows.Media.TranslateTransform'
It happens every time a value in the gridview is changed.
It affects the performance of visual studio, since the output window is very busy.
Why it happens? It is something you are doing wrong and can be fixed?
Can I disable these warnings somehow?
Thanks.