2 instantiations of MetricType
Microsoft.Gen.MetricsReports (2)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (2)
135metricType ??= new MetricType 157currentMetricClass.Parent = new MetricType
8 references to MetricType
Microsoft.Gen.MetricsReports (8)
MetricsReportsHelpers.cs (1)
12internal static ReportedMetricClass[] MapToCommonModel(IReadOnlyList<MetricType> meteringClasses, string? rootNamespace)
src\Generators\Microsoft.Gen.Metrics\Model\MetricType.cs (1)
16public MetricType? Parent;
src\Generators\Microsoft.Gen.Metrics\Parser.cs (6)
58public IReadOnlyList<MetricType> GetMetricClasses(IEnumerable<TypeDeclarationSyntax> types) 63return Array.Empty<MetricType>(); 66var results = new List<MetricType>(); 77MetricType? metricType = null; 146MetricType currentMetricClass = metricType; 191private static void UpdateMetricKeywordIfRequired(TypeDeclarationSyntax? typeDeclaration, MetricType metricType)