From f18b31b95391ec93298a0b2ccce1d9738da332ee Mon Sep 17 00:00:00 2001 From: ikpil Date: Wed, 7 Jun 2023 00:26:36 +0900 Subject: [PATCH] compile error --- src/DotRecast.Detour/Status.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/DotRecast.Detour/Status.cs b/src/DotRecast.Detour/Status.cs index f90d6aa..7fe427d 100644 --- a/src/DotRecast.Detour/Status.cs +++ b/src/DotRecast.Detour/Status.cs @@ -28,13 +28,11 @@ namespace DotRecast.Detour public static readonly Status PARTIAL_RESULT = new Status(3); public static readonly Status FAILURE_INVALID_PARAM = new Status(4); - public int Value { get; } + public readonly int Value; - private Status(int vlaue) + private Status(int value) { - Value = vlaue; + Value = value; } } - -} } \ No newline at end of file