10 references to Diag
Microsoft.Gen.MetadataExtractor (10)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (10)
361
Diag
(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message);
416
Diag
(DiagDescriptors.ErrorInvalidAttributeGenericType, methodSymbol.GetLocation(), genericType.ToString());
505
Diag
(DiagDescriptors.ErrorInvalidMetricName, methodSymbol.GetLocation(), metricNameFromMethod);
510
Diag
(DiagDescriptors.ErrorMetricNameReuse, methodSymbol.GetLocation(), metricNameFromMethod);
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,
734
Diag
(DiagDescriptors.ErrorDuplicateTagName, member.Locations[0], member.Name);
766
Diag
(DiagDescriptors.ErrorDuplicateTagName, member.Locations[0], member.Name);