Skip to content

Commit

Permalink
Fixes FormatException when Tracing is enabled (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
NadeemAfana authored Sep 29, 2021
1 parent c8c8fe4 commit 75fb627
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ private string GetFormattedMessage(string className, string memberName, string e

#region Traces without if statements
[NonEvent]
internal void TraceEvent<T0, T1>(string message, T0 args0, T1 args1, [System.Runtime.CompilerServices.CallerMemberName] string memberName = "")
internal void TraceEvent<T0, T1>(string message, T0 args0, T1 args1)
{
Trace(string.Format(message, args0?.ToString() ?? NullStr, args1?.ToString() ?? NullStr));
}
Expand Down

0 comments on commit 75fb627

Please sign in to comment.