86 references to Timestamp
Microsoft.Build (35)
BackEnd\Components\Logging\LoggingService.cs (4)
1579extWarningEvent.Timestamp) 1601warningEvent.Timestamp) 1624extWarningEvent.Timestamp) 1645warningEvent.Timestamp)
Logging\BinaryLogger\BuildEventArgsWriter.cs (4)
237e.Timestamp) 250e.Timestamp); 699Write(e.Timestamp); 866if (e.Timestamp != default(DateTime))
Logging\ParallelLogger\ParallelConsoleLogger.cs (22)
221buildStarted = e.Timestamp; 231WriteLinePrettyFromResource("BuildStartedWithTime", e.Timestamp); 331string timeElapsed = LogFormatter.FormatTimeSpan(e.Timestamp - buildStarted); 524counter.AddEventStarted(e.TargetNames, e.BuildEventContext, e.Timestamp, s_compareContextNodeId); 664counter.AddEventFinished(startedEvent.TargetNames, e.BuildEventContext, e.Timestamp); 676WriteLinePrefix(e.BuildEventContext, e.Timestamp, false); 749WriteLinePrefix(e.BuildEventContext, e.Timestamp, false); 815WriteLinePrefix(e.BuildEventContext, e.Timestamp, false); 854counter.AddEventStarted(null, e.BuildEventContext, e.Timestamp, s_compareContextNodeIdTargetId); 871counter.AddEventFinished(null, e.BuildEventContext, e.Timestamp); 909WriteLinePrefix(e.BuildEventContext, e.Timestamp, false); 947bool prefixAlreadyWritten = WriteTargetMessagePrefix(e, e.BuildEventContext, e.Timestamp); 967counter.AddEventStarted(null, e.BuildEventContext, e.Timestamp, null); 983counter.AddEventFinished(null, e.BuildEventContext, e.Timestamp); 991bool prefixAlreadyWritten = WriteTargetMessagePrefix(e, e.BuildEventContext, e.Timestamp); 1052WriteLinePrefix(e.BuildEventContext, e.Timestamp, false); 1098WriteLinePrefix(e.BuildEventContext, e.Timestamp, false); 1184counter.AddEventStarted(null, e.BuildEventContext, e.Timestamp, s_compareContextNodeId); 1192counter.AddEventFinished(null, e.BuildEventContext, e.Timestamp); 1284bool prefixAlreadyWritten = WriteTargetMessagePrefix(e, e.BuildEventContext, e.Timestamp); 1292bool prefixAlreadyWritten = WriteTargetMessagePrefix(e, e.BuildEventContext, e.Timestamp); 1586WriteLinePrefix(e.BuildEventContext, e.Timestamp, false);
Logging\ParallelLogger\ParallelLoggerHelpers.cs (2)
406_timeStamp = startedEvent.Timestamp; 525_timeStamp = startedEvent.Timestamp;
Logging\SerialConsoleLogger.cs (3)
100buildStarted = e.Timestamp; 104WriteLinePrettyFromResource("BuildStartedWithTime", e.Timestamp); 175string timeElapsed = LogFormatter.FormatTimeSpan(e.Timestamp - buildStarted);
Microsoft.Build.Engine.UnitTests (29)
BackEnd\LoggingService_Tests.cs (8)
750Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp); 835Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp); 888Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp); 942Assert.Equal(BuildWarningEventForTreatAsErrorOrMessageTests.Timestamp, actualBuildEvent.Timestamp);
BackEnd\LoggingServicesLogMethod_Tests.cs (14)
1020service.ProcessedBuildEvent.Timestamp); 1036BuildFinishedEventArgs buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedSuccess"), null /* no help keyword */, true, service.ProcessedBuildEvent.Timestamp); 1041buildEvent = new BuildFinishedEventArgs(ResourceUtilities.GetResourceString("BuildFinishedFailure"), null /* no help keyword */, false, service.ProcessedBuildEvent.Timestamp); 1047buildEvent = new BuildFinishedEventArgs(string.Empty, null /* no help keyword */, true, service.ProcessedBuildEvent.Timestamp); 1062service.ProcessedBuildEvent.Timestamp); 1580service.ProcessedBuildEvent.Timestamp, 1604service.ProcessedBuildEvent.Timestamp); 1627service.ProcessedBuildEvent.Timestamp); 1648service.ProcessedBuildEvent.Timestamp, 1669service.ProcessedBuildEvent.Timestamp); 1694service.ProcessedBuildEvent.Timestamp); 1712service.ProcessedBuildEvent.Timestamp); 1740service.ProcessedBuildEvent.Timestamp); 1767service.ProcessedBuildEvent.Timestamp);
BuildEventArgsSerialization_Tests.cs (6)
67e => e.Timestamp.ToString()); 109e => e.Timestamp.ToString()); 178e => e.Timestamp.ToString(), 216e => e.Timestamp.ToString()); 604desArgs.Timestamp.ShouldBe(args.Timestamp);
ConsoleLogger_Tests.cs (1)
617string context = ResourceUtilities.FormatResourceStringStripCodeAndKeyword("BuildEventContext", LogFormatter.FormatLogTimeStamp(be.Timestamp), 0) + ">";
Microsoft.Build.Framework (1)
BuildEventArgs.cs (1)
118/// <see cref="Timestamp"/> getter.
Microsoft.Build.Framework.UnitTests (3)
BuildCanceledEventArgs_Tests.cs (1)
38argDeserialized.Timestamp.ShouldBe(datetime);
CustomEventArgSerialization_Tests.cs (2)
120newGenericEvent.Timestamp.ShouldBe(genericEvent.Timestamp); // "Expected TimeStamp to Match"
Microsoft.Build.UnitTests.Shared (2)
BuildEventArgsExtension.cs (2)
43if (args.Timestamp.Ticks != other.Timestamp.Ticks)
MSBuild (8)
TerminalLogger\TerminalLogger.cs (8)
388_buildStartTime = e.Timestamp; 411string duration = (e.Timestamp - _buildStartTime).TotalSeconds.ToString("F1"); 727? e.Timestamp 728: e.Timestamp < _testStartTime 729? e.Timestamp : _testStartTime; 880? e.Timestamp 881: e.Timestamp > _testEndTime 882? e.Timestamp : _testEndTime;
XmlFileLogger (8)
ObjectModel\Build.cs (6)
34StartTime = buildStartedEventArgs.Timestamp; 45EndTime = buildFinishedEventArgs.Timestamp; 164node.AddMessage(new Message(message, buildMessageEventArgs.Timestamp)); 237target.EndTime = targetFinishedEventArgs.Timestamp; 247project.EndTime = projectFinishedEventArgs.Timestamp; 260task.EndTime = taskFinishedEventArgs.Timestamp;
ObjectModel\Project.cs (1)
122StartTime = projectStartedEventArgs.Timestamp;
ObjectModel\Task.cs (1)
31StartTime = taskStartedEvent.Timestamp;