Index: System.Data.SQLite/SQLiteFunction.cs ================================================================== --- System.Data.SQLite/SQLiteFunction.cs +++ System.Data.SQLite/SQLiteFunction.cs @@ -422,11 +422,11 @@ int v = arTypes.Length; for (int x = 0; x < v; x++) { if (arTypes[x] == null) continue; - object[] arAtt = arTypes[x].GetCustomAttributes(false); + object[] arAtt = arTypes[x].GetCustomAttributes(typeof(SQLiteFunctionAttribute), false); int u = arAtt.Length; for (int y = 0; y < u; y++) { at = arAtt[y] as SQLiteFunctionAttribute; if (at != null)