15 references to GetLocation
Microsoft.Gen.MetricsReports (15)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (15)
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());
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);