19 references to Clear
Microsoft.Extensions.Diagnostics.Testing.Tests (7)
Metrics\MetricCollectorTests.cs (7)
79collector.Clear(); 124collector.Clear(); 171collector.Clear(); 263collector.Clear(); 320collector.Clear(); 362Assert.Throws<ObjectDisposedException>(() => collector.Clear()); 379Assert.Throws<ObjectDisposedException>(() => collector.Clear());
Microsoft.Gen.Metrics.Generated.Tests (12)
MetricTests.cs (8)
254collector.Clear(); 260collector.Clear(); 279collector.Clear(); 285collector.Clear(); 424collector.Clear(); 447collector.Clear(); 567collector.Clear(); 590collector.Clear();
MetricTests.Ext.cs (4)
187collector.Clear(); 209collector.Clear(); 280collector.Clear(); 302collector.Clear();