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/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/PartFactory.NoOverridesComposablePart.cs')
-rw-r--r--mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/PartFactory.NoOverridesComposablePart.cs44
1 files changed, 0 insertions, 44 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/PartFactory.NoOverridesComposablePart.cs b/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/PartFactory.NoOverridesComposablePart.cs
deleted file mode 100644
index 27f9a3da2e1..00000000000
--- a/mcs/class/System.ComponentModel.Composition/Tests/ComponentModelUnitTest/System/ComponentModel/Composition/Factories/PartFactory.NoOverridesComposablePart.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-using System.ComponentModel.Composition.Primitives;
-
-namespace System.ComponentModel.Composition.Factories
-{
- partial class PartFactory
- {
- // NOTE: Do not add any more behavior to this class, as ComposablePartTests.cs
- // uses this to verify default behavior of the base class.
- private class NoOverridesComposablePart : ComposablePart
- {
- public NoOverridesComposablePart()
- {
- }
-
- public override IEnumerable<ExportDefinition> ExportDefinitions
- {
- get { return Enumerable.Empty<ExportDefinition>(); }
- }
-
- public override IEnumerable<ImportDefinition> ImportDefinitions
- {
- get { return Enumerable.Empty<ImportDefinition>(); }
- }
-
- public override object GetExportedValue(ExportDefinition definition)
- {
- Assert.Fail();
- return null;
- }
-
- public override void SetImport(ImportDefinition definition, IEnumerable<Export> exports)
- {
- Assert.Fail();
- }
- }
- }
-} \ No newline at end of file