Implemented interface member:
property
Line
Microsoft.Build.Shared.IMSBuildElementLocation.Line
3 overrides of Line
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (2)
280public override int Line 356public override int Line
Microsoft.Build.Engine.UnitTests (1)
MockElementLocation.cs (1)
50public override int Line
38 references to Line
Microsoft.Build (30)
BackEnd\Components\Logging\TaskLoggingContext.cs (1)
54task.Location.Line,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
171return _taskLocation.Line;
ElementLocation\ElementLocation.cs (4)
74get { return GetLocationString(File, Line, Column); } 94return Line.GetHashCode() ^ Column.GetHashCode(); 115if (this.Line != that.Line || this.Column != that.Column) 146int line = Line;
ElementLocation\XmlAttributeWithLocation.cs (3)
49{ return Location.Line; } 79_elementLocation = ElementLocation.Create(ownerDocumentWithLocation.FullPath, _elementLocation.Line, _elementLocation.Column); 92return Location.Line != 0;
ElementLocation\XmlDocumentWithLocation.cs (1)
208return 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); 112return Location.Line != 0;
Evaluation\Evaluator.cs (13)
1694importElement.Location.Line, 1699importElement.Location.Line, 1806importElement.Location.Line, 1982importElement.Location.Line, 1987importElement.Location.Line, 2043importElement.Location.Line, 2048importElement.Location.Line, 2184importElement.Location.Line, 2189importElement.Location.Line, 2215importElement.Location.Line, 2220importElement.Location.Line, 2270importElement.Location.Line, 2275importElement.Location.Line,
Evaluation\Profiler\EvaluationProfiler.cs (1)
72return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFileLineAndElement(element.Location.File, element.Location.Line, element)) : null;
Instance\TaskFactories\AssemblyTaskFactory.cs (1)
386taskLocation.Line,
Instance\TaskFactoryLoggingHost.cs (1)
109return _elementLocation.Line;
Instance\TaskRegistry.cs (1)
1520new BuildEventFileInfo(elementLocation.File, elementLocation.Line, elementLocation.Column),
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
106data.TaskInvocationLocation.Line.ShouldBeGreaterThan(0);
Microsoft.Build.Engine.OM.UnitTests (4)
Construction\ProjectItemElement_Tests.cs (2)
103Assert.Equal(4, metadatum1.Location.Line); 104Assert.Equal(4, metadatum2.Location.Line);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
265Assert.Equal(expected.Line, actual.Line);
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
2043if (x.Line != y.Line || x.Column != y.Column) 2058return obj.Line.GetHashCode() ^ obj.Column.GetHashCode() ^ obj.File.GetHashCode();