// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_4_5
using Microsoft.Build.Framework;
using System;
namespace Microsoft.Build.Construction
{
[Serializable]
- public abstract class ElementLocation
+#if NET_4_5
+ public
+#endif
+ abstract class ElementLocation
{
public abstract int Column { get; }
public abstract string File { get; }
}
}
}
-
-#endif
public bool SkipEvaluation { get; set; }
- public IDictionary<string, ProjectTargetInstance> Targets {
+ #if NET_4_5
+ public
+ #else
+ internal
+ #endif
+ IDictionary<string, ProjectTargetInstance> Targets {
get { return targets; }
}
}
static ProjectCollection ()
{
+ #if NET_4_5
global_project_collection = new ProjectCollection (new ReadOnlyDictionary<string, string> (new Dictionary<string, string> ()));
+ #else
+ global_project_collection = new ProjectCollection (new Dictionary<string, string> ());
+ #endif
}
public static string Escape (string unescapedString)
buildProperties == null ?
new Dictionary<string, ProjectPropertyInstance> () :
buildProperties.Select (p => new ProjectPropertyInstance (p.Key) { EvaluatedValue = p.Value }).ToDictionary (e => e.Name);
+#if NET_4_5
SubToolsets = subToolsets ?? new Dictionary<string, SubToolset> ();
+#endif
}
#if NET_4_5
get { throw new NotImplementedException (); }
}
- public IDictionary<string, ProjectTargetInstance> Targets {
+ #if NET_4_5
+ public
+ #else
+ internal
+ #endif
+ IDictionary<string, ProjectTargetInstance> Targets {
get { throw new NotImplementedException (); }
}