diff options
Diffstat (limited to 'src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs')
-rw-r--r-- | src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs b/src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs deleted file mode 100644 index 38ed109950..0000000000 --- a/src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs +++ /dev/null @@ -1,31 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using Xunit; - -namespace System.Reflection.Tests -{ - // MemberType - public class ConstructorInfoMemberType - { - public class TestClass - { - public TestClass() - { - } - - public void GetMyMemberType() - { - } - } - - // Positive Test 1: Ensure a constructor's MemberType is Constructor. - [Fact] - public void PosTest1() - { - ConstructorInfo ci = typeof(TestClass).GetConstructor(new Type[] { }); - Assert.True(ci.IsConstructor); - } - } -} |