14 references to GetLocation
Microsoft.Gen.MetricsReports (14)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (14)
371Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message); 420Diag(DiagDescriptors.ErrorInvalidAttributeGenericType, methodSymbol.GetLocation(), genericType.ToString()); 475Diag(DiagDescriptors.ErrorInvalidMethodName, methodSymbol.GetLocation()); 482Diag(DiagDescriptors.ErrorMethodIsGeneric, methodSymbol.GetLocation()); 491Diag(DiagDescriptors.ErrorNotStaticMethod, methodSymbol.GetLocation()); 497Diag(DiagDescriptors.ErrorMethodHasBody, methodSymbol.GetLocation()); 502Diag(DiagDescriptors.ErrorNotPartialMethod, methodSymbol.GetLocation()); 510Diag(DiagDescriptors.ErrorInvalidMetricName, methodSymbol.GetLocation(), metricNameFromMethod); 515Diag(DiagDescriptors.ErrorMetricNameReuse, methodSymbol.GetLocation(), metricNameFromMethod); 521Diag(DiagDescriptors.ErrorInvalidTagNames, methodSymbol.GetLocation()); 567Diag(DiagDescriptors.ErrorMissingMeter, methodSymbol.GetLocation()); 582Diag(DiagDescriptors.ErrorInvalidMethodReturnType, returnType.GetLocation(), returnType.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat)); 588Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeArity, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name); 594Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeLocation, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name);