Пример #1
0
        public void GetAllConstructors()
        {
            var expectedConstructors = new[] { ".ctor(length), System.Void(System.Int32)" };

            var result = _type.GetAllConstructors().Select(c => ArrayTypeBaseTest.NameAndSignatureProvider(c));

            Assert.That(result, Is.EqualTo(expectedConstructors));
        }