diff --git a/src/DotRecast.Detour/QueryResults/Result.cs b/src/DotRecast.Detour/QueryResults/Result.cs index a9517c0..af8c185 100644 --- a/src/DotRecast.Detour/QueryResults/Result.cs +++ b/src/DotRecast.Detour/QueryResults/Result.cs @@ -27,11 +27,6 @@ namespace DotRecast.Detour.QueryResults return new Result(result, DtStatus.DT_SUCCSESS, null); } - public static Result Failure() - { - return new Result(default, DtStatus.DT_FAILURE, null); - } - public static Result InvalidParam() { return new Result(default, DtStatus.DT_FAILURE | DtStatus.DT_INVALID_PARAM, null); @@ -47,11 +42,6 @@ namespace DotRecast.Detour.QueryResults return new Result(result, DtStatus.DT_FAILURE, null); } - public static Result Of(DtStatus status, string message) - { - return new Result(default, status, message); - } - public static Result Of(DtStatus status, T result) { return new Result(result, status, null);