18 references to GetLocation
Microsoft.Gen.Logging (18)
Parsing\Parser.cs (10)
136
Diag(DiagDescriptors.CantUseDataClassificationWithLogPropertiesOrTagProvider, paramSymbol.
GetLocation
());
142
Diag(DiagDescriptors.CantMixAttributes, paramSymbol.
GetLocation
());
154
Diag(DiagDescriptors.DefaultToString, paramSymbol.
GetLocation
(), paramSymbol.Type, paramSymbol.Name);
182
Diag(DiagDescriptors.ParameterHasNoCorrespondingTemplate, paramSymbol.
GetLocation
(), lp.ParameterName);
194
Diag(DiagDescriptors.RecordTypeSensitiveArgumentIsInTemplate, paramSymbol.
GetLocation
(), lp.ParameterName, lm.Name);
229
Diag(DiagDescriptors.MultipleLoggerMembers, secondLoggerMember.
GetLocation
(), typeDec.Identifier.Text);
501
Diag(DiagDescriptors.TagNameCollision, parameterSymbols[parameter].
GetLocation
(), parameter.ParameterName, fullName, lm.Name);
507
Diag(DiagDescriptors.TagNameCollision, parameterSymbols[parameter].
GetLocation
(), parameter.ParameterName, parameter.TagName, lm.Name);
551
Diag(DiagDescriptors.LoggingMethodParameterRefKind, paramSymbol.
GetLocation
(), paramSymbol.ContainingSymbol.Name, paramName);
723
Diag(DiagDescriptors.PrimaryConstructorParameterLoggerHidden, parameter.
GetLocation
(), classDec.Identifier.Text);
Parsing\Parser.LogProperties.cs (7)
33
Diag(DiagDescriptors.LogPropertiesInvalidUsage, paramSymbol.
GetLocation
(), paramName);
67
Diag(DiagDescriptors.LogPropertiesParameterSkipped, paramSymbol.
GetLocation
(), paramTypeSymbol.Name, paramName);
152
Diag(DiagDescriptors.CantMixAttributes, property.
GetLocation
());
244
Diag(DiagDescriptors.LogPropertiesHiddenPropertyDetected, paramSymbol.
GetLocation
(), paramName, lm.Name, property.Name);
264
Diag(DiagDescriptors.LogPropertiesCycleDetected, paramSymbol.
GetLocation
(), paramName, namedType.ToDisplayString(), property.Type.ToDisplayString(), lm.Name);
321
Diag(DiagDescriptors.DefaultToString, property.
GetLocation
(), property.Type, property.Name);
351
Diag(DiagDescriptors.InvalidTypeToLogProperties, sym.
GetLocation
(), symType.ToDisplayString());
Parsing\Parser.TagProvider.cs (1)
22
Diag(DiagDescriptors.TagProviderInvalidUsage, paramSymbol.
GetLocation
(), paramName);