Implemented interface member:
property
Line
Microsoft.Build.Shared.IMSBuildElementLocation.Line
3 overrides of Line
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (2)
280
public override int
Line
356
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)
54
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)
208
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)
1694
importElement.Location.
Line
,
1699
importElement.Location.
Line
,
1806
importElement.Location.
Line
,
1982
importElement.Location.
Line
,
1987
importElement.Location.
Line
,
2043
importElement.Location.
Line
,
2048
importElement.Location.
Line
,
2184
importElement.Location.
Line
,
2189
importElement.Location.
Line
,
2215
importElement.Location.
Line
,
2220
importElement.Location.
Line
,
2270
importElement.Location.
Line
,
2275
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)
1520
new BuildEventFileInfo(elementLocation.File, elementLocation.
Line
, elementLocation.Column),
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
106
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)
2043
if (x.
Line
!= y.
Line
|| x.Column != y.Column)
2058
return obj.
Line
.GetHashCode() ^ obj.Column.GetHashCode() ^ obj.File.GetHashCode();