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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/TypeExtensions.cs')
-rw-r--r--mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/TypeExtensions.cs21
1 files changed, 0 insertions, 21 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/TypeExtensions.cs b/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/TypeExtensions.cs
deleted file mode 100644
index 55d0fb1b22b..00000000000
--- a/mcs/class/System.ComponentModel.Composition/Tests/UnitTestFramework/System/TypeExtensions.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-using System;
-using System.Linq;
-using System.Reflection;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-namespace System
-{
- public static class TypeExtensions
- {
- public static MemberInfo GetSingleMember(this Type type, string name)
- {
- Assert.IsNotNull(type);
- Assert.IsNotNull(name);
-
- return type.GetMember(name).Single();
- }
- }
-}