public static void MethodBase_Name(MethodBase methodBase) { String declaringTypeName = methodBase.DeclaringTypeNameString(); if (declaringTypeName == null) return; String methodName = methodBase.NameString(); if (methodName == null) return; ReflectionEventSource.Log.MethodBase_Name(declaringTypeName, methodName); }
public static void MethodBase_Invoke(MethodBase methodBase, Object obj, Object[] parameters) { String declaringTypeName = methodBase.DeclaringTypeNameString(); if (declaringTypeName == null) return; String methodName = methodBase.NameString(); if (methodName == null) return; ReflectionEventSource.Log.MethodBase_Invoke(declaringTypeName, methodName); }