Merge pull request #1398 from jwestfall69/dgv-first_row_index
[mono.git] / mcs / class / Microsoft.Build / Microsoft.Build.Evaluation / Toolset.cs
index 813ca9902a1e1f480344e3de26e511bd7ec01d0a..b0182c53bb856e891f31aa223dec97e96a411c38 100644 (file)
@@ -2,8 +2,9 @@
 //
 // Author:
 //   Rolf Bjarne Kvinge (rolf@xamarin.com)
+//   Atsushi Enomoto (atsushi@xamarin.com)
 //
-// Copyright (C) 2011 Xamarin Inc.
+// Copyright (C) 2011,2013 Xamarin Inc.
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
@@ -59,7 +60,7 @@ namespace Microsoft.Build.Evaluation
                        Properties = 
                                buildProperties == null ?
                                new Dictionary<string, ProjectPropertyInstance> () :
-                               buildProperties.Select (p => new ProjectPropertyInstance (p.Key) { EvaluatedValue = p.Value }).ToDictionary (e => e.Name);
+                               buildProperties.Select (p => new ProjectPropertyInstance (p.Key, true, p.Value)).ToDictionary (e => e.Name);
 #if NET_4_5
                        SubToolsets = subToolsets ?? new Dictionary<string, SubToolset> ();
 #endif