* ConfigurationElement.cs: HasLocalModifications considers a
property modifed locally if its origin is SetHere and it's been
marked as modified.
svn path=/trunk/mcs/; revision=102162
+2008-04-30 Marek Habersack <mhabersack@novell.com>
+
+ * ConfigurationElement.cs: HasLocalModifications considers a
+ property modifed locally if its origin is SetHere and it's been
+ marked as modified.
+
2008-03-20 Igor Zelmanovich <igorz@mainsoft.com>
* Configuration.cs:
internal virtual bool HasLocalModifications ()
{
foreach (PropertyInformation pi in ElementInformation.Properties)
- if (pi.ValueOrigin == PropertyValueOrigin.SetHere)
+ if (pi.ValueOrigin == PropertyValueOrigin.SetHere && pi.IsModified)
return true;
return false;