From d8424a63c637f0636e301252b2b8a1fb90f2457d Mon Sep 17 00:00:00 2001 From: Ac_K Date: Sun, 14 Jul 2019 23:30:47 +0200 Subject: [PATCH] Update IpcService.cs (#734) Remove `BindingFlags.NonPublic` Flag --- Ryujinx.HLE/HOS/Services/IpcService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Services/IpcService.cs b/Ryujinx.HLE/HOS/Services/IpcService.cs index 456e1d75..e9538683 100644 --- a/Ryujinx.HLE/HOS/Services/IpcService.cs +++ b/Ryujinx.HLE/HOS/Services/IpcService.cs @@ -26,7 +26,7 @@ namespace Ryujinx.HLE.HOS.Services { Commands = Assembly.GetExecutingAssembly().GetTypes() .Where(type => type == GetType()) - .SelectMany(type => type.GetMethods(BindingFlags.Instance | BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.Public)) + .SelectMany(type => type.GetMethods(BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public)) .SelectMany(methodInfo => methodInfo.GetCustomAttributes(typeof(CommandAttribute)) .Select(command => (((CommandAttribute)command).Id, methodInfo))) .ToDictionary(command => command.Id, command => command.methodInfo);