2 implementations of Line
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (1)
57
public abstract int
Line
{ get; }
ElementLocation\RegistryLocation.cs (1)
57
public int
Line
20 references to Line
Microsoft.Build (17)
BackEnd\Components\Logging\LoggingContext.cs (1)
148
location.
Line
,
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (1)
283
location?.
Line
?? 0,
BackEnd\Shared\EventsCreatorHelper.cs (2)
50
location.
Line
,
78
location.
Line
,
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (3)
114
Location.
Line
== other.Location.
Line
&&
121
hashCode = hashCode * 31 + Location.
Line
.GetHashCode();
Definition\ProjectProperty.cs (2)
127
EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, location.File, location.
Line
, location.Column);
134
_location = (location.File, location.
Line
, location.Column);
Errors\ProjectErrorUtilities.cs (1)
1069
location.
Line
,
Evaluation\Profiler\EvaluationProfiler.cs (1)
79
return _shouldTrackElements ? new EvaluationFrame(this, CurrentLocation.WithFileLineAndCondition(location.File, location.
Line
, condition)) : null;
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (4)
312
location?.
Line
?? 0,
350
location?.
Line
?? 0,
472
location.
Line
,
492
location.
Line
,
Instance\ProjectPropertyInstance.cs (2)
119
EnvironmentVariableReadEventArgs args = new(Name, _escapedValue, location.File, location.
Line
, location.Column);
126
_location = (location.File, location.
Line
, location.Column);
Microsoft.Build.Framework (3)
BuildCheck\BuildCheckEventArgs.cs (3)
162
: base(code: result.Code, file: result.Location.File, lineNumber: result.Location.
Line
, columnNumber: result.Location.Column, message: result.FormatMessage()) =>
185
: base(code: result.Code, file: result.Location.File, lineNumber: result.Location.
Line
, columnNumber: result.Location.Column, message: result.FormatMessage())
208
: base(code: result.Code, file: result.Location.File, lineNumber: result.Location.
Line
, columnNumber: result.Location.Column, message: result.FormatMessage())