1 write to EventName
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
245
EventName
= eventName,
5 references to EventName
Microsoft.Extensions.Logging.Generators (5)
LoggerMessageGenerator.Emitter.cs (2)
375
string eventName = string.IsNullOrWhiteSpace(lm.
EventName
) ? $"nameof({lm.Name})" : $"\"{lm.
EventName
}\"";
LoggerMessageGenerator.Parser.cs (3)
317
if (lm.
EventName
!= null && !eventNames.Add(lm.
EventName
))
319
Diag(DiagnosticDescriptors.ShouldntReuseEventNames, ma.GetLocation(), lm.
EventName
, classDec.Identifier.Text);