public static Type GetAliasedType()

in telemetry/csharp/AwsToolkit.Telemetry.Events.Generator.Core/Utils/MetricTypeExtensionMethods.cs [29:37]


        public static Type GetAliasedType(this MetricType type)
        {
            if (!type.IsAliasedType())
            {
                throw new Exception($"type not aliased: {type.type}");
            }

            return AliasedTypes[type.type];
        }