15 references to GetLocation
Microsoft.Gen.MetricsReports (15)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (15)
367Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message); 415Diag(DiagDescriptors.ErrorGaugeNotSupported, methodSymbol.GetLocation()); 422Diag(DiagDescriptors.ErrorInvalidAttributeGenericType, methodSymbol.GetLocation(), genericType.ToString()); 477Diag(DiagDescriptors.ErrorInvalidMethodName, methodSymbol.GetLocation()); 484Diag(DiagDescriptors.ErrorMethodIsGeneric, methodSymbol.GetLocation()); 493Diag(DiagDescriptors.ErrorNotStaticMethod, methodSymbol.GetLocation()); 499Diag(DiagDescriptors.ErrorMethodHasBody, methodSymbol.GetLocation()); 504Diag(DiagDescriptors.ErrorNotPartialMethod, methodSymbol.GetLocation()); 512Diag(DiagDescriptors.ErrorInvalidMetricName, methodSymbol.GetLocation(), metricNameFromMethod); 517Diag(DiagDescriptors.ErrorMetricNameReuse, methodSymbol.GetLocation(), metricNameFromMethod); 523Diag(DiagDescriptors.ErrorInvalidTagNames, methodSymbol.GetLocation()); 569Diag(DiagDescriptors.ErrorMissingMeter, methodSymbol.GetLocation()); 584Diag(DiagDescriptors.ErrorInvalidMethodReturnType, returnType.GetLocation(), returnType.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat)); 590Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeArity, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name); 596Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeLocation, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name);