System.Reflection.Tests.AssemblyTests.EntryPoint C# (CSharp) Метод

EntryPoint() приватный Метод

private EntryPoint ( ) : void
Результат void
        public void EntryPoint()
        {
            MethodInfo entryPoint = typeof(TestExe).GetTypeInfo().Assembly.EntryPoint;
            Assert.NotNull(entryPoint);
            Assert.Equal(42, entryPoint.Invoke(null, null));
        }