2 instantiations of MetricType
Microsoft.Gen.MetricsReports (2)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (2)
134
metricType ??= new
MetricType
156
currentMetricClass.Parent = new
MetricType
8 references to MetricType
Microsoft.Gen.MetricsReports (8)
MetricsReportsGenerator.cs (1)
99
private static ReportedMetricClass[] MapToCommonModel(IReadOnlyList<
MetricType
> meteringClasses, string? rootNamespace)
src\Generators\Microsoft.Gen.Metrics\Model\MetricType.cs (1)
16
public
MetricType
? Parent;
src\Generators\Microsoft.Gen.Metrics\Parser.cs (6)
57
public IReadOnlyList<
MetricType
> GetMetricClasses(IEnumerable<TypeDeclarationSyntax> types)
62
return Array.Empty<
MetricType
>();
65
var results = new List<
MetricType
>();
76
MetricType
? metricType = null;
145
MetricType
currentMetricClass = metricType;
190
private static void UpdateMetricKeywordIfRequired(TypeDeclarationSyntax? typeDeclaration,
MetricType
metricType)