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