8 writes to Name
Microsoft.Extensions.Telemetry.Abstractions.Tests (2)
Metrics\MetricAttributeTests.cs (2)
34attribute.Name = MyMetric; 101attribute.Name = MyMetric;
Microsoft.Gen.Metrics.Generated.Tests (6)
test\Generators\Microsoft.Gen.Metrics\TestClasses\HistogramTestExtensions.cs (6)
86[Histogram(MetricConstants.D1, MetricConstants.D2, MetricConstants.D3, Name = "MyHistogramMetric")] 89[Histogram(MetricConstants.D1, MetricConstants.D2, MetricConstants.D3, Name = "MyHistogramMetric")] 92[Histogram(typeof(HistogramDimensionsTest), Name = "MyHistogramStrongTypeMetric")] 95[Histogram(typeof(HistogramDimensionsTest), Name = "MyHistogramStrongTypeMetricExt")] 98[Histogram(typeof(HistogramStruct), Name = "MyHistogramStructTypeMetric")] 101[Histogram(typeof(HistogramStruct), Name = "MyHistogramStructTypeMetric")]
4 references to Name
Microsoft.Extensions.Telemetry.Abstractions.Tests (4)
Metrics\MetricAttributeTests.cs (4)
30Assert.Null(attribute.Name); 35Assert.Equal(MyMetric, attribute.Name); 97Assert.Null(attribute.Name); 102Assert.Equal(MyMetric, attribute.Name);