12 references to Read
Microsoft.Build (1)
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (1)
262
while (!cancellationToken.IsCancellationRequested && reader.
Read
() is { } instance)
Microsoft.Build.Engine.UnitTests (11)
BinaryLogger_Tests.cs (3)
290
while (reader1.
Read
() is { } ev1)
293
var ev2 = reader2.
Read
();
300
reader2.
Read
().ShouldBeNull($"Binlogs ({firstPath} and {secondPath}) are not equal - second has more events >{i + 1}");
BuildEventArgsSerialization_Tests.cs (8)
596
var deserialized = buildEventArgsReader.
Read
();
961
Assert.Throws<EndOfStreamException>(() => buildEventArgsReader.
Read
());
1011
var deserializedError = (BuildErrorEventArgs)buildEventArgsReader.
Read
();
1019
var deserializedFinished = (BuildFinishedEventArgs)buildEventArgsReader.
Read
();
1071
var deserializedEvent = buildEventArgsReader.
Read
();
1122
var deserializedEvent = buildEventArgsReader.
Read
();
1178
var deserializedEvent = buildEventArgsReader.
Read
();
1233
var deserializedArgs = (T)buildEventArgsReader.
Read
();