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)
172
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)
1708
importElement.Location.
Line
,
1713
importElement.Location.
Line
,
1820
importElement.Location.
Line
,
1999
importElement.Location.
Line
,
2004
importElement.Location.
Line
,
2060
importElement.Location.
Line
,
2065
importElement.Location.
Line
,
2201
importElement.Location.
Line
,
2206
importElement.Location.
Line
,
2232
importElement.Location.
Line
,
2237
importElement.Location.
Line
,
2287
importElement.Location.
Line
,
2292
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)
1604
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)
2041
if (x.
Line
!= y.
Line
|| x.Column != y.Column)
2056
return obj.
Line
.GetHashCode() ^ obj.Column.GetHashCode() ^ obj.File.GetHashCode();