3 writes to UniqueName
Microsoft.Extensions.Logging.Generators (3)
LoggerMessageGenerator.Parser.cs (2)
571
lm.
UniqueName
= $"{lm.Name}{currentCount}";
576
lm.
UniqueName
= lm.Name;
LoggerMessageGenerator.Roslyn4.0.cs (1)
211
UniqueName
= methodSpec.UniqueName,
8 references to UniqueName
Microsoft.Extensions.Logging.Generators (8)
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();
372
string typeName = $"__{lm.
UniqueName
}Struct";
404
_builder.Append($@"global::System.Exception?> __{lm.
UniqueName
}Callback =
435
{nestedIndentation}{enabledCheckIndentation}__{lm.
UniqueName
}Callback({logger}, ");
451
{nestedIndentation}{enabledCheckIndentation}__{lm.
UniqueName
}Struct.Format);");
LoggerMessageGenerator.Parser.cs (1)
939
UniqueName =
UniqueName
,