2 writes to UniqueName
Microsoft.Extensions.Logging.Generators (2)
LoggerMessageGenerator.Parser.cs (2)
580lm.UniqueName = $"{lm.Name}{currentCount}"; 585lm.UniqueName = lm.Name;
7 references to UniqueName
Microsoft.Extensions.Logging.Generators (7)
LoggerMessageGenerator.Emitter.cs (7)
153{nestedIndentation}private readonly struct __{lm.UniqueName}Struct : global::System.Collections.Generic.IReadOnlyList<global::System.Collections.Generic.KeyValuePair<string, object?>> 160{nestedIndentation}public __{lm.UniqueName}Struct("); 188{nestedIndentation}public static readonly global::System.Func<__{lm.UniqueName}Struct, global::System.Exception?, string> Format = (state, ex) => state.ToString(); 372string typeName = $"__{lm.UniqueName}Struct"; 404_builder.Append($@"global::System.Exception?> __{lm.UniqueName}Callback = 433{nestedIndentation}{enabledCheckIndentation}__{lm.UniqueName}Callback({logger}, "); 449{nestedIndentation}{enabledCheckIndentation}__{lm.UniqueName}Struct.Format);");