Implemented interface member:
property
Line
Microsoft.Build.Shared.IElementLocation.Line
3 overrides of Line
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (2)
283
public override int
Line
359
public override int
Line
Microsoft.Build.Engine.UnitTests (1)
MockElementLocation.cs (1)
50
public override int
Line
38 references to Line
Microsoft.Build (30)
BackEnd\Components\Logging\TaskLoggingContext.cs (1)
74
task.Location.
Line
,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
171
return _taskLocation.
Line
;
ElementLocation\ElementLocation.cs (4)
74
get { return GetLocationString(File,
Line
, Column); }
94
return
Line
.GetHashCode() ^ Column.GetHashCode();
115
if (this.
Line
!= that.Line || this.Column != that.Column)
146
int line =
Line
;
ElementLocation\XmlAttributeWithLocation.cs (3)
49
{ return Location.
Line
; }
79
_elementLocation = ElementLocation.Create(ownerDocumentWithLocation.FullPath, _elementLocation.
Line
, _elementLocation.Column);
92
return Location.
Line
!= 0;
ElementLocation\XmlDocumentWithLocation.cs (1)
230
return new XmlElementWithLocation(prefix, localName, namespaceURI, this, _elementLocation.Value.
Line
, _elementLocation.Value.Column);
ElementLocation\XmlElementWithLocation.cs (3)
66
{ return Location.
Line
; }
99
_elementLocation = ElementLocation.Create(ownerDocumentWithLocation.FullPath, _elementLocation.
Line
, _elementLocation.Column);
112
return Location.
Line
!= 0;
Evaluation\Evaluator.cs (13)
1759
importElement.Location.
Line
,
1764
importElement.Location.
Line
,
1871
importElement.Location.
Line
,
2047
importElement.Location.
Line
,
2052
importElement.Location.
Line
,
2108
importElement.Location.
Line
,
2113
importElement.Location.
Line
,
2249
importElement.Location.
Line
,
2254
importElement.Location.
Line
,
2280
importElement.Location.
Line
,
2285
importElement.Location.
Line
,
2335
importElement.Location.
Line
,
2340
importElement.Location.
Line
,
Evaluation\Profiler\EvaluationProfiler.cs (1)
72
return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFileLineAndElement(element.Location.File, element.Location.
Line
, element)) : null;
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
386
taskLocation.
Line
,
Instance\TaskFactoryLoggingHost.cs (1)
109
return _elementLocation.
Line
;
Instance\TaskRegistry.cs (1)
1524
new BuildEventFileInfo(elementLocation.File, elementLocation.
Line
, elementLocation.Column),
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
98
data.TaskInvocationLocation.
Line
.ShouldBeGreaterThan(0);
Microsoft.Build.Engine.OM.UnitTests (4)
Construction\ProjectItemElement_Tests.cs (2)
103
Assert.Equal(4, metadatum1.Location.
Line
);
104
Assert.Equal(4, metadatum2.Location.
Line
);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
265
Assert.Equal(expected.
Line
, actual.
Line
);
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
2031
if (x.
Line
!= y.
Line
|| x.Column != y.Column)
2046
return obj.
Line
.GetHashCode() ^ obj.Column.GetHashCode() ^ obj.File.GetHashCode();