Implemented interface member:
property
Line
Microsoft.Build.Shared.IMSBuildElementLocation.Line
3 overrides of Line
Microsoft.Build (3)
ElementLocation\ElementLocation.cs (3)
304public override int Line => 0; 349public override int Line => _line; 399public override int Line => _line;
31 references to Line
Microsoft.Build (31)
BackEnd\Components\Logging\TaskLoggingContext.cs (1)
54task.Location.Line,
BackEnd\Components\RequestBuilder\TaskHost.cs (1)
177return _taskLocation.Line;
ElementLocation\ElementLocation.cs (6)
72public string LocationString => GetLocationString(File, Line, Column); 82=> Line ^ Column; 110=> Line == other.Line 135int line = Line; 319ElementLocation { Line: 0, Column: 0 } other => StringComparer.OrdinalIgnoreCase.Equals(File, other.File),
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)
210return 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)
1864importElement.Location.Line, 1869importElement.Location.Line, 1981importElement.Location.Line, 2182importElement.Location.Line, 2187importElement.Location.Line, 2243importElement.Location.Line, 2248importElement.Location.Line, 2384importElement.Location.Line, 2389importElement.Location.Line, 2415importElement.Location.Line, 2420importElement.Location.Line, 2470importElement.Location.Line, 2475importElement.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)
400taskLocation.Line,
Instance\TaskFactoryEngineContext.cs (1)
122return _elementLocation.Line;