23 references to DiagDescriptors
Microsoft.Gen.MetricsReports (23)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (23)
361Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message); 409Diag(DiagDescriptors.ErrorGaugeNotSupported, methodSymbol.GetLocation()); 416Diag(DiagDescriptors.ErrorInvalidAttributeGenericType, methodSymbol.GetLocation(), genericType.ToString()); 470Diag(DiagDescriptors.ErrorInvalidMethodName, methodSymbol.GetLocation()); 477Diag(DiagDescriptors.ErrorMethodIsGeneric, methodSymbol.GetLocation()); 486Diag(DiagDescriptors.ErrorNotStaticMethod, methodSymbol.GetLocation()); 492Diag(DiagDescriptors.ErrorMethodHasBody, methodSymbol.GetLocation()); 497Diag(DiagDescriptors.ErrorNotPartialMethod, methodSymbol.GetLocation()); 505Diag(DiagDescriptors.ErrorInvalidMetricName, methodSymbol.GetLocation(), metricNameFromMethod); 510Diag(DiagDescriptors.ErrorMetricNameReuse, methodSymbol.GetLocation(), metricNameFromMethod); 516Diag(DiagDescriptors.ErrorInvalidTagNames, methodSymbol.GetLocation()); 550Diag(DiagDescriptors.ErrorInvalidParameterName, paramSymbol.Locations[0]); 562Diag(DiagDescriptors.ErrorMissingMeter, methodSymbol.GetLocation()); 577Diag(DiagDescriptors.ErrorInvalidMethodReturnType, methodSymbol.ReturnType.GetLocation(), methodSymbol.Name); 583Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeArity, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name); 589Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeLocation, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name); 650Diag(DiagDescriptors.ErrorTagTypeCycleDetected, 659Diag(DiagDescriptors.ErrorTooManyTagNames, strongTypeSymbol.Locations[0]); 734Diag(DiagDescriptors.ErrorDuplicateTagName, member.Locations[0], member.Name); 766Diag(DiagDescriptors.ErrorDuplicateTagName, member.Locations[0], member.Name); 809Diag(DiagDescriptors.ErrorInvalidTagNameType, member.Locations[0]); 818Diag(DiagDescriptors.ErrorInvalidTagNameType, member.Locations[0]); 839Diag(DiagDescriptors.ErrorInvalidTagNameType, member.Locations[0]);