Index: System.Data.SQLite/SQLiteFunction.cs ================================================================== --- System.Data.SQLite/SQLiteFunction.cs +++ System.Data.SQLite/SQLiteFunction.cs @@ -1275,11 +1275,11 @@ /// The arguments to pass to the configured . /// protected virtual object[] GetInvokeArgs( object[] args, bool earlyBound - ) /* CANNOT RETURN NULL */ + ) { object[] newArgs = new object[] { "Invoke", args }; if (!earlyBound) newArgs = new object[] { newArgs }; // WRAP @@ -1315,11 +1315,11 @@ protected virtual object[] GetStepArgs( object[] args, int stepNumber, object contextData, bool earlyBound - ) /* CANNOT RETURN NULL */ + ) { object[] newArgs = new object[] { "Step", args, stepNumber, contextData }; @@ -1353,11 +1353,11 @@ /// protected virtual void UpdateStepArgs( object[] args, ref object contextData, bool earlyBound - ) /* CANNOT RETURN NULL */ + ) { object[] newArgs; if (earlyBound) newArgs = args; @@ -1389,11 +1389,11 @@ /// The arguments to pass to the configured . /// protected virtual object[] GetFinalArgs( object contextData, bool earlyBound - ) /* CANNOT RETURN NULL */ + ) { object[] newArgs = new object[] { "Final", contextData }; if (!earlyBound) newArgs = new object[] { newArgs }; // WRAP @@ -1423,11 +1423,11 @@ /// protected virtual object[] GetCompareArgs( string param1, string param2, bool earlyBound - ) /* CANNOT RETURN NULL */ + ) { object[] newArgs = new object[] { "Compare", param1, param2 }; if (!earlyBound) newArgs = new object[] { newArgs }; // WRAP