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