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