From d90eaf595404cdf4f7192a5fe7a233d7b97e773f Mon Sep 17 00:00:00 2001 From: Marc Hernandez Date: Tue, 26 Mar 2024 22:03:37 -0700 Subject: [PATCH] x) Move the reason down with the other optional params --- imm/iu.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/imm/iu.cs b/imm/iu.cs index de23cd1..0bad376 100644 --- a/imm/iu.cs +++ b/imm/iu.cs @@ -14,7 +14,8 @@ using System.Runtime.CompilerServices; static public class iu { //This can handle both Timed and Recorded - static public T Process( ref T obj, Func fn, string reason = "", + static public T Process( ref T obj, Func fn, + string reason = "", [CallerMemberName] string memberName = "", [CallerFilePath] string filePath = "", [CallerLineNumber] int lineNumber = 0, @@ -26,7 +27,8 @@ static public class iu return obj; } - static public T LightProcess( ref T obj, Func fn, string reason = "", + static public T LightProcess( ref T obj, Func fn, + string reason = "", [CallerMemberName] string memberName = "", [CallerFilePath] string filePath = "", [CallerLineNumber] int lineNumber = 0,