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