14 references to GetLocation
Microsoft.Gen.MetricsReports (14)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (14)
382Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message);
431Diag(DiagDescriptors.ErrorInvalidAttributeGenericType, methodSymbol.GetLocation(), genericType.ToString());
488Diag(DiagDescriptors.ErrorInvalidMethodName, methodSymbol.GetLocation());
495Diag(DiagDescriptors.ErrorMethodIsGeneric, methodSymbol.GetLocation());
504Diag(DiagDescriptors.ErrorNotStaticMethod, methodSymbol.GetLocation());
510Diag(DiagDescriptors.ErrorMethodHasBody, methodSymbol.GetLocation());
515Diag(DiagDescriptors.ErrorNotPartialMethod, methodSymbol.GetLocation());
523Diag(DiagDescriptors.ErrorInvalidMetricName, methodSymbol.GetLocation(), metricNameFromMethod);
528Diag(DiagDescriptors.ErrorMetricNameReuse, methodSymbol.GetLocation(), metricNameFromMethod);
534Diag(DiagDescriptors.ErrorInvalidTagNames, methodSymbol.GetLocation());
580Diag(DiagDescriptors.ErrorMissingMeter, methodSymbol.GetLocation());
595Diag(DiagDescriptors.ErrorInvalidMethodReturnType, returnType.GetLocation(), returnType.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat));
601Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeArity, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name);
607Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeLocation, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name);