System.Reflection.Tests.AssemblyTests.EntryPoint C# (CSharp) Method

EntryPoint() private method

private EntryPoint ( ) : void
return void
        public void EntryPoint()
        {
            MethodInfo entryPoint = typeof(TestExe).GetTypeInfo().Assembly.EntryPoint;
            Assert.NotNull(entryPoint);
            Assert.Equal(42, entryPoint.Invoke(null, null));
        }