X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI%2Fsrc%2Finternal%2FCustomAlgorithmInterface.cs;h=fd51ec5602128252b36a77adfc79ef7cf5d3c726;hb=7f19406317a043a50920f272aa905d07b842785f;hp=defb96b817116381596c6c075c4b2225ff7c962d;hpb=9e6000e2c5bf2d894762565820be3bf258049d06;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs b/src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs index defb96b..fd51ec5 100755 --- a/src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs +++ b/src/Tizen.NUI/src/internal/CustomAlgorithmInterface.cs @@ -65,8 +65,8 @@ internal class CustomAlgorithmInterface : global::System.IDisposable { #if (DOT_NET_CORE) private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) { global::System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, methodTypes); - bool hasDerivedMethod = methodInfo.GetType().GetTypeInfo().IsSubclassOf(typeof(CustomAlgorithmInterface)); - return hasDerivedMethod; + bool hasDerivedMethod = this.GetType().GetTypeInfo().IsSubclassOf(typeof(CustomAlgorithmInterface)); + return hasDerivedMethod && (methodInfo != null); } #else private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] methodTypes) {