Пример #1
0
 => new DynamicMethod(methodName, types.returnType, types.parameterTypes);
 var method  = typeof(TClass).GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Instance);
Пример #3
0
 WriteLine(LogLevel.Warn, obj, methodName, filePath, lineNumber);
Пример #4
0
 var mi = target.GetType().GetMethod(methodName,
                                     BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic);
Пример #5
0
 WriteLine(LogLevel.Error, obj, methodName, filePath, lineNumber);
Пример #6
0
 WriteLine(LogLevel.Debug, obj, methodName, filePath, lineNumber);
Пример #7
0
 .GetMethod(
     methodName,
     BindingFlags.Instance | BindingFlags.NonPublic,
Пример #8
0
 => new MethodRefBuilder(module, typeRef, FindMethod(typeRef, methodName, genericArity, paramTypes ?? throw new ArgumentNullException(nameof(paramTypes))));
Пример #9
0
 LogRequest(methodName, providedParameters, expectedParameters);