blob: 356f9a62f2c569e3ad7ce3cd02c19a09a0f8a999 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
using System;
using Microsoft.Build.Construction;
namespace Microsoft.Build.Execution
{
public class ProjectTaskOutputItemInstance : ProjectTaskInstanceChild
{
internal ProjectTaskOutputItemInstance (ProjectOutputElement xml)
{
condition = xml.Condition;
ItemType = xml.ItemType;
TaskParameter = xml.TaskParameter;
#if NET_4_5
condition_location = xml.ConditionLocation;
location = xml.Location;
task_parameter_location = xml.TaskParameterLocation;
#endif
}
public string ItemType { get; private set; }
public string TaskParameter { get; private set; }
readonly string condition;
public override string Condition {
get { return condition; }
}
#if NET_4_5
readonly ElementLocation condition_location, location, task_parameter_location;
public ElementLocation ItemTypeLocation { get; private set; }
public override ElementLocation ConditionLocation {
get { return condition_location; }
}
public override ElementLocation Location {
get { return location; }
}
public override ElementLocation TaskParameterLocation {
get { return task_parameter_location; }
}
#endif
}
}
|