1 write to Id
Microsoft.Build.Framework (1)
Profiler\EvaluationLocation.cs (1)
145
Id
= id;
27 references to Id
Microsoft.Build (9)
Evaluation\Profiler\EvaluationLocationPrettyPrinterBase.cs (1)
88
evaluationLocation.
Id
,
Logging\BinaryLogger\BuildEventArgsWriter.cs (1)
1303
Write(item.
Id
);
Logging\EvaluationLocationIdAgnosticComparer.cs (1)
14
/// both <see cref="EvaluationLocation.
Id
"/> and <see cref="EvaluationLocation.ParentId"/>
Logging\ProfilerLogger.cs (5)
148
foreach (var pair in profiledResult.ProfiledLocations.OrderBy(p => p.Key.
Id
))
189
mergeMap[pairToMerge.Key.
Id
] = originalKey.
Id
;
221
var idTable = aggregatedLocations.ToDictionary(pair => pair.Key.
Id
,
259
return pair.Key.
Id
;
LogMessagePacketBase.cs (1)
1053
long id = evaluationLocation.
Id
;
Microsoft.Build.Engine.UnitTests (7)
EvaluationProfiler_Tests.cs (7)
225
.All(e => e.ParentId == totalEvaluation.
Id
));
231
Assert.Equal(itemPass.
Id
, itemGroup.ParentId);
232
Assert.Equal(itemGroup.
Id
, testItem.ParentId);
237
Assert.Equal(lazyItemPass.
Id
, lazyTestItem.ParentId);
243
Assert.Equal(targetPass.
Id
, target.ParentId);
244
Assert.Equal(target.
Id
, messageTarget.ParentId);
254
var allIds = profiledElements.Select(e => e.
Id
).ToList();
Microsoft.Build.Framework (11)
Profiler\EvaluationLocation.cs (11)
146
ParentId = parentId == EmptyLocation.
Id
? null : parentId; // The empty location doesn't count as a parent id, since it's just a dummy starting point
188
return new EvaluationLocation(this.
Id
, evaluationPass, passDescription ?? PassDefaultDescription[evaluationPass],
201
return new EvaluationLocation(this.
Id
, parentId, this.EvaluationPass, this.EvaluationPassDescription,
208
return new EvaluationLocation(this.
Id
, this.EvaluationPass, this.EvaluationPassDescription, file, null, null, null, this.Kind);
214
return CreateLocationForProject(this.
Id
, this.EvaluationPass, this.EvaluationPassDescription, file, line, element);
220
return CreateLocationForCondition(this.
Id
, this.EvaluationPass, this.EvaluationPassDescription, file, line, condition);
226
return CreateLocationForGlob(this.
Id
, this.EvaluationPass, this.EvaluationPassDescription, this.File, this.Line, globDescription);
235
Id
== other.
Id
&&
252
$"{
Id
}\t{ParentId?.ToString() ?? string.Empty}\t{EvaluationPassDescription ?? string.Empty}\t{File ?? string.Empty}\t{Line?.ToString() ?? string.Empty}\t{ElementName ?? string.Empty}\tDescription:{ElementDescription}\t{this.EvaluationPassDescription}";
259
hashCode = (hashCode * -1521134295) +
Id
.GetHashCode();