public void GetRaiseMethod(Type type, string name)
{
EventInfo eventInfo = GetEventInfo(type, name);
Assert.Null(eventInfo.GetRaiseMethod(false));
Assert.Null(eventInfo.GetRaiseMethod(true));
Assert.Equal(eventInfo.GetRaiseMethod(true), eventInfo.RaiseMethod);
}