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