1 write to Name
Microsoft.Extensions.Logging.Generators (1)
LoggerMessageGenerator.Parser.cs (1)
241Name = logMethodSymbol.Name,
9 references to Name
Microsoft.Extensions.Logging.Generators (9)
LoggerMessageGenerator.Emitter.cs (2)
375string eventName = string.IsNullOrWhiteSpace(lm.EventName) ? $"nameof({lm.Name})" : $"\"{lm.EventName}\""; 398{nestedIndentation}{lm.Modifiers} void {lm.Name}({extension}");
LoggerMessageGenerator.Parser.cs (7)
260if (lm.Name[0] == '_') 442Diag(DiagnosticDescriptors.MissingLoggerArgument, method.GetLocation(), lm.Name); 578if (methods.TryGetValue(lm.Name, out int currentCount)) 580lm.UniqueName = $"{lm.Name}{currentCount}"; 581methods[lm.Name] = currentCount + 1; 585lm.UniqueName = lm.Name; 586methods[lm.Name] = 1; //start from 1