1 write to MetricTypeName
Microsoft.Gen.Metrics (1)
Parser.cs (1)
452
MetricTypeName
= methodSymbol.ReturnType.ToDisplayString(), // Roslyn doesn't know this type yet, no need to use a format here
9 references to MetricTypeName
Microsoft.Gen.Metrics (9)
Emitter.cs (4)
190
OutLn($"{accessModifier} sealed class {metricMethod.
MetricTypeName
}");
194
OutLn($" public {metricMethod.
MetricTypeName
}({typeDefinition} {objectName})");
264
Out($"{accessModifier} static partial {nsprefix}{metricMethod.
MetricTypeName
} {metricMethod.Name}({thisModifier}");
278
Out($" => {nsprefix}GeneratedInstrumentsFactory.Create{metricMethod.
MetricTypeName
}(");
MetricFactoryEmitter.cs (5)
58
=> $"_{GetStringWithFirstCharLowercase(metricMethod.
MetricTypeName
)}Instruments";
109
OutLn($"private static global::System.Collections.Concurrent.ConcurrentDictionary<{meterParam.Type}, {nsprefix}{metricMethod.
MetricTypeName
}>");
145
OutLn($"{accessModifier} static {nsprefix}{metricMethod.
MetricTypeName
} Create{metricMethod.
MetricTypeName
}({meterParam.Type} {meterParam.Name})");
150
OutLn($" return new {nsprefix}{metricMethod.
MetricTypeName
}(instrument);");