2 implementations of Column
Microsoft.Build (2)
ElementLocation\ElementLocation.cs (1)
59
public abstract int
Column
ElementLocation\RegistryLocation.cs (1)
65
public int
Column
31 references to Column
Microsoft.Build (15)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (1)
276
location?.
Column
?? 0);
BuildCheck\Checks\NoEnvironmentVariablePropertyCheck.cs (3)
115
Location.
Column
== other.Location.
Column
;
122
hashCode = hashCode * 31 + Location.
Column
.GetHashCode();
BuildEventFileInfo.cs (1)
42
: this(location.File, location.Line, location.
Column
)
Definition\ProjectProperty.cs (2)
127
EnvironmentVariableReadEventArgs args = new(Name, EvaluatedValueEscapedInternal, location.File, location.Line, location.
Column
);
134
_location = (location.File, location.Line, location.
Column
);
ElementLocation\ElementLocation.cs (1)
115
if (this.Line != that.Line || this.Column != that.
Column
)
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (4)
301
location?.
Column
?? 0,
339
location?.
Column
?? 0,
461
location.
Column
,
480
location.
Column
,
Instance\ProjectPropertyInstance.cs (2)
118
EnvironmentVariableReadEventArgs args = new(Name, _escapedValue, location.File, location.Line, location.
Column
);
125
_location = (location.File, location.Line, location.
Column
);
ProjectErrorUtilities.cs (1)
268
throw new InvalidProjectFileException(elementLocation.File, elementLocation.Line, elementLocation.
Column
, 0 /* Unknown end line */, 0 /* Unknown end column */, message, errorSubCategory, errorCode, helpKeyword);
Microsoft.Build.Engine.UnitTests (13)
Construction\ElementLocation_Tests.cs (13)
44
Assert.Equal(0, location.
Column
);
57
Assert.Equal(65536, location.
Column
);
70
Assert.Equal(65537, location.
Column
);
171
Assert.Equal(location.
Column
, deserializedLocation.
Column
);
189
Assert.Equal(location.
Column
, deserializedLocation.
Column
);
202
Assert.Equal(65534, location.
Column
);
247
Assert.Equal(0, location.
Column
);
260
Assert.Equal(65535, location.
Column
);
273
Assert.Equal(65534, location.
Column
);
291
Assert.Equal(location.
Column
, deserializedLocation.
Column
);
Microsoft.Build.Framework (3)
BuildCheck\BuildCheckEventArgs.cs (3)
163
: base(code: result.Code, file: result.Location.File, lineNumber: result.Location.Line, columnNumber: result.Location.
Column
, message: result.FormatMessage()) =>
186
: base(code: result.Code, file: result.Location.File, lineNumber: result.Location.Line, columnNumber: result.Location.
Column
, message: result.FormatMessage())
209
: base(code: result.Code, file: result.Location.File, lineNumber: result.Location.Line, columnNumber: result.Location.
Column
, message: result.FormatMessage())