Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename MethodOverloadTestExtensions to OverloadTestExtensions
Also resolves other PR feedback, an extra blank line and incorrect use
of an implicit type.
  • Loading branch information
JakeYallop committed Feb 1, 2022
commit 60cc1bec2b87eacf154b896f8f4c03f7cf2c6a8f
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ bool IsAllowedKind(SyntaxKind kind) =>
{
if (methods.ContainsKey(lm.Name))
{
var currentCount = methods[lm.Name];
int currentCount = methods[lm.Name];
lm.UniqueName = $"{lm.Name}{currentCount}";
methods[lm.Name] = currentCount + 1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ internal static partial class OverloadTestExtensions
[LoggerMessage(EventId = 1, Level = LogLevel.Trace, Message = "M0{p0}")]
public static partial void M0(ILogger logger, string p0);


[LoggerMessage(EventId = 2, EventName = "M1Custom", Level = LogLevel.Trace, Message = "M1{p0}")]
public static partial void M1(ILogger logger, int p0);

Expand Down