Implemented interface member:
property
Line
Microsoft.Build.Shared.IElementLocation.Line
3 overrides of Line
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (2)
283public override int Line 359public 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)
74task.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)
230return 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)
1759importElement.Location.Line, 1764importElement.Location.Line, 1871importElement.Location.Line, 2047importElement.Location.Line, 2052importElement.Location.Line, 2108importElement.Location.Line, 2113importElement.Location.Line, 2249importElement.Location.Line, 2254importElement.Location.Line, 2280importElement.Location.Line, 2285importElement.Location.Line, 2335importElement.Location.Line, 2340importElement.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)
1524new BuildEventFileInfo(elementLocation.File, elementLocation.Line, elementLocation.Column),
Microsoft.Build.BuildCheck.UnitTests (1)
TaskInvocationAnalysisDataTests.cs (1)
98data.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)
2031if (x.Line != y.Line || x.Column != y.Column) 2046return obj.Line.GetHashCode() ^ obj.Column.GetHashCode() ^ obj.File.GetHashCode();