System.Reflection.Tests.EventInfoTests.GetRaiseMethod C# (CSharp) Method

GetRaiseMethod() private method

private GetRaiseMethod ( Type type, string name ) : void
type Type
name string
return void
        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);
        }