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