Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs')
-rw-r--r--src/System.Reflection.TypeExtensions/tests/ConstructorInfo/ConstructorInfoMemberType.cs31
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);
- }
- }
-}