2 instantiations of MetricType
Microsoft.Gen.MetricsReports (2)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (2)
134metricType ??= new MetricType 156currentMetricClass.Parent = new MetricType
8 references to MetricType
Microsoft.Gen.MetricsReports (8)
MetricsReportsGenerator.cs (1)
99private 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)
57public IReadOnlyList<MetricType> GetMetricClasses(IEnumerable<TypeDeclarationSyntax> types) 62return Array.Empty<MetricType>(); 65var results = new List<MetricType>(); 76MetricType? metricType = null; 145MetricType currentMetricClass = metricType; 190private static void UpdateMetricKeywordIfRequired(TypeDeclarationSyntax? typeDeclaration, MetricType metricType)