14 references to GetLocation
Microsoft.Gen.MetadataExtractor (14)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (14)
397Diag(DiagDescriptors.ErrorXmlNotLoadedCorrectly, symbol.GetLocation(), ex.Message); 446Diag(DiagDescriptors.ErrorInvalidAttributeGenericType, methodSymbol.GetLocation(), genericType.ToString()); 503Diag(DiagDescriptors.ErrorInvalidMethodName, methodSymbol.GetLocation()); 510Diag(DiagDescriptors.ErrorMethodIsGeneric, methodSymbol.GetLocation()); 519Diag(DiagDescriptors.ErrorNotStaticMethod, methodSymbol.GetLocation()); 525Diag(DiagDescriptors.ErrorMethodHasBody, methodSymbol.GetLocation()); 530Diag(DiagDescriptors.ErrorNotPartialMethod, methodSymbol.GetLocation()); 538Diag(DiagDescriptors.ErrorInvalidMetricName, methodSymbol.GetLocation(), metricNameFromMethod); 543Diag(DiagDescriptors.ErrorMetricNameReuse, methodSymbol.GetLocation(), metricNameFromMethod); 549Diag(DiagDescriptors.ErrorInvalidTagNames, methodSymbol.GetLocation()); 595Diag(DiagDescriptors.ErrorMissingMeter, methodSymbol.GetLocation()); 610Diag(DiagDescriptors.ErrorInvalidMethodReturnType, returnType.GetLocation(), returnType.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat)); 616Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeArity, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name); 622Diag(DiagDescriptors.ErrorInvalidMethodReturnTypeLocation, methodSymbol.GetLocation(), methodSymbol.Name, returnType.Name);