Beispiel #1
0
        public static MethodReference ImportEventRemove <TResult>(this ITypeSystem typeSystem, Expression <Func <TResult> > expression)
        {
            GetMemberInfo(expression, out var declaringType, out var name);

            return(typeSystem.ImportEventRemove(declaringType, name));
        }
Beispiel #2
0
 public static MethodReference ImportEventRemove <T>(this ITypeSystem typeSystem, string name)
 {
     return(typeSystem.ImportEventRemove(typeof(T), name));
 }