Skip to content

Commit 43c3ede

Browse files
committed
fix: warning that only occurs in the github build?
1 parent fcb4aad commit 43c3ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IntelliTect.Coalesce/Utilities/ExpressionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static Expression Call(this Expression instanceTarget, MethodInfo method,
8686
// passing the instanceTarget as the first param.
8787
return Expression.Call(
8888
method,
89-
[instanceTarget, .. methodParams]
89+
methodParams is null ? [instanceTarget] : [instanceTarget, ..methodParams]
9090
);
9191
}
9292

0 commit comments

Comments
 (0)