1 write to Scopes
Microsoft.Extensions.Diagnostics.Testing (1)
Logging\FakeLogRecord.cs (1)
37
Scopes
= Throw.IfNull(scopes);
8 references to Scopes
Microsoft.Extensions.Diagnostics.Testing.Tests (6)
Logging\FakeLoggerTests.cs (6)
41
Assert.Empty(records[0].
Scopes
);
49
Assert.Empty(records[0].
Scopes
);
58
Assert.Empty(logger.LatestRecord.
Scopes
);
282
Assert.Equal(2, logger.LatestRecord.
Scopes
.Count);
283
Assert.Equal(42, (int)logger.LatestRecord.
Scopes
[0]!);
284
Assert.Equal("Hello World", (string)logger.LatestRecord.
Scopes
[1]!);
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\AcceptanceTests.cs (2)
597
logRecord.
Scopes
.Should().BeEmpty();
646
logRecord.
Scopes
.Should().HaveCount(0);